Raspberry Pi 3B+ Reinstall fails

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Marque1968
Posts: 60
Joined: Tuesday 03 April 2018 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Raspberry Pi 3B+ Reinstall fails

Post 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 :) )?
Dave21w
Posts: 382
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: Raspberry Pi 3B+ Reinstall fails

Post 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
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Raspberry Pi 3B+ Reinstall fails

Post 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.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Raspberry Pi 3B+ Reinstall fails

Post 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 ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest