Upgrade from 2021.1 to 2024.7 issues

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

Moderator: leecollings

Post Reply
gillesbrebre
Posts: 5
Joined: Wednesday 17 July 2024 12:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Upgrade from 2021.1 to 2024.7 issues

Post by gillesbrebre »

Hello

I have to upgrade my Domoticz release from 2021.1 (2021-04-17) to the last version if it's possible, but it seem to be difficult !

From the UI Web interface, i always have an error, and from the command line, the repository seem to be wrong...

Did you have a solution to manage this upgrade ?

I'm french, so my english is not perfect, sorry for that ;-)
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by waltervl »

Between 2021 and 2024 there are some security changes that could cause strange issues when updating. https://www.domoticz.com/wiki/Security
Check also menu Setup - Users if the admin user has devices assigned as that is not the preferred way and could lead to hidden devices.

Also older Raspberries like RPi 1 is not supported anymore in the standard builds. Better buy newer hardware.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
user4563
Posts: 96
Joined: Tuesday 19 October 2021 17:24
Target OS: Windows
Domoticz version: 2023.2
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by user4563 »

waltervl wrote: Wednesday 17 July 2024 13:27 Check also menu Setup - Users if the admin user has devices assigned as that is not the preferred way and could lead to hidden devices.
Can you elaborate on that please? Do you mean devices should not be assigned to the admin user?
Domoticz 2023.2 running as a service on Windows 10 w/ Aeotec Z-Stick Gen5+, HAProxy (remote access)
Domoticz for Android
Domoticz Scenes add-on in Kodi
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by waltervl »

user4563 wrote: Wednesday 17 July 2024 14:35
waltervl wrote: Wednesday 17 July 2024 13:27 Check also menu Setup - Users if the admin user has devices assigned as that is not the preferred way and could lead to hidden devices.
Can you elaborate on that please? Do you mean devices should not be assigned to the admin user?
Correct, see also https://www.domoticz.com/wiki/User_Mana ... et_Devices
Use a separate Domoticz account for device sharing.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
gillesbrebre
Posts: 5
Joined: Wednesday 17 July 2024 12:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by gillesbrebre »

My PI is a Raspberry Pi 2 Model B Rev 1.1

I don't understand what you mind about user !

On the web interfac, on th e same network there's no authentication, and with the command line ./updaterelease, the error is about repository not found
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by waltervl »

What is the exact error you get? If it contains "armv6" then your hardware is not supported anymore. There is a user that has build Domoticz for Armv6 https://github.com/SjoerdNLD/Domoticz-Armv6/releases

If the repository error contains another repository it could be that you are using an old Operating System. Perhaps update your RPI also to a newer Operating System. See also https://www.domoticz.com/wiki/Raspberry_Pi
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
PierreT
Posts: 49
Joined: Wednesday 03 May 2023 10:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by PierreT »

gillesbrebre wrote: Wednesday 17 July 2024 18:37 My PI is a Raspberry Pi 2 Model B Rev 1.1

I don't understand what you mind about user !

On the web interfac, on th e same network there's no authentication, and with the command line ./updaterelease, the error is about repository not found
I get you. Had the same feeling when moving to a newer version. Devs made a big issue about Domoticz being exposed to the internet and totally forgot about the possibility of it being used exclusively in a private network. I start Domoticz with the `-nowwwpwd` option and the log always starts with telling me how I am `unsafe` from internet hackers who can't possibly ever access my installation or even be aware of it even existing.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by waltervl »

PierreT wrote: Wednesday 17 July 2024 23:10

I get you. Had the same feeling when moving to a newer version. Devs made a big issue about Domoticz being exposed to the internet and totally forgot about the possibility of it being used exclusively in a private network. I start Domoticz with the `-nowwwpwd` option and the log always starts with telling me how I am `unsafe` from internet hackers who can't possibly ever access my installation or even be aware of it even existing.
This is probably unrelated to his issue of TS (giving his repository error). Second you do not need the nowwwpwd option. Just put your local network IP range in the trusted network setting and set basic http authorisation on in the same security settings page.

You do not want to know how many Domoticz users have opened up their Domoticz environment unsafe to the internet!
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
gillesbrebre
Posts: 5
Joined: Wednesday 17 July 2024 12:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by gillesbrebre »

waltervl wrote: Wednesday 17 July 2024 19:10 What is the exact error you get? If it contains "armv6" then your hardware is not supported anymore. There is a user that has build Domoticz for Armv6 https://github.com/SjoerdNLD/Domoticz-Armv6/releases

If the repository error contains another repository it could be that you are using an old Operating System. Perhaps update your RPI also to a newer Operating System. See also https://www.domoticz.com/wiki/Raspberry_Pi
Raspberry Pi 2 is a Arm7, so no problem !
Operating System is up to date, without any problem
The config for internal access is correct, define by network subnet on general parameter.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by waltervl »

So what is exactly that repository error?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
gillesbrebre
Posts: 5
Joined: Wednesday 17 July 2024 12:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by gillesbrebre »

I'm not at home before tonight, so y post the error line when i'm back home

As i say before, the error about the repository is when i use the command line with putty, directly on the directory Domotics, with the command ./updaterelease
error is about https://www.domoticz.com/xxxxxxx with no file found for this upgrade... i don't remeber exacly

Thanks
PierreT
Posts: 49
Joined: Wednesday 03 May 2023 10:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by PierreT »

waltervl wrote: Wednesday 17 July 2024 23:38 This is probably unrelated to his issue of TS (giving his repository error). Second you do not need the nowwwpwd option. Just put your local network IP range in the trusted network setting and set basic http authorisation on in the same security settings page.

You do not want to know how many Domoticz users have opened up their Domoticz environment unsafe to the internet!
Don't know. The frustrating part at the time was that I got completely locked out and all my scripts failed and the only way back in was to set `-nowwwpwd`, at which time the web interface still only showed an empty screen except for the settings link. After I managed to get it fully functional again I never looked back to make an attempt at configuring it in a way that the devs apparently consider appropriate for internet exposed systems.

Either way this is how it works for me and when I require remote access I use a VPN.
gillesbrebre
Posts: 5
Joined: Wednesday 17 July 2024 12:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by gillesbrebre »

the error message on command line is (i replace www by xxx because of restriction) :

pi@raspberrypi:~/domoticz $ sudo ./updaterelease
Updating to latest release version...
Please Standby...
--2024-07-17 18:33:06-- https://www.domoticz.com/download.php?c ... ine=armv7l
Résolution de xxx.domoticz.com (xxx.domoticz.com)… 188.114.97.2, 188.114.96.2
Connexion à xxx.domoticz.com (xxx.domoticz.com)|188.114.97.2|:443… échec : Aucun chemin d'accès pour atteindre l'hôte cible.
Connexion à xxx.domoticz.com (xxx.domoticz.com)|188.114.96.2|:443… échec : Aucun chemin d'accès pour atteindre l'hôte cible.
Checking file Integrity...

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Problem in downloaded Domoticz archive. Stopping update!
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Upgrade from 2021.1 to 2024.7 issues

Post by waltervl »

Looks like something on your side is blocking access to download the Domoticz tar file.

Can you download it from the rpi or from your PC (click on the download link in your previous message)?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest