Page 1 of 1
Installation Port Conflict. Unifi & Pi-hole & Domoticz
Posted: Tuesday 25 December 2018 14:04
by gerard1
Hi,
I have some installation conflicts.
Running Unifi management software, Pi-Hole and Domoticz.
Pi-hole and Domoticz run together and Pi-hole and Unifi managment software runs together.
Running Domoticz, Unifi managment and Pi-hole does not works.
I have tried to change the port settings for Domoticz 8080 and 443. nothings seems to help.
When I check the status, everything is OK, but can not access the web page.
When some one has some suggestions, please advice.
Thanks,
When I install Domoticz, the Unifi software stops/not accessible, the Pi-hole always keeps running.
Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz
Posted: Tuesday 25 December 2018 14:40
by gizmocuz
On what port is the Unifi software running ? Also 8080 and/or 443 ?
Where did you change the port for domoticz ? In the startup scripts ? (/etc/init.d/domoticz.sh)
If yes, you also issues
Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz
Posted: Tuesday 25 December 2018 15:17
by gerard1
Hi,
Unifi Runs: 192.168.0.106:8443/manage, Yes the same. port.
I have changed the settings in the start-up script and stop/start/restart Domoticz.
Nothing seems to work, for that reason I placed this on the forum.
I can change the numbers, (nothings works) but when Unifi is running, Domoticz does not work.
when I re-install Domoticz, the Unifi software stops.
I believe there is more than only a port conflict.
Thanks,
Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz
Posted: Tuesday 25 December 2018 15:29
by waaren
gerard1 wrote: ↑Tuesday 25 December 2018 15:17
Hi,
Unifi Runs: 192.168.0.106:8443/manage, Yes the same. port.
I have changed the settings in the start-up script and stop/start/restart Domoticz.
Nothing seems to work, for that reason I placed this on the forum.
I can change the numbers, (nothings works) but when Unifi is running, Domoticz does not work.
when I re-install Domoticz, the Unifi software stops.
I believe there is more than only a port conflict.
Thanks,
What do you see when you give these commands ?
Code: Select all
netstat -ltnp | grep -i domoticz
netstat -ltnp | grep -i unifi
Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz
Posted: Wednesday 26 December 2018 11:52
by gerard1
The answer netstat not installed. After installation:
The output is nothing ?
sudo netstat -ltnp | grep -i domoticz
sudo netstat -ltnp | grep -i unifi
Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz
Posted: Wednesday 26 December 2018 21:55
by gerard1
Hi,
I have reinstalled all, Ubuntu, Domoticz, Pihole, Unifi management.
After each installation I changed the Ports.
Moved PiHole port from 80 to 8093
Move Domoticz port from 8080 and 443 to 8090 and 445.
Moved nothing by Unifi.
The Pihole runs fine.
The Domoticz runs 1/2,
The Unifi software does not run at all.
Not really an improvement. again an evening gone.
Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz
Posted: Wednesday 26 December 2018 22:03
by gerard1
I Found Something:
2018-12-26 22:00:09.696 Status: Domoticz V4.9701 (c)2012-2018 GizMoCuz
2018-12-26 22:00:09.696 Status: Build Hash: b47a877f, Date: 2018-06-23 16:27:56
2018-12-26 22:00:09.713 Status: Startup Path: /home/milaan/domoticz/
2018-12-26 22:00:09.716 Error: Database incompatible with this Domoticz version. (You cannot downgrade to an old Domoticz version!)
My latest uploaded input is not compatible with the installed version. Nice Issue.
Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz
Posted: Thursday 27 December 2018 20:35
by gerard1
Hi,
I have been able to solve the issues.
Moved the Pihole port from 80 to 8093
Moved the Domoticz port from 8080, 443 to 8090 and 445
Did not move the Unifi ports.
Updated Domoticz to the latest Beta, solved the issue with the Data Base.
One remarks. to get domoticz running properly, you have to change the setting file and run the installation file again.
Some how, the system remembers the old ports.
Everything is running now properly on Ubuntu.
Nice, now I can add some more thing on my small form server.