Problems installation domoticz

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

Moderator: leecollings

Post Reply
gerardsoraya
Posts: 16
Joined: Saturday 02 September 2017 8:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Vollenhove, nederland
Contact:

Problems installation domoticz

Post by gerardsoraya »

Hello everyone,

Ik trying for several days now to install domoticz. I have tried to install it the easy way and the hard way but i get stuck after setting the ports. Is these anyone who want to help me? Im really desperate because it was working for 1,5 years perfectly and my hole house depents on the system haha.

Verstuurd vanaf mijn SM-G965F met Tapatalk

Rpi 4
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Problems installation domoticz

Post by waaren »

gerardsoraya wrote: Wednesday 08 August 2018 7:19 Hello everyone,

Ik trying for several days now to install domoticz. I have tried to install it the easy way and the hard way but i get stuck after setting the ports. Is these anyone who want to help me? Im really desperate because it was working for 1,5 years perfectly and my hole house depents on the system haha.

Verstuurd vanaf mijn SM-G965F met Tapatalk
Can you try to:

Code: Select all

sudo su -
cd your domoticz dir
curl https://install.domoticz.com > domoInstall
sed -i 's#tgz "http://ww#tgz "https://ww#' domoInstall 
chmod +x domoInstall
./domoInstall
this would load the install script and change the line with the command to get the binary to get it from the https site. If that fails on the download step, copy your manual downloaded tgz file to the installation dir and put an # at the beginning of the wget line and rerun the script.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Theedoek
Posts: 9
Joined: Wednesday 08 August 2018 22:09
Target OS: -
Domoticz version:
Contact:

Re: Problems installation domoticz

Post by Theedoek »

gerardsoraya wrote:Hello everyone,

Ik trying for several days now to install domoticz. I have tried to install it the easy way and the hard way but i get stuck after setting the ports. Is these anyone who want to help me? Im really desperate because it was working for 1,5 years perfectly and my hole house depents on the system haha.

Verstuurd vanaf mijn SM-G965F met Tapatalk
It would help if you can actually tell us how it gets 'stuck' and what you are trying to install Domoticz on.
Do you see error messages or do you get all kinds of warnings? Is it a Windows based PC or a Raspberry Pi running Raspbian?
Please tell us what you see and maybe even post some screenshots.
gerardsoraya
Posts: 16
Joined: Saturday 02 September 2017 8:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Vollenhove, nederland
Contact:

Re: Problems installation domoticz

Post by gerardsoraya »

Theedoek wrote: Thursday 09 August 2018 9:57
gerardsoraya wrote:Hello everyone,

Ik trying for several days now to install domoticz. I have tried to install it the easy way and the hard way but i get stuck after setting the ports. Is these anyone who want to help me? Im really desperate because it was working for 1,5 years perfectly and my hole house depents on the system haha.

Verstuurd vanaf mijn SM-G965F met Tapatalk
It would help if you can actually tell us how it gets 'stuck' and what you are trying to install Domoticz on.
Do you see error messages or do you get all kinds of warnings? Is it a Windows based PC or a Raspberry Pi running Raspbian?
Please tell us what you see and maybe even post some screenshots.
its an old windows pc were i putt linux mint on, first i thought the problem was because i installed the newest linux mint 19 (tara) sow i downgraded it to 17.2 cinnamon. when i use the download the easy way the next error shows up. also on the wike install.txt i doesnt work, or im doing something wrong haha. thanq for helping

Code: Select all

gerard@gerard-Aspire-X3812 ~ $ sudo curl -L install.domoticz.com | bash
[sudo] password for gerard: 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   194  100   194    0     0   2024      0 --:--:-- --:--:-- --:--:--  2042
100 16257  100 16257    0     0  63720      0 --:--:-- --:--:-- --:--:-- 63720
:::
::: 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...
:::
::: 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 libcurl3... installed!
:::    Checking for unzip... installed!
:::    Checking for wget... installed!
:::    Checking for sudo... installed!
:::    Checking for cron... installed!
:::    Checking for libudev-dev... installed!
::: Downloading Domoticz
::: Current User: gerard
HTTP Port:  8080
HTTPS Port:  443
:::
::: Destination folder=/home/gerard/domoticz
--2018-08-09 11:30:12--  http://www.domoticz.com/download.php?channel=release&type=release&system=linux&machine=i686
Herleiden van www.domoticz.com (www.domoticz.com)... 185.27.142.198
Verbinding maken met www.domoticz.com (www.domoticz.com)|185.27.142.198|:80... verbonden.
HTTP-verzoek is verzonden; wachten op antwoord... 302 Moved Temporarily
Locatie: https://releases.domoticz.com/releases/release/domoticz_linux_i686.tgz [volgen...]
--2018-08-09 11:30:12--  https://releases.domoticz.com/releases/release/domoticz_linux_i686.tgz
Herleiden van releases.domoticz.com (releases.domoticz.com)... 146.185.159.228
Verbinding maken met releases.domoticz.com (releases.domoticz.com)|146.185.159.228|:443... verbonden.
HTTP-verzoek is verzonden; wachten op antwoord... 404 Not Found
2018-08-09 11:30:12 Fout 404: Not Found.
Rpi 4
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
Theedoek
Posts: 9
Joined: Wednesday 08 August 2018 22:09
Target OS: -
Domoticz version:
Contact:

Re: Problems installation domoticz

Post by Theedoek »

I noticed that the command you entered is slightly different from the one mentioned in the wiki. The command you should be entering is

Code: Select all

curl -L install.domoticz.com | sudo bash
gerardsoraya
Posts: 16
Joined: Saturday 02 September 2017 8:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Vollenhove, nederland
Contact:

Re: Problems installation domoticz

Post by gerardsoraya »

Theedoek wrote:I noticed that the command you entered is slightly different from the one mentioned in the wiki. The command you should be entering is

Code: Select all

curl -L install.domoticz.com | sudo bash
This is What the site says, i will try your advice later today. ThnqImage

Verstuurd vanaf mijn SM-G965F met Tapatalk

Rpi 4
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
Theedoek
Posts: 9
Joined: Wednesday 08 August 2018 22:09
Target OS: -
Domoticz version:
Contact:

Re: Problems installation domoticz

Post by Theedoek »

Nice, the actual wiki says something else ImageImage
Theedoek
Posts: 9
Joined: Wednesday 08 August 2018 22:09
Target OS: -
Domoticz version:
Contact:

Re: Problems installation domoticz

Post by Theedoek »

Any updates?
Theedoek
Posts: 9
Joined: Wednesday 08 August 2018 22:09
Target OS: -
Domoticz version:
Contact:

Re: Problems installation domoticz

Post by Theedoek »

Gerard, I tried everything I could think of, but even a custom compile (the hard way) fails on Linux Mint.
Everything mentioned in the wiki works, but the compilation fails when linking CXX executable domoticz.
Maybe someone here on the forum that can shed some light on this particular error?

Below the part where it fails...

Code: Select all

...
Linking CXX executable domoticz
CMakeFiles/domoticz.dir/main/Camera.cpp.o: In function `boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const':
Camera.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x24): undefined reference to `boost::system::generic_category()'
Camera.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x91): undefined reference to `boost::system::generic_category()'
CMakeFiles/domoticz.dir/main/Camera.cpp.o: In function `boost::system::error_category::std_category::equivalent(std::error_code const&, int) const':
Camera.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x26): undefined reference to `boost::system::generic_category()'
Camera.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x91): undefined reference to `boost::system::generic_category()'
Camera.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc9): undefined reference to `boost::system::generic_category()'
CMakeFiles/domoticz.dir/main/Camera.cpp.o: In function `boost::asio::ssl::detail::openssl_init_base::instance()':
Camera.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv[_ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv]+0xfd): undefined reference to `boost::system::system_category()'
CMakeFiles/domoticz.dir/main/Camera.cpp.o: In function `_GLOBAL__sub_I__ZN14CCameraHandlerC2Ev':
Camera.cpp:(.text.startup+0x3b): undefined reference to `boost::system::system_category()'
CMakeFiles/domoticz.dir/main/dzVents.cpp.o: In function `boost::thread_exception::thread_exception(int, char const*)':
dzVents.cpp:(.text._ZN5boost16thread_exceptionC2EiPKc[_ZN5boost16thread_exceptionC5EiPKc]+0xf): undefined reference to `boost::system::generic_category()'
CMakeFiles/domoticz.dir/main/dzVents.cpp.o: In function `boost::condition_error::condition_error(int, char const*)':
dzVents.cpp:(.text._ZN5boost15condition_errorC2EiPKc[_ZN5boost15condition_errorC5EiPKc]+0xf): undefined reference to `boost::system::generic_category()'
CMakeFiles/domoticz.dir/main/dzVents.cpp.o: In function `_GLOBAL__sub_I__ZN8CdzVents9m_dzventsE':
dzVents.cpp:(.text.startup+0x3b): undefined reference to `boost::system::system_category()'
CMakeFiles/domoticz.dir/main/EventSystem.cpp.o: In function `_GLOBAL__sub_I__ZN12CEventSystem10m_szReasonE':
EventSystem.cpp:(.text.startup+0x3d): undefined reference to `boost::system::system_category()'
CMakeFiles/domoticz.dir/main/Logger.cpp.o: In function `_GLOBAL__sub_I__ZN7CLogger15_tLogLineStructC2E10_eLogLevelRKSs':
Logger.cpp:(.text.startup+0x3b): undefined reference to `boost::system::system_category()'
CMakeFiles/domoticz.dir/main/SQLHelper.cpp.o: In function `_GLOBAL__sub_I_sqlCreateDeviceStatus':
SQLHelper.cpp:(.text.startup+0x3b): undefined reference to `boost::system::system_category()'
CMakeFiles/domoticz.dir/main/WebServer.cpp.o: In function `_GLOBAL__sub_I__ZN4http6server10CWebServerC2Ev':
WebServer.cpp:(.text.startup+0x7): undefined reference to `boost::system::system_category()'
CMakeFiles/domoticz.dir/push/FibaroPush.cpp.o:FibaroPush.cpp:(.text.startup+0x3b): more undefined references to `boost::system::system_category()' follow
collect2: error: ld returned 1 exit status
make[2]: *** [domoticz] Fout 1
make[1]: *** [CMakeFiles/domoticz.dir/all] Fout 2
make: *** [all] Fout 2
gerardsoraya
Posts: 16
Joined: Saturday 02 September 2017 8:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Vollenhove, nederland
Contact:

Re: Problems installation domoticz

Post by gerardsoraya »

Is these Simeone who can help me?

Verstuurd vanaf mijn SM-G965F met Tapatalk

Rpi 4
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest