Upgrade from 2021.1 to 2024.7 issues
Moderator: leecollings
-
- 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
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
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
- 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
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.
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- 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
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
Domoticz for Android
Domoticz Scenes add-on in Kodi
- 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
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- 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
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 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
- 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
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
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- 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
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.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
- 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
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.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.
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- 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
Raspberry Pi 2 is a Arm7, so no problem !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
Operating System is up to date, without any problem
The config for internal access is correct, define by network subnet on general parameter.
- 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
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- 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
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
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
-
- 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
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.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!
Either way this is how it works for me and when I require remote access I use a VPN.
-
- 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
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!
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!
- 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
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)?
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest