Error installing Qbitorrent

What app is this about, and its version: qBittorrent Current version: 4.2.5~ynh3
What YunoHost version are you running: YunoHost 12.1.39 (stable).
What type of hardware are you using: Old laptop or computer

Describe your issue

Error installing Qbitorrent:

https://paste.yunohost.org/raw/edilizogab

Share relevant logs or error messages

args:
app: qbittorrent
force: false
ignore_yunohost_version: false
label: qBittorrent
no_remove_on_failure: false
ended_at: 2026-01-19 17:56:16.206810
env:
YNH_APP_ACTION: install
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_PATH: /qbittorrent
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq
YNH_APP_ID: qbittorrent
YNH_APP_INSTANCE_NAME: qbittorrent
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 4.2.5~ynh3
YNH_APP_PACKAGING_FORMAT: ‘2.0’
YNH_ARCH: amd64
YNH_DEBIAN_VERSION: bookworm
YNH_DEFAULT_PHP_VERSION: ‘8.2’
YNH_HELPERS_VERSION: ‘2.1’
error: “Ocorreu um erro dentro do script de instala\xE7\xE3o do aplicativo”
interface: api
operation: app_install
parent: null
related_to:

    • app
    • qbittorrent
      started_at: 2026-01-19 17:55:19.796890
      started_by: ******
      success: false
      yunohost_version: 12.1.39

============

