Page 1 of 1

Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 19 April 2021 17:16
by rgroothuis
I tried to upgrade to the 2021.1 release, of course I made a backup of the SD card. The upgrade failed, no devices in the device list, nothing in the dashboard, so I cannot control any lights anymore etc. etc. So decided to switch back and restore the previous version. Strangely enough the device list is empty on the restored SD card. How is this possible?

I also tried to restore the DB from a backup I made in beginning March, but that also doesn't return the devices in the device list! Any suggestion?

The good thing is that the Dashboard is filled with all my devices and I can switch on/off the lights etc. etc.
Screenshot 2021-04-19 at 17.15.47.png
Screenshot 2021-04-19 at 17.15.47.png (68.04 KiB) Viewed 2451 times

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 19 April 2021 17:44
by jrachwol
I had quite similar.
During the upgrade, the upgrade stopped on 15% and switches are disappeared from Dashboard. Manual update by ./updaterelease did not change the visibility of switches.
Control is working, switches on and off. I can control them by Domoticz on phone.

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 19 April 2021 17:45
by tcmdg
Hi , I have almost the same experience.
When I installed the update, at about 30% it was done, and the web page of the monitoring gave every thing but not my devices.
The logging seems to start from the update time, and in the log is seems that the network connections and all the hardware is still responding.
On my phone, however: no devices.

Today , I started my PC, and suprizingly all the devices are there, and all the history is also there, however my phone doesn't have the devices.

Maybe domotics is more secure, and the devices should be added to a user or device...

I will check the release notes , maybe there is some info about the rights ;-)

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 19 April 2021 18:05
by plugge
jrachwol wrote: Monday 19 April 2021 17:44 I had quite similar.
During the upgrade, the upgrade stopped on 15% and switches are disappeared from Dashboard. Manual update by ./updaterelease did not change the visibility of switches.
Control is working, switches on and off. I can control them by Domoticz on phone.
Sounds like the usual problem: browser cache not cleared
See: https://www.domoticz.com/wiki/Browser_Cache

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 19 April 2021 18:24
by jrachwol
plugge wrote: Monday 19 April 2021 18:05
jrachwol wrote: Monday 19 April 2021 17:44 I had quite similar.
During the upgrade, the upgrade stopped on 15% and switches are disappeared from Dashboard. Manual update by ./updaterelease did not change the visibility of switches.
Control is working, switches on and off. I can control them by Domoticz on phone.
Sounds like the usual problem: browser cache not cleared
See: https://www.domoticz.com/wiki/Browser_Cache
I did Ctrl+F5 and black page remains :(, now nothing is displayed.

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 19 April 2021 18:47
by jrachwol
jrachwol wrote: Monday 19 April 2021 18:24
plugge wrote: Monday 19 April 2021 18:05
jrachwol wrote: Monday 19 April 2021 17:44 I had quite similar.
During the upgrade, the upgrade stopped on 15% and switches are disappeared from Dashboard. Manual update by ./updaterelease did not change the visibility of switches.
Control is working, switches on and off. I can control them by Domoticz on phone.
Sounds like the usual problem: browser cache not cleared
See: https://www.domoticz.com/wiki/Browser_Cache
I did Ctrl+F5 and black page remains :(, now nothing is displayed.
It was cache problem. On wifi IP all was working ok. I did
From inside the Chrome browser browse to the following URL: chrome://settings/clearBrowserData
Mark Cached images and Files and press the [Clear Data] button
and looks good.

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 19 April 2021 19:43
by rgroothuis
Ok. Thanks for the feedback and confirmation. Will give this a try tomorrow on a spare SD card.

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Tuesday 20 April 2021 23:32
by Jethz
God, thanks for this thread. I almost shit a brick when all my tabs turned up empty after the update. :lol:

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Wednesday 21 April 2021 7:36
by rgroothuis
Jethz wrote: Tuesday 20 April 2021 23:32 God, thanks for this thread. I almost shit a brick when all my tabs turned up empty after the update. :lol:
And can you confirm that clearing the cache solved the problem?

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Wednesday 21 April 2021 8:42
by CronoS
I also reboot the device after the DB restore. Most of the times for me the service stops after the restore and I manually need to start it or there are no devices. Rebooting the device seems to work for me afterwards.

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 26 April 2021 12:46
by TonyV
Hello.
I upgraded to version 2021.1 on my raspberry4
In hardware I see my Aeotec OpenZwave gen5 stick . When pressing setup, the nodes are visible and have a valid NodeID.
However, in the setup-> devices tab, there are no devices present.
I've tried to include nodes and even reset the Aeotec controller and included the nodes from scratch but the devices remains empty.
What do i do wrong? Can anyone help me with this?
Also I can't activate (lua) scripts anymore in the events ... I see my scipts in the " my automation scrips" but the right panel is blue and only tabs on the top

Hope someone can help me out, many thnx in advance
Tony

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Monday 26 April 2021 12:51
by erem
@TonyV

did you clear the browser cache?

see here: https://www.domoticz.com/wiki/Browser_Cache

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Tuesday 27 April 2021 8:01
by TonyV
Hi Rob,

Now I did, but still the same issue..

Tony

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Tuesday 27 April 2021 8:29
by rrozema
Try the same thing from an incognito window. If it does work there, the problem is you did not properly reset the cache.

Re: Upgrade to 2021.1 failed and restore resulted in lost devices!

Posted: Tuesday 27 April 2021 22:55
by TonyV
Great, works again - thnx very much !!! :)