[Solved] Master not updating after upgrade to 2024.2 release

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
f14driver
Posts: 18
Joined: Sunday 24 June 2018 16:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

[Solved] Master not updating after upgrade to 2024.2 release

Post 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.
Last edited by f14driver on Tuesday 16 January 2024 20:43, edited 2 times in total.
f14driver
Posts: 18
Joined: Sunday 24 June 2018 16:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Master not updating after upgrade to 2024.2 release

Post 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.
Hans
Posts: 9
Joined: Friday 23 May 2014 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version: all
Location: The Netherlands
Contact:

Re: Master not updating after upgrade to 2024.2 release

Post by Hans »

Same issue here after 2024.2 update.
f14driver
Posts: 18
Joined: Sunday 24 June 2018 16:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Master not updating after upgrade to 2024.2 release

Post 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.
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Master not updating after upgrade to 2024.2 release

Post by gizmocuz »

Did you not receive the below message in the log message

Device creation failed, Domoticz settings prevent accepting new devices.
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Master not updating after upgrade to 2024.2 release

Post 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)"
Quality outlives Quantity!
memyself
Posts: 9
Joined: Wednesday 04 February 2015 19:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2284
Location: Netherlands
Contact:

Re: Master not updating after upgrade to 2024.2 release

Post 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
f14driver
Posts: 18
Joined: Sunday 24 June 2018 16:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Master not updating after upgrade to 2024.2 release

Post 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 ;)
SjoerdNLD
Posts: 6
Joined: Friday 12 May 2017 20:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Master not updating after upgrade to 2024.2 release

Post 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
nieass4
Posts: 9
Joined: Sunday 11 December 2016 23:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Netherlands
Contact:

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

Post 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
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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.
Quality outlives Quantity!
mvanrijnbach
Posts: 20
Joined: Monday 20 June 2022 21:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
SjoerdNLD
Posts: 6
Joined: Friday 12 May 2017 20:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
mvanrijnbach
Posts: 20
Joined: Monday 20 June 2022 21:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by mvanrijnbach »

Thanks Sjoerd, I will try that and let you know how it works out on my RPi B+.

Best regards, Michiel.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests