Page 1 of 1

PI4 and BerryBoot

Posted: Monday 09 March 2020 17:07
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?

Re: PI4 and BerryBoot

Posted: Monday 09 March 2020 17:57
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

Re: PI4 and BerryBoot

Posted: Monday 20 April 2020 6:06
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

Re: PI4 and BerryBoot

Posted: Monday 20 April 2020 6:07
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

Re: PI4 and BerryBoot

Posted: Monday 20 April 2020 9:45
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

Re: PI4 and BerryBoot

Posted: Monday 20 April 2020 10:11
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

Re: PI4 and BerryBoot

Posted: Monday 20 April 2020 10:40
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)

Re: PI4 and BerryBoot

Posted: Monday 20 April 2020 11:57
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

Re: PI4 and BerryBoot

Posted: Monday 20 April 2020 12:03
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.

Re: PI4 and BerryBoot

Posted: Tuesday 21 April 2020 12:53
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.

Re: PI4 and BerryBoot

Posted: Tuesday 21 April 2020 13:06
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

Re: PI4 and BerryBoot

Posted: Sunday 17 May 2020 15:18
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

Re: PI4 and BerryBoot

Posted: Sunday 17 May 2020 15:55
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