Page 1 of 1

[Solved] Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 13:30
by f14driver
In the 2024.2 update the master system I'm using is failing to get update from slave servers
I have 1 primary Domoticz installation and all other are configured as remote servers.

Since the update the primary server reports that it fails to update the device.
2024-01-16 08:33:42.445 Error: Pi 14 : Failed to update device 0000044D
2024-01-16 08:33:43.715 Error: Pi 19 : Failed to update device 1
2024-01-16 08:33:43.720 Error: Pi 19 : Failed to update device 0000044D
2024-01-16 08:33:43.724 Error: Pi 19 : Failed to update device 0000044C
2024-01-16 08:33:43.728 Error: Pi 19 : Failed to update device 000000DC
2024-01-16 08:33:43.782 Error: Pi 23 : Failed to update device 0000044D
2024-01-16 08:33:43.871 Error: Pi 5 : Failed to update device 31502
2024-01-16 08:33:44.038 Error: Pi 13 : Failed to update device 0000044D
2024-01-16 08:33:45.232 Error: Pi 11 : Failed to update device 0000044D
2024-01-16 08:33:45.238 Error: Pi 11 : Failed to update device 0000044C
2024-01-16 08:33:45.244 Error: Pi 11 : Failed to update device 000000DC
2024-01-16 08:33:46.253 Error: Pi 17 : Failed to update device 0000044C
2024-01-16 08:33:46.261 Error: Pi 17 : Failed to update device 000000DC
2024-01-16 08:33:46.309 Error: Pi 21 : Failed to update device 0000044C
2024-01-16 08:33:46.313 Error: Pi 21 : Failed to update device 000000DC
2024-01-16 08:33:46.700 Error: Pi 2 : Failed to update device 1
2024-01-16 08:33:49.118 Error: Pi 4 : Failed to update device 1

Restarting Domoticz and the master Domoticz Raspberry Pi doesn't resolve the issue. It affects all devices on all remote servers.

Both master and slave servers are on the same version, 2024.2.
This happens with both existing slave servers as well as with new slave servers ( I added one on purpose to see it it made a difference).
The remote server itself is running fine, all devices are reporting normally on the remote server but they are not reporting on the master server instance.
It happens for motherboard sensors, temperature devices, lights/switches any device connected to a remote server.
The connection to the remote servers are made correctly but the updating of the devices on the remote server to the master server fails.

Re: Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 14:14
by f14driver
To follow up on this, it seems the upgrade has triggered new devices to be created in the master server. Once enabled they start to pop up, I'll spend the evening swapping them out against the old devices to see if all is present and if all is updated correctly.

Re: Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 16:08
by Hans
Same issue here after 2024.2 update.

Re: Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 16:40
by f14driver
Enable device receiving on the master server so it is able to get the new devices into your setup.
After that you are able to swap the old devices out with the new ones via the replace option on the device itself.

Re: Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 16:43
by gizmocuz
Did you not receive the below message in the log message

Device creation failed, Domoticz settings prevent accepting new devices.

Re: Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 16:44
by gizmocuz
Sorry, No you did not, it is a debug message internally.

I will add this to the initial error message (Check if accept new devices is enabled)

"Device creation failed, Domoticz settings prevent accepting new devices. (device ID 3002)"

Re: Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 20:34
by memyself
Got into the same thing. No updates on my master from the slave. Did not receive any errors, but the logs told me a connection was established.

Went into the devices to check, and there they were. Used the replace button on the sensors that were not updating and checked in the new ones. Presto, all is well without losing data.

Thank you Gizmocuz for helping us in the right direction. :P

Re: Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 20:42
by f14driver
No that message wasn't given indeed.

After replacing the devices with the new ones (quite a task, have 300+ devices connected) all is running again as expected.
Thanks for the assistance ;)

Re: Master not updating after upgrade to 2024.2 release

Posted: Tuesday 16 January 2024 22:00
by SjoerdNLD
memyself wrote: Tuesday 16 January 2024 20:34 Got into the same thing. No updates on my master from the slave. Did not receive any errors, but the logs told me a connection was established.

Went into the devices to check, and there they were. Used the replace button on the sensors that were not updating and checked in the new ones. Presto, all is well without losing data.

Thank you Gizmocuz for helping us in the right direction. :P
Thanks for the good tips! Using 2024.1 I did not receive any data at all from the slave on my windows master.
After both upgrade to 2024.2, and using replace it works fine! https://www.domoticz.com/wiki/Managing_ ... ace_device
My P1 on my old P1 B+ slave domotics updates normally (-; using my build armv6 https://github.com/SjoerdNLD/Domoticz-A ... tag/2024.2

Re: [Solved] Master not updating after upgrade to 2024.2 release

Posted: Wednesday 17 January 2024 12:45
by nieass4
So if I get it right when upgrading from 2023.1 (yes still there because of open zwave) to 2024.2 I always have to swap out devices in my master? (Only got a few on slave so not that hard todo so)

Not that bad for me but if there is a way for flawless upgrade I would go for that one :D

Re: [Solved] Master not updating after upgrade to 2024.2 release

Posted: Wednesday 17 January 2024 13:01
by gizmocuz
You will get new devices, it's very easy to transfer the old to new.
Just make a backup and you can revert if you want too.

Re: [Solved] Master not updating after upgrade to 2024.2 release

Posted: Tuesday 30 April 2024 20:57
by mvanrijnbach
Hi SjoerdNLD,

would your compiled version of Domoticz for an armv6 architecture work on a Raspberry Pi Model B+? I updated Domoticz not knowing that it was only for an armv7 architecture. I can't get Domoticz to compile on my Pi. What would you suggest?

Thanks,
Michiel.

Re: [Solved] Master not updating after upgrade to 2024.2 release

Posted: Thursday 02 May 2024 0:11
by SjoerdNLD
On my old B+ it works fine!
I suggest take it from here:
https://github.com/SjoerdNLD/Domoticz-Armv6

Using the command:

Code: Select all

wget https://github.com/SjoerdNLD/Domoticz-Armv6/releases/download/2024.4/domoticz_linux_2024.4_armv6.tgz
Then:

Code: Select all

tar -xzvf domoticz_linux_2024.4_armv6.tgz
sudo service domoticz.sh start
rm domoticz_linux_2024.4_armv6.tgz

Re: [Solved] Master not updating after upgrade to 2024.2 release

Posted: Friday 03 May 2024 22:51
by mvanrijnbach
Thanks Sjoerd, I will try that and let you know how it works out on my RPi B+.

Best regards, Michiel.