-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.05.51 creating disaster? #1050
Comments
Holy cow, this looks bad, do you have a backup from before this happened? |
And are the devices shown correctly in Phoscon App / REST-API or are they gone there? |
@manup This is one of those times where the backup is too old... 3 months. Good reminder to an old IT guy what the best habits are... no backup applicable. On my Conbee I went to 2.05.51 yesterday, this is an IKEA only environment. Still running fine here without issues.... Back to adding lights and sensors here... |
I can only imagine it is related to this cleanup commit added in 2.05.51 However this was tested for various cases and didn't cause damage.
Sorry for the inconvenience, I guess most people including myself only do backups the next time after something gone wrong. I'll add some code so that if a new version is installed a backup of the database is created automatically. In fact for updates via the update button this is already done, but not for manual installs. |
It is ok... Am adding the sensors, and am crossing my fingers for when I dare to start the plugin.. Don't hope to many people will see what I am seeing :-) |
I'm still not sure what was lost in the database, by no more available do you mean not listed anymore or displayed as unreachable? The mentioned commit doesn't delete any sensors or lights but double entries of some lower layer stuff. So in theory the devices should have still been visible in the Phoscon App. |
They have been removed somehow.... no unreachable set, just disappeared from the Phoscon interface. Do I have to reset these bulbs? |
Hmm this shouldn't happen at least there is no code which mass deletes devices. The only thing I know which could causes this is sd-card corruption and older state of the database is restored.
The light, sensor and switch resources will only be added while search is running. For sensors and switches it might be easier to do the normal joining procedure and reset the device while search is active. |
FWIW something similar happened to me when upgrading from V2_05_39 to V2_05_50 last week. ALL lights, sensors and button went unreachable, even after restoring backup (which I luckily had made). I had to manually re-add everything (just opening network and issuing add command on all devices). Sorry I have no relevant logs, just wanted to chime in that it might not be only the last couple of commits that triggered it. |
Finally all devices are back, plugin is running. Will create a nice and save backup first and upgrade to 2.0.05.52. One is suprised how much a house can depend on its automation.... :-) |
a ps, my vibration sensors did not rejoin yet though... will check with the new version |
And don't forget about the backup :) |
I am getting errors while compiling the 2.05.52 packages?
Not sure if this is supposed to happen? Maybe its just me being on the edges... it could have been here all the time already hehe |
These are just warnings, that's fine. Note you don't need to compile the plugin it is already included in the normal deCONZ package installed with steps 1–3. https://github.com/dresden-elektronik/deconz-rest-plugin#install-deconz |
Yes, it is one of those old habits... will change that from here on ... just not very handy in Linux here :-) |
I just upgraded to 2.05.51 on my raspbee and am afraid this created a disaster here. Most sensors and many lights are suddenly unknown?
No new devices added, was nicely formatted on 2.05.50....
What just happend?
The text was updated successfully, but these errors were encountered: