Page 1 of 1

cheking for git

Posted: Thursday 15 July 2021 2:39
by fillister
hello,

I've been trying to reload Domoticz on my PI 3 rev B, the Domoticz has been operating on this PI for years but recently crashed and I have to reload. I have set the PI to boot from usb Flash drive but when I run curl -L https://install.domoticz.com | bash SSH the system stops at checking for git...pi@raspberrypi:~ $

It just sits and does not complete the installation, any help will be greatly appreciated.

Thanks

Re: cheking for git

Posted: Thursday 15 July 2021 8:48
by Dave21w
Maybe permissions, are you logged in as root or using sudo ?

Re: cheking for git

Posted: Thursday 15 July 2021 13:36
by fillister
Yes, actually used "sudo curl -L https://install.domoticz.com | bash SSH" I've even tried multiple flash drives with the same results.

Re: cheking for git

Posted: Thursday 15 July 2021 13:58
by waltervl
You have to use 'curl -sSL install.domoticz.com | sudo bash' from within a ssh session (if you use ssh to access your RPi)
Else just logon to your Pi, start a terminal session and run 'curl -sSL install.domoticz.com | sudo bash'

Re: cheking for git

Posted: Thursday 15 July 2021 14:33
by fillister
Waltervl

I have tried 'curl -sSL install.domoticz.com | sudo bash' multiple times with the same results. I even checked and SHA hash to verify that the raspian lite image is correct.

Thanks

Re: cheking for git

Posted: Thursday 15 July 2021 16:38
by waltervl
Did you do an raspian update before installing?
sudo apt update
sudo apt upgrade

Re: cheking for git

Posted: Thursday 15 July 2021 17:33
by fillister
Yes, it replied with broken pipe when I ran the upgrade command, could not get it to fully install the upgrade. I just used pi imager to re flash the usb and am in the process of rebooting the PI. After I set the timezone and expand the file system I'll retry the sudo apt update and the sudo apt upgrade commands.

Thanks

Re: cheking for git

Posted: Friday 16 July 2021 15:24
by fillister
All,

It appears as though all of the problems resulted from setting the PI 3 rev B to use the usb instead of the SD to boot. Even though the commands to add the usb as a mass storage device went smoothly and no errors occurred it would take at least an hour to receive an dhcp address and several hours to expand the file system. I had a PI 4 delivered yesterday, it immediately booted off of the usb and I had Domoticz loaded within 5 minuets.

Thank you for your help