PI4 and BerryBoot

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

Moderator: leecollings

Post Reply
breagan
Posts: 1
Joined: Sunday 08 March 2020 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

PI4 and BerryBoot

Post by breagan »

Raspberry PI4
Raspbian 10 (buster)

Can't seem to get this going using BerryBoot.

using:
curl -L https://install.domoticz.com | bash
for install. Tried sudo, and su also.

Installation reports no errors and responds that the service is running and Domoticz is available at port 8080.
It isn't.
-------------------------------------------------------------
pi@raspberrypi:~ $ sudo service domoticz status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Mon 2020-03-09 15:40:23 GMT; 4min 7s ago
Docs: man:systemd-sysv-generator(8)
Process: 385 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Mar 09 15:40:23 raspberrypi systemd[1]: Starting LSB: Home Automation System...
Mar 09 15:40:23 raspberrypi systemd[1]: Started LSB: Home Automation System.

pi@raspberrypi:~ $ sudo service domoticz restart
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo service domoticz status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Mon 2020-03-09 16:00:34 GMT; 31s ago
Docs: man:systemd-sysv-generator(8)
Process: 1133 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Mar 09 16:00:34 raspberrypi systemd[1]: Starting LSB: Home Automation System...
Mar 09 16:00:34 raspberrypi systemd[1]: Started LSB: Home Automation System.
pi@raspberrypi:~ $

------------------------------------------------------------------------------------------------------------
Tried both version of Raspian available in BerryBoot.

Followed this https://www.domoticz.com/forum/viewtopic.php?t=29148

Still getting the (exited) issue. Neither deamon or service file method seems to work.

Same PI4 and Buster release on SD card not using BerryBoot, Domoticz installs and runs fine.

Any Ideas?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: PI4 and BerryBoot

Post by waaren »

breagan wrote: Monday 09 March 2020 17:07 Still getting the (exited) issue. Neither deamon or service file method seems to work.
Same PI4 and Buster release on SD card not using BerryBoot, Domoticz installs and runs fine.
I experienced the same using Berryboot and default domoticz updates. When I compile locally domoticz works.
My conclusion (without investigating very deeply) domoticz for buster is compiled on 32 bit system and buster on RPI-4 (berryboot) is 64 bit.

Let me know if I can help with my local compiled version. Happy to share recent Beta's
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: PI4 and BerryBoot

Post by krizzz »

I was going insane before I have seen this thread. I am using same setup. Berryboot and RPI 4. I installed domoticz as normal and without error messages. But I cannot access the domoticz system through IP-adres:8080.

If there is anyone who knows how to get this working, please step in!


Verzonden vanaf mijn iPhone met Tapatalk
krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: PI4 and BerryBoot

Post by krizzz »

waaren wrote:
breagan wrote: Monday 09 March 2020 17:07 Still getting the (exited) issue. Neither deamon or service file method seems to work.
Same PI4 and Buster release on SD card not using BerryBoot, Domoticz installs and runs fine.
I experienced the same using Berryboot and default domoticz updates. When I compile locally domoticz works.
My conclusion (without investigating very deeply) domoticz for buster is compiled on 32 bit system and buster on RPI-4 (berryboot) is 64 bit.

Let me know if I can help with my local compiled version. Happy to share recent Beta's
So to understand your post, you mean that you have a 64 bit version for domoticz available?


Verzonden vanaf mijn iPhone met Tapatalk
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: PI4 and BerryBoot

Post by waaren »

krizzz wrote: Monday 20 April 2020 6:07 So to understand your post, you mean that you have a 64 bit version for domoticz available?
No. But the version I compile locally on my (64 bit) PI-4 Berryboot does execute on the same system without problems. Even more the same binary also worked on my PI-3b systems when I still used them.

Code: Select all

#uname -m
aarch64

#file domoticz
domoticz: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-inux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=0a1872f8ba1360e4f9034052d320f57a4138c6b7, not stripped
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: PI4 and BerryBoot

Post by krizzz »

waaren wrote:
krizzz wrote: Monday 20 April 2020 6:07 So to understand your post, you mean that you have a 64 bit version for domoticz available?
No. But the version I compile locally on my (64 bit) PI-4 Berryboot does execute on the same system without problems. Even more the same binary also worked on my PI-3b systems when I still used them.

Code: Select all

#uname -m
aarch64

#file domoticz
domoticz: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-inux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=0a1872f8ba1360e4f9034052d320f57a4138c6b7, not stripped
Is it easy to explain how you compiled a 64 bit version? I am really eager to get my RPI4 working with BerryBoot!


