Page 1 of 1

Installation on Ubuntu

Posted: Saturday 26 May 2018 23:36
by tre4bax
I am trying to install Domoticz on Ubuntu (18.04).

All seemed to go okay and it seemed to install. It said it started and yet I cannot get anything to connect to the web server platform. How do I verify that Domoticz is actually working? I can't find it when I do a ps -A or anything that simple and the scripts "seem" to make it start and stop, yet nothing will attach to it.

Any help with this mystery would be gratefully received.

Re: Installation on Ubuntu

Posted: Wednesday 30 May 2018 22:49
by seansco
do you have a file called domoticz.sh in /etc/init.d ?


try "service domoticz.sh status"

Re: Installation on Ubuntu

Posted: Thursday 31 May 2018 17:38
by tre4bax
Yes l do. haven't tried that though so l will tonight. l was planning to try the build it yourself instructions tonight. That might fix it too.

Ta for the pointer I will let you know later.

Trev

Re: Installation on Ubuntu

Posted: Saturday 02 June 2018 14:15
by tre4bax
Just finished rebuilding it all from scratch following the wiki to the letter. Still there is no web server on 8080 on that server.

I have tried the ./domoticz.sh status and it says the service is running. It is not though. I can't find anything using ps -A that suggests it is. Just not sure if that is right or wrong. Everything looks good. It is simply not doing anything.

Re: Installation on Ubuntu

Posted: Saturday 02 June 2018 14:28
by SweetPants
tre4bax wrote: Saturday 02 June 2018 14:15 Just finished rebuilding it all from scratch following the wiki to the letter. Still there is no web server on 8080 on that server.

I have tried the ./domoticz.sh status and it says the service is running. It is not though. I can't find anything using ps -A that suggests it is. Just not sure if that is right or wrong. Everything looks good. It is simply not doing anything.
post the output of ps -ef | grep domoticz

Have you tried another port (-www 8888) ? Maybe this one is already occupied?

Re: Installation on Ubuntu

Posted: Sunday 03 June 2018 22:00
by tre4bax
Having trouble getting back on the machine to do any of this.

I have a feeling it is still compiling domoticz, just very slowly. hence why it does not seem to be running. I plan to just leave it for a couple of days and see if it frees up. If not I will start from scratch. Once I get in again I will post the results from PS etc. if it is not all miraculously working of course.

Re: Installation on Ubuntu

Posted: Monday 04 June 2018 11:32
by maomanna
are all packages installed with the correct version?
Cause of 18.04, you have newer packages then 16.04.

Re: Installation on Ubuntu

Posted: Thursday 07 June 2018 22:16
by tre4bax
Hi All,

It is now up and running and I am happy. Have transfered my config from the Raspberry pi and it happily controls lights etc. Only challenge I have left is that the UI page does not update after a command and has to be refreshed before it works.

The issue here was just how much processing power the compile was taking. I made the assumption it had compiled when it actually had not finished. Now after nearly a week it is working :-) Will ask about the update issue in another thread. Thanks for all your help and suggestions.

Re: Installation on Ubuntu

Posted: Thursday 07 June 2018 23:18
by gordonb3
Unsure about your problem. You say Ubuntu, yet your profile states Raspberry. I don't think Ubuntu has a release for Pi? So assuming you are on Ubuntu it has to be something bigger in CPU and I usually (cross)compile Domoticz in about ten minutes, so I'm confused about you needing a week for that?

Re: Installation on Ubuntu

Posted: Thursday 07 June 2018 23:44
by tre4bax
I'm moving it from my Raspberry PI to an Ubuntu computer. Once I'm happy it is working I will need to update my signature ;-)

Re: Installation on Ubuntu

Posted: Wednesday 08 August 2018 9:41
by sach
tre4bax wrote: Thursday 07 June 2018 22:16 Only challenge I have left is that the UI page does not update after a command and has to be refreshed before it works.
I have this issue too and have done for a while. I have found that on startup Domoticz starts and is ok for a few minutes, then the UI stops updating, however if I stop and start the services then its fine after that.
My house is being renovated at the moment so everything has been shutdown for the last 3 months. I'm thinking that I may build a fresh VM and see if i can get it to work properly.