For some reason after every boot my sabznbd.ini gets rewritten to port 5000. If I change it to something else (e.g. port 5050) it works 100% after I restart sabznbdplus. However when I restart the system it will reset and modify the timestamp of the .ini file. My other settings (e.g. servers, categories, flags) are retained.
Any thoughts why this is happening?
I checked the sript in init.d/sabnzbdplus however I did not find a fixed port there.
Port reset on each reboot
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.
Port reset on each reboot
Last edited by exchequer on December 27th, 2015, 10:38 pm, edited 1 time in total.
Re: Port reset on each reboot
Ok that was fast. Once I realised that port 5000 is not the default sabnzbd port but instead a port I must have chosen, I went back to the installation instructions. There I noticed this file: /etc/default/sabnzbdplus:
So that file was causing my troubles!
Code: Select all
# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.
# [required] user or uid of account to run the program as:
USER=xxx
# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
CONFIG=
# [optional] hostname/ip and port number to listen on:
HOST=0.0.0.0
PORT=5000
# [optional] extra command line options, if any:
EXTRAOPTS=