Domoticz won't install on RPi

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

Moderator: leecollings

Post Reply
User avatar
SteijnVanEssen
Posts: 5
Joined: Friday 07 April 2023 11:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023-1
Contact:

Domoticz won't install on RPi

Post by SteijnVanEssen »

Hello, dear forum readers, I just installed Raspbian on my RPi and tried to install Domoticz on top of that. It won't:

Code: Select all

pi@Domotix2:/etc$ sudo bash -c "$(curl -sSfL https://install.domoticz.com)"
:::
:::
::: You are root.
::: Verifying free disk space...
:::
::: apt-get update has not been run today. Running now... done!
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with Domoticz installation...
:::    Checking for apt-utils... installed!
:::    Checking for whiptail... installed!
:::    Checking for git...pi@Domotix2:/etc$
After waiting for a while I press Enter and my prompt reapears. Restarting the command gives me exactly the same result.

My specs:
  • - HW = RPi 2 Model B rev1<dot>1 (with 1 GB of RAM)
    - OS = RasPi OS Buster Lite 2021-03-04 [ArmHF/32 bit] (so no graphical desktop installed)
My notes:
  • - I see on the domoticz<dot>com mainpage that "Arm 32bit (Raspberry/Cubie/...) 2023<dot>1<dot>15091 dated 2023-02-14" is current(?!)
    - I used raspi-config to do a basic setup; left most hardware options untouched; reduced GPU RAM to 16 MB (no plans for graph desktop)
    - I configured a static IP address
    - I have read post # 227769 on this forum for starts
    - This post more or less describes my problem, but I get a bit confused with all the tips and questions and it's from Nov 2019 ...
    - I wonder why I get the message "apt-get update has not been run today. Running now... done!" again when I restart the installation.
    - "apt-get-update" runs for about 8 secs and finishes with "done!"
    - The next step (checking for upgraded packages) takes about 3 seconds, also ending with "done!"
    - Checking for git runs for 3 seconds and then the command prompt reapears (at the end of the current message, as you can see)
    - Since I was not sure it actually was my normal prompt I waited for 20 more seconds. When I then hit Enter I get my prompt on a new line. So it was my normal prompt after all ...
Does anyone have a clue - given my hardware and OS levels - why the install silently (w/o error messages) breaks off?!

Thanks in advance for any help,

Steijn van Essen
From i8088 to i7-980X in 25 years and still waiting …
But not for much longer: when Windows is gone, Intel will be next (in favor of ARM on Raspberry Pi).
Last edited by SteijnVanEssen on Thursday 13 April 2023 9:30, edited 1 time in total.
Kedi
Posts: 571
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz won't install on RPi

Post by Kedi »

Try if git can be installed manually with

Code: Select all

sudo apt-get install git
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
SteijnVanEssen
Posts: 5
Joined: Friday 07 April 2023 11:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023-1
Contact:

Re: Domoticz won't install on RPi

Post by SteijnVanEssen »

Dear Kedi,

Sorry for my late response. I have many things on my hands and was just checking my e-mail regularly in the meantime. But I saw no replies to my problem/post.
However, when I went online to actually read back my own post I saw your reply. And that, by default, in my forum profile, no messages are sent when someone replies. I just found out how to activate these messages.
Your suggestion is a good one. No time to try it right now, but maybe tonight or tomorrow morning. I will let you know the result.

Thank you very much,

Steijn van Essen
From i8088 to i7-980X in 25 years and still waiting …
But not for much longer: when Windows is gone, Intel will be next (in favor of ARM on Raspberry Pi).
User avatar
SteijnVanEssen
Posts: 5
Joined: Friday 07 April 2023 11:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023-1
Contact:

Re: Domoticz won't install on RPi

Post by SteijnVanEssen »

Dear Kedi (and other readers),

Good suggestion indeed: "sudo apt-get install git" eventually gives me:

Code: Select all

Err:1 http://raspbian<dot>raspberrypi<dot>org/raspbian buster/main armhf libcurl3-gnutls armhf 7<dot>64<dot>0-4+deb10u1
  404  Not Found [IP: 93<dot>93<dot>128<dot>193 80]
Err:2 http://raspbian<dot>raspberrypi<dot>org/raspbian buster/main armhf git-man all 1:2<dot>20<dot>1-2+deb10u3
  404  Not Found [IP: 93<dot>93<dot>128<dot>193 80]
Err:3 http://raspbian<dot>raspberrypi<dot>org/raspbian buster/main armhf git armhf 1:2<dot>20<dot>1-2+deb10u3
  404  Not Found [IP: 93<dot>93<dot>128<dot>193 80]
Surfing to "raspbian<dot>raspberry<dot>org" I found in this (very long text) file:

http://raspbian<dot>raspberrypi<dot>org/raspbian/dists/buster/main/binary-armhf/Packages

this entry:

Code: Select all

Package: libcurl3-gnutls
Source: curl
Version: 7<dot>64<dot>0-4+deb10u5
Architecture: armhf
Maintainer: Alessandro Ghedini <ghedo@debian<dot>org>
...
Note the slight difference in packet version (ending in u5 rather than u1). I guess I have two ways to go: either find the right repository path for the older u1 version, OR install a more recent version of Raspbian?! And will the latter actually help me? Or is it the Domoticz installer that is looking for an older version? I'm not too experienced in accessing repo's (and making changes to repo paths). Anybody any ideas?!

Steijn van Essen
From i8088 to i7-980X in 25 years and still waiting …
But not for much longer: when Windows is gone, Intel will be next (in favor of ARM on Raspberry Pi).
Kedi
Posts: 571
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz won't install on RPi

Post by Kedi »

The best thing to do is start over with the latest Raspbian Pi OS Lite it is Debian version: 11 (bullseye)
You are at a previous version which will be earlier discontinued. Buster has an end of life of August, 2022 and LTS June 30th, 2024
B.t.w. the small difference in version on libcurl3-gnutls will not be the real problem.
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
SteijnVanEssen
Posts: 5
Joined: Friday 07 April 2023 11:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023-1
Contact:

Re: Domoticz won't install on RPi

Post by SteijnVanEssen »

@Kedi,

I will give it a try and let you (all) know. Thx once again,

Steijn
User avatar
SteijnVanEssen
Posts: 5
Joined: Friday 07 April 2023 11:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023-1
Contact:

Re: Domoticz won't install on RPi

Post by SteijnVanEssen »

Dear Kedi (and other readers),

Last week I followed your suggestion of trying another (the latest) Debian distro. I made a slight modification, though: didn't pick Bullseye but the latest of Buster (deb10u5). And this helped.
Domoticz installed like a shine. Had some initial troubles in its GUI but after a while it ran smoothless.

I'm happy with the result: Domoticz supports my smart meter and European USB-to-P1 cable 'out of the box', collecting electricity and gas meter data from all available fields (in the SMR 5.0 standard; I wanted to collect these data myself because I recently switched to a new energy provider which uses a dynamic pricing scheme).
And what's more: Domoticz performs very well: very responsive in the shell as well as the GUI. Mind you, it's just a RPi 2B I'm using!

Thanks again for your help,

Steijn van Essen
From i8088 to i7-980X in 25 years and still waiting …
But not for much longer: when Windows is gone, Intel will be next (in favor of ARM on Raspberry Pi).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest