"Corrupt source" when installing Listmonk

Hello,

Here are the logs.
Many thanks for support :slight_smile:

args:
  app: listmonk
  force: false
  label: Listmonk
  no_remove_on_failure: false
ended_at: 2023-01-06 18:00:06.959275
env:
  YNH_APP_ARG_ADMIN: user
  YNH_APP_ARG_DOMAIN: list.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30
  YNH_APP_ID: listmonk
  YNH_APP_INSTANCE_NAME: listmonk
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 2.2.0~ynh1
  YNH_ARCH: armhf
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:
- - app
  - listmonk
started_at: 2023-01-06 17:57:13.206609
success: false
yunohost_version: 11.0.10.2

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

2023-01-06 17:57:13,227: INFO - Installation de listmonk...
2023-01-06 17:57:13,451: DEBUG - Nothing to update in LDAP
2023-01-06 17:57:13,452: DEBUG - Permission 'listmonk.main' mise à jour
2023-01-06 17:57:13,586: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20230106-175713-permission_url-listmonk" style="text-decoration:underline"> Mise à jour de l'URL associée à l'autorisation 'listmonk' </a>'
2023-01-06 17:57:15,359: DEBUG - The permission database has been resynchronized
2023-01-06 17:57:15,584: DEBUG - La configuration de SSOwat a été regénérée
2023-01-06 17:57:15,736: DEBUG - Permission 'listmonk.main' créée
2023-01-06 17:57:15,737: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20230106-175713-permission_create-listmonk" style="text-decoration:underline"> Créer permission 'listmonk' </a>'
2023-01-06 17:57:15,776: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2023-01-06 17:57:15,799: DEBUG - + source _common.sh
2023-01-06 17:57:15,800: DEBUG - ++ pkg_dependencies=postgresql
2023-01-06 17:57:15,801: DEBUG - ++ nodejs_version=16
2023-01-06 17:57:15,801: DEBUG - ++ GO_VERSION=1.18
2023-01-06 17:57:15,802: DEBUG - + source ynh_install_go
2023-01-06 17:57:15,802: DEBUG - ++ goenv_install_dir=/opt/goenv
2023-01-06 17:57:15,803: DEBUG - ++ go_version_path=/opt/goenv/versions
2023-01-06 17:57:15,803: DEBUG - ++ export GOENV_ROOT=/opt/goenv
2023-01-06 17:57:15,804: DEBUG - ++ GOENV_ROOT=/opt/goenv
2023-01-06 17:57:15,804: DEBUG - + source /usr/share/yunohost/helpers
2023-01-06 17:57:15,805: DEBUG - +++ set +o
2023-01-06 17:57:15,805: DEBUG - +++ grep xtrace
2023-01-06 17:57:15,808: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-01-06 17:57:15,809: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-01-06 17:57:15,850: DEBUG - + ynh_abort_if_errors
2023-01-06 17:57:15,851: DEBUG - + trap ynh_exit_properly EXIT
2023-01-06 17:57:15,852: DEBUG - + domain=list.maindomain.tld
2023-01-06 17:57:15,852: DEBUG - + path_url=/
2023-01-06 17:57:15,852: DEBUG - + is_public=1
2023-01-06 17:57:15,853: DEBUG - + admin=user
2023-01-06 17:57:15,853: DEBUG - + password='**********'
2023-01-06 17:57:15,853: DEBUG - + app=listmonk
2023-01-06 17:57:16,094: INFO - [....................] > Validating installation parameters...
2023-01-06 17:57:16,097: DEBUG - + '[' armhf == i386 ']'
2023-01-06 17:57:16,097: DEBUG - + '[' armhf == armel ']'
2023-01-06 17:57:16,097: DEBUG - + final_path=/var/www/listmonk
2023-01-06 17:57:16,098: DEBUG - + test '!' -e /var/www/listmonk
2023-01-06 17:57:16,098: DEBUG - + ynh_webpath_register --app=listmonk --domain=list.maindomain.tld --path_url=/
2023-01-06 17:57:16,286: DEBUG - + yunohost app register-url listmonk list.maindomain.tld /
2023-01-06 17:57:19,106: INFO - [+...................] > Storing installation settings...
2023-01-06 17:57:19,108: DEBUG - + ynh_app_setting_set --app=listmonk --key=domain --value=list.maindomain.tld
2023-01-06 17:57:19,108: DEBUG - + local _globalapp=listmonk
2023-01-06 17:57:19,298: DEBUG - + app=listmonk
2023-01-06 17:57:19,299: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:57:19,299: DEBUG - + ynh_app_setting set listmonk domain list.maindomain.tld
2023-01-06 17:57:19,451: DEBUG - + ynh_app_setting_set --app=listmonk --key=path --value=/
2023-01-06 17:57:19,452: DEBUG - + local _globalapp=listmonk
2023-01-06 17:57:19,644: DEBUG - + app=listmonk
2023-01-06 17:57:19,645: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:57:19,645: DEBUG - + ynh_app_setting set listmonk path /
2023-01-06 17:57:19,823: DEBUG - + ynh_app_setting_set --app=listmonk --key=admin --value=user
2023-01-06 17:57:19,824: DEBUG - + local _globalapp=listmonk
2023-01-06 17:57:20,015: DEBUG - + app=listmonk
2023-01-06 17:57:20,016: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:57:20,016: DEBUG - + ynh_app_setting set listmonk admin user
2023-01-06 17:57:20,160: DEBUG - + ynh_app_setting_set --app=listmonk --key=password '--value=**********'
2023-01-06 17:57:20,160: DEBUG - + local _globalapp=listmonk
2023-01-06 17:57:20,353: DEBUG - + app=listmonk
2023-01-06 17:57:20,353: DEBUG - + [[ password =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:57:20,354: DEBUG - + ynh_app_setting set listmonk password '**********'
2023-01-06 17:57:20,770: INFO - [#...................] > Finding an available port...
2023-01-06 17:57:20,772: DEBUG - ++ ynh_find_port --port=8095
2023-01-06 17:57:20,803: DEBUG - ++ test -n 8095
2023-01-06 17:57:20,804: DEBUG - ++ ynh_port_available --port=8095
2023-01-06 17:57:20,834: DEBUG - ++ ss --numeric --listening --tcp --udp
2023-01-06 17:57:20,835: DEBUG - ++ awk '{print$5}'
2023-01-06 17:57:20,836: DEBUG - ++ grep --quiet --extended-regexp ':8095$'
2023-01-06 17:57:20,872: DEBUG - ++ grep -q 'port: '\''8095'\''' /etc/yunohost/apps/listmonk/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/rainloop/settings.yml
2023-01-06 17:57:20,876: DEBUG - ++ return 0
2023-01-06 17:57:20,876: DEBUG - ++ echo 8095
2023-01-06 17:57:20,877: DEBUG - + port=8095
2023-01-06 17:57:20,878: DEBUG - + ynh_app_setting_set --app=listmonk --key=port --value=8095
2023-01-06 17:57:20,878: DEBUG - + local _globalapp=listmonk
2023-01-06 17:57:21,075: DEBUG - + app=listmonk
2023-01-06 17:57:21,075: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:57:21,076: DEBUG - + ynh_app_setting set listmonk port 8095
2023-01-06 17:57:21,455: INFO - [#++++++++...........] > Installing dependencies...
2023-01-06 17:57:21,457: DEBUG - + ynh_exec_warn_less ynh_install_app_dependencies postgresql
2023-01-06 17:57:21,457: DEBUG - + [[ 2 -eq 1 ]]
2023-01-06 17:57:21,458: DEBUG - + ynh_install_app_dependencies postgresql
2023-01-06 17:57:21,459: DEBUG - + local dependencies=postgresql
2023-01-06 17:57:21,459: DEBUG - ++ echo postgresql
2023-01-06 17:57:21,460: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2023-01-06 17:57:21,468: DEBUG - + dependencies=postgresql
2023-01-06 17:57:21,469: DEBUG - + local dependencies=postgresql
2023-01-06 17:57:21,470: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/manifest.json
2023-01-06 17:57:21,471: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/manifest.json
2023-01-06 17:57:21,623: DEBUG - + local version=2.2.0~ynh1
2023-01-06 17:57:21,624: DEBUG - + '[' -z 2.2.0~ynh1 ']'
2023-01-06 17:57:21,624: DEBUG - + '[' 2.2.0~ynh1 == null ']'
2023-01-06 17:57:21,625: DEBUG - + local dep_app=listmonk
2023-01-06 17:57:21,625: DEBUG - + [[ postgresql =~ [<=>] ]]
2023-01-06 17:57:21,627: DEBUG - ++ echo postgresql
2023-01-06 17:57:21,627: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2023-01-06 17:57:21,629: DEBUG - ++ sort -u
2023-01-06 17:57:21,634: DEBUG - + local specific_php_version=
2023-01-06 17:57:21,635: DEBUG - + grep --quiet php
2023-01-06 17:57:21,641: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-01-06 17:57:21,670: DEBUG - ++ ynh_wait_dpkg_free
2023-01-06 17:57:22,051: DEBUG - ++ return 0
2023-01-06 17:57:22,052: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-01-06 17:57:22,053: DEBUG - ++ grep --count 'ok installed'
2023-01-06 17:57:22,095: DEBUG - ++ echo yes
2023-01-06 17:57:22,096: DEBUG - + local psql_installed=yes
2023-01-06 17:57:22,096: DEBUG - + [[ true == \t\r\u\e ]]
2023-01-06 17:57:22,097: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2023-01-06 17:57:22,097: DEBUG - + cat
2023-01-06 17:57:22,100: DEBUG - + ynh_package_install_from_equivs /tmp/listmonk-ynh-deps.control
2023-01-06 17:57:22,101: DEBUG - + local controlfile=/tmp/listmonk-ynh-deps.control
2023-01-06 17:57:22,104: DEBUG - ++ grep '^Package: ' /tmp/listmonk-ynh-deps.control
2023-01-06 17:57:22,104: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-01-06 17:57:22,109: DEBUG - + local pkgname=listmonk-ynh-deps
2023-01-06 17:57:22,112: DEBUG - ++ grep '^Version: ' /tmp/listmonk-ynh-deps.control
2023-01-06 17:57:22,113: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-01-06 17:57:22,118: DEBUG - + local pkgversion=2.2.0~ynh1
2023-01-06 17:57:22,119: DEBUG - + [[ -z listmonk-ynh-deps ]]
2023-01-06 17:57:22,120: DEBUG - + [[ -z 2.2.0~ynh1 ]]
2023-01-06 17:57:22,120: DEBUG - + ynh_package_update
2023-01-06 17:57:22,120: DEBUG - + ynh_apt update
2023-01-06 17:57:22,121: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:57:22,512: DEBUG - + return 0
2023-01-06 17:57:22,513: DEBUG - + LC_ALL=C
2023-01-06 17:57:22,513: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-01-06 17:57:22,514: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-01-06 17:57:22,827: DEBUG - Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
2023-01-06 17:57:22,864: DEBUG - Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
2023-01-06 17:57:22,934: DEBUG - Get:3 http://forge.yunohost.org/debian bullseye InRelease [18.4 kB]
2023-01-06 17:57:22,993: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2023-01-06 17:57:24,088: DEBUG - Fetched 33.3 kB in 1s (23.1 kB/s)
2023-01-06 17:57:27,995: DEBUG - Reading package lists...
2023-01-06 17:57:28,092: DEBUG - ++ mktemp --directory
2023-01-06 17:57:28,097: DEBUG - + local TMPDIR=/tmp/tmp.W5fuh5czpH
2023-01-06 17:57:28,098: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2023-01-06 17:57:28,824: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:57:29,253: DEBUG - + return 0
2023-01-06 17:57:29,254: DEBUG - + cp /tmp/listmonk-ynh-deps.control /tmp/tmp.W5fuh5czpH/control
2023-01-06 17:57:29,260: DEBUG - + cd /tmp/tmp.W5fuh5czpH
2023-01-06 17:57:29,261: DEBUG - + LC_ALL=C
2023-01-06 17:57:29,261: DEBUG - + equivs-build ./control
2023-01-06 17:57:29,840: DEBUG - dpkg-buildpackage: info: source package listmonk-ynh-deps
2023-01-06 17:57:29,841: DEBUG - dpkg-buildpackage: info: source version 2.2.0~ynh1
2023-01-06 17:57:29,841: DEBUG - dpkg-buildpackage: info: source distribution unstable
2023-01-06 17:57:29,841: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2023-01-06 17:57:29,979: DEBUG -  dpkg-source --before-build .
2023-01-06 17:57:29,980: DEBUG - dpkg-buildpackage: info: host architecture armhf
2023-01-06 17:57:30,362: DEBUG -  debian/rules clean
2023-01-06 17:57:30,367: DEBUG - dh clean
2023-01-06 17:57:30,675: DEBUG -    dh_clean
2023-01-06 17:57:30,790: DEBUG -  debian/rules binary
2023-01-06 17:57:30,795: DEBUG - dh binary
2023-01-06 17:57:31,029: DEBUG -    dh_update_autotools_config
2023-01-06 17:57:31,129: DEBUG -    dh_autoreconf
2023-01-06 17:57:31,278: DEBUG -    create-stamp debian/debhelper-build-stamp
2023-01-06 17:57:31,279: DEBUG -    dh_prep
2023-01-06 17:57:31,415: DEBUG -    dh_install
2023-01-06 17:57:31,533: DEBUG -    dh_installdocs
2023-01-06 17:57:31,667: DEBUG -    dh_installchangelogs
2023-01-06 17:57:31,987: DEBUG -    dh_perl
2023-01-06 17:57:32,116: DEBUG -    dh_link
2023-01-06 17:57:32,268: DEBUG -    dh_strip_nondeterminism
2023-01-06 17:57:32,642: DEBUG -    dh_compress
2023-01-06 17:57:32,784: DEBUG -    dh_fixperms
2023-01-06 17:57:34,350: DEBUG -    dh_missing
2023-01-06 17:57:34,445: DEBUG -    dh_installdeb
2023-01-06 17:57:34,564: DEBUG -    dh_gencontrol
2023-01-06 17:57:34,993: DEBUG -    dh_md5sums
2023-01-06 17:57:35,118: DEBUG -    dh_builddeb
2023-01-06 17:57:35,215: DEBUG - dpkg-deb: building package 'listmonk-ynh-deps' in '../listmonk-ynh-deps_2.2.0~ynh1_all.deb'.
2023-01-06 17:57:35,308: DEBUG -  dpkg-genbuildinfo --build=binary
2023-01-06 17:57:37,542: DEBUG -  dpkg-genchanges --build=binary >../listmonk-ynh-deps_2.2.0~ynh1_armhf.changes
2023-01-06 17:57:37,825: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2023-01-06 17:57:37,833: DEBUG -  dpkg-source --after-build .
2023-01-06 17:57:38,191: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2023-01-06 17:57:38,205: DEBUG - 
2023-01-06 17:57:38,205: DEBUG - The package has been created.
2023-01-06 17:57:38,206: DEBUG - Attention, the package has been created in the current directory,
2023-01-06 17:57:38,207: DEBUG - not in ".." as indicated by the message above!
2023-01-06 17:57:38,210: DEBUG - + LC_ALL=C
2023-01-06 17:57:38,211: DEBUG - + dpkg --force-depends --install ./listmonk-ynh-deps_2.2.0~ynh1_all.deb
2023-01-06 17:57:38,211: DEBUG - + tee ./dpkg_log
2023-01-06 17:57:38,340: DEBUG - Selecting previously unselected package listmonk-ynh-deps.
2023-01-06 17:57:38,456: DEBUG - (Reading database ... 63554 files and directories currently installed.)
2023-01-06 17:57:38,463: DEBUG - Preparing to unpack .../listmonk-ynh-deps_2.2.0~ynh1_all.deb ...
2023-01-06 17:57:38,476: DEBUG - Unpacking listmonk-ynh-deps (2.2.0~ynh1) ...
2023-01-06 17:57:38,563: DEBUG - dpkg: listmonk-ynh-deps: dependency problems, but configuring anyway as you requested:
2023-01-06 17:57:38,564: DEBUG -  listmonk-ynh-deps depends on postgresql; however:
2023-01-06 17:57:38,564: DEBUG -   Package postgresql is not installed.
2023-01-06 17:57:38,564: DEBUG - 
2023-01-06 17:57:38,564: DEBUG - Setting up listmonk-ynh-deps (2.2.0~ynh1) ...
2023-01-06 17:57:38,686: DEBUG - + ynh_package_install --fix-broken
2023-01-06 17:57:38,687: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-01-06 17:57:38,687: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:57:39,078: DEBUG - + return 0
2023-01-06 17:57:39,078: DEBUG - + LC_ALL=C
2023-01-06 17:57:39,079: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-01-06 17:57:39,079: 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
2023-01-06 17:57:39,886: DEBUG - Reading package lists...
2023-01-06 17:57:40,470: DEBUG - Building dependency tree...
2023-01-06 17:57:40,473: DEBUG - Reading state information...
2023-01-06 17:57:41,004: DEBUG - Correcting dependencies... Done
2023-01-06 17:57:41,819: DEBUG - The following additional packages will be installed:
2023-01-06 17:57:41,821: DEBUG -   postgresql
2023-01-06 17:57:41,826: DEBUG - Suggested packages:
2023-01-06 17:57:41,827: DEBUG -   postgresql-doc
2023-01-06 17:57:43,545: DEBUG - The following NEW packages will be installed:
2023-01-06 17:57:43,547: DEBUG -   postgresql
2023-01-06 17:57:49,058: DEBUG - 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
2023-01-06 17:57:49,080: DEBUG - Need to get 0 B/64.7 kB of archives.
2023-01-06 17:57:49,080: DEBUG - After this operation, 69.6 kB of additional disk space will be used.
2023-01-06 17:57:49,170: DEBUG - Selecting previously unselected package postgresql.
2023-01-06 17:57:49,290: DEBUG - (Reading database ... 63558 files and directories currently installed.)
2023-01-06 17:57:49,296: DEBUG - Preparing to unpack .../postgresql_13+225_all.deb ...
2023-01-06 17:57:49,320: DEBUG - Unpacking postgresql (13+225) ...
2023-01-06 17:57:50,041: DEBUG - Setting up postgresql (13+225) ...
2023-01-06 17:57:51,237: DEBUG - + [[ -n /tmp/tmp.W5fuh5czpH ]]
2023-01-06 17:57:51,237: DEBUG - + rm --recursive --force /tmp/tmp.W5fuh5czpH
2023-01-06 17:57:51,241: DEBUG - + ynh_package_is_installed listmonk-ynh-deps
2023-01-06 17:57:51,269: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:57:51,657: DEBUG - + return 0
2023-01-06 17:57:51,660: DEBUG - + dpkg-query --show '--showformat=${Status}' listmonk-ynh-deps
2023-01-06 17:57:51,661: DEBUG - + grep --count 'ok installed'
2023-01-06 17:57:51,709: DEBUG - + rm /tmp/listmonk-ynh-deps.control
2023-01-06 17:57:51,715: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-01-06 17:57:51,747: DEBUG - ++ ynh_wait_dpkg_free
2023-01-06 17:57:52,089: DEBUG - ++ return 0
2023-01-06 17:57:52,091: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-01-06 17:57:52,092: DEBUG - ++ grep --count 'ok installed'
2023-01-06 17:57:52,134: DEBUG - ++ echo yes
2023-01-06 17:57:52,137: DEBUG - + local psql_installed2=yes
2023-01-06 17:57:52,137: DEBUG - + [[ yes != \y\e\s ]]
2023-01-06 17:57:52,138: DEBUG - + '[' armhf == armhf ']'
2023-01-06 17:57:52,138: DEBUG - + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=16
2023-01-06 17:57:52,138: DEBUG - + [[ 2 -eq 1 ]]
2023-01-06 17:57:52,139: DEBUG - + ynh_install_nodejs --nodejs_version=16
2023-01-06 17:57:52,169: DEBUG - + mkdir --parents /opt/node_n
2023-01-06 17:57:52,173: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:57:52,176: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:57:52,177: DEBUG - ++ sed s@/usr/local/bin:@@
2023-01-06 17:57:52,183: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:57:52,184: DEBUG - + test -x /usr/bin/node
2023-01-06 17:57:52,184: DEBUG - + test -x /usr/bin/npm
2023-01-06 17:57:52,185: DEBUG - + /opt/node_n/bin/n --version
2023-01-06 17:57:52,202: DEBUG - ++ /opt/node_n/bin/n --version
2023-01-06 17:57:52,218: DEBUG - + dpkg --compare-versions v8.0.1 lt 8.2.0
2023-01-06 17:57:52,222: DEBUG - dpkg: warning: version 'v8.0.1' has bad syntax: version number does not start with digit
2023-01-06 17:57:52,223: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2023-01-06 17:57:52,420: DEBUG - + sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
2023-01-06 17:57:52,426: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:57:52,427: DEBUG - + test -x /usr/bin/node_n
2023-01-06 17:57:52,428: DEBUG - + test -x /usr/bin/npm_n
2023-01-06 17:57:52,429: DEBUG - ++ uname --machine
2023-01-06 17:57:52,432: DEBUG - + uname=armv7l
2023-01-06 17:57:52,433: DEBUG - + [[ armv7l =~ aarch64 ]]
2023-01-06 17:57:52,433: DEBUG - + [[ armv7l =~ arm64 ]]
2023-01-06 17:57:52,434: DEBUG - + n 16
2023-01-06 17:58:17,839: DEBUG -    installed : v16.19.0 (with npm 8.19.3)
2023-01-06 17:58:17,843: DEBUG - ++ sort --version-sort
2023-01-06 17:58:17,843: DEBUG - ++ find /opt/node_n/n/versions/node/16 /opt/node_n/n/versions/node/16.17.0 /opt/node_n/n/versions/node/16.19.0 -maxdepth 0
2023-01-06 17:58:17,844: DEBUG - ++ tail --lines=1
2023-01-06 17:58:17,851: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/16.19.0
2023-01-06 17:58:17,852: DEBUG - ++ basename /opt/node_n/n/versions/node/16.19.0
2023-01-06 17:58:17,859: DEBUG - + real_nodejs_version=16.19.0
2023-01-06 17:58:17,859: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/16 ']'
2023-01-06 17:58:17,860: DEBUG - + echo listmonk:16
2023-01-06 17:58:17,861: DEBUG - + tee --append /opt/node_n/ynh_app_version
2023-01-06 17:58:17,863: DEBUG - listmonk:16
2023-01-06 17:58:17,866: DEBUG - + ynh_app_setting_set --app=listmonk --key=nodejs_version --value=16
2023-01-06 17:58:17,866: DEBUG - + local _globalapp=listmonk
2023-01-06 17:58:18,068: DEBUG - + app=listmonk
2023-01-06 17:58:18,069: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:58:18,070: DEBUG - + ynh_app_setting set listmonk nodejs_version 16
2023-01-06 17:58:18,214: DEBUG - + ynh_cron_upgrade_node
2023-01-06 17:58:18,215: DEBUG - + cat
2023-01-06 17:58:18,218: DEBUG - + chmod +x /opt/node_n/node_update.sh
2023-01-06 17:58:18,222: DEBUG - + cat
2023-01-06 17:58:18,226: DEBUG - + chmod +x /etc/cron.daily/node_update
2023-01-06 17:58:18,229: DEBUG - + ynh_use_nodejs
2023-01-06 17:58:18,231: DEBUG - ++ ynh_app_setting_get --app=listmonk --key=nodejs_version
2023-01-06 17:58:18,232: DEBUG - ++ local _globalapp=listmonk
2023-01-06 17:58:18,326: DEBUG - ++ app=listmonk
2023-01-06 17:58:18,326: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:58:18,327: DEBUG - ++ ynh_app_setting get listmonk nodejs_version
2023-01-06 17:58:18,473: DEBUG - + nodejs_version=16
2023-01-06 17:58:18,474: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/16/bin
2023-01-06 17:58:18,474: DEBUG - + shopt -s expand_aliases
2023-01-06 17:58:18,474: DEBUG - + ynh_node=/opt/node_n/n/versions/node/16/bin/node
2023-01-06 17:58:18,475: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/16/bin/node
2023-01-06 17:58:18,475: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/16/bin/npm
2023-01-06 17:58:18,475: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/16/bin/npm
2023-01-06 17:58:18,476: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: != *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\1\6\/\b\i\n* ]]
2023-01-06 17:58:18,476: DEBUG - + PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:58:18,477: DEBUG - + node_PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:58:18,477: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:58:18,477: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:58:18,478: DEBUG - + ynh_install_extra_app_dependencies '--repo=deb https://dl.yarnpkg.com/debian/ stable main' --package=yarn --key=https://dl.yarnpkg.com/debian/pubkey.gpg
2023-01-06 17:58:18,736: DEBUG - + name=listmonk
2023-01-06 17:58:18,736: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2023-01-06 17:58:18,737: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
2023-01-06 17:58:18,737: DEBUG - + key=--key=https://dl.yarnpkg.com/debian/pubkey.gpg
2023-01-06 17:58:18,738: DEBUG - + ynh_install_extra_repo '--repo=deb https://dl.yarnpkg.com/debian/ stable main' --key=https://dl.yarnpkg.com/debian/pubkey.gpg --priority=995 --name=listmonk
2023-01-06 17:58:19,311: DEBUG - + name=listmonk
2023-01-06 17:58:19,312: DEBUG - + append=0
2023-01-06 17:58:19,312: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2023-01-06 17:58:19,313: DEBUG - + priority=995
2023-01-06 17:58:19,313: DEBUG - + append=
2023-01-06 17:58:19,314: DEBUG - + wget_append=tee
2023-01-06 17:58:19,314: DEBUG - + repo='https://dl.yarnpkg.com/debian/ stable main'
2023-01-06 17:58:19,315: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
2023-01-06 17:58:19,315: DEBUG - ++ awk '{ print $1 }'
2023-01-06 17:58:19,324: DEBUG - + local uri=https://dl.yarnpkg.com/debian/
2023-01-06 17:58:19,327: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
2023-01-06 17:58:19,327: DEBUG - ++ awk '{ print $2 }'
2023-01-06 17:58:19,337: DEBUG - + local suite=stable
2023-01-06 17:58:19,338: DEBUG - + local component=main
2023-01-06 17:58:19,338: DEBUG - + ynh_add_repo --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=listmonk
2023-01-06 17:58:19,750: DEBUG - + name=listmonk
2023-01-06 17:58:19,751: DEBUG - + append=0
2023-01-06 17:58:19,752: DEBUG - + append=tee
2023-01-06 17:58:19,752: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2023-01-06 17:58:19,757: DEBUG - + tee /etc/apt/sources.list.d/listmonk.list
2023-01-06 17:58:19,762: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
2023-01-06 17:58:19,763: DEBUG - + local pin=dl.yarnpkg.com/debian/
2023-01-06 17:58:19,763: DEBUG - + pin=dl.yarnpkg.com
2023-01-06 17:58:19,764: DEBUG - + '[' -n 995 ']'
2023-01-06 17:58:19,764: DEBUG - + priority=--priority=995
2023-01-06 17:58:19,764: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "dl.yarnpkg.com"' --priority=995 --name=listmonk
2023-01-06 17:58:20,292: DEBUG - + package='*'
2023-01-06 17:58:20,293: DEBUG - + priority=995
2023-01-06 17:58:20,293: DEBUG - + name=listmonk
2023-01-06 17:58:20,294: DEBUG - + append=0
2023-01-06 17:58:20,295: DEBUG - + append=tee
2023-01-06 17:58:20,296: DEBUG - + [[ listmonk != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2023-01-06 17:58:20,296: DEBUG - + mkdir --parents /etc/apt/preferences.d
2023-01-06 17:58:20,302: DEBUG - Pin: origin "dl.yarnpkg.com"
2023-01-06 17:58:20,303: DEBUG - Pin-Priority: 995
2023-01-06 17:58:20,303: DEBUG - '
2023-01-06 17:58:20,304: DEBUG - + tee /etc/apt/preferences.d/listmonk
2023-01-06 17:58:20,309: DEBUG - Package: *
2023-01-06 17:58:20,310: DEBUG - Pin: origin "dl.yarnpkg.com"
2023-01-06 17:58:20,310: DEBUG - Pin-Priority: 995
2023-01-06 17:58:20,311: DEBUG - 
2023-01-06 17:58:20,312: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
2023-01-06 17:58:20,312: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2023-01-06 17:58:20,325: DEBUG - + wget --timeout 900 --quiet https://dl.yarnpkg.com/debian/pubkey.gpg --output-document=-
2023-01-06 17:58:20,326: DEBUG - + gpg --dearmor
2023-01-06 17:58:20,327: DEBUG - + tee /etc/apt/trusted.gpg.d/listmonk.gpg
2023-01-06 17:58:20,695: DEBUG - + ynh_package_update
2023-01-06 17:58:20,695: DEBUG - + ynh_apt update
2023-01-06 17:58:20,696: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:58:21,044: DEBUG - + return 0
2023-01-06 17:58:21,044: DEBUG - + LC_ALL=C
2023-01-06 17:58:21,045: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-01-06 17:58:21,045: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-01-06 17:58:21,350: DEBUG - Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
2023-01-06 17:58:21,351: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
2023-01-06 17:58:21,351: DEBUG - Hit:3 http://forge.yunohost.org/debian bullseye InRelease
2023-01-06 17:58:21,462: DEBUG - Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
2023-01-06 17:58:21,536: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2023-01-06 17:58:22,715: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable/main armhf Packages [10.9 kB]
2023-01-06 17:58:22,785: DEBUG - Get:7 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB]
2023-01-06 17:58:22,897: DEBUG - Fetched 38.9 kB in 2s (23.2 kB/s)
2023-01-06 17:58:26,187: DEBUG - Reading package lists...
2023-01-06 17:58:26,285: DEBUG - + ynh_install_app_dependencies yarn
2023-01-06 17:58:26,285: DEBUG - + local dependencies=yarn
2023-01-06 17:58:26,287: DEBUG - ++ echo yarn
2023-01-06 17:58:26,288: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2023-01-06 17:58:26,296: DEBUG - + dependencies=yarn
2023-01-06 17:58:26,297: DEBUG - + local dependencies=yarn
2023-01-06 17:58:26,297: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/manifest.json
2023-01-06 17:58:26,298: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/manifest.json
2023-01-06 17:58:26,399: DEBUG - + local version=2.2.0~ynh1
2023-01-06 17:58:26,400: DEBUG - + '[' -z 2.2.0~ynh1 ']'
2023-01-06 17:58:26,400: DEBUG - + '[' 2.2.0~ynh1 == null ']'
2023-01-06 17:58:26,401: DEBUG - + local dep_app=listmonk
2023-01-06 17:58:26,401: DEBUG - + [[ yarn =~ [<=>] ]]
2023-01-06 17:58:26,402: DEBUG - ++ echo yarn
2023-01-06 17:58:26,403: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2023-01-06 17:58:26,404: DEBUG - ++ sort -u
2023-01-06 17:58:26,411: DEBUG - + local specific_php_version=
2023-01-06 17:58:26,412: DEBUG - + grep --quiet php
2023-01-06 17:58:26,417: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-01-06 17:58:26,449: DEBUG - ++ ynh_wait_dpkg_free
2023-01-06 17:58:26,819: DEBUG - ++ return 0
2023-01-06 17:58:26,822: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-01-06 17:58:26,822: DEBUG - ++ grep --count 'ok installed'
2023-01-06 17:58:26,865: DEBUG - ++ echo yes
2023-01-06 17:58:26,868: DEBUG - + local psql_installed=yes
2023-01-06 17:58:26,868: DEBUG - + [[ false == \t\r\u\e ]]
2023-01-06 17:58:26,869: DEBUG - + local current_dependencies=
2023-01-06 17:58:26,869: DEBUG - + ynh_package_is_installed --package=listmonk-ynh-deps
2023-01-06 17:58:26,898: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:58:27,268: DEBUG - + return 0
2023-01-06 17:58:27,271: DEBUG - + dpkg-query --show '--showformat=${Status}' listmonk-ynh-deps
2023-01-06 17:58:27,272: DEBUG - + grep --count 'ok installed'
2023-01-06 17:58:27,316: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' listmonk-ynh-deps
2023-01-06 17:58:27,359: DEBUG - + current_dependencies='postgresql '
2023-01-06 17:58:27,359: DEBUG - + current_dependencies='postgresql '
2023-01-06 17:58:27,360: DEBUG - + dependencies='postgresql , yarn'
2023-01-06 17:58:27,360: DEBUG - + cat
2023-01-06 17:58:27,364: DEBUG - + ynh_package_install_from_equivs /tmp/listmonk-ynh-deps.control
2023-01-06 17:58:27,364: DEBUG - + local controlfile=/tmp/listmonk-ynh-deps.control
2023-01-06 17:58:27,367: DEBUG - ++ grep '^Package: ' /tmp/listmonk-ynh-deps.control
2023-01-06 17:58:27,368: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-01-06 17:58:27,374: DEBUG - + local pkgname=listmonk-ynh-deps
2023-01-06 17:58:27,377: DEBUG - ++ grep '^Version: ' /tmp/listmonk-ynh-deps.control
2023-01-06 17:58:27,378: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-01-06 17:58:27,384: DEBUG - + local pkgversion=2.2.0~ynh1
2023-01-06 17:58:27,385: DEBUG - + [[ -z listmonk-ynh-deps ]]
2023-01-06 17:58:27,385: DEBUG - + [[ -z 2.2.0~ynh1 ]]
2023-01-06 17:58:27,385: DEBUG - + ynh_package_update
2023-01-06 17:58:27,386: DEBUG - + ynh_apt update
2023-01-06 17:58:27,386: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:58:27,747: DEBUG - + return 0
2023-01-06 17:58:27,748: DEBUG - + LC_ALL=C
2023-01-06 17:58:27,748: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-01-06 17:58:27,749: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-01-06 17:58:31,897: DEBUG - Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
2023-01-06 17:58:31,898: DEBUG - Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
2023-01-06 17:58:31,899: DEBUG - Hit:3 http://forge.yunohost.org/debian bullseye InRelease
2023-01-06 17:58:31,905: DEBUG - Hit:4 https://dl.yarnpkg.com/debian stable InRelease
2023-01-06 17:58:32,029: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2023-01-06 17:58:42,583: DEBUG - Reading package lists...
2023-01-06 17:58:42,680: DEBUG - ++ mktemp --directory
2023-01-06 17:58:42,686: DEBUG - + local TMPDIR=/tmp/tmp.R1OfHsGShU
2023-01-06 17:58:42,687: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2023-01-06 17:58:42,690: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:58:43,019: DEBUG - + return 0
2023-01-06 17:58:43,020: DEBUG - + cp /tmp/listmonk-ynh-deps.control /tmp/tmp.R1OfHsGShU/control
2023-01-06 17:58:43,026: DEBUG - + cd /tmp/tmp.R1OfHsGShU
2023-01-06 17:58:43,027: DEBUG - + LC_ALL=C
2023-01-06 17:58:43,027: DEBUG - + equivs-build ./control
2023-01-06 17:58:43,499: DEBUG - dpkg-buildpackage: info: source package listmonk-ynh-deps
2023-01-06 17:58:43,500: DEBUG - dpkg-buildpackage: info: source version 2.2.0~ynh1
2023-01-06 17:58:43,500: DEBUG - dpkg-buildpackage: info: source distribution unstable
2023-01-06 17:58:43,501: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2023-01-06 17:58:43,622: DEBUG -  dpkg-source --before-build .
2023-01-06 17:58:43,622: DEBUG - dpkg-buildpackage: info: host architecture armhf
2023-01-06 17:58:44,010: DEBUG -  debian/rules clean
2023-01-06 17:58:44,021: DEBUG - dh clean
2023-01-06 17:58:44,288: DEBUG -    dh_clean
2023-01-06 17:58:44,403: DEBUG -  debian/rules binary
2023-01-06 17:58:44,408: DEBUG - dh binary
2023-01-06 17:58:44,641: DEBUG -    dh_update_autotools_config
2023-01-06 17:58:44,740: DEBUG -    dh_autoreconf
2023-01-06 17:58:44,882: DEBUG -    create-stamp debian/debhelper-build-stamp
2023-01-06 17:58:44,883: DEBUG -    dh_prep
2023-01-06 17:58:44,982: DEBUG -    dh_install
2023-01-06 17:58:45,098: DEBUG -    dh_installdocs
2023-01-06 17:58:45,233: DEBUG -    dh_installchangelogs
2023-01-06 17:58:45,556: DEBUG -    dh_perl
2023-01-06 17:58:45,682: DEBUG -    dh_link
2023-01-06 17:58:45,799: DEBUG -    dh_strip_nondeterminism
2023-01-06 17:58:46,011: DEBUG -    dh_compress
2023-01-06 17:58:46,185: DEBUG -    dh_fixperms
2023-01-06 17:58:46,326: DEBUG -    dh_missing
2023-01-06 17:58:46,416: DEBUG -    dh_installdeb
2023-01-06 17:58:46,533: DEBUG -    dh_gencontrol
2023-01-06 17:58:46,982: DEBUG -    dh_md5sums
2023-01-06 17:58:47,104: DEBUG -    dh_builddeb
2023-01-06 17:58:47,196: DEBUG - dpkg-deb: building package 'listmonk-ynh-deps' in '../listmonk-ynh-deps_2.2.0~ynh1_all.deb'.
2023-01-06 17:58:47,276: DEBUG -  dpkg-genbuildinfo --build=binary
2023-01-06 17:58:48,562: DEBUG -  dpkg-genchanges --build=binary >../listmonk-ynh-deps_2.2.0~ynh1_armhf.changes
2023-01-06 17:58:48,844: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2023-01-06 17:58:48,853: DEBUG -  dpkg-source --after-build .
2023-01-06 17:58:49,205: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2023-01-06 17:58:54,637: DEBUG - 
2023-01-06 17:58:54,637: DEBUG - The package has been created.
2023-01-06 17:58:54,638: DEBUG - Attention, the package has been created in the current directory,
2023-01-06 17:58:54,638: DEBUG - not in ".." as indicated by the message above!
2023-01-06 17:58:54,647: DEBUG - + LC_ALL=C
2023-01-06 17:58:54,648: DEBUG - + dpkg --force-depends --install ./listmonk-ynh-deps_2.2.0~ynh1_all.deb
2023-01-06 17:58:54,649: DEBUG - + tee ./dpkg_log
2023-01-06 17:58:54,864: DEBUG - (Reading database ... 63561 files and directories currently installed.)
2023-01-06 17:58:54,870: DEBUG - Preparing to unpack .../listmonk-ynh-deps_2.2.0~ynh1_all.deb ...
2023-01-06 17:58:54,909: DEBUG - Unpacking listmonk-ynh-deps (2.2.0~ynh1) over (2.2.0~ynh1) ...
2023-01-06 17:58:55,028: DEBUG - dpkg: listmonk-ynh-deps: dependency problems, but configuring anyway as you requested:
2023-01-06 17:58:55,028: DEBUG -  listmonk-ynh-deps depends on yarn; however:
2023-01-06 17:58:55,028: DEBUG -   Package yarn is not installed.
2023-01-06 17:58:55,029: DEBUG - 
2023-01-06 17:58:55,029: DEBUG - Setting up listmonk-ynh-deps (2.2.0~ynh1) ...
2023-01-06 17:58:55,152: DEBUG - + ynh_package_install --fix-broken
2023-01-06 17:58:55,152: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-01-06 17:58:55,153: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:58:55,538: DEBUG - + return 0
2023-01-06 17:58:55,538: DEBUG - + LC_ALL=C
2023-01-06 17:58:55,539: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-01-06 17:58:55,539: 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
2023-01-06 17:58:56,339: DEBUG - Reading package lists...
2023-01-06 17:58:56,924: DEBUG - Building dependency tree...
2023-01-06 17:58:56,928: DEBUG - Reading state information...
2023-01-06 17:58:57,459: DEBUG - Correcting dependencies... Done
2023-01-06 17:58:58,268: DEBUG - The following additional packages will be installed:
2023-01-06 17:58:58,271: DEBUG -   libjs-highlight.js libnode72 nodejs nodejs-doc yarn
2023-01-06 17:58:58,276: DEBUG - Suggested packages:
2023-01-06 17:58:58,278: DEBUG -   npm
2023-01-06 17:59:03,114: DEBUG - The following NEW packages will be installed:
2023-01-06 17:59:03,119: DEBUG -   libjs-highlight.js libnode72 nodejs nodejs-doc yarn
2023-01-06 17:59:04,628: DEBUG - 0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
2023-01-06 17:59:04,628: DEBUG - Need to get 0 B/11.2 MB of archives.
2023-01-06 17:59:04,629: DEBUG - After this operation, 50.9 MB of additional disk space will be used.
2023-01-06 17:59:04,745: DEBUG - Selecting previously unselected package libjs-highlight.js.
2023-01-06 17:59:04,867: DEBUG - (Reading database ... 63561 files and directories currently installed.)
2023-01-06 17:59:04,873: DEBUG - Preparing to unpack .../libjs-highlight.js_9.18.5+dfsg1-1_all.deb ...
2023-01-06 17:59:04,886: DEBUG - Unpacking libjs-highlight.js (9.18.5+dfsg1-1) ...
2023-01-06 17:59:05,150: DEBUG - Selecting previously unselected package libnode72:armhf.
2023-01-06 17:59:05,163: DEBUG - Preparing to unpack .../libnode72_12.22.12~dfsg-1~deb11u1_armhf.deb ...
2023-01-06 17:59:05,191: DEBUG - Unpacking libnode72:armhf (12.22.12~dfsg-1~deb11u1) ...
2023-01-06 17:59:10,040: DEBUG - Selecting previously unselected package nodejs.
2023-01-06 17:59:10,061: DEBUG - Preparing to unpack .../nodejs_12.22.12~dfsg-1~deb11u1_armhf.deb ...
2023-01-06 17:59:10,075: DEBUG - Unpacking nodejs (12.22.12~dfsg-1~deb11u1) ...
2023-01-06 17:59:10,300: DEBUG - Selecting previously unselected package nodejs-doc.
2023-01-06 17:59:10,313: DEBUG - Preparing to unpack .../nodejs-doc_12.22.12~dfsg-1~deb11u1_all.deb ...
2023-01-06 17:59:10,328: DEBUG - Unpacking nodejs-doc (12.22.12~dfsg-1~deb11u1) ...
2023-01-06 17:59:11,020: DEBUG - Selecting previously unselected package yarn.
2023-01-06 17:59:11,033: DEBUG - Preparing to unpack .../yarn_1.22.19-1_all.deb ...
2023-01-06 17:59:11,046: DEBUG - Unpacking yarn (1.22.19-1) ...
2023-01-06 17:59:13,645: DEBUG - Setting up libnode72:armhf (12.22.12~dfsg-1~deb11u1) ...
2023-01-06 17:59:13,927: DEBUG - Setting up libjs-highlight.js (9.18.5+dfsg1-1) ...
2023-01-06 17:59:13,988: DEBUG - Setting up yarn (1.22.19-1) ...
2023-01-06 17:59:14,097: DEBUG - Setting up nodejs (12.22.12~dfsg-1~deb11u1) ...
2023-01-06 17:59:14,424: DEBUG - update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
2023-01-06 17:59:14,923: DEBUG - Setting up nodejs-doc (12.22.12~dfsg-1~deb11u1) ...
2023-01-06 17:59:15,408: DEBUG - Processing triggers for man-db (2.9.4-2) ...
2023-01-06 17:59:24,368: DEBUG - Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
2023-01-06 17:59:25,840: DEBUG - + [[ -n /tmp/tmp.R1OfHsGShU ]]
2023-01-06 17:59:25,840: DEBUG - + rm --recursive --force /tmp/tmp.R1OfHsGShU
2023-01-06 17:59:25,845: DEBUG - + ynh_package_is_installed listmonk-ynh-deps
2023-01-06 17:59:25,874: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:59:26,237: DEBUG - + return 0
2023-01-06 17:59:26,239: DEBUG - + dpkg-query --show '--showformat=${Status}' listmonk-ynh-deps
2023-01-06 17:59:26,240: DEBUG - + grep --count 'ok installed'
2023-01-06 17:59:26,283: DEBUG - + rm /tmp/listmonk-ynh-deps.control
2023-01-06 17:59:26,289: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-01-06 17:59:26,321: DEBUG - ++ ynh_wait_dpkg_free
2023-01-06 17:59:26,689: DEBUG - ++ return 0
2023-01-06 17:59:26,691: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-01-06 17:59:26,692: DEBUG - ++ grep --count 'ok installed'
2023-01-06 17:59:26,734: DEBUG - ++ echo yes
2023-01-06 17:59:26,737: DEBUG - + local psql_installed2=yes
2023-01-06 17:59:26,737: DEBUG - + [[ yes != \y\e\s ]]
2023-01-06 17:59:26,738: DEBUG - ++ apt-mark showauto yarn
2023-01-06 17:59:27,452: DEBUG - + local apps_auto_installed=yarn
2023-01-06 17:59:27,452: DEBUG - + ynh_package_install yarn
2023-01-06 17:59:27,453: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install yarn
2023-01-06 17:59:27,453: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:59:27,777: DEBUG - + return 0
2023-01-06 17:59:27,778: DEBUG - + LC_ALL=C
2023-01-06 17:59:27,780: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-01-06 17:59:27,780: 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 yarn
2023-01-06 17:59:27,898: DEBUG - Reading package lists...
2023-01-06 17:59:28,400: DEBUG - Building dependency tree...
2023-01-06 17:59:28,403: DEBUG - Reading state information...
2023-01-06 17:59:29,479: DEBUG - yarn is already the newest version (1.22.19-1).
2023-01-06 17:59:29,479: DEBUG - yarn set to manually installed.
2023-01-06 17:59:29,480: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2023-01-06 17:59:29,481: DEBUG - + '[' -z yarn ']'
2023-01-06 17:59:29,481: DEBUG - + apt-mark auto yarn
2023-01-06 17:59:30,349: DEBUG - yarn set to automatically installed.
2023-01-06 17:59:30,351: DEBUG - + ynh_remove_extra_repo --name=listmonk
2023-01-06 17:59:30,384: DEBUG - + name=listmonk
2023-01-06 17:59:30,385: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/listmonk.list
2023-01-06 17:59:30,447: DEBUG - + [[ listmonk == \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2023-01-06 17:59:30,447: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/listmonk
2023-01-06 17:59:30,510: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/listmonk.gpg ']'
2023-01-06 17:59:30,510: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/listmonk.gpg
2023-01-06 17:59:30,573: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/listmonk.asc ']'
2023-01-06 17:59:30,574: DEBUG - + ynh_package_update
2023-01-06 17:59:30,574: DEBUG - + ynh_apt update
2023-01-06 17:59:30,575: DEBUG - + ynh_wait_dpkg_free
2023-01-06 17:59:30,935: DEBUG - + return 0
2023-01-06 17:59:30,936: DEBUG - + LC_ALL=C
2023-01-06 17:59:30,936: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-01-06 17:59:30,937: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-01-06 17:59:31,276: DEBUG - Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
2023-01-06 17:59:31,277: DEBUG - Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
2023-01-06 17:59:31,303: DEBUG - Hit:3 http://forge.yunohost.org/debian bullseye InRelease
2023-01-06 17:59:31,473: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2023-01-06 17:59:35,872: DEBUG - Reading package lists...
2023-01-06 17:59:35,969: DEBUG - + ynh_exec_warn_less ynh_install_go --go_version=1.18
2023-01-06 17:59:35,970: DEBUG - + [[ 2 -eq 1 ]]
2023-01-06 17:59:35,970: DEBUG - + ynh_install_go --go_version=1.18
2023-01-06 17:59:36,000: DEBUG - + local CLEAR_PATH=/opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:59:36,002: DEBUG - ++ echo /opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:59:36,004: DEBUG - ++ sed s@/usr/local/bin:@@
2023-01-06 17:59:36,012: DEBUG - + PATH=/opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:59:36,013: DEBUG - + test -x /usr/bin/go
2023-01-06 17:59:36,015: DEBUG - ++ command -v goenv /opt/goenv/bin/goenv
2023-01-06 17:59:36,016: DEBUG - ++ head -1
2023-01-06 17:59:37,845: DEBUG - + goenv=/opt/goenv/bin/goenv
2023-01-06 17:59:37,846: DEBUG - + '[' -n /opt/goenv/bin/goenv ']'
2023-01-06 17:59:37,847: DEBUG - + ynh_print_info '--message=goenv already seems installed in `/opt/goenv/bin/goenv'\''.'
2023-01-06 17:59:37,881: INFO - goenv already seems installed in `/opt/goenv/bin/goenv'.
2023-01-06 17:59:37,883: DEBUG - + pushd /opt/goenv
2023-01-06 17:59:37,884: DEBUG - /opt/goenv /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/scripts
2023-01-06 17:59:37,885: DEBUG - + git remote -v
2023-01-06 17:59:37,885: DEBUG - + grep https://github.com/syndbg/goenv.git
2023-01-06 17:59:37,902: DEBUG - origin	https://github.com/syndbg/goenv.git (fetch)
2023-01-06 17:59:37,903: DEBUG - origin	https://github.com/syndbg/goenv.git (push)
2023-01-06 17:59:37,905: DEBUG - Trying to update with git...
2023-01-06 17:59:37,905: DEBUG - + git pull -q --tags origin master
2023-01-06 17:59:38,771: DEBUG - + cd ..
2023-01-06 17:59:38,771: DEBUG - + ynh_go_try_bash_extension
2023-01-06 17:59:38,772: DEBUG - + '[' -x src/configure ']'
2023-01-06 17:59:38,772: DEBUG - + popd
2023-01-06 17:59:38,773: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/scripts
2023-01-06 17:59:38,774: DEBUG - ++ head -1
2023-01-06 17:59:38,780: DEBUG - ++ command -v /opt/goenv/plugins/xxenv-latest/bin/goenv-latest goenv-latest
2023-01-06 17:59:38,784: DEBUG - + goenv_latest=/opt/goenv/plugins/xxenv-latest/bin/goenv-latest
2023-01-06 17:59:38,784: DEBUG - + '[' -n /opt/goenv/plugins/xxenv-latest/bin/goenv-latest ']'
2023-01-06 17:59:38,785: DEBUG - + ynh_print_info '--message=`goenv latest'\'' command already available in `/opt/goenv/plugins/xxenv-latest/bin/goenv-latest'\''.'
2023-01-06 17:59:38,814: INFO - `goenv latest' command already available in `/opt/goenv/plugins/xxenv-latest/bin/goenv-latest'.
2023-01-06 17:59:38,816: DEBUG - + pushd /opt/goenv/plugins/xxenv-latest
2023-01-06 17:59:38,817: DEBUG - /opt/goenv/plugins/xxenv-latest /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/scripts
2023-01-06 17:59:38,817: DEBUG - + git remote -v
2023-01-06 17:59:38,817: DEBUG - + grep https://github.com/momo-lab/xxenv-latest.git
2023-01-06 17:59:38,828: DEBUG - origin	https://github.com/momo-lab/xxenv-latest.git (fetch)
2023-01-06 17:59:38,828: DEBUG - origin	https://github.com/momo-lab/xxenv-latest.git (push)
2023-01-06 17:59:38,829: DEBUG - + ynh_print_info '--message=Trying to update xxenv-latest with git...'
2023-01-06 17:59:38,880: INFO - Trying to update xxenv-latest with git...
2023-01-06 17:59:38,882: DEBUG - + git pull -q origin master
2023-01-06 17:59:39,634: DEBUG - + popd
2023-01-06 17:59:39,634: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/scripts
2023-01-06 17:59:39,635: DEBUG - + mkdir -p /opt/goenv/cache
2023-01-06 17:59:39,638: DEBUG - + mkdir -p /opt/goenv/shims
2023-01-06 17:59:39,643: DEBUG - + PATH=/opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-06 17:59:39,643: DEBUG - + test -x /usr/bin/go_goenv
2023-01-06 17:59:39,644: DEBUG - ++ goenv latest --print 1.18
2023-01-06 17:59:41,283: DEBUG - + local final_go_version=1.18.9
2023-01-06 17:59:41,284: DEBUG - + ynh_print_info '--message=Installation of Go-1.18.9'
2023-01-06 17:59:41,314: INFO - Installation of Go-1.18.9
2023-01-06 17:59:41,316: DEBUG - + goenv install --skip-existing 1.18.9
2023-01-06 17:59:46,900: DEBUG - + ynh_app_setting_set --app=listmonk --key=go_version --value=1.18.9
2023-01-06 17:59:46,901: DEBUG - + local _globalapp=listmonk
2023-01-06 17:59:47,251: DEBUG - + app=listmonk
2023-01-06 17:59:47,252: DEBUG - + [[ go_version =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:59:47,253: DEBUG - + ynh_app_setting set listmonk go_version 1.18.9
2023-01-06 17:59:47,434: DEBUG - + ynh_cleanup_go
2023-01-06 17:59:47,437: DEBUG - ++ yunohost app list
2023-01-06 17:59:47,439: DEBUG - ++ grep -oP 'id: \K.*$'
2023-01-06 17:59:48,345: DEBUG - + local 'installed_apps=listmonk
2023-01-06 17:59:48,346: DEBUG - my_webapp
2023-01-06 17:59:48,346: DEBUG - nextcloud
2023-01-06 17:59:48,346: DEBUG - rainloop'
2023-01-06 17:59:48,347: DEBUG - + local required_go_versions=
2023-01-06 17:59:48,347: DEBUG - + for installed_app in $installed_apps
2023-01-06 17:59:48,348: DEBUG - ++ ynh_app_setting_get --app=listmonk --key=go_version
2023-01-06 17:59:48,348: DEBUG - ++ local _globalapp=listmonk
2023-01-06 17:59:48,443: DEBUG - ++ app=listmonk
2023-01-06 17:59:48,444: DEBUG - ++ [[ go_version =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:59:48,444: DEBUG - ++ ynh_app_setting get listmonk go_version
2023-01-06 17:59:48,586: DEBUG - + local installed_app_go_version=1.18.9
2023-01-06 17:59:48,587: DEBUG - + [[ -n 1.18.9 ]]
2023-01-06 17:59:48,587: DEBUG - + required_go_versions='1.18.9\n'
2023-01-06 17:59:48,588: DEBUG - + for installed_app in $installed_apps
2023-01-06 17:59:48,588: DEBUG - ++ ynh_app_setting_get --app=my_webapp --key=go_version
2023-01-06 17:59:48,589: DEBUG - ++ local _globalapp=listmonk
2023-01-06 17:59:48,685: DEBUG - ++ app=my_webapp
2023-01-06 17:59:48,685: DEBUG - ++ [[ go_version =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:59:48,686: DEBUG - ++ ynh_app_setting get my_webapp go_version
2023-01-06 17:59:48,862: DEBUG - + local installed_app_go_version=
2023-01-06 17:59:48,863: DEBUG - + for installed_app in $installed_apps
2023-01-06 17:59:48,864: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=go_version
2023-01-06 17:59:48,865: DEBUG - ++ local _globalapp=listmonk
2023-01-06 17:59:48,964: DEBUG - ++ app=nextcloud
2023-01-06 17:59:48,965: DEBUG - ++ [[ go_version =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:59:48,965: DEBUG - ++ ynh_app_setting get nextcloud go_version
2023-01-06 17:59:49,116: DEBUG - + local installed_app_go_version=
2023-01-06 17:59:49,117: DEBUG - + for installed_app in $installed_apps
2023-01-06 17:59:49,118: DEBUG - ++ ynh_app_setting_get --app=rainloop --key=go_version
2023-01-06 17:59:49,118: DEBUG - ++ local _globalapp=listmonk
2023-01-06 17:59:49,216: DEBUG - ++ app=rainloop
2023-01-06 17:59:49,217: DEBUG - ++ [[ go_version =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:59:49,217: DEBUG - ++ ynh_app_setting get rainloop go_version
2023-01-06 17:59:49,368: DEBUG - + local installed_app_go_version=
2023-01-06 17:59:49,371: DEBUG - ++ goenv versions --bare --skip-aliases
2023-01-06 17:59:49,371: DEBUG - ++ grep -Ev /
2023-01-06 17:59:49,399: DEBUG - + local installed_go_versions=1.18.9
2023-01-06 17:59:49,399: DEBUG - + for installed_go_version in $installed_go_versions
2023-01-06 17:59:49,402: DEBUG - ++ echo '1.18.9\n'
2023-01-06 17:59:49,402: DEBUG - ++ grep 1.18.9
2023-01-06 17:59:49,409: DEBUG - + [[ ! -n 1.18.9\n ]]
2023-01-06 17:59:49,411: DEBUG - export GOENV_ROOT=/opt/goenv
2023-01-06 17:59:49,411: DEBUG - export PATH="/opt/goenv/bin:/opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
2023-01-06 17:59:49,412: DEBUG - eval "$(goenv init -)"
2023-01-06 17:59:49,412: DEBUG - #goenv'
2023-01-06 17:59:49,413: DEBUG - ++ goenv init -
2023-01-06 17:59:49,550: DEBUG - + eval 'export GOENV_SHELL=bash
2023-01-06 17:59:49,551: DEBUG - export GOENV_ROOT=/opt/goenv
2023-01-06 17:59:49,551: DEBUG - if [ "${PATH#*$GOENV_ROOT/shims}" = "${PATH}" ]; then
2023-01-06 17:59:49,551: DEBUG -   export PATH="$PATH:$GOENV_ROOT/shims"
2023-01-06 17:59:49,551: DEBUG - fi
2023-01-06 17:59:49,552: DEBUG - source '\''/opt/goenv/libexec/../completions/goenv.bash'\''
2023-01-06 17:59:49,552: DEBUG - command goenv rehash 2>/dev/null
2023-01-06 17:59:49,552: DEBUG - goenv() {
2023-01-06 17:59:49,553: DEBUG -   command="$1"
2023-01-06 17:59:49,553: DEBUG -   if [ "$#" -gt 0 ]; then
2023-01-06 17:59:49,553: DEBUG -     shift
2023-01-06 17:59:49,553: DEBUG -   fi
2023-01-06 17:59:49,554: DEBUG - 
2023-01-06 17:59:49,554: DEBUG -   case "$command" in
2023-01-06 17:59:49,554: DEBUG -   rehash|shell)
2023-01-06 17:59:49,554: DEBUG -     eval "$(goenv "sh-$command" "$@")";;
2023-01-06 17:59:49,555: DEBUG -   *)
2023-01-06 17:59:49,555: DEBUG -     command goenv "$command" "$@";;
2023-01-06 17:59:49,555: DEBUG -   esac
2023-01-06 17:59:49,555: DEBUG - }
2023-01-06 17:59:49,556: DEBUG - goenv rehash --only-manage-paths'
2023-01-06 17:59:49,556: DEBUG - ++ export GOENV_SHELL=bash
2023-01-06 17:59:49,556: DEBUG - ++ GOENV_SHELL=bash
2023-01-06 17:59:49,556: DEBUG - ++ export GOENV_ROOT=/opt/goenv
2023-01-06 17:59:49,557: DEBUG - ++ GOENV_ROOT=/opt/goenv
2023-01-06 17:59:49,557: DEBUG - ++ '[' /opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin = /opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ']'
2023-01-06 17:59:49,557: DEBUG - ++ export PATH=/opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/goenv/shims
2023-01-06 17:59:49,558: DEBUG - ++ PATH=/opt/goenv/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/goenv/shims
2023-01-06 17:59:49,558: DEBUG - ++ source /opt/goenv/libexec/../completions/goenv.bash
2023-01-06 17:59:49,560: DEBUG - +++ complete -F _goenv goenv
2023-01-06 17:59:49,560: DEBUG - ++ command goenv rehash
2023-01-06 17:59:49,719: DEBUG - ++ goenv rehash --only-manage-paths
2023-01-06 17:59:49,720: DEBUG - ++ command=rehash
2023-01-06 17:59:49,721: DEBUG - ++ '[' 2 -gt 0 ']'
2023-01-06 17:59:49,721: DEBUG - ++ shift
2023-01-06 17:59:49,722: DEBUG - ++ case "$command" in
2023-01-06 17:59:49,723: DEBUG - +++ goenv sh-rehash --only-manage-paths
2023-01-06 17:59:49,724: DEBUG - +++ command=sh-rehash
2023-01-06 17:59:49,725: DEBUG - +++ '[' 2 -gt 0 ']'
2023-01-06 17:59:49,725: DEBUG - +++ shift
2023-01-06 17:59:49,726: DEBUG - +++ case "$command" in
2023-01-06 17:59:49,727: DEBUG - +++ command goenv sh-rehash --only-manage-paths
2023-01-06 17:59:49,830: DEBUG - ++ case "$command" in
2023-01-06 17:59:49,831: DEBUG - ++ eval ''
2023-01-06 17:59:50,167: INFO - [#########+..........] > Configuring system user...
2023-01-06 17:59:50,170: DEBUG - + ynh_system_user_create --username=listmonk --home_dir=/var/www/listmonk
2023-01-06 17:59:50,394: DEBUG - + use_shell=0
2023-01-06 17:59:50,394: DEBUG - + home_dir=/var/www/listmonk
2023-01-06 17:59:50,395: DEBUG - + groups=
2023-01-06 17:59:50,395: DEBUG - + ynh_system_user_exists listmonk
2023-01-06 17:59:50,425: DEBUG - + getent passwd listmonk
2023-01-06 17:59:50,435: DEBUG - + '[' -n /var/www/listmonk ']'
2023-01-06 17:59:50,436: DEBUG - + local 'user_home_dir=--home-dir /var/www/listmonk'
2023-01-06 17:59:50,437: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2023-01-06 17:59:50,437: DEBUG - + useradd --home-dir /var/www/listmonk --system --user-group listmonk --shell /usr/sbin/nologin
2023-01-06 17:59:51,571: INFO - [##########+.........] > Creating a PostgreSQL database...
2023-01-06 17:59:51,573: DEBUG - ++ ynh_sanitize_dbid --db_name=listmonk
2023-01-06 17:59:51,623: DEBUG - ++ echo listmonk
2023-01-06 17:59:51,624: DEBUG - + db_name=listmonk
2023-01-06 17:59:51,625: DEBUG - + db_user=listmonk
2023-01-06 17:59:51,626: DEBUG - + ynh_app_setting_set --app=listmonk --key=db_name --value=listmonk
2023-01-06 17:59:51,626: DEBUG - + local _globalapp=listmonk
2023-01-06 17:59:51,927: DEBUG - + app=listmonk
2023-01-06 17:59:51,928: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2023-01-06 17:59:51,928: DEBUG - + ynh_app_setting set listmonk db_name listmonk
2023-01-06 17:59:52,102: DEBUG - + ynh_psql_test_if_first_run
2023-01-06 17:59:52,103: DEBUG - + dpkg --list
2023-01-06 17:59:52,105: DEBUG - + grep -q 'ii  postgresql-13'
2023-01-06 17:59:52,159: DEBUG - + yunohost tools regen-conf postgresql
2023-01-06 17:59:56,791: DEBUG - + ynh_psql_setup_db --db_user=listmonk --db_name=listmonk
2023-01-06 17:59:56,794: DEBUG - + db_pwd=
2023-01-06 17:59:56,934: DEBUG - + ynh_psql_user_exists --user=listmonk
2023-01-06 17:59:56,967: DEBUG - + grep --quiet listmonk
2023-01-06 17:59:56,968: DEBUG - ++ cat /etc/yunohost/psql
2023-01-06 17:59:56,973: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc 'SELECT rolname FROM pg_roles WHERE rolname='\''listmonk'\'';'
2023-01-06 17:59:57,400: DEBUG - + return 1
2023-01-06 17:59:57,402: DEBUG - ++ ynh_string_random
2023-01-06 17:59:57,407: DEBUG - ++ length=24
2023-01-06 17:59:57,408: DEBUG - ++ filter=A-Za-z0-9
2023-01-06 17:59:57,409: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2023-01-06 17:59:57,409: DEBUG - ++ tr --complement --delete A-Za-z0-9
2023-01-06 17:59:57,410: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2023-01-06 17:59:57,433: DEBUG - + local new_db_pwd=**********
2023-01-06 17:59:57,434: DEBUG - + db_pwd=**********
2023-01-06 17:59:57,435: DEBUG - + ynh_psql_create_user listmonk **********
2023-01-06 17:59:57,436: DEBUG - + local user=listmonk
2023-01-06 17:59:57,436: DEBUG - + local pwd=**********
2023-01-06 17:59:57,437: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE USER listmonk WITH ENCRYPTED PASSWORD '\''**********'\'''
2023-01-06 17:59:57,520: DEBUG - + database=
2023-01-06 17:59:57,520: DEBUG - + '[' -n '' ']'
2023-01-06 17:59:57,521: DEBUG - ++ cat /etc/yunohost/psql
2023-01-06 17:59:57,526: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2023-01-06 17:59:57,668: DEBUG - + database=
2023-01-06 17:59:57,668: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2023-01-06 17:59:57,925: DEBUG - 
2023-01-06 17:59:57,927: DEBUG - Wi-Fi is currently blocked by rfkill.
2023-01-06 17:59:57,930: DEBUG - Use raspi-config to set the country before use.
2023-01-06 17:59:57,931: DEBUG - 
2023-01-06 17:59:58,098: DEBUG - CREATE ROLE
2023-01-06 17:59:58,110: DEBUG - + ynh_psql_create_db listmonk listmonk
2023-01-06 17:59:58,110: DEBUG - + local db=listmonk
2023-01-06 17:59:58,111: DEBUG - + local user=listmonk
2023-01-06 17:59:58,111: DEBUG - + local 'sql=CREATE DATABASE listmonk;'
2023-01-06 17:59:58,112: DEBUG - + '[' -n listmonk ']'
2023-01-06 17:59:58,112: DEBUG - + sql+='ALTER DATABASE listmonk OWNER TO listmonk;'
2023-01-06 17:59:58,112: DEBUG - + sql+='GRANT ALL PRIVILEGES ON DATABASE listmonk TO listmonk WITH GRANT OPTION;'
2023-01-06 17:59:58,113: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE DATABASE listmonk;ALTER DATABASE listmonk OWNER TO listmonk;GRANT ALL PRIVILEGES ON DATABASE listmonk TO listmonk WITH GRANT OPTION;'
2023-01-06 17:59:58,165: DEBUG - + database=
2023-01-06 17:59:58,166: DEBUG - + '[' -n '' ']'
2023-01-06 17:59:58,167: DEBUG - ++ cat /etc/yunohost/psql
2023-01-06 17:59:58,171: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2023-01-06 17:59:58,370: DEBUG - + database=
2023-01-06 17:59:58,371: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2023-01-06 17:59:58,648: DEBUG - 
2023-01-06 17:59:58,650: DEBUG - Wi-Fi is currently blocked by rfkill.
2023-01-06 17:59:58,653: DEBUG - Use raspi-config to set the country before use.
2023-01-06 17:59:58,654: DEBUG - 
2023-01-06 18:00:02,447: DEBUG - CREATE DATABASE
2023-01-06 18:00:02,452: DEBUG - ALTER DATABASE
2023-01-06 18:00:02,456: DEBUG - GRANT
2023-01-06 18:00:02,468: DEBUG - + ynh_app_setting_set --app=listmonk --key=psqlpwd --value=**********
2023-01-06 18:00:02,469: DEBUG - + local _globalapp=listmonk
2023-01-06 18:00:02,721: DEBUG - + app=listmonk
2023-01-06 18:00:02,722: DEBUG - + [[ psqlpwd =~ (unprotected|protected|skipped)_ ]]
2023-01-06 18:00:02,723: DEBUG - + ynh_app_setting set listmonk psqlpwd **********
2023-01-06 18:00:03,166: INFO - [###########++.......] > Setting up source files...
2023-01-06 18:00:03,168: DEBUG - + ynh_app_setting_set --app=listmonk --key=final_path --value=/var/www/listmonk
2023-01-06 18:00:03,169: DEBUG - + local _globalapp=listmonk
2023-01-06 18:00:03,400: DEBUG - + app=listmonk
2023-01-06 18:00:03,400: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2023-01-06 18:00:03,401: DEBUG - + ynh_app_setting set listmonk final_path /var/www/listmonk
2023-01-06 18:00:03,548: DEBUG - + '[' armhf == armhf ']'
2023-01-06 18:00:03,549: DEBUG - + ynh_setup_source --dest_dir=/var/www/listmonk/build
2023-01-06 18:00:03,652: DEBUG - + source_id=app
2023-01-06 18:00:03,653: DEBUG - + keep=
2023-01-06 18:00:03,653: DEBUG - + full_replace=0
2023-01-06 18:00:03,653: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/conf/app.src
2023-01-06 18:00:03,655: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/conf/app.src
2023-01-06 18:00:03,655: DEBUG - ++ cut --delimiter== --fields=2-
2023-01-06 18:00:03,662: DEBUG - + local src_url=https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz
2023-01-06 18:00:03,664: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/conf/app.src
2023-01-06 18:00:03,665: DEBUG - ++ cut --delimiter== --fields=2-
2023-01-06 18:00:03,672: DEBUG - + local src_sum=e3f1cc89972cafaab78cda38be54ab3fc115fd7846e2e7dae1b19fff002e1c77
2023-01-06 18:00:03,674: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/conf/app.src
2023-01-06 18:00:03,675: DEBUG - ++ cut --delimiter== --fields=2-
2023-01-06 18:00:03,682: DEBUG - + local src_sumprg=sha256sum
2023-01-06 18:00:03,684: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/conf/app.src
2023-01-06 18:00:03,685: DEBUG - ++ cut --delimiter== --fields=2-
2023-01-06 18:00:03,692: DEBUG - + local src_format=tar.gz
2023-01-06 18:00:03,694: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/conf/app.src
2023-01-06 18:00:03,695: DEBUG - ++ cut --delimiter== --fields=2-
2023-01-06 18:00:03,702: DEBUG - + local src_extract=true
2023-01-06 18:00:03,705: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/conf/app.src
2023-01-06 18:00:03,705: DEBUG - ++ cut --delimiter== --fields=2-
2023-01-06 18:00:03,712: DEBUG - + local src_in_subdir=true
2023-01-06 18:00:03,715: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_b0lfrr30/conf/app.src
2023-01-06 18:00:03,716: DEBUG - ++ cut --delimiter== --fields=2-
2023-01-06 18:00:03,722: DEBUG - + local src_filename=
2023-01-06 18:00:03,723: DEBUG - + src_sumprg=sha256sum
2023-01-06 18:00:03,723: DEBUG - + src_in_subdir=true
2023-01-06 18:00:03,724: DEBUG - + src_format=tar.gz
2023-01-06 18:00:03,725: DEBUG - ++ echo tar.gz
2023-01-06 18:00:03,726: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2023-01-06 18:00:03,732: DEBUG - + src_format=tar.gz
2023-01-06 18:00:03,732: DEBUG - + src_extract=true
2023-01-06 18:00:03,733: DEBUG - + '[' '' = '' ']'
2023-01-06 18:00:03,733: DEBUG - + src_filename=app.tar.gz
2023-01-06 18:00:03,734: DEBUG - + local local_src=/opt/yunohost-apps-src/listmonk/app.tar.gz
2023-01-06 18:00:03,734: DEBUG - + mkdir -p /var/cache/yunohost/download/listmonk/
2023-01-06 18:00:03,737: DEBUG - + src_filename=/var/cache/yunohost/download/listmonk/app.tar.gz
2023-01-06 18:00:03,737: DEBUG - + test -e /opt/yunohost-apps-src/listmonk/app.tar.gz
2023-01-06 18:00:03,737: DEBUG - + '[' -n https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz ']'
2023-01-06 18:00:03,738: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/listmonk/app.tar.gz https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz
2023-01-06 18:00:05,356: DEBUG - + out='2023-01-06 18:00:05 URL:https://codeload.github.com/knadh/listmonk/tar.gz/refs/tags/v2.2.0 [1717969] -> "/var/cache/yunohost/download/listmonk/app.tar.gz" [1]'
2023-01-06 18:00:05,358: DEBUG - + sha256sum --check --status
2023-01-06 18:00:05,384: DEBUG - + ynh_die '--message=Corrupt source'
2023-01-06 18:00:05,440: DEBUG - + ynh_exit_properly
2023-01-06 18:00:05,441: WARNING - Corrupt source
2023-01-06 18:00:05,951: DEBUG - + ynh_clean_setup
2023-01-06 18:00:05,952: DEBUG - + true
2023-01-06 18:00:06,957: ERROR - Impossible d'installer listmonk : Une erreur est survenue dans le script d'installation de l'application


The app as only binaries for amd64 arch. you seem to have armhf.

1 Like

Ok, I undertand, this is not the first time I am noticed about that but previous apps were a bit more clear ^^
Thank you.

So, it lead to another question.
My server is a Rasp pi 4B which it is supposed to be 64bits.
From YNH website, I mounted the ISO v11 which is supposed to be 64Bits as well.
My version is confirmed in the logs.
There is also an ISO v4 32Bits so… where is the bug ? :face_with_raised_eyebrow:

You will need the arm64 binaries for your arch however

I finally changed for an arm64 but… Still have an issue :frowning:

Link to Yunopast: https://paste.yunohost.org/raw/feziriqebo

As I said earlier

Ok sorry if I missed something.
I mixed amd64 with arm64, my bad.
Thanks.