Page 1 of 1

Problem with updatebeta - SOLVED

Posted: Friday 21 February 2025 14:18
by McMelloW
Hi,
I have a problem with the update to 16461 see log below

Code: Select all

pi@mcmellow-pi:~/domoticz $ ./updatebeta
Stopping Domoticz...
Making backup of current installation...
Output file: backups/domoticz_backup_20250221_140204.tar.gz
Backup finished...
Downloading latest beta version...
Problem downloading new Domoticz version!!. Restarting current version...
Can not download the domoticz_beta.tgz file. Is there a way around or is this a bug?

Re: Problem with updatebeta

Posted: Friday 21 February 2025 15:33
by waltervl
If you can download it from https://www.domoticz.com/downloads/ then it should be possible to also have it download it on by the update script.

Re: Problem with updatebeta

Posted: Friday 21 February 2025 16:34
by McMelloW
waltervl wrote: Friday 21 February 2025 15:33 If you can download it from https://www.domoticz.com/downloads/ then it should be possible to also have it download it on by the update script.
Thanks for your reply. In the domoticz folder, there is a file domoticz_beta.tgz. But it has a size of 0 bytes. The files in your link has a different name then the one which called in the wget command in the script updatebeta.

Is this a bug in the script or do I miss some errors?

Re: Problem with updatebeta

Posted: Sunday 23 February 2025 18:45
by waltervl
The updatebeta script downloads the specific build tgz file for your systems architecture from the website and renames it. So it seems the file cannot be downloaded or your disk is full or something on your system is blocking the download.

What kind of system do you have?
MACH =. `uname -m`
ARCH = `dpkg --print-architecture`

Re: Problem with updatebeta

Posted: Tuesday 25 February 2025 23:13
by McMelloW
waltervl wrote: Sunday 23 February 2025 18:45 The updatebeta script downloads the specific build tgz file for your systems architecture from the website and renames it. So it seems the file cannot be downloaded or your disk is full or something on your system is blocking the download.

What kind of system do you have?
MACH =. `uname -m`
ARCH = `dpkg --print-architecture`
The disk has space enough, only 17% of 64GB is in use. I have done updates over a dozen times successfully with ./updatebeta on a commandline. The previous update (16450) went like charm without any problems. This error puzzles me

My hardware is a RPI 3b+ see the output below.

Code: Select all

pi@mcmellow-pi:~ $ uname -a
Linux mcmellow-pi 6.1.74-v8+ #1725 SMP PREEMPT Mon Jan 22 13:35:32 GMT 2024 aarch64 GNU/Linux

Re: Problem with updatebeta

Posted: Wednesday 26 February 2025 8:54
by waltervl
can you download the Arm 64bit (Cubie/ODroid/...) version tgz from the download site https://www.domoticz.com/downloads/ ?

Re: Problem with updatebeta

Posted: Wednesday 26 February 2025 13:35
by McMelloW
@fastfruit @waltervl Thanks for your reply.

Tried this command (from the script updatebeta) to get the file manual, but it did not do anything.

Code: Select all

wget -4 -q -O domoticz_beta.tgz --no-check-certificate https://www.domoticz.com/download.php/domoticz_linux_aarch64.tgz
I made a download via windows and uploaded this file to my RPi manually. Then I did carried out the further steps maunally to perform the update 16461. This worked OK with any errors.
Still odd why the wget command did not work on a command line.

Re: Problem with updatebeta - SOLVED

Posted: Thursday 06 March 2025 11:57
by McMelloW
Today, did an ./updatebeta to build 16491. It all went OK without any errors. The problem is solved for me.