Installation on Ubuntu Topic is solved

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

Moderator: leecollings

Post Reply
tre4bax
Posts: 22
Joined: Tuesday 23 September 2014 10:18
Target OS: Linux
Domoticz version:
Contact:

Installation on Ubuntu

Post 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.
seansco
Posts: 19
Joined: Tuesday 01 March 2016 20:51
Target OS: Linux
Domoticz version:
Contact:

Re: Installation on Ubuntu

Post by seansco »

do you have a file called domoticz.sh in /etc/init.d ?


try "service domoticz.sh status"
tre4bax
Posts: 22
Joined: Tuesday 23 September 2014 10:18
Target OS: Linux
Domoticz version:
Contact:

Re: Installation on Ubuntu

Post 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
tre4bax
Posts: 22
Joined: Tuesday 23 September 2014 10:18
Target OS: Linux
Domoticz version:
Contact:

Re: Installation on Ubuntu

Post 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.
SweetPants

Re: Installation on Ubuntu

Post 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?
tre4bax
Posts: 22
Joined: Tuesday 23 September 2014 10:18
Target OS: Linux
Domoticz version:
Contact:

Re: Installation on Ubuntu

Post 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.
maomanna
Posts: 94
Joined: Monday 30 November 2015 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Installation on Ubuntu

Post by maomanna »

are all packages installed with the correct version?
Cause of 18.04, you have newer packages then 16.04.
tre4bax
Posts: 22
Joined: Tuesday 23 September 2014 10:18
Target OS: Linux
Domoticz version:
Contact:

Re: Installation on Ubuntu

Post 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.
gordonb3
Posts: 111
Joined: Saturday 31 March 2018 22:24
Target OS: Linux
Domoticz version: Custom
Location: Delft, NL
Contact:

Re: Installation on Ubuntu

Post 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?
tre4bax
Posts: 22
Joined: Tuesday 23 September 2014 10:18
Target OS: Linux
Domoticz version:
Contact:

Re: Installation on Ubuntu

Post 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 ;-)
sach
Posts: 111
Joined: Wednesday 12 October 2016 14:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Installation on Ubuntu

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest