Installation Port Conflict. Unifi & Pi-hole & Domoticz

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

Moderator: leecollings

Post Reply
gerard1
Posts: 26
Joined: Tuesday 25 December 2018 13:54
Target OS: Linux
Domoticz version:
Contact:

Installation Port Conflict. Unifi & Pi-hole & Domoticz

Post 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.
User avatar
gizmocuz
Posts: 2537
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz

Post 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

Code: Select all

sudo service domoticz restart
Quality outlives Quantity!
gerard1
Posts: 26
Joined: Tuesday 25 December 2018 13:54
Target OS: Linux
Domoticz version:
Contact:

Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz

Post 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,
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz

Post 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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
gerard1
Posts: 26
Joined: Tuesday 25 December 2018 13:54
Target OS: Linux
Domoticz version:
Contact:

Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz

Post 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
gerard1
Posts: 26
Joined: Tuesday 25 December 2018 13:54
Target OS: Linux
Domoticz version:
Contact:

Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz

Post 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.
gerard1
Posts: 26
Joined: Tuesday 25 December 2018 13:54
Target OS: Linux
Domoticz version:
Contact:

Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz

Post 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.
gerard1
Posts: 26
Joined: Tuesday 25 December 2018 13:54
Target OS: Linux
Domoticz version:
Contact:

Re: Installation Port Conflict. Unifi & Pi-hole & Domoticz

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

Who is online

Users browsing this forum: No registered users and 1 guest