Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct start.sh and documentation for use of WEBUI_PORT and INCOMING_PORT environment variables #66

Open
wants to merge 3 commits into
base: bionic
Choose a base branch
from

Conversation

45413
Copy link

@45413 45413 commented Jul 25, 2020

The current documentation references WEBUI_PORT_ENV and INCOMING_PORT_ENV, but these variables are referenced in the /etc/qbittorent scripts as WEBUI_PORT, and INCOMING_PORT respectively.

Additionally, the sed command used to replace existing persistent configs was not properly escaping the \ in the configuration setting name. This caused invalid qbittorent.conf files to be generated when using either of the above mentioned ENV variables. This change will ensure new deployments or changes to the either variables are updated when the container starts.

Once caveat: If you already have an existing qbittorent.conf in your mounted volume, you will either need to edit and add the missing \ in the setting names, or deleted the qbittorent.conf and allow it to be recreated on the next deploy

45413 added 3 commits July 25, 2020 16:29
Corrected escaping of \ when updating WEBUI Port for an existing qBittorrent.conf file
sed requires triple backslashes (\) for proper escaping
Dropped "_ENV" suffix from WEBUI_PORT and INCOMING_PORT environment variable names to match references in start.sh
Base automatically changed from master to bionic March 23, 2021 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant