args: app: https://github.com/YunoHost-Apps/miniflux_ynh/ args: domain=domain2.tld&path=%2F&admin=nils&is_public=1&password='**********' force: false label: Miniflux no_remove_on_failure: false ended_at: 2021-05-22 20:15:48.268806 env: YNH_APP_ARG_ADMIN: nils YNH_APP_ARG_DOMAIN: domain2.tld YNH_APP_ARG_IS_PUBLIC: '1' YNH_APP_ARG_PATH: / YNH_APP_ID: miniflux YNH_APP_INSTANCE_NAME: miniflux YNH_APP_INSTANCE_NUMBER: '1' YNH_APP_MANIFEST_VERSION: 2.0.30~ynh1 error: Im Installationsscript ist ein Fehler aufgetreten interface: api operation: app_install parent: null related_to: - - app - miniflux started_at: 2021-05-22 20:15:11.756206 success: false yunohost_version: 4.2.4 ============ 2021-05-22 22:15:11,768: INFO - miniflux wird installiert... 2021-05-22 22:15:11,975: DEBUG - Berechtigung 'miniflux.main' aktualisiert 2021-05-22 22:15:12,067: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20210522-201511-permission_url-miniflux" style="text-decoration:underline">Aktualisiere URL, die mit der Berechtigung 'miniflux' verknüpft ist</a>' 2021-05-22 22:15:12,258: DEBUG - The permission database has been resynchronized 2021-05-22 22:15:12,371: DEBUG - Die Konfiguration von SSOwat erstellt 2021-05-22 22:15:12,479: DEBUG - Permission 'miniflux.main' created 2021-05-22 22:15:12,479: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20210522-201511-permission_create-miniflux" style="text-decoration:underline">Erstelle Berechtigung 'miniflux'</a>' 2021-05-22 22:15:12,492: DEBUG - Executing command '/bin/bash -x "./install" 7>&1' 2021-05-22 22:15:12,523: DEBUG - + source _common.sh 2021-05-22 22:15:12,524: DEBUG - ++ pkg_dependencies='postgresql apt-transport-https' 2021-05-22 22:15:12,524: DEBUG - + source /usr/share/yunohost/helpers 2021-05-22 22:15:12,528: DEBUG - +++ set +o 2021-05-22 22:15:12,528: DEBUG - +++ grep xtrace 2021-05-22 22:15:12,531: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2021-05-22 22:15:12,531: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2021-05-22 22:15:12,559: DEBUG - + ynh_abort_if_errors 2021-05-22 22:15:12,560: DEBUG - + set -o errexit 2021-05-22 22:15:12,560: DEBUG - + set -o nounset 2021-05-22 22:15:12,560: DEBUG - + trap ynh_exit_properly EXIT 2021-05-22 22:15:12,560: DEBUG - + domain=domain2.tld 2021-05-22 22:15:12,560: DEBUG - + path_url=/ 2021-05-22 22:15:12,560: DEBUG - + is_public=1 2021-05-22 22:15:12,560: DEBUG - ++ ynh_detect_arch 2021-05-22 22:15:12,561: DEBUG - +++ uname -m 2021-05-22 22:15:12,561: DEBUG - +++ grep arm64 2021-05-22 22:15:12,564: DEBUG - ++ '[' -n '' ']' 2021-05-22 22:15:12,565: DEBUG - +++ uname -m 2021-05-22 22:15:12,565: DEBUG - +++ grep aarch64 2021-05-22 22:15:12,567: DEBUG - ++ '[' -n '' ']' 2021-05-22 22:15:12,568: DEBUG - +++ uname -m 2021-05-22 22:15:12,568: DEBUG - +++ grep 64 2021-05-22 22:15:12,574: DEBUG - ++ '[' -n x86_64 ']' 2021-05-22 22:15:12,618: DEBUG - ++ architecture=amd64 2021-05-22 22:15:12,618: DEBUG - ++ echo amd64 2021-05-22 22:15:12,618: DEBUG - + architecture=amd64 2021-05-22 22:15:12,619: DEBUG - + password=********** 2021-05-22 22:15:12,619: DEBUG - + admin=nils 2021-05-22 22:15:12,619: DEBUG - + app=miniflux 2021-05-22 22:15:12,823: DEBUG - + echo '[....................] > Validating installation parameters...' 2021-05-22 22:15:12,823: DEBUG - + final_path=/var/www/miniflux 2021-05-22 22:15:12,823: DEBUG - + test '!' -e /var/www/miniflux 2021-05-22 22:15:12,823: INFO - [....................] > Validating installation parameters... 2021-05-22 22:15:12,824: DEBUG - + ynh_webpath_register --app=miniflux --domain=domain2.tld --path_url=/ 2021-05-22 22:15:12,963: DEBUG - + yunohost app register-url miniflux domain2.tld / 2021-05-22 22:15:15,261: DEBUG - + echo '[+...................] > Storing installation settings...' 2021-05-22 22:15:15,261: INFO - [+...................] > Storing installation settings... 2021-05-22 22:15:15,262: DEBUG - + ynh_app_setting_set --app=miniflux --key=domain --value=domain2.tld 2021-05-22 22:15:15,446: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]] 2021-05-22 22:15:15,447: DEBUG - + ynh_app_setting set miniflux domain domain2.tld 2021-05-22 22:15:15,545: DEBUG - + ynh_app_setting_set --app=miniflux --key=path --value=/ 2021-05-22 22:15:15,739: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]] 2021-05-22 22:15:15,739: DEBUG - + ynh_app_setting set miniflux path / 2021-05-22 22:15:15,842: DEBUG - + ynh_app_setting_set --app=miniflux --key=admin --value=nils 2021-05-22 22:15:16,030: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]] 2021-05-22 22:15:16,030: DEBUG - + ynh_app_setting set miniflux admin nils 2021-05-22 22:15:16,120: DEBUG - + ynh_app_setting_set --app=miniflux --key=password --value=********** 2021-05-22 22:15:16,269: DEBUG - + [[ password =~ (unprotected|protected|skipped)_ ]] 2021-05-22 22:15:16,316: DEBUG - + ynh_app_setting set miniflux password ********** 2021-05-22 22:15:16,552: INFO - [#...................] > Finding an available port... 2021-05-22 22:15:16,553: DEBUG - + echo '[#...................] > Finding an available port...' 2021-05-22 22:15:16,553: DEBUG - ++ ynh_find_port --port=3000 2021-05-22 22:15:16,569: DEBUG - ++ test -n 3000 2021-05-22 22:15:16,569: DEBUG - ++ ynh_port_available --port=3000 2021-05-22 22:15:16,627: DEBUG - ++ ss --numeric --listening --tcp --udp 2021-05-22 22:15:16,627: DEBUG - ++ awk '{print$5}' 2021-05-22 22:15:16,627: DEBUG - ++ grep --quiet --extended-regexp ':3000$' 2021-05-22 22:15:16,635: DEBUG - ++ grep -q 'port: '\''3000'\''' /etc/yunohost/apps/ffsync/settings.yml /etc/yunohost/apps/jirafeau/settings.yml /etc/yunohost/apps/miniflux/settings.yml /etc/yunohost/apps/multi_webapp__2/settings.yml /etc/yunohost/apps/my_webapp__2/settings.yml /etc/yunohost/apps/my_webapp__3/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/searx/settings.yml /etc/yunohost/apps/wallabag2/settings.yml 2021-05-22 22:15:16,638: DEBUG - ++ return 0 2021-05-22 22:15:16,638: DEBUG - ++ echo 3000 2021-05-22 22:15:16,638: DEBUG - + port=3000 2021-05-22 22:15:16,638: DEBUG - + ynh_app_setting_set --app=miniflux --key=port --value=3000 2021-05-22 22:15:16,842: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]] 2021-05-22 22:15:16,842: DEBUG - + ynh_app_setting set miniflux port 3000 2021-05-22 22:15:17,120: INFO - [#++++++++++.........] > Installing dependencies... 2021-05-22 22:15:17,122: DEBUG - + echo '[#++++++++++.........] > Installing dependencies...' 2021-05-22 22:15:17,122: DEBUG - + ynh_exec_warn_less ynh_install_app_dependencies postgresql apt-transport-https 2021-05-22 22:15:17,122: DEBUG - + eval ynh_install_app_dependencies postgresql apt-transport-https 2021-05-22 22:15:17,123: DEBUG - ++ ynh_install_app_dependencies postgresql apt-transport-https 2021-05-22 22:15:17,123: DEBUG - ++ local 'dependencies=postgresql apt-transport-https' 2021-05-22 22:15:17,123: DEBUG - +++ echo 'postgresql apt-transport-https' 2021-05-22 22:15:17,123: DEBUG - +++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g' 2021-05-22 22:15:17,127: DEBUG - ++ dependencies='postgresql, apt-transport-https' 2021-05-22 22:15:17,127: DEBUG - ++ local 'dependencies=postgresql, apt-transport-https' 2021-05-22 22:15:17,127: DEBUG - ++ local manifest_path=../manifest.json 2021-05-22 22:15:17,127: DEBUG - +++ jq -r .version ../manifest.json 2021-05-22 22:15:17,132: DEBUG - ++ local version=2.0.30~ynh1 2021-05-22 22:15:17,133: DEBUG - ++ '[' -z 2.0.30~ynh1 ']' 2021-05-22 22:15:17,133: DEBUG - ++ '[' 2.0.30~ynh1 == null ']' 2021-05-22 22:15:17,133: DEBUG - ++ local dep_app=miniflux 2021-05-22 22:15:17,133: DEBUG - ++ [[ postgresql, apt-transport-https =~ [<=>] ]] 2021-05-22 22:15:17,133: DEBUG - ++ echo postgresql, apt-transport-https 2021-05-22 22:15:17,133: DEBUG - ++ grep --quiet php 2021-05-22 22:15:17,135: DEBUG - ++ cat 2021-05-22 22:15:17,138: DEBUG - ++ ynh_package_install_from_equivs /tmp/miniflux-ynh-deps.control 2021-05-22 22:15:17,138: DEBUG - ++ local controlfile=/tmp/miniflux-ynh-deps.control 2021-05-22 22:15:17,139: DEBUG - +++ grep '^Package: ' /tmp/miniflux-ynh-deps.control 2021-05-22 22:15:17,139: DEBUG - +++ cut '--delimiter= ' --fields=2 2021-05-22 22:15:17,141: DEBUG - ++ local pkgname=miniflux-ynh-deps 2021-05-22 22:15:17,142: DEBUG - +++ grep '^Version: ' /tmp/miniflux-ynh-deps.control 2021-05-22 22:15:17,143: DEBUG - +++ cut '--delimiter= ' --fields=2 2021-05-22 22:15:17,145: DEBUG - ++ local pkgversion=2.0.30~ynh1 2021-05-22 22:15:17,145: DEBUG - ++ [[ -z miniflux-ynh-deps ]] 2021-05-22 22:15:17,146: DEBUG - ++ [[ -z 2.0.30~ynh1 ]] 2021-05-22 22:15:17,146: DEBUG - ++ ynh_package_update 2021-05-22 22:15:17,146: DEBUG - ++ ynh_apt update 2021-05-22 22:15:17,146: DEBUG - ++ ynh_wait_dpkg_free 2021-05-22 22:15:17,516: DEBUG - ++ return 0 2021-05-22 22:15:17,516: DEBUG - ++ LC_ALL=C 2021-05-22 22:15:17,516: DEBUG - ++ DEBIAN_FRONTEND=noninteractive 2021-05-22 22:15:17,517: DEBUG - ++ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2021-05-22 22:15:17,736: DEBUG - Hit:1 http://security.debian.org/debian-security buster/updates InRelease 2021-05-22 22:15:17,759: DEBUG - Hit:2 http://ftp.de.debian.org/debian buster InRelease 2021-05-22 22:15:17,820: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease 2021-05-22 22:15:18,027: DEBUG - Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB] 2021-05-22 22:15:19,071: DEBUG - Fetched 17.1 kB in 1s (13.1 kB/s) 2021-05-22 22:15:22,761: DEBUG - Reading package lists... 2021-05-22 22:15:22,858: DEBUG - +++ mktemp --directory 2021-05-22 22:15:22,859: DEBUG - ++ local TMPDIR=/tmp/tmp.SP1kNWLVlw 2021-05-22 22:15:22,859: DEBUG - ++ echo 10 2021-05-22 22:15:22,860: DEBUG - ++ ynh_wait_dpkg_free 2021-05-22 22:15:23,154: DEBUG - ++ return 0 2021-05-22 22:15:23,155: DEBUG - ++ cp /tmp/miniflux-ynh-deps.control /tmp/tmp.SP1kNWLVlw/control 2021-05-22 22:15:23,157: DEBUG - ++ cd /tmp/tmp.SP1kNWLVlw 2021-05-22 22:15:23,157: DEBUG - ++ LC_ALL=C 2021-05-22 22:15:23,157: DEBUG - ++ equivs-build ./control 2021-05-22 22:15:25,169: DEBUG - ++ LC_ALL=C 2021-05-22 22:15:25,170: DEBUG - ++ dpkg --force-depends --install ./miniflux-ynh-deps_2.0.30~ynh1_all.deb 2021-05-22 22:15:25,170: DEBUG - ++ tee ./dpkg_log 2021-05-22 22:15:25,260: DEBUG - Selecting previously unselected package miniflux-ynh-deps. 2021-05-22 22:15:26,027: DEBUG - (Reading database ... 82028 files and directories currently installed.) 2021-05-22 22:15:26,031: DEBUG - Preparing to unpack .../miniflux-ynh-deps_2.0.30~ynh1_all.deb ... 2021-05-22 22:15:26,037: DEBUG - Unpacking miniflux-ynh-deps (2.0.30~ynh1) ... 2021-05-22 22:15:26,065: DEBUG - dpkg: miniflux-ynh-deps: dependency problems, but configuring anyway as you requested: 2021-05-22 22:15:26,065: DEBUG - miniflux-ynh-deps depends on postgresql; however: 2021-05-22 22:15:26,065: DEBUG - Package postgresql is not installed. 2021-05-22 22:15:26,066: DEBUG - 2021-05-22 22:15:26,066: DEBUG - Setting up miniflux-ynh-deps (2.0.30~ynh1) ... 2021-05-22 22:15:26,136: DEBUG - ++ ynh_package_install --fix-broken 2021-05-22 22:15:26,136: DEBUG - ++ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 2021-05-22 22:15:26,136: DEBUG - ++ ynh_wait_dpkg_free 2021-05-22 22:15:26,428: DEBUG - ++ return 0 2021-05-22 22:15:26,428: DEBUG - ++ LC_ALL=C 2021-05-22 22:15:26,428: DEBUG - ++ DEBIAN_FRONTEND=noninteractive 2021-05-22 22:15:26,428: 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 2021-05-22 22:15:26,922: DEBUG - Reading package lists... 2021-05-22 22:15:27,732: DEBUG - Building dependency tree... 2021-05-22 22:15:27,733: DEBUG - Reading state information... 2021-05-22 22:15:28,267: DEBUG - Correcting dependencies... Done 2021-05-22 22:15:29,052: DEBUG - The following additional packages will be installed: 2021-05-22 22:15:29,053: DEBUG - postgresql postgresql-11 postgresql-client-11 2021-05-22 22:15:29,059: DEBUG - Suggested packages: 2021-05-22 22:15:29,059: DEBUG - postgresql-doc postgresql-doc-11 2021-05-22 22:15:29,154: DEBUG - The following NEW packages will be installed: 2021-05-22 22:15:29,154: DEBUG - postgresql postgresql-11 postgresql-client-11 2021-05-22 22:15:29,268: DEBUG - 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded. 2021-05-22 22:15:29,268: DEBUG - Need to get 15.6 MB of archives. 2021-05-22 22:15:29,269: DEBUG - After this operation, 52.2 MB of additional disk space will be used. 2021-05-22 22:15:29,269: DEBUG - Get:1 http://security.debian.org/debian-security buster/updates/main amd64 postgresql-client-11 amd64 11.12-0+deb10u1 [1409 kB] 2021-05-22 22:15:29,338: DEBUG - Get:2 http://ftp.de.debian.org/debian buster/main amd64 postgresql all 11+200+deb10u4 [61.1 kB] 2021-05-22 22:15:29,372: DEBUG - Get:3 http://security.debian.org/debian-security buster/updates/main amd64 postgresql-11 amd64 11.12-0+deb10u1 [14.1 MB] 2021-05-22 22:15:30,857: DEBUG - Preconfiguring packages ... 2021-05-22 22:15:31,126: DEBUG - Fetched 15.6 MB in 0s (31.7 MB/s) 2021-05-22 22:15:31,170: DEBUG - Selecting previously unselected package postgresql-client-11. 2021-05-22 22:15:31,318: DEBUG - (Reading database ... 82032 files and directories currently installed.) 2021-05-22 22:15:31,319: DEBUG - Preparing to unpack .../postgresql-client-11_11.12-0+deb10u1_amd64.deb ... 2021-05-22 22:15:31,323: DEBUG - Unpacking postgresql-client-11 (11.12-0+deb10u1) ... 2021-05-22 22:15:31,924: DEBUG - Selecting previously unselected package postgresql-11. 2021-05-22 22:15:31,935: DEBUG - Preparing to unpack .../postgresql-11_11.12-0+deb10u1_amd64.deb ... 2021-05-22 22:15:31,941: DEBUG - Unpacking postgresql-11 (11.12-0+deb10u1) ... 2021-05-22 22:15:35,966: DEBUG - Selecting previously unselected package postgresql. 2021-05-22 22:15:35,966: DEBUG - Preparing to unpack .../postgresql_11+200+deb10u4_all.deb ... 2021-05-22 22:15:35,966: DEBUG - Unpacking postgresql (11+200+deb10u4) ... 2021-05-22 22:15:36,129: DEBUG - Setting up postgresql-client-11 (11.12-0+deb10u1) ... 2021-05-22 22:15:37,563: DEBUG - update-alternatives: using /usr/share/postgresql/11/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode 2021-05-22 22:15:37,624: DEBUG - Setting up postgresql-11 (11.12-0+deb10u1) ... 2021-05-22 22:15:38,238: DEBUG - Creating new PostgreSQL cluster 11/main ... 2021-05-22 22:15:38,258: DEBUG - /usr/lib/postgresql/11/bin/initdb -D /var/lib/postgresql/11/main --auth-local peer --auth-host md5 2021-05-22 22:15:38,332: DEBUG - The files belonging to this database system will be owned by user "postgres". 2021-05-22 22:15:38,333: DEBUG - This user must also own the server process. 2021-05-22 22:15:38,333: DEBUG - 2021-05-22 22:15:38,333: DEBUG - The database cluster will be initialized with locale "en_US.UTF-8". 2021-05-22 22:15:38,333: DEBUG - The default database encoding has accordingly been set to "UTF8". 2021-05-22 22:15:38,333: DEBUG - The default text search configuration will be set to "english". 2021-05-22 22:15:38,334: DEBUG - 2021-05-22 22:15:38,334: DEBUG - Data page checksums are disabled. 2021-05-22 22:15:38,334: DEBUG - 2021-05-22 22:15:38,334: DEBUG - fixing permissions on existing directory /var/lib/postgresql/11/main ... ok 2021-05-22 22:15:38,334: DEBUG - creating subdirectories ... ok 2021-05-22 22:15:38,357: DEBUG - selecting default max_connections ... 100 2021-05-22 22:15:38,433: DEBUG - selecting default shared_buffers ... 128MB 2021-05-22 22:15:38,442: DEBUG - selecting default timezone ... Europe/Berlin 2021-05-22 22:15:38,442: DEBUG - selecting dynamic shared memory implementation ... posix 2021-05-22 22:15:38,444: DEBUG - creating configuration files ... ok 2021-05-22 22:15:38,747: DEBUG - running bootstrap script ... ok 2021-05-22 22:15:39,819: DEBUG - performing post-bootstrap initialization ... ok 2021-05-22 22:15:40,132: DEBUG - syncing data to disk ... ok 2021-05-22 22:15:40,132: DEBUG - 2021-05-22 22:15:40,132: DEBUG - Success. You can now start the database server using: 2021-05-22 22:15:40,132: DEBUG - 2021-05-22 22:15:40,132: DEBUG - pg_ctlcluster 11 main start 2021-05-22 22:15:40,132: DEBUG - 2021-05-22 22:15:40,629: DEBUG - Ver Cluster Port Status Owner Data directory Log file 2021-05-22 22:15:40,629: DEBUG - 11 main 5433 down postgres /var/lib/postgresql/11/main /var/log/postgresql/postgresql-11-main.log 2021-05-22 22:15:40,837: DEBUG - update-alternatives: using /usr/share/postgresql/11/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode 2021-05-22 22:15:40,953: DEBUG - Missing argument in printf at /usr/bin/pg_lsclusters line 126. 2021-05-22 22:15:44,246: DEBUG - Setting up postgresql (11+200+deb10u4) ... 2021-05-22 22:15:44,252: DEBUG - Processing triggers for postgresql-common (200+deb10u4) ... 2021-05-22 22:15:44,520: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2021-05-22 22:15:44,635: DEBUG - Building PostgreSQL dictionaries from installed myspell/hunspell packages... 2021-05-22 22:15:44,635: DEBUG - Removing obsolete dictionary files: 2021-05-22 22:15:45,253: DEBUG - ++ [[ -n /tmp/tmp.SP1kNWLVlw ]] 2021-05-22 22:15:45,254: DEBUG - ++ rm --recursive --force /tmp/tmp.SP1kNWLVlw 2021-05-22 22:15:45,256: DEBUG - ++ ynh_package_is_installed miniflux-ynh-deps 2021-05-22 22:15:45,319: DEBUG - ++ ynh_wait_dpkg_free 2021-05-22 22:15:45,633: DEBUG - ++ return 0 2021-05-22 22:15:45,633: DEBUG - ++ dpkg-query --show '--showformat=${Status}' miniflux-ynh-deps 2021-05-22 22:15:45,634: DEBUG - ++ grep --count 'ok installed' 2021-05-22 22:15:45,652: DEBUG - ++ rm /tmp/miniflux-ynh-deps.control 2021-05-22 22:15:45,654: DEBUG - ++ ynh_app_setting_set --app=miniflux --key=apt_dependencies '--value=postgresql, apt-transport-https' 2021-05-22 22:15:45,857: DEBUG - ++ [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]] 2021-05-22 22:15:45,858: DEBUG - ++ ynh_app_setting set miniflux apt_dependencies 'postgresql, apt-transport-https' 2021-05-22 22:15:46,173: DEBUG - + echo '[###########+........] > Configuring system user...' 2021-05-22 22:15:46,216: INFO - [###########+........] > Configuring system user... 2021-05-22 22:15:46,217: DEBUG - + ynh_system_user_create --username=miniflux --home_dir=/var/www/miniflux 2021-05-22 22:15:46,356: DEBUG - + use_shell=0 2021-05-22 22:15:46,356: DEBUG - + home_dir=/var/www/miniflux 2021-05-22 22:15:46,357: DEBUG - + groups= 2021-05-22 22:15:46,357: DEBUG - + ynh_system_user_exists miniflux 2021-05-22 22:15:46,373: DEBUG - + getent passwd miniflux 2021-05-22 22:15:46,653: DEBUG - + echo '[############+.......] > Creating a PostgreSQL database...' 2021-05-22 22:15:46,654: INFO - [############+.......] > Creating a PostgreSQL database... 2021-05-22 22:15:46,654: DEBUG - ++ ynh_sanitize_dbid --db_name=miniflux 2021-05-22 22:15:46,669: DEBUG - ++ echo miniflux 2021-05-22 22:15:46,669: DEBUG - + db_name=miniflux 2021-05-22 22:15:46,670: DEBUG - + ynh_app_setting_set --app=miniflux --key=db_name --value=miniflux 2021-05-22 22:15:46,866: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]] 2021-05-22 22:15:46,867: DEBUG - + ynh_app_setting set miniflux db_name miniflux 2021-05-22 22:15:46,964: DEBUG - + ynh_psql_test_if_first_run 2021-05-22 22:15:46,964: DEBUG - + dpkg --list 2021-05-22 22:15:46,965: DEBUG - + grep -q 'ii postgresql-11' 2021-05-22 22:15:47,034: DEBUG - + '[' -e /etc/postgresql/11 ']' 2021-05-22 22:15:47,035: DEBUG - + systemctl is-active postgresql@11-main -q 2021-05-22 22:15:47,041: DEBUG - + systemctl is-enabled postgresql -q 2021-05-22 22:15:47,047: DEBUG - + '[' '!' -f /etc/yunohost/psql ']' 2021-05-22 22:15:47,048: DEBUG - + ynh_psql_setup_db --db_user=miniflux --db_name=miniflux 2021-05-22 22:15:47,048: DEBUG - + db_pwd= 2021-05-22 22:15:47,163: DEBUG - + ynh_psql_user_exists --user=miniflux 2021-05-22 22:15:47,224: DEBUG - + grep --quiet miniflux 2021-05-22 22:15:47,224: DEBUG - ++ cat /etc/yunohost/psql 2021-05-22 22:15:47,226: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc 'SELECT rolname FROM pg_roles WHERE rolname='\''miniflux'\'';' 2021-05-22 22:15:47,426: WARNING - psql: konnte nicht mit dem Server verbinden: Datei oder Verzeichnis nicht gefunden 2021-05-22 22:15:47,427: WARNING - Läuft der Server lokal und akzeptiert er Verbindungen 2021-05-22 22:15:47,427: WARNING - auf dem Unix-Domain-Socket »/var/run/postgresql/.s.PGSQL.5432«? 2021-05-22 22:15:47,429: DEBUG - + return 1 2021-05-22 22:15:47,430: DEBUG - ++ ynh_string_random 2021-05-22 22:15:47,431: DEBUG - ++ length=24 2021-05-22 22:15:47,431: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2021-05-22 22:15:47,432: DEBUG - ++ tr --complement --delete A-Za-z0-9 2021-05-22 22:15:47,432: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p' 2021-05-22 22:15:47,439: DEBUG - + local new_db_pwd=********** 2021-05-22 22:15:47,440: DEBUG - + db_pwd=********** 2021-05-22 22:15:47,440: DEBUG - + ynh_psql_create_user miniflux ********** 2021-05-22 22:15:47,440: DEBUG - + local user=miniflux 2021-05-22 22:15:47,440: DEBUG - + local pwd=********** 2021-05-22 22:15:47,440: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE USER miniflux WITH ENCRYPTED PASSWORD '\''**********'\''' 2021-05-22 22:15:47,468: DEBUG - + database= 2021-05-22 22:15:47,468: DEBUG - + '[' -n '' ']' 2021-05-22 22:15:47,469: DEBUG - ++ cat /etc/yunohost/psql 2021-05-22 22:15:47,519: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** 2021-05-22 22:15:47,629: DEBUG - + database= 2021-05-22 22:15:47,630: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql '' 2021-05-22 22:15:47,760: WARNING - psql: konnte nicht mit dem Server verbinden: Datei oder Verzeichnis nicht gefunden 2021-05-22 22:15:47,761: WARNING - Läuft der Server lokal und akzeptiert er Verbindungen 2021-05-22 22:15:47,762: WARNING - auf dem Unix-Domain-Socket »/var/run/postgresql/.s.PGSQL.5432«? 2021-05-22 22:15:47,763: DEBUG - + ynh_exit_properly 2021-05-22 22:15:47,763: DEBUG - + local exit_code=2 2021-05-22 22:15:47,763: DEBUG - + rm -rf /var/cache/yunohost/download/ 2021-05-22 22:15:47,764: DEBUG - + '[' 2 -eq 0 ']' 2021-05-22 22:15:47,764: DEBUG - + trap '' EXIT 2021-05-22 22:15:47,765: DEBUG - + set +o errexit 2021-05-22 22:15:47,765: DEBUG - + set +o nounset 2021-05-22 22:15:47,765: DEBUG - + sleep 0.5 2021-05-22 22:15:48,266: DEBUG - + type -t ynh_clean_setup 2021-05-22 22:15:48,266: DEBUG - + exit 1 2021-05-22 22:15:48,268: ERROR - miniflux kann nicht installiert werden: Im Installationsscript ist ein Fehler aufgetreten