Page 1 of 1

Can't reach the web interface after installation

Posted: Thursday 12 November 2020 22:22
by sem305
Hey everybody,

I can't reach the web interface of my Domoticz. I have installed ''raspberry pi os lite'' on my RPI 3 and via a SSH connection with my pc via PUTTY.
I followed the easy installation on domoticz.com but and followed al the installation steps. At the end i'll get the notification that i can connect to my domoticz server via 192.168.0.111:8080 but when i try, i'll get the following message in my internet browser: This site is not reachingable.

Please can anybody help me out? I have a static ip on 192.168.0.111 with my mac adress so that is not the problem...

Re: Can't reach the web interface after installation

Posted: Thursday 12 November 2020 23:35
by psubiaco
Hi.
Do the following check:
from the shell, as root, type

ps ax |grep domoticz |grep -v grep
to verify that domoticz is working

if you'll get no output, domoticz did not start.
In this case, modify /etc/init.d/domoticz*
enabling logging:

DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error"

and restart domoticz with
/etc/init.d/domoticz* restart & tail -f /var/log/domoticz.log

in this way you'll restart domoticz and check log to see what error caused the crash.
Regards.
Paolo

Re: Can't reach the web interface after installation

Posted: Friday 13 November 2020 11:20
by sem305
psubiaco wrote: Thursday 12 November 2020 23:35 Hi.
Do the following check:
from the shell, as root, type

ps ax |grep domoticz |grep -v grep
to verify that domoticz is working

if you'll get no output, domoticz did not start.
In this case, modify /etc/init.d/domoticz*
enabling logging:

DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error"

and restart domoticz with
/etc/init.d/domoticz* restart & tail -f /var/log/domoticz.log

in this way you'll restart domoticz and check log to see what error caused the crash.
Regards.
Paolo


Im a real newbie so can u please be some more specific?
Im sorry but i just don't understand :?

Re: Can't reach the web interface after installation

Posted: Friday 13 November 2020 11:45
by erem
>>At the end i'll get the notification that i can connect to my domoticz server via 192.168.0.111:8080
>>I have a static ip on 192.168.0.111 with my mac

that RPi seems to be the same address as your mac. is that a typo?

to check if domoticz runs ok, do (on the RPi)

cd /home/pi/domoticz
./domoticz

and observe the output for errors.
if no errors, try to access the web page again.

post back the results and we'll take it from there.

Re: Can't reach the web interface after installation

Posted: Friday 13 November 2020 11:55
by EddyG
erem wrote: Friday 13 November 2020 11:45 that RPi seems to be the same address as your mac. is that a typo?
Don't make it confusing.
He states that he has a PC and refers to a mac address!

Re: Can't reach the web interface after installation

Posted: Saturday 29 May 2021 10:15
by Lieven89
Hi,
I'm new here and found this (specific) topic and forum after installing/compiling Domoticz on my Raspberry Pi.

I followd the steps from this wiki https://www.domoticz.com/wiki/Build_Dom ... rom_source
But I didn't mangage to start Domticz. probably I started the compiling command from without a wrong folder. (because I find Domoticz in the folder ~/open-zwave-read-only/dev-domoticz) and not just in my home folder. My Pi is on 192.168.178.31 but I cannot rech it nor it looks like Domticz is running

I tried al the commands above and also changed the folder of domticz to ~/open-zwave-read-only/dev-domoticz in /etc/init.d/domoticz. but it wouldn't start.

This is what I got in my terminal:
pi@raspberrypi:~/open-zwave-read-only/dev-domoticz $ sudo /etc/init.d/domoticz* restart & tail -f /var/log/domoticz.log
[1] 26661
tail: cannot open '/var/log/domoticz.log' for reading: No such file or directory
tail: no files remaining

For sure it is somting stupid but I cannot find the mistake. Can you guys help me out?

Regards, Lieven

Re: Can't reach the web interface after installation

Posted: Saturday 29 May 2021 12:47
by waltervl
Most simple would be to do the compiling again but now follow the instructions to the letter :-)