beta update error over webgui Topic is solved
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
Dave21w
- Posts: 399
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
beta update error over webgui
Anyone had issues with the last 2 beta updates, it runs for the full on screen percentage which is unusual, then says update failed check your internet connection after which domoticz does not repsond, a quick putty session to stop and start the service and all is good and the update has been done. Had this on 2 differnet pi's at 2 different locations.
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
what if you do it from the command line with
sudo ./updatebeta
Do you see error messages? There are some changes made in the update script to have extra checks.
sudo ./updatebeta
Do you see error messages? There are some changes made in the update script to have extra checks.
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
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
Just ran mine through webupdate on my test system (X86 linux) and domoticz did not start after the countdown ended....
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
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
update through cli went fine
Code: Select all
bolt@bolt-C40:~/domoticz$ sudo ./updatebeta
[sudo] password for bolt:
>> Starting Domoticz beta Update
>> Script: updatebeta (Directory: /home/bolt/domoticz)
>> Validating environment...
>> Environment validation passed (arch: x86_64, OS: linux)
>> Checking package dependencies...
>> All required packages are already installed
>> Downloading latest beta version...
domoticz_update.tgz 100%[===================>] 16.09M 13.4MB/s in 1.2s
>> Download complete. Verifying archive integrity...
>> Archive integrity verified.
>> Checking for updated upgrade script...
>> Found updated script, re-executing...
>> Starting Domoticz beta Update
>> Script: updatebeta (Directory: /home/bolt/domoticz)
>> Validating environment...
>> Environment validation passed (arch: x86_64, OS: linux)
>> Checking package dependencies...
>> All required packages are already installed
>> Running updated script - proceeding with installation...
>> Stopping Domoticz service...
>> Creating backup: backups/domoticz_backup_20251210_215004.tar.gz
>> Backup complete.
>> Installing new version...
.........................................>> Installation complete.
>> Starting Domoticz service (please wait)...
>> Service started successfully.
>> Update completed successfully!
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
- heggink
- Posts: 988
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: beta update error
Why do a beta update? Unless there is required new functionality or required security updates, it’s not good practice…
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
I do it on a test system...... to test.....heggink wrote: Wednesday 10 December 2025 21:59 Why do a beta update? Unless there is required new functionality or required security updates, it’s not good practice…
But indeed, do not go for beta if you do not need so. But some users need bug fixing eg like now for Philips Hue
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
- gizmocuz
- Posts: 2706
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: beta update error
the updatescript has been changed to make sure we can catch compatibility issues in the feature.
Reading your ./updatebeta output, it seems the new beta is installed, if you refresh the browser, is there actually a new version installed?
If not, and you issue by hand
sudo service domoticz.sh restart
do you see the new version number?
Reading your ./updatebeta output, it seems the new beta is installed, if you refresh the browser, is there actually a new version installed?
If not, and you issue by hand
sudo service domoticz.sh restart
do you see the new version number?
Quality outlives Quantity!
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
So recap for me (@gizmocuz to who did you ask this question?):
I updated my beta test environment through web and Domoticz crashed after restart.
Then I updated through ./updatebeta en there you see the log from.
I will wait for the next update and try the webupdate again. I am not sure where the first crash came from as somehow my internet connection seemed buggy too. So it could be an upload issue. Is a webupdate also logged in a domoticzupdate log so you can read back what happened? Now it is trial and error...
I can also restore the original version and try a new webupdate.... Perhaps better to debug this as to exclude possible internet connection issues.
I updated my beta test environment through web and Domoticz crashed after restart.
Then I updated through ./updatebeta en there you see the log from.
I will wait for the next update and try the webupdate again. I am not sure where the first crash came from as somehow my internet connection seemed buggy too. So it could be an upload issue. Is a webupdate also logged in a domoticzupdate log so you can read back what happened? Now it is trial and error...
I can also restore the original version and try a new webupdate.... Perhaps better to debug this as to exclude possible internet connection issues.
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
- gizmocuz
- Posts: 2706
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: beta update error
Sorry, was indeed asking the question to you.
When you did a manually updatebeta run, I hope you got the latest Domoticz?
We can not output the log the console script log in the Domoticz log... but that is also not needed... You also won't see this when you update your nas/router etc.
Maybe because the update script is now run twice.. it thinks it is ready, but is actually not...
At that point it tries to load the new webpage, and that will fail...
Was it a crash? or a web page load issue?
A buggy internet should not cause a issue, as the download archive is validated...
When you did a manually updatebeta run, I hope you got the latest Domoticz?
We can not output the log the console script log in the Domoticz log... but that is also not needed... You also won't see this when you update your nas/router etc.
Maybe because the update script is now run twice.. it thinks it is ready, but is actually not...
At that point it tries to load the new webpage, and that will fail...
Was it a crash? or a web page load issue?
A buggy internet should not cause a issue, as the download archive is validated...
Quality outlives Quantity!
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
New try:
- Restored my backup and now running Version: 2025.2 (build 16990) Build Hash: 98c45ad1c Compile Date: 2025-12-03 09:07:49
- New update available, update trough web. Countdown, reached 100 en then error: Error while downloading Update,
check your internet connection or try again later !...
service status shows
It crashed, see next crash log in spoiler
Runs fine as the same test I did yesterday wih ./updatebeta, domoticz active and on build 16995
service status
- Restored my backup and now running Version: 2025.2 (build 16990) Build Hash: 98c45ad1c Compile Date: 2025-12-03 09:07:49
- New update available, update trough web. Countdown, reached 100 en then error: Error while downloading Update,
check your internet connection or try again later !...
service status shows
Code: Select all
Dec 11 19:46:55 bolt-C40 systemd[1]: Starting domoticz.service - LSB: Home Automation System...
Dec 11 19:46:55 bolt-C40 domoticz.sh[100209]: Time synchronized, starting Domoticz...
Dec 11 19:46:55 bolt-C40 domoticz.sh[100217]: 2025-12-11 19:46:55.143 Status: Domoticz V2025.2 (build 16995) (c)2012-2025 GizMoCuz
Dec 11 19:46:55 bolt-C40 domoticz.sh[100217]: 2025-12-11 19:46:55.143 Status: Build Hash: b5d05e770, Date: 2025-12-11 14:19:14
Dec 11 19:46:55 bolt-C40 domoticz.sh[100217]: 2025-12-11 19:46:55.143 Status: Startup Path: /home/bolt/domoticz/
Dec 11 19:46:55 bolt-C40 domoticz.sh[100217]: domoticz: Domoticz is starting up....
Dec 11 19:46:55 bolt-C40 domoticz[100217]: Domoticz is starting up....
Dec 11 19:46:55 bolt-C40 systemd[1]: Started domoticz.service - LSB: Home Automation System.
Dec 11 19:46:55 bolt-C40 sudo[100202]: pam_unix(sudo:session): session closed for user root- Spoiler: show
Runs fine as the same test I did yesterday wih ./updatebeta, domoticz active and on build 16995
service status
Code: Select all
Dec 11 19:55:17 bolt-C40 systemd[1]: Starting domoticz.service - LSB: Home Automation System...
Dec 11 19:55:17 bolt-C40 domoticz.sh[100704]: Time synchronized, starting Domoticz...
Dec 11 19:55:17 bolt-C40 domoticz.sh[100712]: 2025-12-11 19:55:17.671 Status: Domoticz V2025.2 (build 16995) (c)2012-2025 GizMoCuz
Dec 11 19:55:17 bolt-C40 domoticz.sh[100712]: 2025-12-11 19:55:17.672 Status: Build Hash: b5d05e770, Date: 2025-12-11 14:19:14
Dec 11 19:55:17 bolt-C40 domoticz.sh[100712]: 2025-12-11 19:55:17.672 Status: Startup Path: /home/bolt/domoticz/
Dec 11 19:55:17 bolt-C40 domoticz.sh[100712]: domoticz: Domoticz is starting up....
Dec 11 19:55:17 bolt-C40 domoticz[100712]: Domoticz is starting up....
Dec 11 19:55:17 bolt-C40 systemd[1]: Started domoticz.service - LSB: Home Automation System.
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
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
New try but now without webupdate but directly from cli
So restored the same 16990 backup
started Domoticz 16990
So no issues with beta update when running from cli. Update issues when running from Web.
This is some worrying because when trying to update from current stable to next stable with the same script it possibly also goes wrong....
So restored the same 16990 backup
started Domoticz 16990
Code: Select all
sudo ./updatebeta
>> Starting Domoticz beta Update
>> Script: updatebeta (Directory: /home/bolt/domoticz)
>> Validating environment...
>> Environment validation passed (arch: x86_64, OS: linux)
>> Checking package dependencies...
>> All required packages are already installed
>> Downloading latest beta version...
domoticz_update.tgz 100%[=============================================================>] 16.09M 8.77MB/s in 1.8s
>> Download complete. Verifying archive integrity...
>> Archive integrity verified.
>> Checking for updated upgrade script...
>> Found updated script, re-executing...
>> Starting Domoticz beta Update
>> Script: updatebeta (Directory: /home/bolt/domoticz)
>> Validating environment...
>> Environment validation passed (arch: x86_64, OS: linux)
>> Checking package dependencies...
>> All required packages are already installed
>> Running updated script - proceeding with installation...
>> Stopping Domoticz service...
>> Creating backup: backups/domoticz_backup_20251211_200409.tar.gz
>> Backup complete.
>> Installing new version...
.........................................>> Installation complete.
>> Starting Domoticz service (please wait)...
>> Service started successfully.
>> Update completed successfully!
This is some worrying because when trying to update from current stable to next stable with the same script it possibly also goes wrong....
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
- gizmocuz
- Posts: 2706
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: beta update error
Thank you for testing.
Yes, this needs to be solved before making a new stable.
I will try to do this in the coming week, traveling the next few days with a huge jetlag
Yes, this needs to be solved before making a new stable.
I will try to do this in the coming week, traveling the next few days with a huge jetlag
Quality outlives Quantity!
- Thuis
- Posts: 281
- Joined: Tuesday 11 September 2018 11:36
- Target OS: Linux
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: beta update error
Well i also have difficulties:
So i put "systemctl --type=service --state=running | grep domoticz" inside the script, instead of "systemctl list-unit-files | grep -q domoticz" but it still says domoticz not running???
And then:
tar: ./domoticz.db-wal: file changed as we read it
tar: .: file changed as we read it
>> Backup creation failed!
Ok i stop domoticz manually then updatebeta and it works, so thats i nice. But the script does not. I see here that it is a known fact. But i thought i'd give some information.Hopefully it will get sorted, thanks for everything
oh the reason i change it was that systemctl list-unit-files, comes up with nothing and --type=service --state=running, comes up with it.
- Spoiler: show
- Spoiler: show
So i put "systemctl --type=service --state=running | grep domoticz" inside the script, instead of "systemctl list-unit-files | grep -q domoticz" but it still says domoticz not running???
And then:
tar: ./domoticz.db-wal: file changed as we read it
tar: .: file changed as we read it
>> Backup creation failed!
Ok i stop domoticz manually then updatebeta and it works, so thats i nice. But the script does not. I see here that it is a known fact. But i thought i'd give some information.Hopefully it will get sorted, thanks for everything
oh the reason i change it was that systemctl list-unit-files, comes up with nothing and --type=service --state=running, comes up with it.
- Spoiler: show
If you can not handle a computer, you buy a Mac. If you can not handle domotica, you use Homeassistant!
-
commentator
- Posts: 56
- Joined: Thursday 23 June 2016 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: NL
- Contact:
Re: beta update error
same problem with latest 2 beta updates.
When running from commandline: no problems.
Only when clicking update from gui.
When running from commandline: no problems.
Only when clicking update from gui.
-
Dave21w
- Posts: 399
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: beta update error
Sorry for late reply, yes update error still exists for me too on 16997, a stop / start from cmd solves the problem and the update has indeed been applied. Like @waltervl I am using this on a test system to check all the updates before the final release.
-
Rik60
- Posts: 141
- Joined: Sunday 25 June 2023 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.2
- Location: The Netherlands
- Contact:
Re: beta update error
Just for information: i have seen this behavor also on the stable version of Domoticz (versions 2024.x and 2025.x) For me it is (was) not a big issue because after a stop and start of the domoticz service everything was working normal, without problems and errors, on the new version.
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
I did not test that indeed if just a service restart would work too after a failed gui update....Dave21w wrote: Tuesday 16 December 2025 11:13 Sorry for late reply, yes update error still exists for me too on 16997, a stop / start from cmd solves the problem and the update has indeed been applied. Like @waltervl I am using this on a test system to check all the updates before the final release.
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
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: beta update error
Tested this with updating to build 16997 and indeed the gui update failed again. Stopping and starting the service did the trick. A service restart did not work.waltervl wrote: Tuesday 16 December 2025 13:54I did not test that indeed if just a service restart would work too after a failed gui update....Dave21w wrote: Tuesday 16 December 2025 11:13 Sorry for late reply, yes update error still exists for me too on 16997, a stop / start from cmd solves the problem and the update has indeed been applied. Like @waltervl I am using this on a test system to check all the updates before the final release.
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
- Thuis
- Posts: 281
- Joined: Tuesday 11 September 2018 11:36
- Target OS: Linux
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: beta update error
Oh well, i changed the script a bit, so it will not look if domoticz service is running, but it just stops it anyway, if it is running or not, this works...
If you can not handle a computer, you buy a Mac. If you can not handle domotica, you use Homeassistant!
Who is online
Users browsing this forum: Amazon [Bot], heggink and 1 guest