2026-01-19 14:55:20,834: INFO - Instalando qbittorrent…
2026-01-19 14:55:20,853: INFO - Provisioning system_user…
2026-01-19 14:55:21,215: INFO - Provisioning install_dir…
2026-01-19 14:55:21,229: INFO - Provisioning data_dir…
2026-01-19 14:55:21,236: INFO - Provisioning permissions…
2026-01-19 14:55:21,246: DEBUG - Permission ‘qbittorrent.main’ updated
2026-01-19 14:55:21,264: DEBUG - Permission ‘qbittorrent.main’ created
2026-01-19 14:55:21,280: DEBUG - Permission ‘qbittorrent.main’ updated
2026-01-19 14:55:21,288: DEBUG - Permission ‘qbittorrent.main’ updated
2026-01-19 14:55:21,303: DEBUG - Permission ‘qbittorrent.api’ updated
2026-01-19 14:55:21,325: DEBUG - Permission ‘qbittorrent.api’ created
2026-01-19 14:55:21,343: DEBUG - Permission ‘qbittorrent.api’ updated
2026-01-19 14:55:21,352: DEBUG - Permission ‘qbittorrent.api’ updated
2026-01-19 14:55:21,479: DEBUG - Creating LDAP perm qbittorrent.api
2026-01-19 14:55:21,487: DEBUG - Creating LDAP perm qbittorrent.main
2026-01-19 14:55:21,500: DEBUG - Permissions were resynchronized to LDAP
2026-01-19 14:55:21,571: DEBUG - Formating result in ‘export’ mode
2026-01-19 14:55:21,574: DEBUG - Configuração SSOwat gerada com êxito
2026-01-19 14:55:21,574: INFO - Provisioning ports…
2026-01-19 14:55:21,627: INFO - Provisioning apt…
2026-01-19 14:55:21,653: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./provision_or_update_apt” 7>&1’]’
2026-01-19 14:55:21,686: DEBUG - + source /usr/share/yunohost/helpers
2026-01-19 14:55:21,687: DEBUG - ++++ dirname – /usr/share/yunohost/helpers
2026-01-19 14:55:21,689: DEBUG - +++ cd – /usr/share/yunohost
2026-01-19 14:55:21,691: DEBUG - +++ pwd
2026-01-19 14:55:21,691: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2026-01-19 14:55:21,692: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2026-01-19 14:55:21,696: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2026-01-19 14:55:21,698: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2026-01-19 14:55:21,740: DEBUG - + ynh_abort_if_errors
2026-01-19 14:55:21,743: DEBUG - + trap ynh_exit_properly EXIT
2026-01-19 14:55:21,744: DEBUG - + ynh_apt_install_dependencies qbittorrent-nox
2026-01-19 14:55:21,745: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2026-01-19 14:55:21,746: DEBUG - ++ sed ‘s/|/ | /’
2026-01-19 14:55:21,750: DEBUG - + local dependencies=qbittorrent-nox
2026-01-19 14:55:21,752: DEBUG - ++ ynh_read_manifest version
2026-01-19 14:55:21,753: DEBUG - ++ toml_to_json
2026-01-19 14:55:21,754: DEBUG - ++ python3 -c ‘import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))’
2026-01-19 14:55:21,755: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_c2sm_v69/manifest.toml
2026-01-19 14:55:21,756: DEBUG - ++ jq .version --raw-output
2026-01-19 14:55:21,877: DEBUG - + local version=4.2.5~ynh3
2026-01-19 14:55:21,879: DEBUG - + local app_ynh_deps=qbittorrent-ynh-deps
2026-01-19 14:55:21,880: DEBUG - + grep ‘[<=>]’
2026-01-19 14:55:21,884: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>|)’
2026-01-19 14:55:21,885: DEBUG - ++ sort -u
2026-01-19 14:55:21,890: DEBUG - + local specific_php_version=
2026-01-19 14:55:21,892: DEBUG - + grep --quiet php
2026-01-19 14:55:21,895: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2026-01-19 14:55:21,896: DEBUG - ++ local package=postgresql-15
2026-01-19 14:55:21,897: DEBUG - ++ grep --quiet ‘^installed$’
2026-01-19 14:55:21,899: DEBUG - ++ dpkg-query --show ‘–showformat=${db:Status-Status}’ postgresql-15
2026-01-19 14:55:21,938: DEBUG - ++ echo no
2026-01-19 14:55:21,939: DEBUG - + local psql_installed=no
2026-01-19 14:55:21,940: DEBUG - + [[ true == \t\r\u\e ]]
2026-01-19 14:55:21,941: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2026-01-19 14:55:21,942: DEBUG - ++ mktemp --directory
2026-01-19 14:55:21,943: DEBUG - + local TMPDIR=/tmp/tmp.mGgZ6jIlSZ
2026-01-19 14:55:21,944: DEBUG - + mkdir -p /tmp/tmp.mGgZ6jIlSZ/qbittorrent-ynh-deps/DEBIAN
2026-01-19 14:55:21,946: DEBUG - + chmod -R 755 /tmp/tmp.mGgZ6jIlSZ/qbittorrent-ynh-deps
2026-01-19 14:55:21,950: DEBUG - + cat
2026-01-19 14:55:21,953: DEBUG - + _ynh_apt update
2026-01-19 14:55:21,954: DEBUG - + [[ update == \u\p\d\a\t\e ]]
2026-01-19 14:55:21,956: DEBUG - + local aptcache=/var/cache/apt/pkgcache.bin
2026-01-19 14:55:21,957: DEBUG - + sleep 1
2026-01-19 14:55:22,957: DEBUG - + [[ -e /var/cache/apt/pkgcache.bin ]]
2026-01-19 14:55:22,959: DEBUG - ++ find /var/cache/apt/pkgcache.bin -mmin -30
2026-01-19 14:55:22,965: DEBUG - + _ynh_wait_dpkg_free
2026-01-19 14:55:23,203: DEBUG - + return 0
2026-01-19 14:55:23,206: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2026-01-19 14:55:23,954: DEBUG - Hit:1 https://dl.yarnpkg.com/debian stable InRelease
2026-01-19 14:55:24,093: DEBUG - Hit:2 Index of /debian-security bookworm-security InRelease
2026-01-19 14:55:24,094: DEBUG - Hit:3 Index of /debian bookworm InRelease
2026-01-19 14:55:24,255: DEBUG - Hit:4 Index of /debian bookworm-updates InRelease
2026-01-19 14:55:24,369: DEBUG - Hit:5 http://repo.yunohost.org/debian bookworm InRelease
2026-01-19 14:55:24,468: DEBUG - Hit:6 https://packages.sury.org/php bookworm InRelease
2026-01-19 14:55:27,498: DEBUG - Reading package lists…
2026-01-19 14:55:27,530: DEBUG - + _ynh_wait_dpkg_free
2026-01-19 14:55:27,775: DEBUG - + return 0
2026-01-19 14:55:27,777: DEBUG - + dpkg-deb --build /tmp/tmp.mGgZ6jIlSZ/qbittorrent-ynh-deps /tmp/tmp.mGgZ6jIlSZ/qbittorrent-ynh-deps.deb
2026-01-19 14:55:27,817: DEBUG - + dpkg --force-depends --install /tmp/tmp.mGgZ6jIlSZ/qbittorrent-ynh-deps.deb
2026-01-19 14:55:27,819: DEBUG - + tee /tmp/tmp.mGgZ6jIlSZ/dpkg_log
2026-01-19 14:55:27,936: DEBUG - Selecting previously unselected package qbittorrent-ynh-deps.
2026-01-19 14:55:28,042: DEBUG - (Reading database … 80866 files and directories currently installed.)
2026-01-19 14:55:28,047: DEBUG - Preparing to unpack …/qbittorrent-ynh-deps.deb …
2026-01-19 14:55:28,060: DEBUG - Unpacking qbittorrent-ynh-deps (4.2.5~ynh3) …
2026-01-19 14:55:28,134: DEBUG - dpkg: qbittorrent-ynh-deps: dependency problems, but configuring anyway as you requested:
2026-01-19 14:55:28,135: DEBUG - qbittorrent-ynh-deps depends on qbittorrent-nox; however:
2026-01-19 14:55:28,136: DEBUG - Package qbittorrent-nox is not installed.
2026-01-19 14:55:28,137: DEBUG -
2026-01-19 14:55:28,138: DEBUG - Setting up qbittorrent-ynh-deps (4.2.5~ynh3) …
2026-01-19 14:55:28,217: DEBUG - + _ynh_apt_install --fix-broken
2026-01-19 14:55:28,218: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2026-01-19 14:55:28,219: DEBUG - + [[ --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken == \u\p\d\a\t\e ]]
2026-01-19 14:55:28,220: DEBUG - + _ynh_wait_dpkg_free
2026-01-19 14:55:28,449: DEBUG - + return 0
2026-01-19 14:55:28,452: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2026-01-19 14:55:28,887: DEBUG - Reading package lists…
2026-01-19 14:55:29,308: DEBUG - Building dependency tree…
2026-01-19 14:55:29,310: DEBUG - Reading state information…
2026-01-19 14:55:29,484: DEBUG - Correcting dependencies… Done
2026-01-19 14:55:29,941: DEBUG - The following additional packages will be installed:
2026-01-19 14:55:29,942: DEBUG - libdouble-conversion3 libpcre2-16-0 libqt5core5a libqt5dbus5 libqt5network5
2026-01-19 14:55:29,943: DEBUG - libqt5sql5 libqt5sql5-sqlite libqt5xml5 qbittorrent-nox qttranslations5-l10n
2026-01-19 14:55:29,976: DEBUG - The following NEW packages will be installed:
2026-01-19 14:55:29,978: DEBUG - libdouble-conversion3 libpcre2-16-0 libqt5core5a libqt5dbus5 libqt5network5
2026-01-19 14:55:29,979: DEBUG - libqt5sql5 libqt5sql5-sqlite libqt5xml5 qbittorrent-nox qttranslations5-l10n
2026-01-19 14:55:31,231: DEBUG - 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
2026-01-19 14:55:31,232: DEBUG - Need to get 0 B/11.8 MB of archives.
2026-01-19 14:55:31,233: DEBUG - After this operation, 36.6 MB of additional disk space will be used.
2026-01-19 14:55:31,333: DEBUG - Selecting previously unselected package libdouble-conversion3:amd64.
2026-01-19 14:55:31,435: DEBUG - (Reading database … 80866 files and directories currently installed.)
2026-01-19 14:55:31,440: DEBUG - Preparing to unpack …/0-libdouble-conversion3_3.2.1-1_amd64.deb …
2026-01-19 14:55:31,467: DEBUG - Unpacking libdouble-conversion3:amd64 (3.2.1-1) …
2026-01-19 14:55:31,610: DEBUG - Selecting previously unselected package libpcre2-16-0:amd64.
2026-01-19 14:55:31,626: DEBUG - Preparing to unpack …/1-libpcre2-16-0_10.42-1_amd64.deb …
2026-01-19 14:55:31,637: DEBUG - Unpacking libpcre2-16-0:amd64 (10.42-1) …
2026-01-19 14:55:31,853: DEBUG - Selecting previously unselected package libqt5core5a:amd64.
2026-01-19 14:55:31,870: DEBUG - Preparing to unpack …/2-libqt5core5a_5.15.8+dfsg-11+deb12u3_amd64.deb …
2026-01-19 14:55:31,896: DEBUG - Unpacking libqt5core5a:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:32,441: DEBUG - Selecting previously unselected package libqt5dbus5:amd64.
2026-01-19 14:55:32,456: DEBUG - Preparing to unpack …/3-libqt5dbus5_5.15.8+dfsg-11+deb12u3_amd64.deb …
2026-01-19 14:55:32,469: DEBUG - Unpacking libqt5dbus5:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:32,646: DEBUG - Selecting previously unselected package libqt5network5:amd64.
2026-01-19 14:55:32,666: DEBUG - Preparing to unpack …/4-libqt5network5_5.15.8+dfsg-11+deb12u3_amd64.deb …
2026-01-19 14:55:32,679: DEBUG - Unpacking libqt5network5:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:32,988: DEBUG - Selecting previously unselected package libqt5sql5:amd64.
2026-01-19 14:55:33,004: DEBUG - Preparing to unpack …/5-libqt5sql5_5.15.8+dfsg-11+deb12u3_amd64.deb …
2026-01-19 14:55:33,017: DEBUG - Unpacking libqt5sql5:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:33,151: DEBUG - Selecting previously unselected package libqt5sql5-sqlite:amd64.
2026-01-19 14:55:33,167: DEBUG - Preparing to unpack …/6-libqt5sql5-sqlite_5.15.8+dfsg-11+deb12u3_amd64.deb …
2026-01-19 14:55:33,179: DEBUG - Unpacking libqt5sql5-sqlite:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:33,320: DEBUG - Selecting previously unselected package libqt5xml5:amd64.
2026-01-19 14:55:33,335: DEBUG - Preparing to unpack …/7-libqt5xml5_5.15.8+dfsg-11+deb12u3_amd64.deb …
2026-01-19 14:55:33,348: DEBUG - Unpacking libqt5xml5:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:33,486: DEBUG - Selecting previously unselected package qbittorrent-nox.
2026-01-19 14:55:33,503: DEBUG - Preparing to unpack …/8-qbittorrent-nox_4.5.2-3+deb12u1_amd64.deb …
2026-01-19 14:55:33,516: DEBUG - Unpacking qbittorrent-nox (4.5.2-3+deb12u1) …
2026-01-19 14:55:33,994: DEBUG - Selecting previously unselected package qttranslations5-l10n.
2026-01-19 14:55:34,010: DEBUG - Preparing to unpack …/9-qttranslations5-l10n_5.15.8-2_all.deb …
2026-01-19 14:55:34,022: DEBUG - Unpacking qttranslations5-l10n (5.15.8-2) …
2026-01-19 14:55:35,417: DEBUG - Setting up libdouble-conversion3:amd64 (3.2.1-1) …
2026-01-19 14:55:35,454: DEBUG - Setting up libpcre2-16-0:amd64 (10.42-1) …
2026-01-19 14:55:35,492: DEBUG - Setting up qttranslations5-l10n (5.15.8-2) …
2026-01-19 14:55:35,532: DEBUG - Setting up libqt5core5a:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:35,583: DEBUG - Setting up libqt5dbus5:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:35,620: DEBUG - Setting up libqt5network5:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:35,659: DEBUG - Setting up libqt5sql5:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:35,699: DEBUG - Setting up libqt5xml5:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:35,738: DEBUG - Setting up libqt5sql5-sqlite:amd64 (5.15.8+dfsg-11+deb12u3) …
2026-01-19 14:55:35,776: DEBUG - Setting up qbittorrent-nox (4.5.2-3+deb12u1) …
2026-01-19 14:55:35,820: DEBUG - Processing triggers for man-db (2.11.2-2) …
2026-01-19 14:55:37,878: DEBUG - Processing triggers for libc-bin (2.36-9+deb12u13) …
2026-01-19 14:55:38,341: DEBUG - + rm --recursive --force /tmp/tmp.mGgZ6jIlSZ
2026-01-19 14:55:38,346: DEBUG - + _ynh_apt_package_is_installed qbittorrent-ynh-deps
2026-01-19 14:55:38,347: DEBUG - + local package=qbittorrent-ynh-deps
2026-01-19 14:55:38,348: DEBUG - + dpkg-query --show ‘–showformat=${db:Status-Status}’ qbittorrent-ynh-deps
2026-01-19 14:55:38,350: DEBUG - + grep --quiet ‘^installed$’
2026-01-19 14:55:38,388: DEBUG - ++ ynh_apt_package_is_installed postgresql-15
2026-01-19 14:55:38,389: DEBUG - ++ local package=postgresql-15
2026-01-19 14:55:38,390: DEBUG - ++ grep --quiet ‘^installed$’
2026-01-19 14:55:38,392: DEBUG - ++ dpkg-query --show ‘–showformat=${db:Status-Status}’ postgresql-15
2026-01-19 14:55:38,443: DEBUG - ++ echo no
2026-01-19 14:55:38,444: DEBUG - + local psql_installed2=no
2026-01-19 14:55:38,445: DEBUG - + [[ no != \n\o ]]
2026-01-19 14:55:38,446: DEBUG - + ynh_exit_properly
2026-01-19 14:55:38,449: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2026-01-19 14:55:38,564: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./install” 7>&1’]’
2026-01-19 14:55:38,596: DEBUG - + source /usr/share/yunohost/helpers
2026-01-19 14:55:38,599: DEBUG - ++++ dirname – /usr/share/yunohost/helpers
2026-01-19 14:55:38,602: DEBUG - +++ cd – /usr/share/yunohost
2026-01-19 14:55:38,603: DEBUG - +++ pwd
2026-01-19 14:55:38,604: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2026-01-19 14:55:38,605: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2026-01-19 14:55:38,610: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2026-01-19 14:55:38,611: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2026-01-19 14:55:38,661: INFO - [+++++…] > Adding system configurations related to qbittorrent …
2026-01-19 14:55:38,663: DEBUG - + ynh_config_add_nginx
2026-01-19 14:55:38,666: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,667: DEBUG - + ynh_config_add --template=nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,759: DEBUG - + jinja=0
2026-01-19 14:55:38,762: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/nginx.conf ‘]’
2026-01-19 14:55:38,763: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/nginx.conf
2026-01-19 14:55:38,764: DEBUG - + ynh_backup_if_checksum_is_different /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,946: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,949: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,952: DEBUG - + ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,954: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,955: DEBUG - + ynh_system_user_exists --username=qbittorrent
2026-01-19 14:55:38,981: DEBUG - + getent passwd qbittorrent
2026-01-19 14:55:38,990: DEBUG - + ‘[’ -f /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf ‘]’
2026-01-19 14:55:38,991: DEBUG - + is_in_dir /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf /var/www/qbittorrent
2026-01-19 14:55:38,992: DEBUG - + ‘[’ -n /var/www/qbittorrent ‘]’
2026-01-19 14:55:38,993: DEBUG - ++ realpath /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,996: DEBUG - + local child=/etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:38,997: DEBUG - ++ realpath /var/www/qbittorrent
2026-01-19 14:55:39,001: DEBUG - + local parent=/var/www/qbittorrent
2026-01-19 14:55:39,002: DEBUG - + [[ /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf =~ ^/var/www/qbittorrent ]]
2026-01-19 14:55:39,003: DEBUG - + is_in_dir /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf /home/yunohost.app/qbittorrent
2026-01-19 14:55:39,004: DEBUG - + ‘[’ -n /home/yunohost.app/qbittorrent ‘]’
2026-01-19 14:55:39,005: DEBUG - ++ realpath /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,006: DEBUG - + local child=/etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,007: DEBUG - ++ realpath /home/yunohost.app/qbittorrent
2026-01-19 14:55:39,011: DEBUG - + local parent=/home/yunohost.app/qbittorrent
2026-01-19 14:55:39,013: DEBUG - + [[ /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf =~ ^/home/yunohost.app/qbittorrent ]]
2026-01-19 14:55:39,014: DEBUG - + is_in_dir /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf /etc/qbittorrent
2026-01-19 14:55:39,015: DEBUG - + ‘[’ -n /etc/qbittorrent ‘]’
2026-01-19 14:55:39,015: DEBUG - ++ realpath /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,016: DEBUG - + local child=/etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,018: DEBUG - ++ realpath /etc/qbittorrent
2026-01-19 14:55:39,021: DEBUG - + local parent=/etc/qbittorrent
2026-01-19 14:55:39,023: DEBUG - + [[ /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf =~ ^/etc/qbittorrent ]]
2026-01-19 14:55:39,025: DEBUG - + ‘[’ /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf == /var/www/qbittorrent ‘]’
2026-01-19 14:55:39,026: DEBUG - + ‘[’ /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf == /home/yunohost.app/qbittorrent ‘]’
2026-01-19 14:55:39,027: DEBUG - + chmod 400 /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,029: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,030: DEBUG - + [[ 0 == 1 ]]
2026-01-19 14:55:39,031: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,033: DEBUG - + ynh_replace_vars /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,034: DEBUG - + local file=/etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,035: DEBUG - + local -a uniques_vars
2026-01-19 14:55:39,036: DEBUG - + mapfile -t uniques_vars
2026-01-19 14:55:39,037: DEBUG - ++ sort --unique
2026-01-19 14:55:39,038: DEBUG - ++ sed ‘s@([^.]*)@\L\1@g’
2026-01-19 14:55:39,039: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9
]?[A-Z0-9]?’ /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,054: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,303: DEBUG - + ‘[’ /qbittorrent ‘!=’ / ‘]’
2026-01-19 14:55:39,304: DEBUG - + ynh_replace ‘–match=^#sub_path_only’ --replace= --file=/etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,454: DEBUG - + sed -i ‘/fastcgi_param\s*REMOTE_USER/d’ /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,458: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/maindomain.tld.d/qbittorrent.conf
2026-01-19 14:55:39,708: DEBUG - + ynh_systemctl --service=nginx --action=reload
2026-01-19 14:55:39,889: DEBUG - + service=nginx
2026-01-19 14:55:39,890: DEBUG - + action=reload
2026-01-19 14:55:39,891: DEBUG - + wait_until=
2026-01-19 14:55:39,892: DEBUG - + length=20
2026-01-19 14:55:39,892: DEBUG - + log_path=/var/log/nginx/nginx.log
2026-01-19 14:55:39,893: DEBUG - + ynh_in_ci_tests
2026-01-19 14:55:39,895: DEBUG - + timeout=300
2026-01-19 14:55:39,896: DEBUG - + ‘[’ reload == stop ‘]’
2026-01-19 14:55:39,898: DEBUG - + ‘[’ reload == reload ‘]’
2026-01-19 14:55:39,899: DEBUG - + action=reload-or-restart
2026-01-19 14:55:39,900: DEBUG - ++ cut -d+ -f1
2026-01-19 14:55:39,900: DEBUG - ++ date --utc --rfc-3339=seconds
2026-01-19 14:55:39,901: DEBUG - + local ‘time_start=2026-01-19 17:55:39 UTC’
2026-01-19 14:55:39,902: DEBUG - + systemctl reload-or-restart nginx
2026-01-19 14:55:40,138: DEBUG - + ynh_config_add_systemd
2026-01-19 14:55:40,159: DEBUG - + return
2026-01-19 14:55:40,159: DEBUG - + mount=
2026-01-19 14:55:40,160: DEBUG - + service=qbittorrent
2026-01-19 14:55:40,161: DEBUG - + template=systemd.service
2026-01-19 14:55:40,165: DEBUG - + ynh_config_add --template=systemd.service --destination=/etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,293: DEBUG - + jinja=0
2026-01-19 14:55:40,295: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/systemd.service ‘]’
2026-01-19 14:55:40,296: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/systemd.service
2026-01-19 14:55:40,297: DEBUG - + ynh_backup_if_checksum_is_different /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,491: DEBUG - + touch /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,495: DEBUG - + chmod 640 /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,497: DEBUG - + _ynh_apply_default_permissions /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,499: DEBUG - + local target=/etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,499: DEBUG - + ynh_system_user_exists --username=qbittorrent
2026-01-19 14:55:40,527: DEBUG - + getent passwd qbittorrent
2026-01-19 14:55:40,531: DEBUG - + ‘[’ -f /etc/systemd/system/qbittorrent.service ‘]’
2026-01-19 14:55:40,532: DEBUG - + is_in_dir /etc/systemd/system/qbittorrent.service /var/www/qbittorrent
2026-01-19 14:55:40,533: DEBUG - + ‘[’ -n /var/www/qbittorrent ‘]’
2026-01-19 14:55:40,534: DEBUG - ++ realpath /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,537: DEBUG - + local child=/etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,538: DEBUG - ++ realpath /var/www/qbittorrent
2026-01-19 14:55:40,542: DEBUG - + local parent=/var/www/qbittorrent
2026-01-19 14:55:40,543: DEBUG - + [[ /etc/systemd/system/qbittorrent.service =~ ^/var/www/qbittorrent ]]
2026-01-19 14:55:40,544: DEBUG - + is_in_dir /etc/systemd/system/qbittorrent.service /home/yunohost.app/qbittorrent
2026-01-19 14:55:40,545: DEBUG - + ‘[’ -n /home/yunohost.app/qbittorrent ‘]’
2026-01-19 14:55:40,546: DEBUG - ++ realpath /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,548: DEBUG - + local child=/etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,549: DEBUG - ++ realpath /home/yunohost.app/qbittorrent
2026-01-19 14:55:40,553: DEBUG - + local parent=/home/yunohost.app/qbittorrent
2026-01-19 14:55:40,554: DEBUG - + [[ /etc/systemd/system/qbittorrent.service =~ ^/home/yunohost.app/qbittorrent ]]
2026-01-19 14:55:40,555: DEBUG - + is_in_dir /etc/systemd/system/qbittorrent.service /etc/qbittorrent
2026-01-19 14:55:40,556: DEBUG - + ‘[’ -n /etc/qbittorrent ‘]’
2026-01-19 14:55:40,556: DEBUG - ++ realpath /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,558: DEBUG - + local child=/etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,559: DEBUG - ++ realpath /etc/qbittorrent
2026-01-19 14:55:40,563: DEBUG - + local parent=/etc/qbittorrent
2026-01-19 14:55:40,564: DEBUG - + [[ /etc/systemd/system/qbittorrent.service =~ ^/etc/qbittorrent ]]
2026-01-19 14:55:40,565: DEBUG - + ‘[’ /etc/systemd/system/qbittorrent.service == /var/www/qbittorrent ‘]’
2026-01-19 14:55:40,566: DEBUG - + ‘[’ /etc/systemd/system/qbittorrent.service == /home/yunohost.app/qbittorrent ‘]’
2026-01-19 14:55:40,566: DEBUG - + chmod 400 /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,567: DEBUG - + chown root:root /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,571: DEBUG - + [[ 0 == 1 ]]
2026-01-19 14:55:40,572: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/systemd.service /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,575: DEBUG - + _ynh_replace_vars /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,576: DEBUG - + local file=/etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,577: DEBUG - + local -a uniques_vars
2026-01-19 14:55:40,578: DEBUG - + mapfile -t uniques_vars
2026-01-19 14:55:40,579: DEBUG - ++ sort --unique
2026-01-19 14:55:40,582: DEBUG - ++ grep -oP '
[A-Z0-9]+?[A-Z0-9
]?[A-Z0-9]?’ /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,584: DEBUG - ++ sed 's@
([^.])__@\L\1@g’
2026-01-19 14:55:40,601: DEBUG - + ynh_store_file_checksum /etc/systemd/system/qbittorrent.service
2026-01-19 14:55:40,854: DEBUG - + systemctl enable qbittorrent --quiet
2026-01-19 14:55:41,576: DEBUG - + systemctl daemon-reload
2026-01-19 14:55:42,274: DEBUG - + log_dir=/home/yunohost.app/qbittorrent/logs
2026-01-19 14:55:42,275: DEBUG - + mkdir -p /home/yunohost.app/qbittorrent/logs
2026-01-19 14:55:42,284: DEBUG - + touch /home/yunohost.app/qbittorrent/logs/qbittorrent.log
2026-01-19 14:55:42,288: DEBUG - + yunohost service add qbittorrent ‘–description=qBittorrent-nox service’
2026-01-19 14:55:42,962: DEBUG - SUCCESS Serviço ‘qbittorrent’ adicionado com êxito
2026-01-19 14:55:43,024: DEBUG - + ynh_config_add_logrotate
2026-01-19 14:55:43,026: DEBUG - + local logfile=
2026-01-19 14:55:43,027: DEBUG - + set -o noglob
2026-01-19 14:55:43,028: DEBUG - + [[ -z ‘’ ]]
2026-01-19 14:55:43,029: DEBUG - + logfile='/var/log/qbittorrent/
.log’
2026-01-19 14:55:43,030: DEBUG - + set +o noglob
2026-01-19 14:55:43,031: DEBUG - + for stuff in $logfile
2026-01-19 14:55:43,032: DEBUG - ++ dirname '/var/log/qbittorrent/.log’
2026-01-19 14:55:43,032: DEBUG - + local dir=/var/log/qbittorrent
2026-01-19 14:55:43,034: DEBUG - + mkdir --parents /var/log/qbittorrent
2026-01-19 14:55:43,035: DEBUG - + chmod 750 /var/log/qbittorrent
2026-01-19 14:55:43,035: DEBUG - + chown qbittorrent:qbittorrent /var/log/qbittorrent
2026-01-19 14:55:43,044: DEBUG - ++ mktemp
2026-01-19 14:55:43,047: DEBUG - + local tempconf=/tmp/tmp.UF6XE7WFe4
2026-01-19 14:55:43,048: DEBUG - + cat
2026-01-19 14:55:43,051: DEBUG - + [[ true == \t\r\u\e ]]
2026-01-19 14:55:43,052: DEBUG - + cat /tmp/tmp.UF6XE7WFe4
2026-01-19 14:55:43,054: DEBUG - + FIRST_CALL_TO_LOGROTATE=false
2026-01-19 14:55:43,055: DEBUG - + chmod 644 /etc/logrotate.d/qbittorrent
2026-01-19 14:55:43,058: DEBUG - + config_dir=/home/yunohost.app/qbittorrent/qBittorrent/config
2026-01-19 14:55:43,059: DEBUG - + mkdir -p /home/yunohost.app/qbittorrent/qBittorrent/config
2026-01-19 14:55:43,062: DEBUG - + ynh_config_add --template=qBittorrent.conf --destination=/home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,164: DEBUG - + jinja=0
2026-01-19 14:55:43,166: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/qBittorrent.conf ‘]’
2026-01-19 14:55:43,167: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/qBittorrent.conf
2026-01-19 14:55:43,168: DEBUG - + ynh_backup_if_checksum_is_different /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,350: DEBUG - + touch /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,353: DEBUG - + chmod 640 /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,356: DEBUG - + _ynh_apply_default_permissions /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,358: DEBUG - + local target=/home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,359: DEBUG - + ynh_system_user_exists --username=qbittorrent
2026-01-19 14:55:43,386: DEBUG - + getent passwd qbittorrent
2026-01-19 14:55:43,391: DEBUG - + ‘[’ -f /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf ‘]’
2026-01-19 14:55:43,392: DEBUG - + is_in_dir /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf /var/www/qbittorrent
2026-01-19 14:55:43,393: DEBUG - + ‘[’ -n /var/www/qbittorrent ‘]’
2026-01-19 14:55:43,394: DEBUG - ++ realpath /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,397: DEBUG - + local child=/home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,398: DEBUG - ++ realpath /var/www/qbittorrent
2026-01-19 14:55:43,402: DEBUG - + local parent=/var/www/qbittorrent
2026-01-19 14:55:43,403: DEBUG - + [[ /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf =~ ^/var/www/qbittorrent ]]
2026-01-19 14:55:43,404: DEBUG - + is_in_dir /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf /home/yunohost.app/qbittorrent
2026-01-19 14:55:43,405: DEBUG - + ‘[’ -n /home/yunohost.app/qbittorrent ‘]’
2026-01-19 14:55:43,406: DEBUG - ++ realpath /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,407: DEBUG - + local child=/home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,408: DEBUG - ++ realpath /home/yunohost.app/qbittorrent
2026-01-19 14:55:43,412: DEBUG - + local parent=/home/yunohost.app/qbittorrent
2026-01-19 14:55:43,413: DEBUG - + [[ /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf =~ ^/home/yunohost.app/qbittorrent ]]
2026-01-19 14:55:43,414: DEBUG - + chmod 600 /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,416: DEBUG - + chown qbittorrent:qbittorrent /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,421: DEBUG - + return
2026-01-19 14:55:43,422: DEBUG - + [[ 0 == 1 ]]
2026-01-19 14:55:43,423: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_x7e6k2wq/conf/qBittorrent.conf /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,426: DEBUG - + _ynh_replace_vars /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,427: DEBUG - + local file=/home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,428: DEBUG - + local -a uniques_vars
2026-01-19 14:55:43,429: DEBUG - + mapfile -t uniques_vars
2026-01-19 14:55:43,432: DEBUG - ++ sort --unique
2026-01-19 14:55:43,433: DEBUG - ++ sed 's@__([^.]
)@\L\1@g’
2026-01-19 14:55:43,434: DEBUG - ++ grep -oP '
[A-Z0-9]+?[A-Z0-9
]?[A-Z0-9]?__’ /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,448: DEBUG - + ynh_store_file_checksum /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,701: DEBUG - + chown -R qbittorrent: /home/yunohost.app/qbittorrent
2026-01-19 14:55:43,711: DEBUG - + chown -R qbittorrent: /var/www/qbittorrent
2026-01-19 14:55:43,717: DEBUG - + chmod 600 /home/yunohost.app/qbittorrent/qBittorrent/config/qBittorrent.conf
2026-01-19 14:55:43,725: INFO - [#####+++++…] > Adding multimedia directories…
2026-01-19 14:55:43,727: DEBUG - + ynh_multimedia_build_main_dir
2026-01-19 14:55:43,730: DEBUG - + groupadd -f multimedia
2026-01-19 14:55:43,736: DEBUG - + mkdir -p /home/yunohost.multimedia
2026-01-19 14:55:43,739: DEBUG - + mkdir -p /home/yunohost.multimedia/share
2026-01-19 14:55:43,743: DEBUG - + mkdir -p /home/yunohost.multimedia/share/Music
2026-01-19 14:55:43,747: DEBUG - + mkdir -p /home/yunohost.multimedia/share/Picture
2026-01-19 14:55:43,750: DEBUG - + mkdir -p /home/yunohost.multimedia/share/Video
2026-01-19 14:55:43,753: DEBUG - + mkdir -p /home/yunohost.multimedia/share/eBook
2026-01-19 14:55:44,524: DEBUG - + setfacl -RnL -m g:multimedia:rwX,g::rwX,o:r-X /home/yunohost.multimedia
2026-01-19 14:55:44,532: DEBUG - + setfacl -RnL -m d:g:multimedia:rwX,g::rwX,o:r-X /home/yunohost.multimedia
2026-01-19 14:55:44,540: DEBUG - + setfacl -RL -m m::rwx /home/yunohost.multimedia
2026-01-19 14:55:44,547: DEBUG - + ynh_multimedia_addfolder --source_dir=/home/yunohost.app/qbittorrent --dest_dir=share/Torrents
2026-01-19 14:55:44,621: DEBUG - + ln -sfn /home/yunohost.app/qbittorrent /home/yunohost.multimedia/share/Torrents
2026-01-19 14:55:44,624: DEBUG - + setfacl -RnL -m g:multimedia:rwX,g::rwX,o:r-X /home/yunohost.app/qbittorrent
2026-01-19 14:55:44,628: DEBUG - + setfacl -RnL -m d:g:multimedia:rwX,g::rwX,o:r-X /home/yunohost.app/qbittorrent
2026-01-19 14:55:44,632: DEBUG - + setfacl -RL -m m::rwx /home/yunohost.app/qbittorrent
2026-01-19 14:55:44,641: INFO - [##########+++++…] > Starting qbittorrent’s systemd service…
2026-01-19 14:55:44,644: DEBUG - + ynh_systemctl --service=qbittorrent --action=start ‘–wait_until=Now listening on IP’ --log_path=/home/yunohost.app/qbittorrent/qBittorrent/data/logs/qbittorrent.log --timeout=30
2026-01-19 14:55:45,054: DEBUG - + service=qbittorrent
2026-01-19 14:55:45,055: DEBUG - + action=start
2026-01-19 14:55:45,056: DEBUG - + wait_until=‘Now listening on IP’
2026-01-19 14:55:45,057: DEBUG - + length=20
2026-01-19 14:55:45,058: DEBUG - + log_path=/home/yunohost.app/qbittorrent/qBittorrent/data/logs/qbittorrent.log
2026-01-19 14:55:45,059: DEBUG - + ynh_in_ci_tests
2026-01-19 14:55:45,061: DEBUG - + timeout=30
2026-01-19 14:55:45,062: DEBUG - + ‘[’ start == stop ‘]’
2026-01-19 14:55:45,063: DEBUG - + [[ -n Now listening on IP ]]
2026-01-19 14:55:45,063: DEBUG - ++ mktemp
2026-01-19 14:55:45,067: DEBUG - + local templog=/tmp/tmp.jOn4gS6zYn
2026-01-19 14:55:45,069: DEBUG - + ‘[’ /home/yunohost.app/qbittorrent/qBittorrent/data/logs/qbittorrent.log == systemd ‘]’
2026-01-19 14:55:45,070: DEBUG - + local pid_tail=41814
2026-01-19 14:55:45,071: DEBUG - + ‘[’ start == reload ‘]’
2026-01-19 14:55:45,072: DEBUG - + tail --follow=name --retry --lines=0 /home/yunohost.app/qbittorrent/qBittorrent/data/logs/qbittorrent.log
2026-01-19 14:55:45,073: DEBUG - ++ date --utc --rfc-3339=seconds
2026-01-19 14:55:45,074: DEBUG - ++ cut -d+ -f1
2026-01-19 14:55:45,075: DEBUG - + local ‘time_start=2026-01-19 17:55:45 UTC’
2026-01-19 14:55:45,076: DEBUG - + systemctl start qbittorrent
2026-01-19 14:55:45,120: DEBUG - + [[ -n Now listening on IP ]]
2026-01-19 14:56:14,528: WARNING - (this may take some time)
2026-01-19 14:56:15,537: DEBUG - + ‘[’ 30 -ge 3 ‘]’
2026-01-19 14:56:15,539: DEBUG -
2026-01-19 14:56:15,541: WARNING - The service qbittorrent didn’t fully execute the action start before the timeout.
2026-01-19 14:56:15,545: DEBUG - + ‘[’ 30 -eq 30 ‘]’
2026-01-19 14:56:15,546: WARNING - Please find here an extract of the end of the log of the service qbittorrent:
2026-01-19 14:56:15,550: DEBUG - + ynh_print_warn ‘The service qbittorrent didn’'‘t fully execute the action start before the timeout.’
2026-01-19 14:56:15,553: DEBUG - + ynh_print_warn ‘Please find here an extract of the end of the log of the service qbittorrent:’
2026-01-19 14:56:15,555: DEBUG - + journalctl --quiet --no-hostname --no-pager --lines=20 --unit=qbittorrent
2026-01-19 14:56:15,559: WARNING - jan 19 01:32:36 qbittorrent-nox[3111]: ******** Informação ********
2026-01-19 14:56:15,562: DEBUG - + ‘[’ -e /home/yunohost.app/qbittorrent/qBittorrent/data/logs/qbittorrent.log ‘]’
2026-01-19 14:56:15,564: WARNING - jan 19 01:32:36 qbittorrent-nox[3111]: Pra controlar o qBittorrent acesse a interface de usuário da web em: http://localhost:30000
2026-01-19 14:56:15,567: DEBUG - + ynh_print_warn ===
2026-01-19 14:56:15,569: WARNING - jan 19 01:32:36 qbittorrent-nox[3111]: O nome do administrador da interface de usuário da web é: admin
2026-01-19 14:56:15,570: DEBUG - + echo ===
2026-01-19 14:56:15,571: WARNING - jan 19 01:32:36 qbittorrent-nox[3111]: A senha do administrador da interface de usuário da web não foi alterada do padrão: adminadmin
2026-01-19 14:56:15,575: DEBUG - + tail --lines=20 /home/yunohost.app/qbittorrent/qBittorrent/data/logs/qbittorrent.log
2026-01-19 14:56:15,577: WARNING - jan 19 01:32:36 qbittorrent-nox[3111]: Este é um risco de segurança, por favor mude sua senha nas preferências do programa.
2026-01-19 14:56:15,580: DEBUG - + ‘[’ start == reload ‘]’
2026-01-19 14:56:15,581: WARNING - jan 19 01:32:36 systemd[1]: qbittorrent.service: Deactivated successfully.
2026-01-19 14:56:15,583: DEBUG - + ‘[’ start == start ‘]’
2026-01-19 14:56:15,584: WARNING - jan 19 01:32:36 systemd[1]: Stopped qbittorrent.service - qBittorrent-nox service.
2026-01-19 14:56:15,587: DEBUG - + _ynh_clean_check_starting
2026-01-19 14:56:15,588: WARNING - jan 19 13:31:30 systemd[1]: Started qbittorrent.service - qBittorrent-nox service.
2026-01-19 14:56:15,591: DEBUG - + ‘[’ -n 41814 ‘]’
2026-01-19 14:56:15,592: WARNING - jan 19 13:32:04 qbittorrent-nox[38455]: Catching signal: SIGTERM
2026-01-19 14:56:15,595: DEBUG - + kill -SIGTERM 41814
2026-01-19 14:56:15,596: WARNING - jan 19 13:32:04 qbittorrent-nox[38455]: Exiting cleanly
2026-01-19 14:56:15,599: DEBUG - + ‘[’ -n /tmp/tmp.jOn4gS6zYn ‘]’
2026-01-19 14:56:15,600: WARNING - jan 19 13:32:04 systemd[1]: Stopping qbittorrent.service - qBittorrent-nox service…
2026-01-19 14:56:15,602: DEBUG - + ynh_safe_rm /tmp/tmp.jOn4gS6zYn
2026-01-19 14:56:15,603: WARNING - jan 19 13:32:06 qbittorrent-nox[38455]: A interface web será iniciada logo após os preparativos internos. Por favor, aguarde…
2026-01-19 14:56:15,605: DEBUG - + local target=/tmp/tmp.jOn4gS6zYn
2026-01-19 14:56:15,606: WARNING - jan 19 13:32:06 qbittorrent-nox[38455]: ******** Informação ********
2026-01-19 14:56:15,610: WARNING - jan 19 13:32:06 qbittorrent-nox[38455]: Pra controlar o qBittorrent acesse a interface de usuário da web em: http://localhost:30000
2026-01-19 14:56:15,611: DEBUG - + return 1
2026-01-19 14:56:15,612: WARNING - jan 19 13:32:06 qbittorrent-nox[38455]: O nome do administrador da interface de usuário da web é: admin
2026-01-19 14:56:15,615: DEBUG - + ynh_exit_properly
2026-01-19 14:56:15,616: WARNING - jan 19 13:32:06 qbittorrent-nox[38455]: A senha do administrador da interface de usuário da web não foi alterada do padrão: adminadmin
2026-01-19 14:56:15,618: WARNING - jan 19 13:32:06 qbittorrent-nox[38455]: Este é um risco de segurança, por favor mude sua senha nas preferências do programa.
2026-01-19 14:56:15,620: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2026-01-19 14:56:15,621: WARNING - jan 19 13:32:06 systemd[1]: qbittorrent.service: Deactivated successfully.
2026-01-19 14:56:15,624: WARNING - jan 19 13:32:06 systemd[1]: Stopped qbittorrent.service - qBittorrent-nox service.
2026-01-19 14:56:15,627: WARNING - jan 19 14:55:45 systemd[1]: Started qbittorrent.service - qBittorrent-nox service.
2026-01-19 14:56:15,629: WARNING - ===
2026-01-19 14:56:15,632: WARNING - (I) 2026-01-19T14:55:45 - Suporte a Descoberta de Peers locais: LIGADO
2026-01-19 14:56:15,634: WARNING - (I) 2026-01-19T14:55:45 - Suporte para Troca de Peers (PeX): LIGADO
2026-01-19 14:56:15,637: WARNING - (I) 2026-01-19T14:55:45 - Modo anônimo: DESLIGADO
2026-01-19 14:56:15,638: WARNING - (I) 2026-01-19T14:55:45 - Suporte a criptografia: LIGADO
2026-01-19 14:56:15,641: WARNING - (I) 2026-01-19T14:55:45 - UPnP/NAT-PMP support: ON
2026-01-19 14:56:15,642: WARNING - (I) 2026-01-19T14:55:45 - Êxito ao escutar no IP. IP: “127.0.0.1”. Porta: “TCP/14420”
2026-01-19 14:56:15,644: WARNING - (I) 2026-01-19T14:55:45 - Êxito ao escutar no IP. IP: “127.0.0.1”. Porta: “UTP/14420”
2026-01-19 14:56:15,645: WARNING - (I) 2026-01-19T14:55:45 - Êxito ao escutar no IP. IP: “192.168.1.3”. Porta: “TCP/14420”
2026-01-19 14:56:15,647: WARNING - (I) 2026-01-19T14:55:45 - Êxito ao escutar no IP. IP: “192.168.1.3”. Porta: “UTP/14420”
2026-01-19 14:56:15,648: WARNING - (I) 2026-01-19T14:55:45 - Êxito ao escutar no IP. IP: “::1”. Porta: “TCP/14420”
2026-01-19 14:56:15,651: WARNING - (I) 2026-01-19T14:55:45 - Êxito ao escutar no IP. IP: “::1”. Porta: “UTP/14420”
2026-01-19 14:56:15,652: WARNING - (I) 2026-01-19T14:55:45 - Êxito ao escutar no IP. IP: “fe80::52b7:c3ff:fe45:72a0%enp2s0”. Porta: “TCP/14420”
2026-01-19 14:56:15,654: WARNING - (I) 2026-01-19T14:55:45 - Êxito ao escutar no IP. IP: “fe80::52b7:c3ff:fe45:72a0%enp2s0”. Porta: “UTP/14420”
2026-01-19 14:56:15,655: WARNING - (I) 2026-01-19T14:55:45 - Banco de dados da geo-localização dos IPs carregado. Tipo: DBIP-Country-Lite. Data do build: qua. dez. 31 23:26:44 2025.
2026-01-19 14:56:15,657: WARNING - (N) 2026-01-19T14:55:45 - Usando a interface de usuário da web embutida.
2026-01-19 14:56:15,659: WARNING - (N) 2026-01-19T14:55:45 - A tradução da interface de usuário da web pro idioma selecionado (pt_BR) foi carregada com sucesso.
2026-01-19 14:56:15,661: WARNING - (N) 2026-01-19T14:55:45 - WebUI: Escutando agora no IP: *, porta: 30000
2026-01-19 14:56:15,662: WARNING - (I) 2026-01-19T14:55:46 - Êxito ao mapear portas UPnP/NAT-PMP. Mensagem: “successfully mapped port using UPnP. local: 192.168.1.3 external port: TCP/14420”
2026-01-19 14:56:15,664: WARNING - (I) 2026-01-19T14:55:47 - Êxito ao mapear portas UPnP/NAT-PMP. Mensagem: “successfully mapped port using UPnP. local: 192.168.1.3 external port: UDP/14420”
2026-01-19 14:56:15,665: WARNING - (I) 2026-01-19T14:55:48 - Êxito ao mapear portas UPnP/NAT-PMP. Mensagem: “successfully mapped port using UPnP. local: 192.168.1.3 external port: TCP/30000”
2026-01-19 14:56:16,206: ERROR - Não foi possível instalar qbittorrent: Ocorreu um erro dentro do script de instalação do aplicativo

Hello @metatron,

I looked at the logs and found the problem. qBittorrent starts correctly, but the installation script fails to detect it due to a language/locale incompatibility.

The YunoHost installation script expects this message in English in the logs:

Now listening on IP

But your system is configured in pt_BR, so qBittorrent displays:

WebUI: Escutando agora no IP: *, porta: 30000

The script times out after 30 seconds because it never finds the expected string.

Workaround

Try installing by forcing the locale:

sudo LC_ALL=C yunohost app install qbittorrent

Note

This is actually a bug in the qbittorrent_ynh package — it should either force LC_ALL=C when starting the service for verification, or use an independent verification of the locale settings. I suggest opening a ticket on the package repository: GitHub · Where software is built

Let us know if the workaround works for you!

1 Like
Qbittorrent installed successfully! I would like to thank you for being active on the forum and for your help. The problem was precisely that, but as it was in the initial phase of configuration to avoid future problems with another application I preferred to reinstall ynhOS again, reinstalled in English.

sudo LC_ALL=C yunohost app install qbittorrent

I tried without success
sudo LC_ALL=C yunohost app install qbittorrent

I modified /etc/environment and then rebooted.
Still the same problem.
The message ‘nfo: WARNING - (N) 2026-01-24T17:12:29 - IU Web : En écoute sur IP : *, port : 30000"’ is in French.
Do you have any idea how to change it to English?

:white_check_mark: Successfully bypassed

sudo update-locale LANG=C.UTF-8 ; sudo bash ;
export LANG=C.UTF-8
LC_ALL=C yunohost app install qbittorrent

1 Like

Thank you, had the same issue but now it is working!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.