Synology Docker Unifi Controller port conflict
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
- Newbie
- Posts: 7
- Joined: November 7th, 2020, 8:35 pm
Synology Docker Unifi Controller port conflict
I have been slowing building up my new Synology DS720+, adding a package at a time. My latest is Sabnzbd, which is fantastic thank you for the hard work.
Initially I wasn't able to install it because it used 8080 by default and my Unifi controller was setup to use 8080 already. I figured, no biggie, I will turn that docker off, install Sab, adjust the port and restart my Unifi controller (changing the Unifi controller port requires reprogramming all my WAPs).
I was successful in stopping the Unifi controller and then downloading & installing SAB.
Once installed, I was able to change the port to 8081 and reestablish the web session.
I used Network Utility -> Port Scan on my Mac to see that 8080 was now free and 8081 was in use.
However, when I went back to change the port on the Unifi docker image, it said 8080 was conflicted.
I poked around a bit and found the service-setup file as well as the sabncbd-sc files that referenced 8080. I changed each of these... still no luck.
Is there something in the Synology package itself that 'claims' port 8080?
Is there a way to adjust that?
Thanks
Initially I wasn't able to install it because it used 8080 by default and my Unifi controller was setup to use 8080 already. I figured, no biggie, I will turn that docker off, install Sab, adjust the port and restart my Unifi controller (changing the Unifi controller port requires reprogramming all my WAPs).
I was successful in stopping the Unifi controller and then downloading & installing SAB.
Once installed, I was able to change the port to 8081 and reestablish the web session.
I used Network Utility -> Port Scan on my Mac to see that 8080 was now free and 8081 was in use.
However, when I went back to change the port on the Unifi docker image, it said 8080 was conflicted.
I poked around a bit and found the service-setup file as well as the sabncbd-sc files that referenced 8080. I changed each of these... still no luck.
Is there something in the Synology package itself that 'claims' port 8080?
Is there a way to adjust that?
Thanks
Re: Synology Docker Unifi Controller port conflict
In a regular setup, you can change the port of SABnbz in the SABnzbd WebGUI: config -> General. Put it on 8100 or something like that. Then save, and restart SABnzbd
But I'm not sure if that works on Synology. Just try.
But I'm not sure if that works on Synology. Just try.
-
- Newbie
- Posts: 7
- Joined: November 7th, 2020, 8:35 pm
Re: Synology Docker Unifi Controller port conflict
Yep, that is what I did (though I chose 8081). SABnzbd definitely changes ports and I confirm this both in logging in on the new port as well as port scanning from my Mac.In a regular setup, you can change the port of SABnbz in the SABnzbd WebGUI: config -> General. Put it on 8100 or something like that. Then save, and restart SABnzbd
However, the Unifi controller still reports that 8080 is claimed and won't allow me to select that.
Is there something in the Synology package that indicates the port is used? There must be as it wouldn't install SAB with Unifi running...
Last edited by justbrowsingthanks on November 8th, 2020, 6:59 am, edited 1 time in total.
Re: Synology Docker Unifi Controller port conflict
What is in a docker: Unifi, or SABnzbd?
-
- Newbie
- Posts: 7
- Joined: November 7th, 2020, 8:35 pm
Re: Synology Docker Unifi Controller port conflict
Whoops, thanks for the clarification. Unifi controller is a docker image and SABnzbd is from the Synology Community package.What is in a docker: Unifi, or SABnzbd?
What I meant to ask was, is there something in the Synology package for SABnzbd that specifies it uses 8080?
My unifi controller is a docker image and that allows me to configure the ports before it starts (it is just a real pain to do since it requires reprogramming the WAPs as well as 8080 is what they use to communicate with the controller)
Re: Synology Docker Unifi Controller port conflict
OK, good. Focus on SABnzbd alone. Is SAB running? Can you access the SAB WebGUI? If so, on which port? If you change the port in the SAB WebGUI, save, reboot SAB ... is it on the new port?
(If not, there is some other startup parameter / script somewhere else, and we have to find that out)
FWIW copy-paste from other post "\<InstallVolume>\@appstore\sabnzbd\var\config.ini"
(If not, there is some other startup parameter / script somewhere else, and we have to find that out)
FWIW copy-paste from other post "\<InstallVolume>\@appstore\sabnzbd\var\config.ini"
-
- Newbie
- Posts: 7
- Joined: November 7th, 2020, 8:35 pm
Re: Synology Docker Unifi Controller port conflict
Yep, SABnzbd is accessible via the new port, 8081. As expected, the config.ini file shows:
Code: Select all
__version__ = 19
__encoding__ = utf-8
[misc]
permissions = 777
auto_browser = 0
host = 0.0.0.0
port = 8081
nice = -n15
ionice = -c2 -n4
download_dir = /volume1/video/downloads/incomplete
complete_dir = /volume1/video/downloads/complete
script_dir = /usr/local/sabnzbd/var/scripts
pre_script = None
queue_complete = ""
queue_complete_pers = 0
bandwidth_perc = 0
refresh_rate = 1
queue_limit = 20
config_lock = 0
sched_converted = 2
notified_new_skin = 0
direct_unpack_tested = 1
check_new_rel = 1
language = en
enable_https_verification = 1
https_port = ""
username = ""
password = ""
bandwidth_max = ""
...
Re: Synology Docker Unifi Controller port conflict
So ... solved?
-
- Newbie
- Posts: 7
- Joined: November 7th, 2020, 8:35 pm
Re: Synology Docker Unifi Controller port conflict
Nope... when I try to assign port 8080 in my Docker for Unifi, it says it is in use.
This is why I am scratching my head.
This is why I am scratching my head.
-
- Newbie
- Posts: 7
- Joined: November 7th, 2020, 8:35 pm
Re: Synology Docker Unifi Controller port conflict
Maybe easiest to just ditch the Synology Community version of SABnzbd and opt for the Docker version where I can control the ports directly and transparently. It seems like there is some configuration w/ the Synology Community package that 'holds / reserves' 8080 even if the app doesn't eventually use it (which is also why it wouldn't let me install the package until I had turned off my Docker that was using it.
Re: Synology Docker Unifi Controller port conflict
Yes, you cannot change the SynoCommunity package port. It is hardcoded in the package.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
-
- Newbie
- Posts: 7
- Joined: November 7th, 2020, 8:35 pm
Re: Synology Docker Unifi Controller port conflict
Thanks, that makes sense. I guess I was just surprised that it 'claimed' that port even though the underlying application wasn't using it.Yes, you cannot change the SynoCommunity package port. It is hardcoded in the package.
Thank you
Re: Synology Docker Unifi Controller port conflict
That's indeed how the Synology packaging system works (not specific to SABnzbd). It's actually quite nice, because this way you can't install conflicting packages and prevents users from unexpected behavior when ports are not available after install.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Synology Docker Unifi Controller port conflict
Hi Safihre
i had used sabnzbd on my previous NAS and access it with port 8082. and it worked perfectly( installed that in jr 2016)
But now im want to install is on my new NAS , and it would not install because port 8080 is reserved for system service or already use
I can do not know which progamm it uses , but i know according to Synology site:
The following ports cannot be used because they are reserved for system use:
20, 21, 22, 23, 25, 80, 110, 137, 138, 139, 143, 199, 443, 445, 515, 543, 548, 587, 873, 993, 995, 3306, 3689, 5000, 5001, 5005, 5006, 5335, 5432, 6881, 8080, 7000, 7001, 8081, 9997, 9998, 9999, 50001, 50002
eMule default ports: 4662 (TCP), 4672(UDP)
so my question is why is port 8080 used and not a other port, not listed above.
I do not know how to install it anymore , i checked many forums ..
i had used sabnzbd on my previous NAS and access it with port 8082. and it worked perfectly( installed that in jr 2016)
But now im want to install is on my new NAS , and it would not install because port 8080 is reserved for system service or already use
I can do not know which progamm it uses , but i know according to Synology site:
The following ports cannot be used because they are reserved for system use:
20, 21, 22, 23, 25, 80, 110, 137, 138, 139, 143, 199, 443, 445, 515, 543, 548, 587, 873, 993, 995, 3306, 3689, 5000, 5001, 5005, 5006, 5335, 5432, 6881, 8080, 7000, 7001, 8081, 9997, 9998, 9999, 50001, 50002
eMule default ports: 4662 (TCP), 4672(UDP)
so my question is why is port 8080 used and not a other port, not listed above.
I do not know how to install it anymore , i checked many forums ..
Re: Synology Docker Unifi Controller port conflict
the thinks i could try is decativete packeges . or mybe start from the beginning and try to install it first