Cannot install Domoticz on Raspberry pi.....need help

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

Moderator: leecollings

Post Reply
LoKo
Posts: 4
Joined: Thursday 07 November 2019 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Cannot install Domoticz on Raspberry pi.....need help

Post by LoKo »

Hello,
I am not able to install Domoticz on my RP3B.
I tried the easy way as mentioned on the website but the installation always stops at the same point.
It has to do with "Checking for libudev-dev." See:

Code: Select all

pi@raspberrypi:~ $ curl -L install.domoticz.com | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   194  100   194    0     0   2586      0 --:--:-- --:--:-- --:--:--  2621
100 16565  100 16565    0     0  72973      0 --:--:-- --:--:-- --:--:-- 72973
:::
::: Script called with non-root privileges. The Domoticz installs server packages and configures
::: system networking, it requires elevated rights. Please check the contents of the script for
::: any concerns with this requirement. Please be sure to download this script from a trusted source.
:::
::: Detecting the presence of the sudo utility for continuation of this install...
::: Utility sudo located.
:::
::: 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... installed!
:::    Checking for curl... installed!
:::    Checking for unzip... installed!
:::    Checking for wget... installed!
:::    Checking for sudo... installed!
:::    Checking for cron... installed!
:::    Checking for libudev-dev...pi@raspberrypi:~ $ 

As a newbie I don't know what to do now.... :(
Can someone help me out ?
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by ben53252642 »

Try this command to start the installation with root privileges:

sudo curl -L install.domoticz.com | bash
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
LoKo
Posts: 4
Joined: Thursday 07 November 2019 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by LoKo »

Try this command to start the installation with root privileges:

sudo curl -L install.domoticz.com | bash
Thanks but hat does'nt help...
I get exactly the same result.
CHMvR
Posts: 1
Joined: Thursday 07 November 2019 14:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by CHMvR »

User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by FireWizard »

Last edited by FireWizard on Thursday 07 November 2019 22:43, edited 1 time in total.
LoKo
Posts: 4
Joined: Thursday 07 November 2019 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by LoKo »

As a newbie, I do not understand the solutions in the links...
I have some information about my raspian :

Code: Select all

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
I think this is OK.
But the installation stiil stops at the same point... :cry: :cry:
LoKo
Posts: 4
Joined: Thursday 07 November 2019 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by LoKo »

I think I have solved the problem. I costed me hours...
I think it all had to do with updates, upgrades, versions etc.

This is the story :
I also had another problem with my raspian desktop environment, so I decided to solve that during waiting for an answer of this forum.
I could not open the tab "Recommended Software" under "Preferences". It always stopped with an error like :

Code: Select all

Error updating package data - E: Repository 'https://raspbain.raspberrypi.org/raspbain buster inRease' changed its 'Suite' value from 'testing' to 'stable' 
Browsing the internet, I read that more people had this problem and I found the following solution for this:

Code: Select all

sudo apt-get update --allow-releaseinfo-change
After this I did again :

Code: Select all

sudo apt-get upgrade
This time the upgrade took longer then before and after this the "Recommended Software" tab was opening without the error ! :)

Now I had the feeling that I had a "better" update/upgrade then before (?) and I tried the install of Domoticz again :

Code: Select all

curl -L https://install.domoticz.com | bash
And now for the first time the installation passed the point :

Code: Select all

Checking for libudev-dev...
!!! :) !
It took a little longer time then the other checkings, but the installation went to the end ! :D

So this --allow-releaseinfo-change addition seems very important and solved my problem.
Only a "sudo apt-get update" followed by "sudo apt-get upgrade" is probably not enough !

But as a newbie I don't know exactly what I did and why...
Can someone explain what happened ? Do I have to use this --allow-releaseinfo-change in future during updates or not ?
I assume I am not the only one with this issue, so I hope that this can help other people too.
Answers will be appreciated
dirkjan
Posts: 1
Joined: Thursday 24 November 2022 20:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by dirkjan »

I have exact this problem (RP3B) followed the solution presented, but with me it doesnot work. The installation stops at checking libudev etc. Anybody another solution??
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by waltervl »

Did you follow this instruction to prepare your RPi? https://www.domoticz.com/wiki/Initial_R ... y_Pi_Setup
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
lslamp
Posts: 4
Joined: Monday 30 January 2023 16:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot install Domoticz on Raspberry pi.....need help

Post by lslamp »

yes sir, that I did

I will delete the pi and start from scratch and see if that makes any difference

will update the results here

Lawrence
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest