Fail with install of pgAdmin

My YunoHost server

Hardware: VPS bought online
YunoHost version: 4.2.6.1
I have access to my server : Through SSH

Description of my issue

Install script fails, I cannot install pgAdmin.
I tried to install regularly, not much to add, it just does not install. What could be done?

short log from second try:

2021-07-18 20:56:07,856: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2021-07-18 20:56:08,013: DEBUG - CREATE ROLE
2021-07-18 20:56:08,018: DEBUG - + ynh_replace_string --match_string __PYTHON_VERSION__ --replace_string 3.7 --target_file config_database.py
2021-07-18 20:56:08,115: DEBUG - + local delimit=@
2021-07-18 20:56:08,116: DEBUG - + match_string=__PYTHON_VERSION__
2021-07-18 20:56:08,116: DEBUG - + replace_string=3.7
2021-07-18 20:56:08,116: DEBUG - + sed --in-place s@__PYTHON_VERSION__@3.7@g config_database.py
2021-07-18 20:56:08,118: DEBUG - + /opt/yunohost/pgadmin/bin/python3 config_database.py pgadmin **********
2021-07-18 20:56:08,156: WARNING - config_database.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
2021-07-18 20:56:08,157: WARNING -   import imp
2021-07-18 20:56:08,157: WARNING - Traceback (most recent call last):
2021-07-18 20:56:08,157: WARNING -   File "config_database.py", line 18, in <module>
2021-07-18 20:56:08,158: WARNING -     cursor = conn.execute('SELECT `password`,1 FROM `user`')
2021-07-18 20:56:08,158: WARNING - sqlite3.OperationalError: no such table: user
2021-07-18 20:56:08,162: DEBUG - + ynh_exit_properly
2021-07-18 20:56:08,162: DEBUG - + local exit_code=1
2021-07-18 20:56:08,162: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-07-18 20:56:08,163: DEBUG - + '[' 1 -eq 0 ']'
2021-07-18 20:56:08,163: DEBUG - + trap '' EXIT
2021-07-18 20:56:08,163: DEBUG - + set +o errexit
2021-07-18 20:56:08,163: DEBUG - + set +o nounset
2021-07-18 20:56:08,163: DEBUG - + sleep 0.5
2021-07-18 20:56:08,664: DEBUG - + type -t ynh_clean_setup
2021-07-18 20:56:08,665: DEBUG - + exit 1
2021-07-18 20:56:09,666: ERROR - Unable to install pgadmin: An error occurred inside the app installation script

longer log from first try

args:
  app: pgadmin
  args: domain=maindomain.tld&path=%2Fpgadmin&admin=xxusernamexx&admin_password=secret
  force: false
  label: pgAdmin
  no_remove_on_failure: false
ended_at: 2021-07-18 17:04:18.714788
env:
  YNH_APP_ARG_ADMIN: xxusernamexx
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_PATH: /pgadmin
  YNH_APP_ID: pgadmin
  YNH_APP_INSTANCE_NAME: pgadmin
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 4-5.3~ynh1
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
  - pgadmin
started_at: 2021-07-18 17:03:19.103158
success: false
yunohost_version: 4.2.6.1

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

2021-07-18 19:03:19,111: INFO - Installing pgadmin...
2021-07-18 19:03:19,244: DEBUG - Permission 'pgadmin.main' updated
2021-07-18 19:03:19,332: DEBUG - Full log of this operation: '<a href="#/tools/logs/20210718-170319-permission_url-pgadmin" style="text-decoration:underline">Update url related to permission 'pgadmin'</a>'
2021-07-18 19:03:19,499: DEBUG - The permission database has been resynchronized
2021-07-18 19:03:19,608: DEBUG - SSOwat configuration regenerated
2021-07-18 19:03:19,702: DEBUG - Permission 'pgadmin.main' created
2021-07-18 19:03:19,703: DEBUG - Full log of this operation: '<a href="#/tools/logs/20210718-170319-permission_create-pgadmin" style="text-decoration:underline">Create permission 'pgadmin'</a>'
2021-07-18 19:03:19,716: DEBUG - Executing command '/bin/bash -x "./install"  7>&1'
2021-07-18 19:03:19,728: DEBUG - + source ./experimental_helper.sh
2021-07-18 19:03:19,728: DEBUG - + source ./_common.sh
2021-07-18 19:03:19,728: DEBUG - ++ app=pgadmin
2021-07-18 19:03:19,728: DEBUG - ++ final_path=/opt/yunohost/pgadmin
2021-07-18 19:03:19,729: DEBUG - ++ pgadmin_user=pgadmin
2021-07-18 19:03:19,729: DEBUG - +++ cut '-d ' -f2
2021-07-18 19:03:19,729: DEBUG - +++ cut -d. -f1-2
2021-07-18 19:03:19,730: DEBUG - +++ python3 -V
2021-07-18 19:03:19,732: DEBUG - ++ python_version=3.7
2021-07-18 19:03:19,732: DEBUG - ++ dependances='python3-pip build-essential python3-dev python3-venv postgresql uwsgi uwsgi-plugin-python3 expect libpq-dev libkrb5-dev'
2021-07-18 19:03:19,732: DEBUG - + source /usr/share/yunohost/helpers
2021-07-18 19:03:19,733: DEBUG - +++ set +o
2021-07-18 19:03:19,734: DEBUG - +++ grep xtrace
2021-07-18 19:03:19,735: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-07-18 19:03:19,736: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-07-18 19:03:19,782: DEBUG - + ynh_abort_if_errors
2021-07-18 19:03:19,782: DEBUG - + set -o errexit
2021-07-18 19:03:19,782: DEBUG - + set -o nounset
2021-07-18 19:03:19,782: DEBUG - + trap ynh_exit_properly EXIT
2021-07-18 19:03:19,843: DEBUG - + echo '[....................] > Validating installation parameters...'
2021-07-18 19:03:19,843: INFO - [....................] > Validating installation parameters...
2021-07-18 19:03:19,844: DEBUG - + domain=maindomain.tld
2021-07-18 19:03:19,844: DEBUG - + path_url=/pgadmin
2021-07-18 19:03:19,844: DEBUG - + admin=xxusernamexx
2021-07-18 19:03:19,845: DEBUG - + db_user=pgadmin
2021-07-18 19:03:19,845: DEBUG - + admin_pwd=**********
2021-07-18 19:03:19,845: DEBUG - ++ ynh_app_upstream_version
2021-07-18 19:03:19,846: DEBUG - ++ manifest=
2021-07-18 19:03:19,846: DEBUG - ++ [[ '' != '' ]]
2021-07-18 19:03:19,846: DEBUG - ++ version_key_=4-5.3~ynh1
2021-07-18 19:03:19,847: DEBUG - ++ echo 4-5.3
2021-07-18 19:03:19,848: DEBUG - + app_version=4-5.3
2021-07-18 19:03:19,848: DEBUG - ++ echo 4-5.3
2021-07-18 19:03:19,849: DEBUG - ++ cut -d- -f1
2021-07-18 19:03:19,850: DEBUG - + app_main_version=4
2021-07-18 19:03:19,851: DEBUG - ++ echo 4-5.3
2021-07-18 19:03:19,852: DEBUG - ++ cut -d- -f2
2021-07-18 19:03:19,854: DEBUG - + app_sub_version=5.3
2021-07-18 19:03:19,854: DEBUG - + test '!' -e /opt/yunohost/pgadmin
2021-07-18 19:03:19,855: DEBUG - + ynh_webpath_register --app pgadmin --domain maindomain.tld --path_url /pgadmin
2021-07-18 19:03:19,969: DEBUG - + yunohost app register-url pgadmin maindomain.tld /pgadmin
2021-07-18 19:03:21,125: DEBUG - ++ ynh_user_get_info --username xxusernamexx --key mail
2021-07-18 19:03:21,165: DEBUG - ++ yunohost user info xxusernamexx --output-as json --quiet
2021-07-18 19:03:21,166: DEBUG - ++ jq -r .mail
2021-07-18 19:03:21,545: DEBUG - + email=xxusernamexx@domain2.tld
2021-07-18 19:03:21,545: DEBUG - + [[ -z xxusernamexx@domain2.tld ]]
2021-07-18 19:03:21,580: DEBUG - + echo '[+...................] > Defining db password...'
2021-07-18 19:03:21,580: INFO - [+...................] > Defining db password...
2021-07-18 19:03:21,581: DEBUG - ++ ynh_string_random --length 30
2021-07-18 19:03:21,593: DEBUG - ++ length=30
2021-07-18 19:03:21,593: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-07-18 19:03:21,594: DEBUG - ++ sed --quiet 's/\(.\{30\}\).*/\1/p'
2021-07-18 19:03:21,595: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-07-18 19:03:21,604: DEBUG - + db_pwd=**********
2021-07-18 19:03:21,639: DEBUG - + echo '[#...................] > Storing installation settings...'
2021-07-18 19:03:21,639: INFO - [#...................] > Storing installation settings...
2021-07-18 19:03:21,640: DEBUG - + ynh_app_setting_set --app pgadmin --key domain --value maindomain.tld
2021-07-18 19:03:21,733: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:03:21,733: DEBUG - + ynh_app_setting set pgadmin domain maindomain.tld
2021-07-18 19:03:21,788: DEBUG - + ynh_app_setting_set --app pgadmin --key path --value /pgadmin
2021-07-18 19:03:21,878: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:03:21,879: DEBUG - + ynh_app_setting set pgadmin path /pgadmin
2021-07-18 19:03:21,935: DEBUG - + ynh_app_setting_set --app pgadmin --key admin --value xxusernamexx
2021-07-18 19:03:22,024: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:03:22,024: DEBUG - + ynh_app_setting set pgadmin admin xxusernamexx
2021-07-18 19:03:22,081: DEBUG - + ynh_app_setting_set --app pgadmin --key db_user --value pgadmin
2021-07-18 19:03:22,168: DEBUG - + [[ db_user =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:03:22,168: DEBUG - + ynh_app_setting set pgadmin db_user pgadmin
2021-07-18 19:03:22,224: DEBUG - + ynh_app_setting_set --app pgadmin --key final_path --value /opt/yunohost/pgadmin
2021-07-18 19:03:22,314: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:03:22,314: DEBUG - + ynh_app_setting set pgadmin final_path /opt/yunohost/pgadmin
2021-07-18 19:03:22,372: DEBUG - + ynh_app_setting_set --app pgadmin --key admin_pwd --value **********
2021-07-18 19:03:22,466: DEBUG - + [[ admin_pwd =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:03:22,467: DEBUG - + ynh_app_setting set pgadmin admin_pwd **********
2021-07-18 19:03:22,524: DEBUG - + ynh_app_setting_set --app pgadmin --key db_pwd --value **********
2021-07-18 19:03:22,616: DEBUG - + [[ db_pwd =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:03:22,617: DEBUG - + ynh_app_setting set pgadmin db_pwd **********
2021-07-18 19:03:22,736: DEBUG - + echo '[#+++++..............] > Installing dependencies...'
2021-07-18 19:03:22,736: INFO - [#+++++..............] > Installing dependencies...
2021-07-18 19:03:22,737: DEBUG - + ynh_install_app_dependencies python3-pip build-essential python3-dev python3-venv postgresql uwsgi uwsgi-plugin-python3 expect libpq-dev libkrb5-dev
2021-07-18 19:03:22,737: DEBUG - + local 'dependencies=python3-pip build-essential python3-dev python3-venv postgresql uwsgi uwsgi-plugin-python3 expect libpq-dev libkrb5-dev'
2021-07-18 19:03:22,737: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-07-18 19:03:22,739: DEBUG - ++ echo 'python3-pip build-essential python3-dev python3-venv postgresql uwsgi uwsgi-plugin-python3 expect libpq-dev libkrb5-dev'
2021-07-18 19:03:22,739: DEBUG - + dependencies='python3-pip, build-essential, python3-dev, python3-venv, postgresql, uwsgi, uwsgi-plugin-python3, expect, libpq-dev, libkrb5-dev'
2021-07-18 19:03:22,739: DEBUG - + local 'dependencies=python3-pip, build-essential, python3-dev, python3-venv, postgresql, uwsgi, uwsgi-plugin-python3, expect, libpq-dev, libkrb5-dev'
2021-07-18 19:03:22,739: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/manifest.json
2021-07-18 19:03:22,740: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/manifest.json
2021-07-18 19:03:22,744: DEBUG - + local version=4-5.3~ynh1
2021-07-18 19:03:22,744: DEBUG - + '[' -z 4-5.3~ynh1 ']'
2021-07-18 19:03:22,744: DEBUG - + '[' 4-5.3~ynh1 == null ']'
2021-07-18 19:03:22,744: DEBUG - + local dep_app=pgadmin
2021-07-18 19:03:22,744: DEBUG - + [[ python3-pip, build-essential, python3-dev, python3-venv, postgresql, uwsgi, uwsgi-plugin-python3, expect, libpq-dev, libkrb5-dev =~ [<=>] ]]
2021-07-18 19:03:22,744: DEBUG - + echo python3-pip, build-essential, python3-dev, python3-venv, postgresql, uwsgi, uwsgi-plugin-python3, expect, libpq-dev, libkrb5-dev
2021-07-18 19:03:22,745: DEBUG - + grep --quiet php
2021-07-18 19:03:22,746: DEBUG - + cat
2021-07-18 19:03:22,747: DEBUG - + ynh_package_install_from_equivs /tmp/pgadmin-ynh-deps.control
2021-07-18 19:03:22,747: DEBUG - + local controlfile=/tmp/pgadmin-ynh-deps.control
2021-07-18 19:03:22,748: DEBUG - ++ grep '^Package: ' /tmp/pgadmin-ynh-deps.control
2021-07-18 19:03:22,748: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-07-18 19:03:22,750: DEBUG - + local pkgname=pgadmin-ynh-deps
2021-07-18 19:03:22,750: DEBUG - ++ grep '^Version: ' /tmp/pgadmin-ynh-deps.control
2021-07-18 19:03:22,751: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-07-18 19:03:22,752: DEBUG - + local pkgversion=4-5.3~ynh1
2021-07-18 19:03:22,752: DEBUG - + [[ -z pgadmin-ynh-deps ]]
2021-07-18 19:03:22,752: DEBUG - + [[ -z 4-5.3~ynh1 ]]
2021-07-18 19:03:22,753: DEBUG - + ynh_package_update
2021-07-18 19:03:22,753: DEBUG - + ynh_apt update
2021-07-18 19:03:22,753: DEBUG - + ynh_wait_dpkg_free
2021-07-18 19:03:22,868: DEBUG - + return 0
2021-07-18 19:03:22,869: DEBUG - + LC_ALL=C
2021-07-18 19:03:22,869: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-07-18 19:03:22,869: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-07-18 19:03:23,012: DEBUG - Hit:1 http://deb.debian.org/debian buster InRelease
2021-07-18 19:03:23,013: DEBUG - Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
2021-07-18 19:03:23,016: DEBUG - Hit:3 http://mirror.hetzner.de/debian/packages buster InRelease
2021-07-18 19:03:23,016: DEBUG - Get:4 http://mirror.hetzner.de/debian/packages buster-updates InRelease [51.9 kB]
2021-07-18 19:03:23,017: DEBUG - Get:5 http://mirror.hetzner.de/debian/security buster/updates InRelease [65.4 kB]
2021-07-18 19:03:23,040: DEBUG - Hit:6 http://forge.yunohost.org/debian buster InRelease
2021-07-18 19:03:23,094: DEBUG - Get:7 http://security.debian.org buster/updates InRelease [65.4 kB]
2021-07-18 19:03:24,008: DEBUG - Get:8 http://security.debian.org buster/updates/main amd64 Packages [293 kB]
2021-07-18 19:03:24,115: DEBUG - Fetched 528 kB in 1s (467 kB/s)
2021-07-18 19:03:25,317: DEBUG - Reading package lists...
2021-07-18 19:03:25,356: DEBUG - ++ mktemp --directory
2021-07-18 19:03:25,358: DEBUG - + local TMPDIR=/tmp/tmp.ld9OY5J9FE
2021-07-18 19:03:25,358: DEBUG - + echo 10
2021-07-18 19:03:25,360: DEBUG - + ynh_wait_dpkg_free
2021-07-18 19:03:25,462: DEBUG - + return 0
2021-07-18 19:03:25,462: DEBUG - + cp /tmp/pgadmin-ynh-deps.control /tmp/tmp.ld9OY5J9FE/control
2021-07-18 19:03:25,464: DEBUG - + cd /tmp/tmp.ld9OY5J9FE
2021-07-18 19:03:25,464: DEBUG - + LC_ALL=C
2021-07-18 19:03:25,464: DEBUG - + equivs-build ./control
2021-07-18 19:03:26,329: DEBUG - + LC_ALL=C
2021-07-18 19:03:26,330: DEBUG - + tee ./dpkg_log
2021-07-18 19:03:26,330: DEBUG - + dpkg --force-depends --install ./pgadmin-ynh-deps_4-5.3~ynh1_all.deb
2021-07-18 19:03:26,381: DEBUG - Selecting previously unselected package pgadmin-ynh-deps.
2021-07-18 19:03:26,593: DEBUG - (Reading database ... 61560 files and directories currently installed.)
2021-07-18 19:03:26,597: DEBUG - Preparing to unpack .../pgadmin-ynh-deps_4-5.3~ynh1_all.deb ...
2021-07-18 19:03:26,603: DEBUG - Unpacking pgadmin-ynh-deps (4-5.3~ynh1) ...
2021-07-18 19:03:26,627: DEBUG - dpkg: pgadmin-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-07-18 19:03:26,628: DEBUG -  pgadmin-ynh-deps depends on python3-venv; however:
2021-07-18 19:03:26,628: DEBUG -   Package python3-venv is not installed.
2021-07-18 19:03:26,629: DEBUG -  pgadmin-ynh-deps depends on postgresql; however:
2021-07-18 19:03:26,629: DEBUG -   Package postgresql is not installed.
2021-07-18 19:03:26,629: DEBUG -  pgadmin-ynh-deps depends on uwsgi; however:
2021-07-18 19:03:26,629: DEBUG -   Package uwsgi is not installed.
2021-07-18 19:03:26,629: DEBUG -  pgadmin-ynh-deps depends on uwsgi-plugin-python3; however:
2021-07-18 19:03:26,629: DEBUG -   Package uwsgi-plugin-python3 is not installed.
2021-07-18 19:03:26,629: DEBUG -  pgadmin-ynh-deps depends on expect; however:
2021-07-18 19:03:26,630: DEBUG -   Package expect is not installed.
2021-07-18 19:03:26,630: DEBUG -  pgadmin-ynh-deps depends on libpq-dev; however:
2021-07-18 19:03:26,630: DEBUG -   Package libpq-dev is not installed.
2021-07-18 19:03:26,630: DEBUG -  pgadmin-ynh-deps depends on libkrb5-dev; however:
2021-07-18 19:03:26,630: DEBUG -   Package libkrb5-dev is not installed.
2021-07-18 19:03:26,630: DEBUG - 
2021-07-18 19:03:26,631: DEBUG - Setting up pgadmin-ynh-deps (4-5.3~ynh1) ...
2021-07-18 19:03:26,651: DEBUG - + ynh_package_install --fix-broken
2021-07-18 19:03:26,652: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-07-18 19:03:26,652: DEBUG - + ynh_wait_dpkg_free
2021-07-18 19:03:26,731: DEBUG - + return 0
2021-07-18 19:03:26,732: DEBUG - + LC_ALL=C
2021-07-18 19:03:26,732: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-07-18 19:03:26,732: 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-07-18 19:03:26,876: DEBUG - Reading package lists...
2021-07-18 19:03:27,100: DEBUG - Building dependency tree...
2021-07-18 19:03:27,101: DEBUG - Reading state information...
2021-07-18 19:03:27,207: DEBUG - Correcting dependencies... Done
2021-07-18 19:03:27,334: DEBUG - The following additional packages will be installed:
2021-07-18 19:03:27,334: DEBUG -   comerr-dev expect krb5-multidev libgssrpc4 libkadm5clnt-mit11
2021-07-18 19:03:27,334: DEBUG -   libkadm5srv-mit11 libkdb5-9 libkrb5-dev libmatheval1 libpq-dev libtcl8.6
2021-07-18 19:03:27,334: DEBUG -   postgresql python3-venv python3.7-venv tcl-expect tcl8.6 uwsgi uwsgi-core
2021-07-18 19:03:27,335: DEBUG -   uwsgi-plugin-python3
2021-07-18 19:03:27,335: DEBUG - Suggested packages:
2021-07-18 19:03:27,335: DEBUG -   doc-base tk8.6 krb5-doc krb5-user postgresql-doc-11 postgresql-doc
2021-07-18 19:03:27,336: DEBUG -   tcl-tclreadline nginx-full | cherokee | libapache2-mod-proxy-uwsgi
2021-07-18 19:03:27,336: DEBUG -   | libapache2-mod-uwsgi | libapache2-mod-ruwsgi uwsgi-dev uwsgi-extra
2021-07-18 19:03:27,336: DEBUG -   uwsgi-plugins-all python3-uwsgidecorators
2021-07-18 19:03:27,384: DEBUG - The following NEW packages will be installed:
2021-07-18 19:03:27,384: DEBUG -   comerr-dev expect krb5-multidev libgssrpc4 libkadm5clnt-mit11
2021-07-18 19:03:27,384: DEBUG -   libkadm5srv-mit11 libkdb5-9 libkrb5-dev libmatheval1 libpq-dev libtcl8.6
2021-07-18 19:03:27,385: DEBUG -   postgresql python3-venv python3.7-venv tcl-expect tcl8.6 uwsgi uwsgi-core
2021-07-18 19:03:27,385: DEBUG -   uwsgi-plugin-python3
2021-07-18 19:03:27,414: DEBUG - 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
2021-07-18 19:03:27,414: DEBUG - Need to get 2971 kB/3032 kB of archives.
2021-07-18 19:03:27,414: DEBUG - After this operation, 10.8 MB of additional disk space will be used.
2021-07-18 19:03:27,415: DEBUG - Get:1 http://deb.debian.org/debian buster/main amd64 comerr-dev amd64 2.1-1.44.5-1+deb10u3 [102 kB]
2021-07-18 19:03:27,430: DEBUG - Get:2 http://deb.debian.org/debian buster/main amd64 libtcl8.6 amd64 8.6.9+dfsg-2 [1005 kB]
2021-07-18 19:03:27,449: DEBUG - Get:3 http://deb.debian.org/debian buster/main amd64 tcl8.6 amd64 8.6.9+dfsg-2 [123 kB]
2021-07-18 19:03:27,450: DEBUG - Get:4 http://deb.debian.org/debian buster/main amd64 tcl-expect amd64 5.45.4-2 [133 kB]
2021-07-18 19:03:27,452: DEBUG - Get:5 http://deb.debian.org/debian buster/main amd64 expect amd64 5.45.4-2 [166 kB]
2021-07-18 19:03:27,454: DEBUG - Get:6 http://deb.debian.org/debian buster/main amd64 libgssrpc4 amd64 1.17-3+deb10u1 [91.2 kB]
2021-07-18 19:03:27,455: DEBUG - Get:7 http://deb.debian.org/debian buster/main amd64 libkdb5-9 amd64 1.17-3+deb10u1 [73.5 kB]
2021-07-18 19:03:27,456: DEBUG - Get:8 http://deb.debian.org/debian buster/main amd64 libkadm5srv-mit11 amd64 1.17-3+deb10u1 [85.7 kB]
2021-07-18 19:03:27,457: DEBUG - Get:9 http://deb.debian.org/debian buster/main amd64 libkadm5clnt-mit11 amd64 1.17-3+deb10u1 [73.5 kB]
2021-07-18 19:03:27,458: DEBUG - Get:10 http://deb.debian.org/debian buster/main amd64 krb5-multidev amd64 1.17-3+deb10u1 [156 kB]
2021-07-18 19:03:27,460: DEBUG - Get:11 http://deb.debian.org/debian buster/main amd64 libkrb5-dev amd64 1.17-3+deb10u1 [47.5 kB]
2021-07-18 19:03:27,460: DEBUG - Get:12 http://deb.debian.org/debian buster/main amd64 libmatheval1 amd64 1.1.11+dfsg-3 [22.8 kB]
2021-07-18 19:03:27,461: DEBUG - Get:13 http://deb.debian.org/debian buster/main amd64 libpq-dev amd64 11.12-0+deb10u1 [166 kB]
2021-07-18 19:03:27,463: DEBUG - Get:14 http://deb.debian.org/debian buster/main amd64 python3.7-venv amd64 3.7.3-2+deb10u3 [6148 B]
2021-07-18 19:03:27,464: DEBUG - Get:15 http://deb.debian.org/debian buster/main amd64 python3-venv amd64 3.7.3-1 [1180 B]
2021-07-18 19:03:27,467: DEBUG - Get:16 http://deb.debian.org/debian buster/main amd64 uwsgi-core amd64 2.0.18-1 [557 kB]
2021-07-18 19:03:27,474: DEBUG - Get:17 http://deb.debian.org/debian buster/main amd64 uwsgi amd64 2.0.18-1 [51.6 kB]
2021-07-18 19:03:27,475: DEBUG - Get:18 http://deb.debian.org/debian buster/main amd64 uwsgi-plugin-python3 amd64 2.0.18-1 [110 kB]
2021-07-18 19:03:27,888: DEBUG - Fetched 2971 kB in 0s (37.0 MB/s)
2021-07-18 19:03:27,912: DEBUG - Selecting previously unselected package comerr-dev:amd64.
2021-07-18 19:03:27,939: DEBUG - (Reading database ... 61564 files and directories currently installed.)
2021-07-18 19:03:27,941: DEBUG - Preparing to unpack .../00-comerr-dev_2.1-1.44.5-1+deb10u3_amd64.deb ...
2021-07-18 19:03:27,946: DEBUG - Unpacking comerr-dev:amd64 (2.1-1.44.5-1+deb10u3) ...
2021-07-18 19:03:27,999: DEBUG - Selecting previously unselected package libtcl8.6:amd64.
2021-07-18 19:03:28,004: DEBUG - Preparing to unpack .../01-libtcl8.6_8.6.9+dfsg-2_amd64.deb ...
2021-07-18 19:03:28,012: DEBUG - Unpacking libtcl8.6:amd64 (8.6.9+dfsg-2) ...
2021-07-18 19:03:28,223: DEBUG - Selecting previously unselected package tcl8.6.
2021-07-18 19:03:28,230: DEBUG - Preparing to unpack .../02-tcl8.6_8.6.9+dfsg-2_amd64.deb ...
2021-07-18 19:03:28,233: DEBUG - Unpacking tcl8.6 (8.6.9+dfsg-2) ...
2021-07-18 19:03:28,283: DEBUG - Selecting previously unselected package tcl-expect:amd64.
2021-07-18 19:03:28,288: DEBUG - Preparing to unpack .../03-tcl-expect_5.45.4-2_amd64.deb ...
2021-07-18 19:03:28,292: DEBUG - Unpacking tcl-expect:amd64 (5.45.4-2) ...
2021-07-18 19:03:28,335: DEBUG - Selecting previously unselected package expect.
2021-07-18 19:03:28,341: DEBUG - Preparing to unpack .../04-expect_5.45.4-2_amd64.deb ...
2021-07-18 19:03:28,344: DEBUG - Unpacking expect (5.45.4-2) ...
2021-07-18 19:03:28,406: DEBUG - Selecting previously unselected package libgssrpc4:amd64.
2021-07-18 19:03:28,412: DEBUG - Preparing to unpack .../05-libgssrpc4_1.17-3+deb10u1_amd64.deb ...
2021-07-18 19:03:28,415: DEBUG - Unpacking libgssrpc4:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:28,461: DEBUG - Selecting previously unselected package libkdb5-9:amd64.
2021-07-18 19:03:28,467: DEBUG - Preparing to unpack .../06-libkdb5-9_1.17-3+deb10u1_amd64.deb ...
2021-07-18 19:03:28,471: DEBUG - Unpacking libkdb5-9:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:28,517: DEBUG - Selecting previously unselected package libkadm5srv-mit11:amd64.
2021-07-18 19:03:28,524: DEBUG - Preparing to unpack .../07-libkadm5srv-mit11_1.17-3+deb10u1_amd64.deb ...
2021-07-18 19:03:28,527: DEBUG - Unpacking libkadm5srv-mit11:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:28,570: DEBUG - Selecting previously unselected package libkadm5clnt-mit11:amd64.
2021-07-18 19:03:28,576: DEBUG - Preparing to unpack .../08-libkadm5clnt-mit11_1.17-3+deb10u1_amd64.deb ...
2021-07-18 19:03:28,579: DEBUG - Unpacking libkadm5clnt-mit11:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:28,622: DEBUG - Selecting previously unselected package krb5-multidev:amd64.
2021-07-18 19:03:28,628: DEBUG - Preparing to unpack .../09-krb5-multidev_1.17-3+deb10u1_amd64.deb ...
2021-07-18 19:03:28,631: DEBUG - Unpacking krb5-multidev:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:28,687: DEBUG - Selecting previously unselected package libkrb5-dev:amd64.
2021-07-18 19:03:28,693: DEBUG - Preparing to unpack .../10-libkrb5-dev_1.17-3+deb10u1_amd64.deb ...
2021-07-18 19:03:28,696: DEBUG - Unpacking libkrb5-dev:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:28,748: DEBUG - Selecting previously unselected package libmatheval1:amd64.
2021-07-18 19:03:28,755: DEBUG - Preparing to unpack .../11-libmatheval1_1.1.11+dfsg-3_amd64.deb ...
2021-07-18 19:03:28,758: DEBUG - Unpacking libmatheval1:amd64 (1.1.11+dfsg-3) ...
2021-07-18 19:03:28,793: DEBUG - Selecting previously unselected package libpq-dev.
2021-07-18 19:03:28,799: DEBUG - Preparing to unpack .../12-libpq-dev_11.12-0+deb10u1_amd64.deb ...
2021-07-18 19:03:28,803: DEBUG - Unpacking libpq-dev (11.12-0+deb10u1) ...
2021-07-18 19:03:28,859: DEBUG - Selecting previously unselected package postgresql.
2021-07-18 19:03:28,865: DEBUG - Preparing to unpack .../13-postgresql_11+200+deb10u4_all.deb ...
2021-07-18 19:03:28,868: DEBUG - Unpacking postgresql (11+200+deb10u4) ...
2021-07-18 19:03:28,914: DEBUG - Selecting previously unselected package python3.7-venv.
2021-07-18 19:03:28,920: DEBUG - Preparing to unpack .../14-python3.7-venv_3.7.3-2+deb10u3_amd64.deb ...
2021-07-18 19:03:28,922: DEBUG - Unpacking python3.7-venv (3.7.3-2+deb10u3) ...
2021-07-18 19:03:28,956: DEBUG - Selecting previously unselected package python3-venv.
2021-07-18 19:03:28,962: DEBUG - Preparing to unpack .../15-python3-venv_3.7.3-1_amd64.deb ...
2021-07-18 19:03:28,966: DEBUG - Unpacking python3-venv (3.7.3-1) ...
2021-07-18 19:03:28,999: DEBUG - Selecting previously unselected package uwsgi-core.
2021-07-18 19:03:29,006: DEBUG - Preparing to unpack .../16-uwsgi-core_2.0.18-1_amd64.deb ...
2021-07-18 19:03:29,010: DEBUG - Unpacking uwsgi-core (2.0.18-1) ...
2021-07-18 19:03:29,192: DEBUG - Selecting previously unselected package uwsgi.
2021-07-18 19:03:29,199: DEBUG - Preparing to unpack .../17-uwsgi_2.0.18-1_amd64.deb ...
2021-07-18 19:03:29,203: DEBUG - Unpacking uwsgi (2.0.18-1) ...
2021-07-18 19:03:29,255: DEBUG - Selecting previously unselected package uwsgi-plugin-python3.
2021-07-18 19:03:29,264: DEBUG - Preparing to unpack .../18-uwsgi-plugin-python3_2.0.18-1_amd64.deb ...
2021-07-18 19:03:29,267: DEBUG - Unpacking uwsgi-plugin-python3 (2.0.18-1) ...
2021-07-18 19:03:29,352: DEBUG - Setting up libpq-dev (11.12-0+deb10u1) ...
2021-07-18 19:03:29,362: DEBUG - Setting up python3.7-venv (3.7.3-2+deb10u3) ...
2021-07-18 19:03:29,411: DEBUG - Setting up libgssrpc4:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:29,415: DEBUG - Setting up python3-venv (3.7.3-1) ...
2021-07-18 19:03:29,419: DEBUG - Setting up comerr-dev:amd64 (2.1-1.44.5-1+deb10u3) ...
2021-07-18 19:03:29,425: DEBUG - Setting up libtcl8.6:amd64 (8.6.9+dfsg-2) ...
2021-07-18 19:03:29,429: DEBUG - Setting up libmatheval1:amd64 (1.1.11+dfsg-3) ...
2021-07-18 19:03:29,435: DEBUG - Setting up libkdb5-9:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:29,439: DEBUG - Setting up libkadm5srv-mit11:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:29,443: DEBUG - Setting up postgresql (11+200+deb10u4) ...
2021-07-18 19:03:29,448: DEBUG - Setting up libkadm5clnt-mit11:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:29,451: DEBUG - Setting up tcl8.6 (8.6.9+dfsg-2) ...
2021-07-18 19:03:29,460: DEBUG - Setting up tcl-expect:amd64 (5.45.4-2) ...
2021-07-18 19:03:29,465: DEBUG - Setting up uwsgi-core (2.0.18-1) ...
2021-07-18 19:03:29,496: DEBUG - Setting up uwsgi (2.0.18-1) ...
2021-07-18 19:03:29,968: DEBUG - Setting up uwsgi-plugin-python3 (2.0.18-1) ...
2021-07-18 19:03:29,989: DEBUG - Setting up krb5-multidev:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:29,992: DEBUG - Setting up expect (5.45.4-2) ...
2021-07-18 19:03:29,996: DEBUG - Setting up libkrb5-dev:amd64 (1.17-3+deb10u1) ...
2021-07-18 19:03:30,001: DEBUG - Processing triggers for systemd (241-7~deb10u7) ...
2021-07-18 19:03:30,175: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-07-18 19:03:30,749: DEBUG - Processing triggers for libc-bin (2.28-10) ...
2021-07-18 19:03:30,960: DEBUG - + [[ -n /tmp/tmp.ld9OY5J9FE ]]
2021-07-18 19:03:30,960: DEBUG - + rm --recursive --force /tmp/tmp.ld9OY5J9FE
2021-07-18 19:03:30,961: DEBUG - + ynh_package_is_installed pgadmin-ynh-deps
2021-07-18 19:03:30,971: DEBUG - + ynh_wait_dpkg_free
2021-07-18 19:03:31,096: DEBUG - + return 0
2021-07-18 19:03:31,096: DEBUG - + grep --count 'ok installed'
2021-07-18 19:03:31,097: DEBUG - + dpkg-query --show '--showformat=${Status}' pgadmin-ynh-deps
2021-07-18 19:03:31,116: DEBUG - + rm /tmp/pgadmin-ynh-deps.control
2021-07-18 19:03:31,118: DEBUG - + ynh_app_setting_set --app=pgadmin --key=apt_dependencies '--value=python3-pip, build-essential, python3-dev, python3-venv, postgresql, uwsgi, uwsgi-plugin-python3, expect, libpq-dev, libkrb5-dev'
2021-07-18 19:03:31,186: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:03:31,186: DEBUG - + ynh_app_setting set pgadmin apt_dependencies 'python3-pip, build-essential, python3-dev, python3-venv, postgresql, uwsgi, uwsgi-plugin-python3, expect, libpq-dev, libkrb5-dev'
2021-07-18 19:03:31,303: DEBUG - + echo '[######+.............] > Configuring system user...'
2021-07-18 19:03:31,303: INFO - [######+.............] > Configuring system user...
2021-07-18 19:03:31,304: DEBUG - + ynh_system_user_create --username pgadmin --home_dir /opt/yunohost/pgadmin
2021-07-18 19:03:31,428: DEBUG - + use_shell=0
2021-07-18 19:03:31,429: DEBUG - + home_dir=/opt/yunohost/pgadmin
2021-07-18 19:03:31,429: DEBUG - + groups=
2021-07-18 19:03:31,429: DEBUG - + ynh_system_user_exists pgadmin
2021-07-18 19:03:31,439: DEBUG - + getent passwd pgadmin
2021-07-18 19:03:31,445: DEBUG - + '[' -n /opt/yunohost/pgadmin ']'
2021-07-18 19:03:31,445: DEBUG - + local 'user_home_dir=--home-dir /opt/yunohost/pgadmin'
2021-07-18 19:03:31,446: DEBUG - + '[' 0 -eq 1 ']'
2021-07-18 19:03:31,446: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2021-07-18 19:03:31,446: DEBUG - + useradd --home-dir /opt/yunohost/pgadmin --system --user-group pgadmin --shell /usr/sbin/nologin
2021-07-18 19:03:31,565: DEBUG - + echo '[#######++++++.......] > Installing sources files...'
2021-07-18 19:03:31,565: INFO - [#######++++++.......] > Installing sources files...
2021-07-18 19:03:31,566: DEBUG - + setup_dir
2021-07-18 19:03:31,566: DEBUG - + mkdir -p /var/lib/pgadmin
2021-07-18 19:03:31,567: DEBUG - + mkdir -p /var/log/pgadmin
2021-07-18 19:03:31,568: DEBUG - + mkdir -p /opt/yunohost/pgadmin
2021-07-18 19:03:31,570: DEBUG - + install_source
2021-07-18 19:03:31,570: DEBUG - + '[' '!' -e /opt/yunohost/pgadmin/lib/python3.7 ']'
2021-07-18 19:03:31,570: DEBUG - + ynh_secure_remove --file=/opt/yunohost/pgadmin/bin
2021-07-18 19:03:31,581: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-07-18 19:03:31,581: DEBUG - + '[' 1 -ge 2 ']'
2021-07-18 19:03:31,581: DEBUG - + [[ -z /opt/yunohost/pgadmin/bin ]]
2021-07-18 19:03:31,582: DEBUG - + [[      /var/www     /home/yunohost.app =~ /opt/yunohost/pgadmin/bin ]]
2021-07-18 19:03:31,582: DEBUG - + [[ /opt/yunohost/pgadmin/bin =~ ^/[[:alnum:]]+$ ]]
2021-07-18 19:03:31,582: DEBUG - + [[ n = \/ ]]
2021-07-18 19:03:31,582: DEBUG - + '[' -e /opt/yunohost/pgadmin/bin ']'
2021-07-18 19:03:31,582: DEBUG - + ynh_print_info '--message='\''/opt/yunohost/pgadmin/bin'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,592: DEBUG - + echo ''\''/opt/yunohost/pgadmin/bin'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,592: DEBUG - + ynh_secure_remove --file=/opt/yunohost/pgadmin/lib
2021-07-18 19:03:31,593: INFO - '/opt/yunohost/pgadmin/bin' wasn't deleted because it doesn't exist.
2021-07-18 19:03:31,603: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-07-18 19:03:31,603: DEBUG - + '[' 1 -ge 2 ']'
2021-07-18 19:03:31,603: DEBUG - + [[ -z /opt/yunohost/pgadmin/lib ]]
2021-07-18 19:03:31,603: DEBUG - + [[      /var/www     /home/yunohost.app =~ /opt/yunohost/pgadmin/lib ]]
2021-07-18 19:03:31,603: DEBUG - + [[ /opt/yunohost/pgadmin/lib =~ ^/[[:alnum:]]+$ ]]
2021-07-18 19:03:31,603: DEBUG - + [[ b = \/ ]]
2021-07-18 19:03:31,603: DEBUG - + '[' -e /opt/yunohost/pgadmin/lib ']'
2021-07-18 19:03:31,604: DEBUG - + ynh_print_info '--message='\''/opt/yunohost/pgadmin/lib'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,614: DEBUG - + echo ''\''/opt/yunohost/pgadmin/lib'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,614: DEBUG - + ynh_secure_remove --file=/opt/yunohost/pgadmin/lib64
2021-07-18 19:03:31,615: INFO - '/opt/yunohost/pgadmin/lib' wasn't deleted because it doesn't exist.
2021-07-18 19:03:31,625: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-07-18 19:03:31,625: DEBUG - + '[' 1 -ge 2 ']'
2021-07-18 19:03:31,625: DEBUG - + [[ -z /opt/yunohost/pgadmin/lib64 ]]
2021-07-18 19:03:31,625: DEBUG - + [[      /var/www     /home/yunohost.app =~ /opt/yunohost/pgadmin/lib64 ]]
2021-07-18 19:03:31,626: DEBUG - + [[ /opt/yunohost/pgadmin/lib64 =~ ^/[[:alnum:]]+$ ]]
2021-07-18 19:03:31,626: DEBUG - + [[ 4 = \/ ]]
2021-07-18 19:03:31,626: DEBUG - + '[' -e /opt/yunohost/pgadmin/lib64 ']'
2021-07-18 19:03:31,626: DEBUG - + ynh_print_info '--message='\''/opt/yunohost/pgadmin/lib64'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,636: DEBUG - + echo ''\''/opt/yunohost/pgadmin/lib64'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,637: DEBUG - + ynh_secure_remove --file=/opt/yunohost/pgadmin/include
2021-07-18 19:03:31,638: INFO - '/opt/yunohost/pgadmin/lib64' wasn't deleted because it doesn't exist.
2021-07-18 19:03:31,647: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-07-18 19:03:31,647: DEBUG - + '[' 1 -ge 2 ']'
2021-07-18 19:03:31,647: DEBUG - + [[ -z /opt/yunohost/pgadmin/include ]]
2021-07-18 19:03:31,647: DEBUG - + [[      /var/www     /home/yunohost.app =~ /opt/yunohost/pgadmin/include ]]
2021-07-18 19:03:31,648: DEBUG - + [[ /opt/yunohost/pgadmin/include =~ ^/[[:alnum:]]+$ ]]
2021-07-18 19:03:31,648: DEBUG - + [[ e = \/ ]]
2021-07-18 19:03:31,648: DEBUG - + '[' -e /opt/yunohost/pgadmin/include ']'
2021-07-18 19:03:31,648: DEBUG - + ynh_print_info '--message='\''/opt/yunohost/pgadmin/include'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,657: DEBUG - + echo ''\''/opt/yunohost/pgadmin/include'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,658: DEBUG - + ynh_secure_remove --file=/opt/yunohost/pgadmin/share
2021-07-18 19:03:31,658: INFO - '/opt/yunohost/pgadmin/include' wasn't deleted because it doesn't exist.
2021-07-18 19:03:31,668: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-07-18 19:03:31,668: DEBUG - + '[' 1 -ge 2 ']'
2021-07-18 19:03:31,668: DEBUG - + [[ -z /opt/yunohost/pgadmin/share ]]
2021-07-18 19:03:31,668: DEBUG - + [[      /var/www     /home/yunohost.app =~ /opt/yunohost/pgadmin/share ]]
2021-07-18 19:03:31,669: DEBUG - + [[ /opt/yunohost/pgadmin/share =~ ^/[[:alnum:]]+$ ]]
2021-07-18 19:03:31,669: DEBUG - + [[ e = \/ ]]
2021-07-18 19:03:31,669: DEBUG - + '[' -e /opt/yunohost/pgadmin/share ']'
2021-07-18 19:03:31,669: DEBUG - + ynh_print_info '--message='\''/opt/yunohost/pgadmin/share'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,678: DEBUG - + echo ''\''/opt/yunohost/pgadmin/share'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,678: DEBUG - + ynh_secure_remove --file=/opt/yunohost/pgadmin/pyvenv.cfg
2021-07-18 19:03:31,679: INFO - '/opt/yunohost/pgadmin/share' wasn't deleted because it doesn't exist.
2021-07-18 19:03:31,687: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-07-18 19:03:31,687: DEBUG - + '[' 1 -ge 2 ']'
2021-07-18 19:03:31,687: DEBUG - + [[ -z /opt/yunohost/pgadmin/pyvenv.cfg ]]
2021-07-18 19:03:31,688: DEBUG - + [[      /var/www     /home/yunohost.app =~ /opt/yunohost/pgadmin/pyvenv\.cfg ]]
2021-07-18 19:03:31,688: DEBUG - + [[ /opt/yunohost/pgadmin/pyvenv.cfg =~ ^/[[:alnum:]]+$ ]]
2021-07-18 19:03:31,688: DEBUG - + [[ g = \/ ]]
2021-07-18 19:03:31,688: DEBUG - + '[' -e /opt/yunohost/pgadmin/pyvenv.cfg ']'
2021-07-18 19:03:31,688: DEBUG - + ynh_print_info '--message='\''/opt/yunohost/pgadmin/pyvenv.cfg'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,698: DEBUG - + echo ''\''/opt/yunohost/pgadmin/pyvenv.cfg'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-07-18 19:03:31,698: DEBUG - + mkdir -p /opt/yunohost/pgadmin
2021-07-18 19:03:31,698: INFO - '/opt/yunohost/pgadmin/pyvenv.cfg' wasn't deleted because it doesn't exist.
2021-07-18 19:03:31,699: DEBUG - + chown pgadmin:root -R /opt/yunohost/pgadmin
2021-07-18 19:03:31,704: DEBUG - ++ uname -m
2021-07-18 19:03:31,704: DEBUG - ++ grep arm
2021-07-18 19:03:31,707: DEBUG - + '[' -n '' ']'
2021-07-18 19:03:31,708: DEBUG - + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/yunohost/pgadmin/.cargo/bin:/opt/yunohost/pgadmin/.local/bin:/usr/local/sbin
2021-07-18 19:03:31,708: DEBUG - + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/yunohost/pgadmin/.cargo/bin:/opt/yunohost/pgadmin/.local/bin:/usr/local/sbin
2021-07-18 19:03:31,708: DEBUG - + '[' -e /opt/yunohost/pgadmin/.rustup ']'
2021-07-18 19:03:31,708: DEBUG - + sudo -u pgadmin bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal'
2021-07-18 19:03:32,479: WARNING - info: downloading installer
2021-07-18 19:03:34,015: WARNING - info: profile set to 'minimal'
2021-07-18 19:03:34,016: WARNING - info: default host triple is x86_64-unknown-linux-gnu
2021-07-18 19:03:34,016: WARNING - info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
2021-07-18 19:03:34,499: WARNING - info: latest update on 2021-06-17, rust version 1.53.0 (53cb7b09b 2021-06-17)
2021-07-18 19:03:34,499: WARNING - info: downloading component 'cargo'
2021-07-18 19:03:35,242: WARNING - info: downloading component 'rust-std'
2021-07-18 19:03:36,125: WARNING - info: downloading component 'rustc'
2021-07-18 19:03:36,748: WARNING - info: installing component 'cargo'
2021-07-18 19:03:37,661: WARNING - info: installing component 'rust-std'
2021-07-18 19:03:41,926: WARNING - info: installing component 'rustc'
2021-07-18 19:03:47,279: WARNING - info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
2021-07-18 19:03:47,283: DEBUG - 
2021-07-18 19:03:47,306: DEBUG -   stable-x86_64-unknown-linux-gnu installed - rustc 1.53.0 (53cb7b09b 2021-06-17)
2021-07-18 19:03:47,307: DEBUG - 
2021-07-18 19:03:47,307: DEBUG - 
2021-07-18 19:03:47,308: DEBUG - Rust is installed now. Great!
2021-07-18 19:03:47,308: DEBUG - 
2021-07-18 19:03:47,308: DEBUG - To get started you may need to restart your current shell.
2021-07-18 19:03:47,308: DEBUG - This would reload your PATH environment variable to include
2021-07-18 19:03:47,309: DEBUG - Cargo's bin directory ($HOME/.cargo/bin).
2021-07-18 19:03:47,309: DEBUG - 
2021-07-18 19:03:47,309: DEBUG - To configure your current shell, run:
2021-07-18 19:03:47,310: DEBUG - source $HOME/.cargo/env
2021-07-18 19:03:47,320: DEBUG - + test -e /opt/yunohost/pgadmin/bin/python3
2021-07-18 19:03:47,321: DEBUG - + python3 -m venv /opt/yunohost/pgadmin
2021-07-18 19:03:49,504: DEBUG - + u_arg=u
2021-07-18 19:03:49,504: DEBUG - + set +u
2021-07-18 19:03:49,505: DEBUG - + source /opt/yunohost/pgadmin/bin/activate
2021-07-18 19:03:49,506: DEBUG - ++ deactivate nondestructive
2021-07-18 19:03:49,506: DEBUG - ++ '[' -n '' ']'
2021-07-18 19:03:49,506: DEBUG - ++ '[' -n '' ']'
2021-07-18 19:03:49,506: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2021-07-18 19:03:49,506: DEBUG - ++ hash -r
2021-07-18 19:03:49,506: DEBUG - ++ '[' -n '' ']'
2021-07-18 19:03:49,506: DEBUG - ++ unset VIRTUAL_ENV
2021-07-18 19:03:49,507: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2021-07-18 19:03:49,507: DEBUG - ++ VIRTUAL_ENV=/opt/yunohost/pgadmin
2021-07-18 19:03:49,507: DEBUG - ++ export VIRTUAL_ENV
2021-07-18 19:03:49,507: DEBUG - ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/yunohost/pgadmin/.cargo/bin:/opt/yunohost/pgadmin/.local/bin:/usr/local/sbin
2021-07-18 19:03:49,507: DEBUG - ++ PATH=/opt/yunohost/pgadmin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/yunohost/pgadmin/.cargo/bin:/opt/yunohost/pgadmin/.local/bin:/usr/local/sbin
2021-07-18 19:03:49,507: DEBUG - ++ export PATH
2021-07-18 19:03:49,507: DEBUG - ++ '[' -n '' ']'
2021-07-18 19:03:49,507: DEBUG - ++ '[' -z '' ']'
2021-07-18 19:03:49,507: DEBUG - ++ _OLD_VIRTUAL_PS1=
2021-07-18 19:03:49,508: DEBUG - ++ '[' 'x(pgadmin) ' '!=' x ']'
2021-07-18 19:03:49,508: DEBUG - ++ PS1='(pgadmin) '
2021-07-18 19:03:49,508: DEBUG - ++ export PS1
2021-07-18 19:03:49,508: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2021-07-18 19:03:49,508: DEBUG - ++ hash -r
2021-07-18 19:03:49,508: DEBUG - + set -u
2021-07-18 19:03:49,508: DEBUG - + pip3 install --upgrade pip
2021-07-18 19:03:50,520: DEBUG - Collecting pip
2021-07-18 19:03:50,734: DEBUG -   Downloading https://files.pythonhosted.org/packages/47/ca/f0d790b6e18b3a6f3bd5e80c2ee4edbb5807286c21cdd0862ca933f751dd/pip-21.1.3-py3-none-any.whl (1.5MB)
2021-07-18 19:03:51,139: DEBUG - Installing collected packages: pip
2021-07-18 19:03:51,139: DEBUG -   Found existing installation: pip 18.1
2021-07-18 19:03:51,212: DEBUG -     Uninstalling pip-18.1:
2021-07-18 19:03:51,227: DEBUG -       Successfully uninstalled pip-18.1
2021-07-18 19:03:52,307: DEBUG - Successfully installed pip-21.1.3
2021-07-18 19:03:52,387: DEBUG - + pip3 install --upgrade 'Werkzeug<1.0'
2021-07-18 19:03:53,025: DEBUG - Collecting Werkzeug<1.0
2021-07-18 19:03:53,067: DEBUG -   Downloading Werkzeug-0.16.1-py2.py3-none-any.whl (327 kB)
2021-07-18 19:03:53,151: DEBUG - Installing collected packages: Werkzeug
2021-07-18 19:03:53,345: DEBUG - Successfully installed Werkzeug-0.16.1
2021-07-18 19:03:53,510: DEBUG - + pip3 install --upgrade pgadmin4==5.3
2021-07-18 19:03:54,083: DEBUG - Collecting pgadmin4==5.3
2021-07-18 19:03:54,132: DEBUG -   Downloading pgadmin4-5.3-py3-none-any.whl (98.5 MB)
2021-07-18 19:03:55,435: DEBUG - Collecting psycopg2-binary==2.8.*
2021-07-18 19:03:55,448: DEBUG -   Downloading psycopg2_binary-2.8.6-cp37-cp37m-manylinux1_x86_64.whl (3.0 MB)
2021-07-18 19:03:55,517: DEBUG - Collecting Flask-Mail==0.*
2021-07-18 19:03:55,525: DEBUG -   Downloading Flask-Mail-0.9.1.tar.gz (45 kB)
2021-07-18 19:03:55,913: DEBUG - Collecting Flask-Security-Too==3.*
2021-07-18 19:03:55,924: DEBUG -   Downloading Flask_Security_Too-3.4.5-py2.py3-none-any.whl (186 kB)
2021-07-18 19:03:55,978: DEBUG - Collecting sqlparse==0.*
2021-07-18 19:03:55,986: DEBUG -   Downloading sqlparse-0.4.1-py3-none-any.whl (42 kB)
2021-07-18 19:03:56,028: DEBUG - Collecting WTForms==2.*
2021-07-18 19:03:56,038: DEBUG -   Downloading WTForms-2.3.3-py2.py3-none-any.whl (169 kB)
2021-07-18 19:03:56,084: DEBUG - Collecting itsdangerous<=1.1.0
2021-07-18 19:03:56,093: DEBUG -   Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
2021-07-18 19:03:56,157: DEBUG - Collecting Flask==1.*
2021-07-18 19:03:56,166: DEBUG -   Downloading Flask-1.1.4-py2.py3-none-any.whl (94 kB)
2021-07-18 19:03:56,324: DEBUG - Collecting bcrypt==3.*
2021-07-18 19:03:56,333: DEBUG -   Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB)
2021-07-18 19:03:56,383: DEBUG - Collecting passlib==1.*
2021-07-18 19:03:56,394: DEBUG -   Downloading passlib-1.7.4-py2.py3-none-any.whl (525 kB)
2021-07-18 19:03:56,491: DEBUG - Collecting ldap3==2.*
2021-07-18 19:03:56,502: DEBUG -   Downloading ldap3-2.9.1-py2.py3-none-any.whl (432 kB)
2021-07-18 19:03:56,562: DEBUG - Collecting Flask-Migrate==2.*
2021-07-18 19:03:56,571: DEBUG -   Downloading Flask_Migrate-2.7.0-py2.py3-none-any.whl (13 kB)
2021-07-18 19:03:56,602: DEBUG - Collecting Flask-BabelEx==0.*
2021-07-18 19:03:56,612: DEBUG -   Downloading Flask_BabelEx-0.9.4-py3-none-any.whl (8.7 kB)
2021-07-18 19:03:56,731: DEBUG - Collecting Flask-Paranoid==0.*
2021-07-18 19:03:56,740: DEBUG -   Downloading Flask_Paranoid-0.2.0-py2.py3-none-any.whl (4.1 kB)
2021-07-18 19:03:56,800: DEBUG - Collecting python-dateutil==2.*
2021-07-18 19:03:56,821: DEBUG -   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
2021-07-18 19:03:56,948: DEBUG - Collecting speaklater3==1.*
2021-07-18 19:03:56,957: DEBUG -   Downloading speaklater3-1.4-py3-none-any.whl (5.9 kB)
2021-07-18 19:03:57,421: DEBUG - Collecting psutil==5.*
2021-07-18 19:03:57,432: DEBUG -   Downloading psutil-5.8.0-cp37-cp37m-manylinux2010_x86_64.whl (296 kB)
2021-07-18 19:03:57,493: DEBUG - Collecting six==1.*
2021-07-18 19:03:57,502: DEBUG -   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
2021-07-18 19:03:58,256: DEBUG - Collecting cryptography==3.*
2021-07-18 19:03:58,265: DEBUG -   Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
2021-07-18 19:03:58,356: DEBUG - Collecting Flask-Login==0.*
2021-07-18 19:03:58,366: DEBUG -   Downloading Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
2021-07-18 19:03:58,596: DEBUG - Collecting simplejson==3.*
2021-07-18 19:03:58,606: DEBUG -   Downloading simplejson-3.17.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (129 kB)
2021-07-18 19:03:58,662: DEBUG - Collecting Flask-WTF==0.*
2021-07-18 19:03:58,671: DEBUG -   Downloading Flask_WTF-0.15.1-py2.py3-none-any.whl (13 kB)
2021-07-18 19:03:58,821: DEBUG - Collecting cheroot==8.*
2021-07-18 19:03:58,831: DEBUG -   Downloading cheroot-8.5.2-py2.py3-none-any.whl (97 kB)
2021-07-18 19:03:58,887: DEBUG - Collecting sshtunnel==0.*
2021-07-18 19:03:58,897: DEBUG -   Downloading sshtunnel-0.4.0-py2.py3-none-any.whl (24 kB)
2021-07-18 19:03:58,956: DEBUG - Collecting Flask-SQLAlchemy==2.*
2021-07-18 19:03:58,966: DEBUG -   Downloading Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
2021-07-18 19:03:59,693: DEBUG - Collecting SQLAlchemy==1.3.*
2021-07-18 19:03:59,710: DEBUG -   Downloading SQLAlchemy-1.3.24-cp37-cp37m-manylinux2010_x86_64.whl (1.3 MB)
2021-07-18 19:03:59,772: DEBUG - Collecting Flask-Compress==1.*
2021-07-18 19:03:59,782: DEBUG -   Downloading Flask_Compress-1.10.1-py3-none-any.whl (7.9 kB)
2021-07-18 19:04:00,016: DEBUG - Collecting pytz==2021.*
2021-07-18 19:04:00,027: DEBUG -   Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
2021-07-18 19:04:00,172: DEBUG - Collecting Flask-Gravatar==0.*
2021-07-18 19:04:00,182: DEBUG -   Downloading Flask_Gravatar-0.5.0-py2.py3-none-any.whl (7.5 kB)
2021-07-18 19:04:00,725: DEBUG - Collecting cffi>=1.1
2021-07-18 19:04:00,736: DEBUG -   Downloading cffi-1.14.6-cp37-cp37m-manylinux1_x86_64.whl (402 kB)
2021-07-18 19:04:00,943: DEBUG - Collecting more-itertools>=2.6
2021-07-18 19:04:00,951: DEBUG -   Downloading more_itertools-8.8.0-py3-none-any.whl (48 kB)
2021-07-18 19:04:01,012: DEBUG - Collecting jaraco.functools
2021-07-18 19:04:01,021: DEBUG -   Downloading jaraco.functools-3.3.0-py3-none-any.whl (6.8 kB)
2021-07-18 19:04:01,143: DEBUG - Collecting Jinja2<3.0,>=2.10.1
2021-07-18 19:04:01,152: DEBUG -   Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
2021-07-18 19:04:01,163: DEBUG - Requirement already satisfied: Werkzeug<2.0,>=0.15 in /opt/yunohost/pgadmin/lib/python3.7/site-packages (from Flask==1.*->pgadmin4==5.3) (0.16.1)
2021-07-18 19:04:01,236: DEBUG - Collecting click<8.0,>=5.1
2021-07-18 19:04:01,245: DEBUG -   Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
2021-07-18 19:04:01,297: DEBUG - Collecting speaklater>=1.2
2021-07-18 19:04:01,307: DEBUG -   Downloading speaklater-1.3.tar.gz (3.6 kB)
2021-07-18 19:04:01,713: DEBUG - Collecting Babel>=1.0
2021-07-18 19:04:01,724: DEBUG -   Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
2021-07-18 19:04:02,006: DEBUG - Collecting brotli
2021-07-18 19:04:02,018: DEBUG -   Downloading Brotli-1.0.9-cp37-cp37m-manylinux1_x86_64.whl (357 kB)
2021-07-18 19:04:02,115: DEBUG - Collecting blinker
2021-07-18 19:04:02,124: DEBUG -   Downloading blinker-1.4.tar.gz (111 kB)
2021-07-18 19:04:02,514: DEBUG - Collecting alembic>=0.7
2021-07-18 19:04:02,523: DEBUG -   Downloading alembic-1.6.5-py2.py3-none-any.whl (164 kB)
2021-07-18 19:04:02,658: DEBUG - Collecting Flask-Principal>=0.4.0
2021-07-18 19:04:02,666: DEBUG -   Downloading Flask-Principal-0.4.0.tar.gz (5.5 kB)
2021-07-18 19:04:02,946: DEBUG - Collecting email-validator>=1.0.5
2021-07-18 19:04:02,956: DEBUG -   Downloading email_validator-1.1.3-py2.py3-none-any.whl (18 kB)
2021-07-18 19:04:03,159: DEBUG - Collecting pyasn1>=0.4.6
2021-07-18 19:04:03,169: DEBUG -   Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
2021-07-18 19:04:03,423: DEBUG - Collecting paramiko>=2.7.2
2021-07-18 19:04:03,432: DEBUG -   Downloading paramiko-2.7.2-py2.py3-none-any.whl (206 kB)
2021-07-18 19:04:03,550: DEBUG - Collecting MarkupSafe
2021-07-18 19:04:03,558: DEBUG -   Downloading MarkupSafe-2.0.1-cp37-cp37m-manylinux2010_x86_64.whl (31 kB)
2021-07-18 19:04:03,613: DEBUG - Collecting Mako
2021-07-18 19:04:03,622: DEBUG -   Downloading Mako-1.1.4-py2.py3-none-any.whl (75 kB)
2021-07-18 19:04:03,658: DEBUG - Collecting python-editor>=0.3
2021-07-18 19:04:03,667: DEBUG -   Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
2021-07-18 19:04:03,745: DEBUG - Collecting pycparser
2021-07-18 19:04:03,754: DEBUG -   Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
2021-07-18 19:04:03,827: DEBUG - Collecting idna>=2.0.0
2021-07-18 19:04:03,840: DEBUG -   Downloading idna-3.2-py3-none-any.whl (59 kB)
2021-07-18 19:04:03,882: DEBUG - Collecting dnspython>=1.15.0
2021-07-18 19:04:03,892: DEBUG -   Downloading dnspython-2.1.0-py3-none-any.whl (241 kB)
2021-07-18 19:04:04,235: DEBUG - Collecting pynacl>=1.0.1
2021-07-18 19:04:04,245: DEBUG -   Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
2021-07-18 19:04:04,508: DEBUG - Using legacy 'setup.py install' for Flask-Mail, since package 'wheel' is not installed.
2021-07-18 19:04:04,509: DEBUG - Using legacy 'setup.py install' for Flask-Principal, since package 'wheel' is not installed.
2021-07-18 19:04:04,509: DEBUG - Using legacy 'setup.py install' for speaklater, since package 'wheel' is not installed.
2021-07-18 19:04:04,509: DEBUG - Using legacy 'setup.py install' for blinker, since package 'wheel' is not installed.
2021-07-18 19:04:05,133: DEBUG - Installing collected packages: pycparser, MarkupSafe, six, pytz, Jinja2, itsdangerous, click, cffi, WTForms, SQLAlchemy, speaklater, python-editor, python-dateutil, pynacl, more-itertools, Mako, idna, Flask, dnspython, cryptography, blinker, bcrypt, Babel, pyasn1, passlib, paramiko, jaraco.functools, Flask-WTF, Flask-SQLAlchemy, Flask-Principal, Flask-Mail, Flask-Login, Flask-BabelEx, email-validator, brotli, alembic, sshtunnel, sqlparse, speaklater3, simplejson, psycopg2-binary, psutil, ldap3, Flask-Security-Too, Flask-Paranoid, Flask-Migrate, Flask-Gravatar, Flask-Compress, cheroot, pgadmin4
2021-07-18 19:04:06,725: DEBUG -     Running setup.py install for speaklater: started
2021-07-18 19:04:07,002: DEBUG -     Running setup.py install for speaklater: finished with status 'done'
2021-07-18 19:04:07,953: DEBUG -     Running setup.py install for blinker: started
2021-07-18 19:04:08,238: DEBUG -     Running setup.py install for blinker: finished with status 'done'
2021-07-18 19:04:09,224: DEBUG -     Running setup.py install for Flask-Principal: started
2021-07-18 19:04:09,594: DEBUG -     Running setup.py install for Flask-Principal: finished with status 'done'
2021-07-18 19:04:09,597: DEBUG -     Running setup.py install for Flask-Mail: started
2021-07-18 19:04:09,967: DEBUG -     Running setup.py install for Flask-Mail: finished with status 'done'
2021-07-18 19:04:13,167: DEBUG - Successfully installed Babel-2.9.1 Flask-1.1.4 Flask-BabelEx-0.9.4 Flask-Compress-1.10.1 Flask-Gravatar-0.5.0 Flask-Login-0.5.0 Flask-Mail-0.9.1 Flask-Migrate-2.7.0 Flask-Paranoid-0.2.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.5.1 Flask-Security-Too-3.4.5 Flask-WTF-0.15.1 Jinja2-2.11.3 Mako-1.1.4 MarkupSafe-2.0.1 SQLAlchemy-1.3.24 WTForms-2.3.3 alembic-1.6.5 bcrypt-3.2.0 blinker-1.4 brotli-1.0.9 cffi-1.14.6 cheroot-8.5.2 click-7.1.2 cryptography-3.4.7 dnspython-2.1.0 email-validator-1.1.3 idna-3.2 itsdangerous-1.1.0 jaraco.functools-3.3.0 ldap3-2.9.1 more-itertools-8.8.0 paramiko-2.7.2 passlib-1.7.4 pgadmin4-5.3 psutil-5.8.0 psycopg2-binary-2.8.6 pyasn1-0.4.8 pycparser-2.20 pynacl-1.4.0 python-dateutil-2.8.2 python-editor-1.0.4 pytz-2021.1 simplejson-3.17.3 six-1.16.0 speaklater-1.3 speaklater3-1.4 sqlparse-0.4.1 sshtunnel-0.4.0
2021-07-18 19:04:13,347: DEBUG - + set +u
2021-07-18 19:04:13,348: DEBUG - + deactivate
2021-07-18 19:04:13,348: DEBUG - + '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/yunohost/pgadmin/.cargo/bin:/opt/yunohost/pgadmin/.local/bin:/usr/local/sbin ']'
2021-07-18 19:04:13,348: DEBUG - + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/yunohost/pgadmin/.cargo/bin:/opt/yunohost/pgadmin/.local/bin:/usr/local/sbin
2021-07-18 19:04:13,348: DEBUG - + export PATH
2021-07-18 19:04:13,348: DEBUG - + unset _OLD_VIRTUAL_PATH
2021-07-18 19:04:13,348: DEBUG - + '[' -n '' ']'
2021-07-18 19:04:13,348: DEBUG - + '[' -n /bin/bash -o -n '' ']'
2021-07-18 19:04:13,349: DEBUG - + hash -r
2021-07-18 19:04:13,349: DEBUG - + '[' -n '' ']'
2021-07-18 19:04:13,349: DEBUG - + unset VIRTUAL_ENV
2021-07-18 19:04:13,349: DEBUG - + '[' '!' '' = nondestructive ']'
2021-07-18 19:04:13,349: DEBUG - + unset -f deactivate
2021-07-18 19:04:13,349: DEBUG - + set -u
2021-07-18 19:04:13,387: DEBUG - + echo '[#############+......] > Configuring application...'
2021-07-18 19:04:13,388: DEBUG - + config_pgadmin
2021-07-18 19:04:13,388: DEBUG - + cp ../conf/config_local.py /opt/yunohost/pgadmin/lib/python3.7/site-packages/pgadmin4/config_local.py
2021-07-18 19:04:13,388: INFO - [#############+......] > Configuring application...
2021-07-18 19:04:13,389: DEBUG - + ynh_replace_string --match_string __USER__ --replace_string pgadmin --target_file /opt/yunohost/pgadmin/lib/python3.7/site-packages/pgadmin4/config_local.py
2021-07-18 19:04:13,483: DEBUG - + local delimit=@
2021-07-18 19:04:13,483: DEBUG - + match_string=__USER__
2021-07-18 19:04:13,483: DEBUG - + replace_string=pgadmin
2021-07-18 19:04:13,483: DEBUG - + sed --in-place s@__USER__@pgadmin@g /opt/yunohost/pgadmin/lib/python3.7/site-packages/pgadmin4/config_local.py
2021-07-18 19:04:13,485: DEBUG - + ynh_replace_string --match_string __DOMAIN__ --replace_string maindomain.tld --target_file /opt/yunohost/pgadmin/lib/python3.7/site-packages/pgadmin4/config_local.py
2021-07-18 19:04:13,577: DEBUG - + local delimit=@
2021-07-18 19:04:13,578: DEBUG - + match_string=__DOMAIN__
2021-07-18 19:04:13,578: DEBUG - + replace_string=maindomain.tld
2021-07-18 19:04:13,578: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /opt/yunohost/pgadmin/lib/python3.7/site-packages/pgadmin4/config_local.py
2021-07-18 19:04:13,580: DEBUG - + ynh_add_uwsgi_service 'pgadmin_user python_version'
2021-07-18 19:04:13,580: DEBUG - + ynh_check_global_uwsgi_config
2021-07-18 19:04:13,580: DEBUG - + uwsgi --version
2021-07-18 19:04:13,593: DEBUG - 2.0.18-debian
2021-07-18 19:04:13,594: DEBUG - + cat
2021-07-18 19:04:13,596: DEBUG - + systemctl daemon-reload
2021-07-18 19:04:13,758: DEBUG - + local 'others_var=pgadmin_user python_version'
2021-07-18 19:04:13,758: DEBUG - + local finaluwsgiini=/etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:13,758: DEBUG - + usermod --append --groups www-data pgadmin
2021-07-18 19:04:13,782: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:13,790: DEBUG - + local checksum_setting_name=checksum__etc_uwsgi_apps-available_pgadmin.ini
2021-07-18 19:04:13,790: DEBUG - ++ ynh_app_setting_get --app=pgadmin --key=checksum__etc_uwsgi_apps-available_pgadmin.ini
2021-07-18 19:04:13,815: DEBUG - ++ [[ checksum__etc_uwsgi_apps-available_pgadmin.ini =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:04:13,815: DEBUG - ++ ynh_app_setting get pgadmin checksum__etc_uwsgi_apps-available_pgadmin.ini
2021-07-18 19:04:13,855: DEBUG - + local checksum_value=
2021-07-18 19:04:13,855: DEBUG - + backup_file_checksum=
2021-07-18 19:04:13,855: DEBUG - + '[' -n '' ']'
2021-07-18 19:04:13,855: DEBUG - + cp ../conf/uwsgi.ini /etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:13,858: DEBUG - + test -n /opt/yunohost/pgadmin
2021-07-18 19:04:13,858: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/opt/yunohost/pgadmin --target_file=/etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:13,914: DEBUG - + local delimit=@
2021-07-18 19:04:13,914: DEBUG - + match_string=__FINALPATH__
2021-07-18 19:04:13,914: DEBUG - + replace_string=/opt/yunohost/pgadmin
2021-07-18 19:04:13,915: DEBUG - + sed --in-place s@__FINALPATH__@/opt/yunohost/pgadmin@g /etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:13,917: DEBUG - + test -n /pgadmin
2021-07-18 19:04:13,917: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/pgadmin --target_file=/etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:13,974: DEBUG - + local delimit=@
2021-07-18 19:04:13,974: DEBUG - + match_string=__PATH__
2021-07-18 19:04:13,974: DEBUG - + replace_string=/pgadmin
2021-07-18 19:04:13,974: DEBUG - + sed --in-place s@__PATH__@/pgadmin@g /etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:13,977: DEBUG - + test -n pgadmin
2021-07-18 19:04:13,977: DEBUG - + ynh_replace_string --match_string=__APP__ --replace_string=pgadmin --target_file=/etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,036: DEBUG - + local delimit=@
2021-07-18 19:04:14,037: DEBUG - + match_string=__APP__
2021-07-18 19:04:14,037: DEBUG - + replace_string=pgadmin
2021-07-18 19:04:14,037: DEBUG - + sed --in-place s@__APP__@pgadmin@g /etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,039: DEBUG - + for var_to_replace in $others_var
2021-07-18 19:04:14,039: DEBUG - + ynh_replace_string --match_string=__PGADMIN_USER__ --replace_string=pgadmin --target_file=/etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,094: DEBUG - + local delimit=@
2021-07-18 19:04:14,095: DEBUG - + match_string=__PGADMIN_USER__
2021-07-18 19:04:14,095: DEBUG - + replace_string=pgadmin
2021-07-18 19:04:14,095: DEBUG - + sed --in-place s@__PGADMIN_USER__@pgadmin@g /etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,096: DEBUG - + for var_to_replace in $others_var
2021-07-18 19:04:14,096: DEBUG - + ynh_replace_string --match_string=__PYTHON_VERSION__ --replace_string=3.7 --target_file=/etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,137: DEBUG - + local delimit=@
2021-07-18 19:04:14,138: DEBUG - + match_string=__PYTHON_VERSION__
2021-07-18 19:04:14,138: DEBUG - + replace_string=3.7
2021-07-18 19:04:14,138: DEBUG - + sed --in-place s@__PYTHON_VERSION__@3.7@g /etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,139: DEBUG - + ynh_store_file_checksum --file=/etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,146: DEBUG - + local checksum_setting_name=checksum__etc_uwsgi_apps-available_pgadmin.ini
2021-07-18 19:04:14,147: DEBUG - ++ md5sum /etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,147: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-07-18 19:04:14,149: DEBUG - + ynh_app_setting_set --app=pgadmin --key=checksum__etc_uwsgi_apps-available_pgadmin.ini --value=429504e02b555b955613ceec723e369d
2021-07-18 19:04:14,198: DEBUG - + [[ checksum__etc_uwsgi_apps-available_pgadmin.ini =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:04:14,198: DEBUG - + ynh_app_setting set pgadmin checksum__etc_uwsgi_apps-available_pgadmin.ini 429504e02b555b955613ceec723e369d
2021-07-18 19:04:14,246: DEBUG - + '[' -n '' ']'
2021-07-18 19:04:14,246: DEBUG - + unset backup_file_checksum
2021-07-18 19:04:14,246: DEBUG - + chown pgadmin:root /etc/uwsgi/apps-available/pgadmin.ini
2021-07-18 19:04:14,250: DEBUG - + mkdir -p /var/log/uwsgi/pgadmin
2021-07-18 19:04:14,251: DEBUG - + chown pgadmin:root /var/log/uwsgi/pgadmin
2021-07-18 19:04:14,252: DEBUG - + chmod -R u=rwX,g=rX,o= /var/log/uwsgi/pgadmin
2021-07-18 19:04:14,253: DEBUG - + test -e ../conf/uwsgi-app@override.service
2021-07-18 19:04:14,253: DEBUG - + systemctl daemon-reload
2021-07-18 19:04:14,463: DEBUG - + systemctl enable uwsgi-app@pgadmin.service
2021-07-18 19:04:14,469: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
2021-07-18 19:04:14,655: DEBUG - + yunohost service add uwsgi-app@pgadmin --log /var/log/uwsgi/pgadmin/pgadmin.log
2021-07-18 19:04:14,802: WARNING - /!\ Packagers! You added a custom service without specifying a description. Please add a proper Description in the systemd configuration, or use --description to explain what the service does in a similar fashion to existing services.
2021-07-18 19:04:14,827: DEBUG - The service 'uwsgi-app@pgadmin' was added
2021-07-18 19:04:14,847: DEBUG - + ynh_add_nginx_config
2021-07-18 19:04:14,847: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:14,847: DEBUG - + '[' /pgadmin '!=' / ']'
2021-07-18 19:04:14,847: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/conf/nginx.conf
2021-07-18 19:04:14,906: DEBUG - + local delimit=@
2021-07-18 19:04:14,906: DEBUG - + match_string='^#sub_path_only'
2021-07-18 19:04:14,906: DEBUG - + replace_string=
2021-07-18 19:04:14,906: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/conf/nginx.conf
2021-07-18 19:04:14,909: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:14,943: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/conf//var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/conf/nginx.conf ']'
2021-07-18 19:04:14,943: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/conf/nginx.conf ']'
2021-07-18 19:04:14,943: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/conf/nginx.conf
2021-07-18 19:04:14,943: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:14,954: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_pgadmin.conf
2021-07-18 19:04:14,954: DEBUG - ++ ynh_app_setting_get --app=pgadmin --key=checksum__etc_nginx_conf.d_maindomain.tld.d_pgadmin.conf
2021-07-18 19:04:14,986: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_pgadmin.conf =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:04:14,986: DEBUG - ++ ynh_app_setting get pgadmin checksum__etc_nginx_conf.d_maindomain.tld.d_pgadmin.conf
2021-07-18 19:04:15,037: DEBUG - + local checksum_value=
2021-07-18 19:04:15,038: DEBUG - + backup_file_checksum=
2021-07-18 19:04:15,038: DEBUG - + '[' -n '' ']'
2021-07-18 19:04:15,038: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,039: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,042: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,043: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,044: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,044: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,044: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_s3f8s6in/manifest.json
2021-07-18 19:04:15,044: DEBUG - ++ tr -d '>= '
2021-07-18 19:04:15,052: DEBUG - + local ynh_requirement=4.0.0.0
2021-07-18 19:04:15,052: DEBUG - + '[' -z 4.0.0.0 ']'
2021-07-18 19:04:15,052: DEBUG - + '[' 4.0.0.0 == null ']'
2021-07-18 19:04:15,052: DEBUG - + dpkg --compare-versions 4.0.0.0 ge 4.2
2021-07-18 19:04:15,056: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,067: DEBUG - + test -n /pgadmin
2021-07-18 19:04:15,067: DEBUG - + local path_url_slash_less=/pgadmin
2021-07-18 19:04:15,067: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/pgadmin/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,116: DEBUG - + local delimit=@
2021-07-18 19:04:15,116: DEBUG - + match_string=__PATH__/
2021-07-18 19:04:15,117: DEBUG - + replace_string=/pgadmin/
2021-07-18 19:04:15,117: DEBUG - + sed --in-place s@__PATH__/@/pgadmin/@g /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,118: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/pgadmin --target_file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,172: DEBUG - + local delimit=@
2021-07-18 19:04:15,172: DEBUG - + match_string=__PATH__
2021-07-18 19:04:15,172: DEBUG - + replace_string=/pgadmin
2021-07-18 19:04:15,172: DEBUG - + sed --in-place s@__PATH__@/pgadmin@g /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,174: DEBUG - + test -n pgadmin
2021-07-18 19:04:15,175: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=pgadmin --target_file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,232: DEBUG - + local delimit=@
2021-07-18 19:04:15,233: DEBUG - + match_string=__NAME__
2021-07-18 19:04:15,233: DEBUG - + replace_string=pgadmin
2021-07-18 19:04:15,233: DEBUG - + sed --in-place s@__NAME__@pgadmin@g /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,235: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=pgadmin --target_file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,293: DEBUG - + local delimit=@
2021-07-18 19:04:15,294: DEBUG - + match_string=__NAMETOCHANGE__
2021-07-18 19:04:15,294: DEBUG - + replace_string=pgadmin
2021-07-18 19:04:15,294: DEBUG - + sed --in-place s@__NAMETOCHANGE__@pgadmin@g /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,295: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=pgadmin --target_file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,346: DEBUG - + local delimit=@
2021-07-18 19:04:15,346: DEBUG - + match_string=__USER__
2021-07-18 19:04:15,346: DEBUG - + replace_string=pgadmin
2021-07-18 19:04:15,346: DEBUG - + sed --in-place s@__USER__@pgadmin@g /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,348: DEBUG - + test -n /opt/yunohost/pgadmin
2021-07-18 19:04:15,348: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/opt/yunohost/pgadmin --target_file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,400: DEBUG - + local delimit=@
2021-07-18 19:04:15,400: DEBUG - + match_string=__FINALPATH__
2021-07-18 19:04:15,400: DEBUG - + replace_string=/opt/yunohost/pgadmin
2021-07-18 19:04:15,401: DEBUG - + sed --in-place s@__FINALPATH__@/opt/yunohost/pgadmin@g /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,403: DEBUG - + test -n 7.3
2021-07-18 19:04:15,403: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,466: DEBUG - + local delimit=@
2021-07-18 19:04:15,466: DEBUG - + match_string=__PHPVERSION__
2021-07-18 19:04:15,466: DEBUG - + replace_string=7.3
2021-07-18 19:04:15,466: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,468: DEBUG - + test -n ''
2021-07-18 19:04:15,468: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-07-18 19:04:15,469: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,469: DEBUG - ++ sort --unique
2021-07-18 19:04:15,470: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-07-18 19:04:15,473: DEBUG - + local delimit=@
2021-07-18 19:04:15,473: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,484: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_pgadmin.conf
2021-07-18 19:04:15,484: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/pgadmin.conf
2021-07-18 19:04:15,485: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-07-18 19:04:15,487: DEBUG - + ynh_app_setting_set --app=pgadmin --key=checksum__etc_nginx_conf.d_maindomain.tld.d_pgadmin.conf --value=420a1b16a607439658ce95a494fb1cdb
2021-07-18 19:04:15,556: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_pgadmin.conf =~ (unprotected|protected|skipped)_ ]]
2021-07-18 19:04:15,556: DEBUG - + ynh_app_setting set pgadmin checksum__etc_nginx_conf.d_maindomain.tld.d_pgadmin.conf 420a1b16a607439658ce95a494fb1cdb
2021-07-18 19:04:15,623: DEBUG - + '[' -n '' ']'
2021-07-18 19:04:15,623: DEBUG - + unset backup_file_checksum
2021-07-18 19:04:15,623: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-07-18 19:04:15,705: DEBUG - + service_name=nginx
2021-07-18 19:04:15,706: DEBUG - + action=reload
2021-07-18 19:04:15,706: DEBUG - + line_match=
2021-07-18 19:04:15,706: DEBUG - + length=20
2021-07-18 19:04:15,706: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-07-18 19:04:15,706: DEBUG - + timeout=300
2021-07-18 19:04:15,706: DEBUG - + '[' reload == stop ']'
2021-07-18 19:04:15,707: DEBUG - + [[ -n '' ]]
2021-07-18 19:04:15,707: DEBUG - + '[' reload == reload ']'
2021-07-18 19:04:15,707: DEBUG - + action=reload-or-restart
2021-07-18 19:04:15,707: DEBUG - + systemctl reload-or-restart nginx
2021-07-18 19:04:15,828: DEBUG - + [[ -n '' ]]
2021-07-18 19:04:15,880: DEBUG - + echo '[##############......] > Configuring sqlite database...'
2021-07-18 19:04:15,880: DEBUG - + chmod +x ../conf/setup.exp
2021-07-18 19:04:15,880: INFO - [##############......] > Configuring sqlite database...
2021-07-18 19:04:15,883: DEBUG - + set +u
2021-07-18 19:04:15,883: DEBUG - + source /opt/yunohost/pgadmin/bin/activate
2021-07-18 19:04:15,883: DEBUG - ++ deactivate nondestructive
2021-07-18 19:04:15,883: DEBUG - ++ '[' -n '' ']'
2021-07-18 19:04:15,883: DEBUG - ++ '[' -n '' ']'
2021-07-18 19:04:15,883: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2021-07-18 19:04:15,883: DEBUG - ++ hash -r
2021-07-18 19:04:15,884: DEBUG - ++ '[' -n '' ']'
2021-07-18 19:04:15,884: DEBUG - ++ unset VIRTUAL_ENV
2021-07-18 19:04:15,884: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2021-07-18 19:04:15,884: DEBUG - ++ VIRTUAL_ENV=/opt/yunohost/pgadmin
2021-07-18 19:04:15,884: DEBUG - ++ export VIRTUAL_ENV
2021-07-18 19:04:15,884: DEBUG - ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/yunohost/pgadmin/.cargo/bin:/opt/yunohost/pgadmin/.local/bin:/usr/local/sbin
2021-07-18 19:04:15,884: DEBUG - ++ PATH=/opt/yunohost/pgadmin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/yunohost/pgadmin/.cargo/bin:/opt/yunohost/pgadmin/.local/bin:/usr/local/sbin
2021-07-18 19:04:15,884: DEBUG - ++ export PATH
2021-07-18 19:04:15,884: DEBUG - ++ '[' -n '' ']'
2021-07-18 19:04:15,885: DEBUG - ++ '[' -z '' ']'
2021-07-18 19:04:15,885: DEBUG - ++ _OLD_VIRTUAL_PS1='(pgadmin) '
2021-07-18 19:04:15,885: DEBUG - ++ '[' 'x(pgadmin) ' '!=' x ']'
2021-07-18 19:04:15,885: DEBUG - ++ PS1='(pgadmin) (pgadmin) '
2021-07-18 19:04:15,885: DEBUG - ++ export PS1
2021-07-18 19:04:15,885: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2021-07-18 19:04:15,885: DEBUG - ++ hash -r
2021-07-18 19:04:15,885: DEBUG - + set -u
2021-07-18 19:04:15,885: DEBUG - + ynh_replace_special_string --match_string __ADMIN_PASSWORD__ --replace_string ********** --target_file ../conf/setup.exp
2021-07-18 19:04:15,994: DEBUG - + match_string=__ADMIN_PASSWORD__
2021-07-18 19:04:15,994: DEBUG - + replace_string=**********
2021-07-18 19:04:15,994: DEBUG - + match_string=__ADMIN_PASSWORD__
2021-07-18 19:04:15,994: DEBUG - + replace_string=**********
2021-07-18 19:04:15,994: DEBUG - + ynh_replace_string --match_string=__ADMIN_PASSWORD__ '--replace_string=secret --target_file=../conf/setup.exp
2021-07-18 19:04:16,041: DEBUG - + local delimit=@
2021-07-18 19:04:16,042: DEBUG - + match_string=__ADMIN_PASSWORD__
2021-07-18 19:04:16,042: DEBUG - + replace_string=**********
2021-07-18 19:04:16,042: DEBUG - + sed --in-place 's@__ADMIN_PASSWORD__@secret ../conf/setup.exp
2021-07-18 19:04:16,043: DEBUG - + ../conf/setup.exp /opt/yunohost/pgadmin/bin/python3 /opt/yunohost/pgadmin/lib/python3.7/site-packages/pgadmin4/setup.py xxusernamexx@domain2.tld
2021-07-18 19:04:16,055: DEBUG - spawn /opt/yunohost/pgadmin/bin/python3 /opt/yunohost/pgadmin/lib/python3.7/site-packages/pgadmin4/setup.py
2021-07-18 19:04:16,766: DEBUG - NOTE: Configuring authentication for SERVER mode.
2021-07-18 19:04:16,766: DEBUG - 
2021-07-18 19:04:16,766: DEBUG - Enter the email address and password to use for the initial pgAdmin user account:
2021-07-18 19:04:16,767: DEBUG - 
2021-07-18 19:04:16,767: DEBUG - Email address: xxusernamexx@domain2.tld
2021-07-18 19:04:16,767: DEBUG - Password:
2021-07-18 19:04:16,811: DEBUG - + echo '[##############+.....] > Configuring Postgresql database...'
2021-07-18 19:04:16,812: DEBUG - + ynh_psql_test_if_first_run
2021-07-18 19:04:16,812: DEBUG - + dpkg --list
2021-07-18 19:04:16,812: INFO - [##############+.....] > Configuring Postgresql database...
2021-07-18 19:04:16,812: DEBUG - + grep -q 'ii  postgresql-11'
2021-07-18 19:04:16,836: DEBUG - + '[' -e /etc/postgresql/11 ']'
2021-07-18 19:04:16,836: DEBUG - + systemctl is-active postgresql@11-main -q
2021-07-18 19:04:16,840: DEBUG - + systemctl is-enabled postgresql -q
2021-07-18 19:04:16,846: DEBUG - + '[' '!' -f /etc/yunohost/psql ']'
2021-07-18 19:04:16,846: DEBUG - + ynh_psql_execute_as_root --sql 'CREATE USER pgadmin WITH PASSWORD '\''**********'\'' SUPERUSER CREATEDB CREATEROLE REPLICATION'
2021-07-18 19:04:16,873: DEBUG - + database=
2021-07-18 19:04:16,873: DEBUG - + '[' -n '' ']'
2021-07-18 19:04:16,873: DEBUG - ++ cat /etc/yunohost/psql
2021-07-18 19:04:16,875: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2021-07-18 19:04:16,913: DEBUG - + database=
2021-07-18 19:04:16,914: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2021-07-18 19:04:17,052: DEBUG - CREATE ROLE
2021-07-18 19:04:17,057: DEBUG - + ynh_replace_string --match_string __PYTHON_VERSION__ --replace_string 3.7 --target_file config_database.py
2021-07-18 19:04:17,167: DEBUG - + local delimit=@
2021-07-18 19:04:17,167: DEBUG - + match_string=__PYTHON_VERSION__
2021-07-18 19:04:17,167: DEBUG - + replace_string=3.7
2021-07-18 19:04:17,167: DEBUG - + sed --in-place s@__PYTHON_VERSION__@3.7@g config_database.py
2021-07-18 19:04:17,170: DEBUG - + /opt/yunohost/pgadmin/bin/python3 config_database.py pgadmin **********
2021-07-18 19:04:17,204: WARNING - config_database.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
2021-07-18 19:04:17,205: WARNING -   import imp
2021-07-18 19:04:17,205: WARNING - Traceback (most recent call last):
2021-07-18 19:04:17,205: WARNING -   File "config_database.py", line 18, in <module>
2021-07-18 19:04:17,205: WARNING -     cursor = conn.execute('SELECT `password`,1 FROM `user`')
2021-07-18 19:04:17,205: WARNING - sqlite3.OperationalError: no such table: user
2021-07-18 19:04:17,209: DEBUG - + ynh_exit_properly
2021-07-18 19:04:17,210: DEBUG - + local exit_code=1
2021-07-18 19:04:17,210: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-07-18 19:04:17,210: DEBUG - + '[' 1 -eq 0 ']'
2021-07-18 19:04:17,210: DEBUG - + trap '' EXIT
2021-07-18 19:04:17,210: DEBUG - + set +o errexit
2021-07-18 19:04:17,210: DEBUG - + set +o nounset
2021-07-18 19:04:17,210: DEBUG - + sleep 0.5
2021-07-18 19:04:17,712: DEBUG - + type -t ynh_clean_setup
2021-07-18 19:04:17,712: DEBUG - + exit 1
2021-07-18 19:04:18,714: ERROR - Unable to install pgadmin: An error occurred inside the app installation script


I had also some trouble
I finally succeed to install pgadmin trough command line (putty) and login with email adress (not the user name)
sudo yunohost app install -l pgAdmin https://github.com/YunoHost-Apps/pgadmin_ynh