From cd6ca6132cbf4e712678500744ffdcfe414fa36b Mon Sep 17 00:00:00 2001 From: TheSpad Date: Sun, 26 Nov 2023 14:09:18 +0000 Subject: [PATCH 1/2] Add note about password auto-gen --- readme-vars.yml | 36 ++++++++++-------------------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/readme-vars.yml b/readme-vars.yml index 84450eb1d..7c44dfe3d 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -16,7 +16,7 @@ available_architectures: development_versions: true development_versions_items: - { tag: "latest", desc: "Stable qbittorrent releases" } - - { tag: "libtorrentv1", desc: "Static qbittorrent builds using libtorrent v1" } + - { tag: "libtorrentv1", desc: "Static qbittorrent builds using libtorrent v1" } # container parameters common_param_env_vars_enabled: true @@ -33,39 +33,23 @@ param_ports: param_usage_include_env: true param_env_vars: - { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"} - - { env_var: "WEBUI_PORT", env_value: "8080", desc: "for changing the port of the webui, see below for explanation"} - -# optional parameters -optional_block_1: false -optional_block_1_items: "" + - { env_var: "WEBUI_PORT", env_value: "8080", desc: "for changing the port of the web UI, see below for explanation"} # application setup block app_setup_block_enabled: true app_setup_block: | - The webui is at `:8080` and the default username/password is `admin/adminadmin`. - - Change username/password via the webui in the webui section of settings. + The web UI is at `:8080` and the initial password for the `admin` user will be printed to the container log on startup. - ### WEBUI_PORT variable - - Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port. - - For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090 - - This should alleviate the "white screen" issue. - - If you have no webui , check the file /config/qBittorrent/qBittorrent.conf - - edit or add the following lines + You can then change username/password in the web UI section of settings. If you do not change the password a new one will be generated every time the container starts. - ```text - WebUI\Address=* - - WebUI\ServerDomains=* - ``` - If you are running a very old (3.x) kernel you may run into [this issue](https://github.com/linuxserver/docker-qbittorrent/issues/103) which can be worked around using [this method](https://github.com/linuxserver/docker-qbittorrent/issues/103#issuecomment-831238484) + ### WEBUI_PORT variable + + Due to issues with CSRF and port mapping, should you require to alter the port for the web UI you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port. + + For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090 + # changelog changelogs: - { date: "07.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."} From 4bb2696e9e89fe967f1e84054c1a01d287afaad8 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Sun, 26 Nov 2023 18:24:24 +0000 Subject: [PATCH 2/2] Tweak wording --- readme-vars.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme-vars.yml b/readme-vars.yml index 7c44dfe3d..073e1a4c4 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -38,9 +38,9 @@ param_env_vars: # application setup block app_setup_block_enabled: true app_setup_block: | - The web UI is at `:8080` and the initial password for the `admin` user will be printed to the container log on startup. + The web UI is at `:8080` and a temporary password for the `admin` user will be printed to the container log on startup. - You can then change username/password in the web UI section of settings. If you do not change the password a new one will be generated every time the container starts. + You must then change username/password in the web UI section of settings. If you do not change the password a new one will be generated every time the container starts. If you are running a very old (3.x) kernel you may run into [this issue](https://github.com/linuxserver/docker-qbittorrent/issues/103) which can be worked around using [this method](https://github.com/linuxserver/docker-qbittorrent/issues/103#issuecomment-831238484)