accidentally update gone bad

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
karelhuis
Posts: 11
Joined: Tuesday 13 August 2019 22:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

accidentally update gone bad

Post by karelhuis »

Dear members,

I accidentally updated my domoticz. Stupid stupid stupid but I didn't pay attention to where my mouse was. Problem is now she does not start up anymore. I can no longer see her or log in at the fixed ip address.
On the Pi's monitor I do see some kind of life ... but am I bringing her back up?
I have already tried these things and the reboot and restart ...

cd domoticz
sudo cp domoticz.sh /etc/init.d
sudo chmod +x /etc/init.d/domoticz.sh
sudo update-rc.d domoticz.sh defaults

cd domoticz
./updaterelease

I am now reading Loades: not found reason no such file or directory
active: inactive dead
pi @ domoticz: ~ $

Should i go back back to the old domoticz version ? is that possible ? or can enter a magic code ?
Hope you can help.
Best regards, KArel
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: accidentally update gone bad

Post by kiddigital »

Which version where you on before update? And which now? Stable or Beta?

Newer stables and beta need an up to date Pi distro (Buster), please check that.

Otherwise you have to go back to an older version.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
karelhuis
Posts: 11
Joined: Tuesday 13 August 2019 22:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: accidentally update gone bad

Post by karelhuis »

I don't remember ... but now that you mention it ... the update that we didn't want to have was the update that also had to update the pi with buster.
It was a stable version I remember that.

Can I download the old version again with a code and have it adjusted?
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: accidentally update gone bad

Post by erem »

this thread may have what you want.
it contains some links to archived versions of Domoticz

viewtopic.php?f=6&t=31157&p=250194
Regards,

Rob
karelhuis
Posts: 11
Joined: Tuesday 13 August 2019 22:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: accidentally update gone bad

Post by karelhuis »

I followed the link but couldn't continue, the old version should be there, but how to proceed?
Image
https://imgshare.io/image/domo.N91Ii5
this is what i see
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: accidentally update gone bad

Post by kiddigital »

You have to go back to a database backup from before the upgrade because the upgrade also upgraded the database (structures and data).

The old version does not work (understand) with an upgraded database.

But, maybe it as idea to make a copy of the current database and installed plugins and create a new (buster based) install of Domoticz. You have to do it anyway sometime (speaking from experience here).

The new versions also provide quite some improvements over the old 4.x versions.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
karelhuis
Posts: 11
Joined: Tuesday 13 August 2019 22:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: accidentally update gone bad

Post by karelhuis »

Hmm then i think it is best to get another new SD card.
Up date the domo with buster and then the latest Domoticz on it.
And than the data backup, can I install and upload the settings ?
Dave21w
Posts: 382
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: accidentally update gone bad

Post by Dave21w »

I did something similar a while ago, first thing to do before you break it anymore is remove the SD card and take an image of it, at least then if the next bit goes very wrong you can get back to where you started !!!

After doing the above I followed the instructions to update the O/S to buster after which Domoticz came back to life, I then took a full backup of my current domoticz config, did a fresh install of bsuster on a new card, installed the latest Domoticz stable and restored my back - all good :D
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: accidentally update gone bad

Post by kiddigital »

Good suggestion. Doing the upgrade makes it possible to at least have Domoticz (partly) running to make a good backup and get the settings instead of having to go back to an old database (if you even have it).

Good luck
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
karelhuis
Posts: 11
Joined: Tuesday 13 August 2019 22:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: accidentally update gone bad

Post by karelhuis »

YES !!! New sd card, https://www.youtube.com/watch?v=kbEI0-jw0BQ&t=1314s this video and up up and away!

Happy camper !
Dave21w
Posts: 382
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: accidentally update gone bad

Post by Dave21w »

Glad you fixed it, now its all working as it is should, BACK IT UP !! :lol:

Regards
Dave
karelhuis
Posts: 11
Joined: Tuesday 13 August 2019 22:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: accidentally update gone bad

Post by karelhuis »

DONE !!!! :lol:
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest