Page 1 of 1

Raspberry Pi 3B+ Reinstall fails

Posted: Monday 01 July 2019 8:17
by Marque1968
Good (morning/afternoon/evening),

After my domoticz system kept on failing, I decided to start from scratch. However, that was easier said then done.
- Install instructions say I have to download raspbian stretch, but I can only download raspbian buster.
- After installing the buster version (full), I have started curl -L https://install.domoticz.com | bash
- The installation stops at ::: Checking for libcurl3...
- Found out that the current version is 4, so I copied the install sudo curl -L https://install.domoticz.com >tmpsh.sh
- Altered libcurl3 to libcurl4
- gave the tmpsh.sh execution rights
- ran this new install, and it seems to work
- Try to access the web-page, but it is not to be reached. Not even after a reboot
- Checked the status:
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Sun 2019-06-30 22:25:09 CEST; 9h ago
Docs: man:systemd-sysv-generator(8)
Process: 360 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

jun 30 22:25:06 raspberrypi systemd[1]: Starting LSB: Home Automation System...
jun 30 22:25:09 raspberrypi domoticz.sh[360]: /home/pi/domoticz/domoticz: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
jun 30 22:25:09 raspberrypi systemd[1]: Started LSB: Home Automation System.


- Installed the missing library: sudo apt-get install libusb-0.1-4
- Ran the start manually: service domoticz.sh start
- When checking the status again, I get the same result as above, even though it is the 1 of july now, and very AM.
- The page 127.0.0.1:8080 is also still not reachable.

And here is where my knowledge stops. I don't remember it being this hard when I started using domoticz about a year ago. Has anything changed (except me being older :) )?

Re: Raspberry Pi 3B+ Reinstall fails

Posted: Monday 01 July 2019 8:49
by Dave21w
You can get the last version of stretch here:-

https://downloads.raspberrypi.org/raspb ... 019-04-09/

Hope this gets you going again

Re: Raspberry Pi 3B+ Reinstall fails

Posted: Monday 01 July 2019 8:59
by EddyG
I do not think that Buster would create the problem.
Why did you sudo this?

Code: Select all

 Found out that the current version is 4, so I copied the install sudo curl -L https://install.domoticz.com >tmpsh.sh
Did you sudo the install of tmpsh.sh too?
Do a 'ls -al' in the domoticz dir and see if there might me a rights problem.

Re: Raspberry Pi 3B+ Reinstall fails

Posted: Monday 01 July 2019 10:16
by waaren
Marque1968 wrote: Monday 01 July 2019 8:17 - Installed the missing library: sudo apt-get install libusb-0.1-4
Did you do a system reboot after installing the libusb-0.1 ?