Verzonden vanaf mijn iPhone met Tapatalk
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: PI4 and BerryBoot

Post by waaren »

krizzz wrote: Monday 20 April 2020 10:11 Is it easy to explain how you compiled a 64 bit version? I am really eager to get my RPI4 working with BerryBoot!
Yes, Follow this procudure to the letter and on the same system as where you are going to use it.

Setup takes a while but that's only the first time. After that compiling a new Beta version can go as quickly as within a minute. (depending on what source is modified)
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: PI4 and BerryBoot

Post by krizzz »

waaren wrote:
krizzz wrote: Monday 20 April 2020 10:11 Is it easy to explain how you compiled a 64 bit version? I am really eager to get my RPI4 working with BerryBoot!
Yes, Follow this procudure to the letter and on the same system as where you are going to use it.

Setup takes a while but that's only the first time. After that compiling a new Beta version can go as quickly as within a minute. (depending on what source is modified)
Haha, I have done the installing of Domoticz with this wiki before. Did not knew, this was the compiling you were mentioning!

But great, thanks for the help.


Verzonden vanaf mijn iPhone met Tapatalk
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: PI4 and BerryBoot

Post by EddyG »

If you do not use a multi boot system, skip Berryboot and install the system on a LUN as described in my sig.

https://www.domoticz.com/forum/viewtopi ... 38&t=28797

Then you have a normal system on both LUN and (as backup) the SD-card.
You can even update the system without depending on Berryboot updates.
krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: PI4 and BerryBoot

Post by krizzz »

waaren wrote: Monday 20 April 2020 10:40
krizzz wrote: Monday 20 April 2020 10:11 Is it easy to explain how you compiled a 64 bit version? I am really eager to get my RPI4 working with BerryBoot!
Yes, Follow this procudure to the letter and on the same system as where you are going to use it.

Setup takes a while but that's only the first time. After that compiling a new Beta version can go as quickly as within a minute. (depending on what source is modified)
So, I tried compiling. I see that Domoticz is active

Code: Select all

pi@raspberrypi:~/dev-domoticz $ sudo service domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated)
   Active: active (exited) since Tue 2020-04-21 12:45:07 CEST; 7min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 973 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Apr 21 12:45:07 raspberrypi systemd[1]: Starting LSB: Home Automation System...
Apr 21 12:45:07 raspberrypi systemd[1]: Started LSB: Home Automation System.
but no Domoticz is being shown when trying to access http://ipadress:8080. So same situation as before.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: PI4 and BerryBoot

Post by waaren »

krizzz wrote: Tuesday 21 April 2020 12:53 So, I tried compiling. I see that Domoticz is active
but no Domoticz is being shown when trying to access http://ipadress:8080. So same situation as before.
What do you see when on the command line you enter

Code: Select all

sudo ps -ef | grep domoticz
sudo netstat -tulpn | grep domo
sudo grep ARG /etc/init.d/domoticz.sh | grep www

<domoticzdir>/domoticz --version
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
luizroberto
Posts: 4
Joined: Monday 02 January 2017 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PI4 and BerryBoot

Post by luizroberto »

Hello there,

I also was going crazy until I saw this thread. What is happening is that on PI4 with Berryboot, to allow me to use an SSD with PI4 until a native boot solution is found, you end up with 64bit buster.

If you install Domoticz with the curl command or use updatebeta or updaterelease scripts, they use uname -s (Linux) and uname -m (aarch64) and download an arm64 bit version of Domoticz which seems to be incompatible with Raspberry, only with Cubie, Odroid, etc (https://domoticz.com/downloads/).

I had to manually download the arm 32-bit version and install it to have it working. Then I need to edit manually the updatebeta or updaterelease to force variable MACH tp be "armv7l", otherwise the same aarch64 version will overwrite the arm 32-bit Raspberry compatible version.

Hope this helps.

Luiz Roberto
spikehome
Posts: 24
Joined: Friday 04 March 2016 15:13
Target OS: -
Domoticz version:
Contact:

Re: PI4 and BerryBoot

Post by spikehome »

I got same I think with my pi3b with berryboot and pi-drive.
Running about 2 years non stop.
But with the latest domoticz I had to upgrade to buster.
Since then (I think the rpi-update dit it) I have problems with my usb.
I t hjjnk the berryboot kernel is not working together.
Any idea how to solve it.
My Linux knowledge is not that good (also my English:)l
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests