What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.7
What app is this about: Gancio
Describe your issue
Others have had problems with login. But, also with creating a new login. That should be easy at CLI:
gancio users create <username|email> [password] [role]
However gancio does not seem to exist as a command.
whereis gancio
gancio:
find / -type f -name gancio
/etc/logrotate.d/gancio
Share relevant logs or error messages
args:
app: gancio
force: false
label: Arrangementer
no_remove_on_failure: false
ended_at: 2025-05-28 16:10:12.666605
env:
YNH_APP_ACTION: install
YNH_APP_ARG_ADMIN: flem
YNH_APP_ARG_DOMAIN: arr.maindomain.tld
YNH_APP_ARG_INIT_MAIN_PERMISSION: visitors
YNH_APP_ARG_LANGUAGE: en
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74
YNH_APP_ID: gancio
YNH_APP_INSTANCE_NAME: gancio
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 1.26.1~ynh1
YNH_APP_PACKAGING_FORMAT: '2.0'
YNH_ARCH: amd64
YNH_DEBIAN_VERSION: bookworm
YNH_DEFAULT_PHP_VERSION: '8.2'
YNH_HELPERS_VERSION: '2.1'
error: null
interface: api
operation: app_install
parent: null
related_to:
- - app
- gancio
started_at: 2025-05-28 16:07:01.741004
success: true
yunohost_version: 12.0.17
============
2025-05-28 18:07:01,752: INFO - Installing gancio…
2025-05-28 18:07:01,798: INFO - Provisioning sources...
2025-05-28 18:07:01,803: DEBUG - Prefetching asset main: https://gancio.org/releases/gancio-v1.26.1.tgz ...
2025-05-28 18:07:02,741: INFO - Provisioning system_user...
2025-05-28 18:07:04,042: INFO - Provisioning install_dir...
2025-05-28 18:07:04,054: INFO - Provisioning data_dir...
2025-05-28 18:07:04,064: INFO - Provisioning permissions...
2025-05-28 18:07:04,095: DEBUG - Permission 'gancio.main' updated
2025-05-28 18:07:04,096: DEBUG - Full log of this operation: '<a href="#/tools/logs/20250528-160704-permission_url-gancio" style="text-decoration:underline">Update URL related to permission 'gancio'</a>'
2025-05-28 18:07:04,108: DEBUG - Permission 'gancio.main' created
2025-05-28 18:07:04,108: DEBUG - Full log of this operation: '<a href="#/tools/logs/20250528-160704-permission_create-gancio" style="text-decoration:underline">Create permission 'gancio'</a>'
2025-05-28 18:07:04,127: DEBUG - Permission 'gancio.main' updated
2025-05-28 18:07:04,128: DEBUG - Full log of this operation: '<a href="#/tools/logs/20250528-160704-user_permission_update-gancio" style="text-decoration:underline">Update accesses for permission 'gancio'</a>'
2025-05-28 18:07:04,142: DEBUG - Nothing to update in LDAP
2025-05-28 18:07:04,143: DEBUG - Permission 'gancio.main' updated
2025-05-28 18:07:04,144: DEBUG - Full log of this operation: '<a href="#/tools/logs/20250528-160704-permission_url-gancio" style="text-decoration:underline">Update URL related to permission 'gancio'</a>'
2025-05-28 18:07:04,156: DEBUG - The permission database has been resynchronized
2025-05-28 18:07:04,175: DEBUG - SSO and portal configurations regenerated
2025-05-28 18:07:04,189: INFO - Provisioning ports...
2025-05-28 18:07:04,226: INFO - Provisioning apt...
2025-05-28 18:07:04,241: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt" 7>&1']'
2025-05-28 18:07:04,251: DEBUG - + source /usr/share/yunohost/helpers
2025-05-28 18:07:04,252: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-05-28 18:07:04,254: DEBUG - +++ cd -- /usr/share/yunohost
2025-05-28 18:07:04,254: DEBUG - +++ pwd
2025-05-28 18:07:04,254: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-05-28 18:07:04,254: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-05-28 18:07:04,257: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-05-28 18:07:04,258: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-05-28 18:07:04,281: DEBUG - + ynh_abort_if_errors
2025-05-28 18:07:04,281: DEBUG - + trap ynh_exit_properly EXIT
2025-05-28 18:07:04,282: DEBUG - + ynh_apt_install_dependencies postgresql build-essential yarn
2025-05-28 18:07:04,282: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2025-05-28 18:07:04,283: DEBUG - ++ sed 's/|/ | /'
2025-05-28 18:07:04,286: DEBUG - + local 'dependencies=postgresql, build-essential, yarn'
2025-05-28 18:07:04,287: DEBUG - ++ ynh_read_manifest version
2025-05-28 18:07:04,288: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_vl4yoct6/manifest.toml
2025-05-28 18:07:04,288: DEBUG - ++ toml_to_json
2025-05-28 18:07:04,288: DEBUG - ++ jq .version --raw-output
2025-05-28 18:07:04,289: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-05-28 18:07:04,354: DEBUG - + local version=1.26.1~ynh1
2025-05-28 18:07:04,354: DEBUG - + local app_ynh_deps=gancio-ynh-deps
2025-05-28 18:07:04,354: DEBUG - + grep '[<=>]'
2025-05-28 18:07:04,358: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2025-05-28 18:07:04,358: DEBUG - ++ sort -u
2025-05-28 18:07:04,361: DEBUG - + local specific_php_version=
2025-05-28 18:07:04,361: DEBUG - + grep --quiet php
2025-05-28 18:07:04,364: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-05-28 18:07:04,365: DEBUG - ++ local package=postgresql-15
2025-05-28 18:07:04,365: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-05-28 18:07:04,365: DEBUG - ++ grep --quiet '^installed$'
2025-05-28 18:07:04,384: DEBUG - ++ echo no
2025-05-28 18:07:04,384: DEBUG - + local psql_installed=no
2025-05-28 18:07:04,384: DEBUG - + [[ true == \t\r\u\e ]]
2025-05-28 18:07:04,385: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2025-05-28 18:07:04,385: DEBUG - ++ mktemp --directory
2025-05-28 18:07:04,387: DEBUG - + local TMPDIR=/tmp/tmp.DF2Q4CqWOb
2025-05-28 18:07:04,387: DEBUG - + mkdir -p /tmp/tmp.DF2Q4CqWOb/gancio-ynh-deps/DEBIAN
2025-05-28 18:07:04,390: DEBUG - + chmod -R 755 /tmp/tmp.DF2Q4CqWOb/gancio-ynh-deps
2025-05-28 18:07:04,391: DEBUG - + cat
2025-05-28 18:07:04,393: DEBUG - + _ynh_apt update
2025-05-28 18:07:04,394: DEBUG - + _ynh_wait_dpkg_free
2025-05-28 18:07:04,488: DEBUG - + return 0
2025-05-28 18:07:04,488: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2025-05-28 18:07:04,644: DEBUG - Hit:1 http://asi-fs-n.contabo.net/debian bookworm InRelease
2025-05-28 18:07:04,644: DEBUG - Hit:2 http://asi-fs-n.contabo.net/debian bookworm-updates InRelease
2025-05-28 18:07:04,651: DEBUG - Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
2025-05-28 18:07:04,730: DEBUG - Hit:5 https://packages.sury.org/php bookworm InRelease
2025-05-28 18:07:04,733: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
2025-05-28 18:07:04,826: DEBUG - Hit:4 https://forge.yunohost.org/debian bookworm InRelease
2025-05-28 18:07:05,776: DEBUG - Fetched 17.1 kB in 1s (14.6 kB/s)
2025-05-28 18:07:07,082: DEBUG - Reading package lists...
2025-05-28 18:07:07,104: DEBUG - + _ynh_wait_dpkg_free
2025-05-28 18:07:07,198: DEBUG - + return 0
2025-05-28 18:07:07,198: DEBUG - + dpkg-deb --build /tmp/tmp.DF2Q4CqWOb/gancio-ynh-deps /tmp/tmp.DF2Q4CqWOb/gancio-ynh-deps.deb
2025-05-28 18:07:07,221: DEBUG - + dpkg --force-depends --install /tmp/tmp.DF2Q4CqWOb/gancio-ynh-deps.deb
2025-05-28 18:07:07,222: DEBUG - + tee /tmp/tmp.DF2Q4CqWOb/dpkg_log
2025-05-28 18:07:07,269: DEBUG - Selecting previously unselected package gancio-ynh-deps.
2025-05-28 18:07:07,316: DEBUG - (Reading database ... 59373 files and directories currently installed.)
2025-05-28 18:07:07,320: DEBUG - Preparing to unpack .../gancio-ynh-deps.deb ...
2025-05-28 18:07:07,323: DEBUG - Unpacking gancio-ynh-deps (1.26.1~ynh1) ...
2025-05-28 18:07:07,343: DEBUG - dpkg: gancio-ynh-deps: dependency problems, but configuring anyway as you requested:
2025-05-28 18:07:07,343: DEBUG - gancio-ynh-deps depends on postgresql; however:
2025-05-28 18:07:07,343: DEBUG - Package postgresql is not installed.
2025-05-28 18:07:07,343: DEBUG - gancio-ynh-deps depends on build-essential; however:
2025-05-28 18:07:07,343: DEBUG - Package build-essential is not installed.
2025-05-28 18:07:07,344: DEBUG - gancio-ynh-deps depends on yarn; however:
2025-05-28 18:07:07,344: DEBUG - Package yarn is not installed.
2025-05-28 18:07:07,344: DEBUG -
2025-05-28 18:07:07,345: DEBUG - Setting up gancio-ynh-deps (1.26.1~ynh1) ...
2025-05-28 18:07:07,367: DEBUG - + _ynh_apt_install --fix-broken
2025-05-28 18:07:07,368: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2025-05-28 18:07:07,368: DEBUG - + _ynh_wait_dpkg_free
2025-05-28 18:07:07,462: DEBUG - + return 0
2025-05-28 18:07:07,463: 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
2025-05-28 18:07:07,724: DEBUG - Reading package lists...
2025-05-28 18:07:08,057: DEBUG - Building dependency tree...
2025-05-28 18:07:08,058: DEBUG - Reading state information...
2025-05-28 18:07:08,187: DEBUG - Correcting dependencies... Done
2025-05-28 18:07:08,518: DEBUG - The following package was automatically installed and is no longer required:
2025-05-28 18:07:08,519: DEBUG - linux-image-6.1.0-9-amd64
2025-05-28 18:07:08,519: DEBUG - Use 'apt autoremove' to remove it.
2025-05-28 18:07:08,520: DEBUG - The following additional packages will be installed:
2025-05-28 18:07:08,520: DEBUG - build-essential g++ g++-12 libcommon-sense-perl libjson-perl libjson-xs-perl
2025-05-28 18:07:08,520: DEBUG - libllvm14 libnode108 libsensors-config libsensors5 libstdc++-12-dev
2025-05-28 18:07:08,521: DEBUG - libtypes-serialiser-perl libz3-4 node-acorn node-busboy
2025-05-28 18:07:08,521: DEBUG - node-cjs-module-lexer node-undici node-xtend nodejs nodejs-doc postgresql
2025-05-28 18:07:08,521: DEBUG - postgresql-15 postgresql-client-15 postgresql-client-common
2025-05-28 18:07:08,521: DEBUG - postgresql-common sysstat yarn
2025-05-28 18:07:08,523: DEBUG - Suggested packages:
2025-05-28 18:07:08,524: DEBUG - g++-multilib g++-12-multilib gcc-12-doc lm-sensors libstdc++-12-doc npm
2025-05-28 18:07:08,524: DEBUG - postgresql-doc postgresql-doc-15 isag
2025-05-28 18:07:08,577: DEBUG - The following NEW packages will be installed:
2025-05-28 18:07:08,578: DEBUG - build-essential g++ g++-12 libcommon-sense-perl libjson-perl libjson-xs-perl
2025-05-28 18:07:08,578: DEBUG - libllvm14 libnode108 libsensors-config libsensors5 libstdc++-12-dev
2025-05-28 18:07:08,579: DEBUG - libtypes-serialiser-perl libz3-4 node-acorn node-busboy
2025-05-28 18:07:08,579: DEBUG - node-cjs-module-lexer node-undici node-xtend nodejs nodejs-doc postgresql
2025-05-28 18:07:08,579: DEBUG - postgresql-15 postgresql-client-15 postgresql-client-common
2025-05-28 18:07:08,580: DEBUG - postgresql-common sysstat yarn
2025-05-28 18:07:08,624: DEBUG - 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
2025-05-28 18:07:08,624: DEBUG - Need to get 77.3 MB of archives.
2025-05-28 18:07:08,624: DEBUG - After this operation, 331 MB of additional disk space will be used.
2025-05-28 18:07:08,624: DEBUG - Get:1 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libjson-perl all 4.10000-1 [87.5 kB]
2025-05-28 18:07:08,631: DEBUG - Get:2 http://asi-fs-n.contabo.net/debian bookworm/main amd64 postgresql-client-common all 248 [35.1 kB]
2025-05-28 18:07:08,632: DEBUG - Get:3 http://asi-fs-n.contabo.net/debian bookworm/main amd64 postgresql-common all 248 [179 kB]
2025-05-28 18:07:08,640: DEBUG - Get:4 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libstdc++-12-dev amd64 12.2.0-14+deb12u1 [2047 kB]
2025-05-28 18:07:08,723: DEBUG - Get:5 http://asi-fs-n.contabo.net/debian bookworm/main amd64 g++-12 amd64 12.2.0-14+deb12u1 [10.7 MB]
2025-05-28 18:07:08,753: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.22.22-1 [896 kB]
2025-05-28 18:07:09,188: DEBUG - Get:7 http://asi-fs-n.contabo.net/debian bookworm/main amd64 g++ amd64 4:12.2.0-3 [1356 B]
2025-05-28 18:07:09,189: DEBUG - Get:8 http://asi-fs-n.contabo.net/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B]
2025-05-28 18:07:09,189: DEBUG - Get:9 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libcommon-sense-perl amd64 3.75-3 [23.0 kB]
2025-05-28 18:07:09,190: DEBUG - Get:10 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libtypes-serialiser-perl all 1.01-1 [12.2 kB]
2025-05-28 18:07:09,190: DEBUG - Get:11 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libjson-xs-perl amd64 4.030-2+b1 [92.1 kB]
2025-05-28 18:07:09,191: DEBUG - Get:12 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libz3-4 amd64 4.8.12-3.1 [7216 kB]
2025-05-28 18:07:09,480: DEBUG - Get:13 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libllvm14 amd64 1:14.0.6-12 [21.8 MB]
2025-05-28 18:07:10,354: DEBUG - Get:14 http://asi-fs-n.contabo.net/debian bookworm/main amd64 node-xtend all 4.0.2-3 [3932 B]
2025-05-28 18:07:10,355: DEBUG - Get:15 http://asi-fs-n.contabo.net/debian bookworm/main amd64 nodejs amd64 18.19.0+dfsg-6~deb12u2 [319 kB]
2025-05-28 18:07:10,363: DEBUG - Get:16 http://asi-fs-n.contabo.net/debian bookworm/main amd64 node-acorn all 8.8.1+ds+~cs25.17.7-2 [128 kB]
2025-05-28 18:07:10,368: DEBUG - Get:17 http://asi-fs-n.contabo.net/debian bookworm/main amd64 node-cjs-module-lexer all 1.2.2+dfsg-5 [30.1 kB]
2025-05-28 18:07:10,369: DEBUG - Get:18 http://asi-fs-n.contabo.net/debian bookworm/main amd64 node-busboy all 1.6.0+~cs2.6.0-2 [16.9 kB]
2025-05-28 18:07:10,369: DEBUG - Get:19 http://asi-fs-n.contabo.net/debian bookworm/main amd64 node-undici all 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 [285 kB]
2025-05-28 18:07:10,381: DEBUG - Get:20 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libnode108 amd64 18.19.0+dfsg-6~deb12u2 [10.5 MB]
2025-05-28 18:07:10,804: DEBUG - Get:21 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libsensors-config all 1:3.6.0-7.1 [14.3 kB]
2025-05-28 18:07:10,805: DEBUG - Get:22 http://asi-fs-n.contabo.net/debian bookworm/main amd64 libsensors5 amd64 1:3.6.0-7.1 [34.2 kB]
2025-05-28 18:07:10,806: DEBUG - Get:23 http://asi-fs-n.contabo.net/debian bookworm/main amd64 nodejs-doc all 18.19.0+dfsg-6~deb12u2 [3569 kB]
2025-05-28 18:07:10,946: DEBUG - Get:24 http://asi-fs-n.contabo.net/debian bookworm/main amd64 postgresql-client-15 amd64 15.13-0+deb12u1 [1725 kB]
2025-05-28 18:07:11,015: DEBUG - Get:25 http://asi-fs-n.contabo.net/debian bookworm/main amd64 postgresql-15 amd64 15.13-0+deb12u1 [16.8 MB]
2025-05-28 18:07:11,692: DEBUG - Get:26 http://asi-fs-n.contabo.net/debian bookworm/main amd64 postgresql all 15+248 [10.1 kB]
2025-05-28 18:07:11,693: DEBUG - Get:27 http://asi-fs-n.contabo.net/debian bookworm/main amd64 sysstat amd64 12.6.1-1 [596 kB]
2025-05-28 18:07:12,420: DEBUG - Preconfiguring packages ...
2025-05-28 18:07:12,445: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2025-05-28 18:07:12,592: DEBUG - Fetched 77.3 MB in 3s (24.8 MB/s)
2025-05-28 18:07:12,628: DEBUG - Selecting previously unselected package libjson-perl.
2025-05-28 18:07:12,675: DEBUG - (Reading database ... 59373 files and directories currently installed.)
2025-05-28 18:07:12,678: DEBUG - Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ...
2025-05-28 18:07:12,680: DEBUG - Unpacking libjson-perl (4.10000-1) ...
2025-05-28 18:07:12,734: DEBUG - Selecting previously unselected package postgresql-client-common.
2025-05-28 18:07:12,743: DEBUG - Preparing to unpack .../01-postgresql-client-common_248_all.deb ...
2025-05-28 18:07:12,745: DEBUG - Unpacking postgresql-client-common (248) ...
2025-05-28 18:07:12,800: DEBUG - Selecting previously unselected package postgresql-common.
2025-05-28 18:07:12,809: DEBUG - Preparing to unpack .../02-postgresql-common_248_all.deb ...
2025-05-28 18:07:12,829: DEBUG - Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
2025-05-28 18:07:12,838: DEBUG - Unpacking postgresql-common (248) ...
2025-05-28 18:07:12,937: DEBUG - Selecting previously unselected package libstdc++-12-dev:amd64.
2025-05-28 18:07:12,947: DEBUG - Preparing to unpack .../03-libstdc++-12-dev_12.2.0-14+deb12u1_amd64.deb ...
2025-05-28 18:07:12,949: DEBUG - Unpacking libstdc++-12-dev:amd64 (12.2.0-14+deb12u1) ...
2025-05-28 18:07:13,538: DEBUG - Selecting previously unselected package g++-12.
2025-05-28 18:07:13,546: DEBUG - Preparing to unpack .../04-g++-12_12.2.0-14+deb12u1_amd64.deb ...
2025-05-28 18:07:13,548: DEBUG - Unpacking g++-12 (12.2.0-14+deb12u1) ...
2025-05-28 18:07:14,680: DEBUG - Selecting previously unselected package g++.
2025-05-28 18:07:14,689: DEBUG - Preparing to unpack .../05-g++_4%3a12.2.0-3_amd64.deb ...
2025-05-28 18:07:14,691: DEBUG - Unpacking g++ (4:12.2.0-3) ...
2025-05-28 18:07:14,720: DEBUG - Selecting previously unselected package build-essential.
2025-05-28 18:07:14,729: DEBUG - Preparing to unpack .../06-build-essential_12.9_amd64.deb ...
2025-05-28 18:07:14,732: DEBUG - Unpacking build-essential (12.9) ...
2025-05-28 18:07:14,765: DEBUG - Selecting previously unselected package libcommon-sense-perl:amd64.
2025-05-28 18:07:14,773: DEBUG - Preparing to unpack .../07-libcommon-sense-perl_3.75-3_amd64.deb ...
2025-05-28 18:07:14,775: DEBUG - Unpacking libcommon-sense-perl:amd64 (3.75-3) ...
2025-05-28 18:07:14,819: DEBUG - Selecting previously unselected package libtypes-serialiser-perl.
2025-05-28 18:07:14,828: DEBUG - Preparing to unpack .../08-libtypes-serialiser-perl_1.01-1_all.deb ...
2025-05-28 18:07:14,832: DEBUG - Unpacking libtypes-serialiser-perl (1.01-1) ...
2025-05-28 18:07:14,872: DEBUG - Selecting previously unselected package libjson-xs-perl.
2025-05-28 18:07:14,882: DEBUG - Preparing to unpack .../09-libjson-xs-perl_4.030-2+b1_amd64.deb ...
2025-05-28 18:07:14,885: DEBUG - Unpacking libjson-xs-perl (4.030-2+b1) ...
2025-05-28 18:07:14,937: DEBUG - Selecting previously unselected package libz3-4:amd64.
2025-05-28 18:07:14,946: DEBUG - Preparing to unpack .../10-libz3-4_4.8.12-3.1_amd64.deb ...
2025-05-28 18:07:14,950: DEBUG - Unpacking libz3-4:amd64 (4.8.12-3.1) ...
2025-05-28 18:07:15,913: DEBUG - Selecting previously unselected package libllvm14:amd64.
2025-05-28 18:07:15,922: DEBUG - Preparing to unpack .../11-libllvm14_1%3a14.0.6-12_amd64.deb ...
2025-05-28 18:07:15,924: DEBUG - Unpacking libllvm14:amd64 (1:14.0.6-12) ...
2025-05-28 18:07:17,449: DEBUG - Selecting previously unselected package node-xtend.
2025-05-28 18:07:17,469: DEBUG - Preparing to unpack .../12-node-xtend_4.0.2-3_all.deb ...
2025-05-28 18:07:17,472: DEBUG - Unpacking node-xtend (4.0.2-3) ...
2025-05-28 18:07:17,509: DEBUG - Selecting previously unselected package nodejs.
2025-05-28 18:07:17,518: DEBUG - Preparing to unpack .../13-nodejs_18.19.0+dfsg-6~deb12u2_amd64.deb ...
2025-05-28 18:07:17,521: DEBUG - Unpacking nodejs (18.19.0+dfsg-6~deb12u2) ...
2025-05-28 18:07:17,672: DEBUG - Selecting previously unselected package node-acorn.
2025-05-28 18:07:17,681: DEBUG - Preparing to unpack .../14-node-acorn_8.8.1+ds+~cs25.17.7-2_all.deb ...
2025-05-28 18:07:17,683: DEBUG - Unpacking node-acorn (8.8.1+ds+~cs25.17.7-2) ...
2025-05-28 18:07:17,831: DEBUG - Selecting previously unselected package node-cjs-module-lexer.
2025-05-28 18:07:17,840: DEBUG - Preparing to unpack .../15-node-cjs-module-lexer_1.2.2+dfsg-5_all.deb ...
2025-05-28 18:07:17,844: DEBUG - Unpacking node-cjs-module-lexer (1.2.2+dfsg-5) ...
2025-05-28 18:07:17,894: DEBUG - Selecting previously unselected package node-busboy.
2025-05-28 18:07:17,903: DEBUG - Preparing to unpack .../16-node-busboy_1.6.0+~cs2.6.0-2_all.deb ...
2025-05-28 18:07:17,907: DEBUG - Unpacking node-busboy (1.6.0+~cs2.6.0-2) ...
2025-05-28 18:07:17,969: DEBUG - Selecting previously unselected package node-undici.
2025-05-28 18:07:17,979: DEBUG - Preparing to unpack .../17-node-undici_5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4_all.deb ...
2025-05-28 18:07:17,995: DEBUG - Unpacking node-undici (5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4) ...
2025-05-28 18:07:18,166: DEBUG - Selecting previously unselected package libnode108:amd64.
2025-05-28 18:07:18,177: DEBUG - Preparing to unpack .../18-libnode108_18.19.0+dfsg-6~deb12u2_amd64.deb ...
2025-05-28 18:07:18,179: DEBUG - Unpacking libnode108:amd64 (18.19.0+dfsg-6~deb12u2) ...
2025-05-28 18:07:19,149: DEBUG - Selecting previously unselected package libsensors-config.
2025-05-28 18:07:19,159: DEBUG - Preparing to unpack .../19-libsensors-config_1%3a3.6.0-7.1_all.deb ...
2025-05-28 18:07:19,163: DEBUG - Unpacking libsensors-config (1:3.6.0-7.1) ...
2025-05-28 18:07:19,206: DEBUG - Selecting previously unselected package libsensors5:amd64.
2025-05-28 18:07:19,215: DEBUG - Preparing to unpack .../20-libsensors5_1%3a3.6.0-7.1_amd64.deb ...
2025-05-28 18:07:19,294: DEBUG - Unpacking libsensors5:amd64 (1:3.6.0-7.1) ...
2025-05-28 18:07:19,329: DEBUG - Selecting previously unselected package nodejs-doc.
2025-05-28 18:07:19,338: DEBUG - Preparing to unpack .../21-nodejs-doc_18.19.0+dfsg-6~deb12u2_all.deb ...
2025-05-28 18:07:19,340: DEBUG - Unpacking nodejs-doc (18.19.0+dfsg-6~deb12u2) ...
2025-05-28 18:07:19,744: DEBUG - Selecting previously unselected package postgresql-client-15.
2025-05-28 18:07:19,753: DEBUG - Preparing to unpack .../22-postgresql-client-15_15.13-0+deb12u1_amd64.deb ...
2025-05-28 18:07:19,756: DEBUG - Unpacking postgresql-client-15 (15.13-0+deb12u1) ...
2025-05-28 18:07:20,190: DEBUG - Selecting previously unselected package postgresql-15.
2025-05-28 18:07:20,201: DEBUG - Preparing to unpack .../23-postgresql-15_15.13-0+deb12u1_amd64.deb ...
2025-05-28 18:07:20,206: DEBUG - Unpacking postgresql-15 (15.13-0+deb12u1) ...
2025-05-28 18:07:22,580: DEBUG - Selecting previously unselected package postgresql.
2025-05-28 18:07:22,592: DEBUG - Preparing to unpack .../24-postgresql_15+248_all.deb ...
2025-05-28 18:07:22,595: DEBUG - Unpacking postgresql (15+248) ...
2025-05-28 18:07:22,651: DEBUG - Selecting previously unselected package sysstat.
2025-05-28 18:07:22,662: DEBUG - Preparing to unpack .../25-sysstat_12.6.1-1_amd64.deb ...
2025-05-28 18:07:22,688: DEBUG - Unpacking sysstat (12.6.1-1) ...
2025-05-28 18:07:22,860: DEBUG - Selecting previously unselected package yarn.
2025-05-28 18:07:22,870: DEBUG - Preparing to unpack .../26-yarn_1.22.22-1_all.deb ...
2025-05-28 18:07:22,873: DEBUG - Unpacking yarn (1.22.22-1) ...
2025-05-28 18:07:23,069: DEBUG - Setting up postgresql-client-common (248) ...
2025-05-28 18:07:23,082: DEBUG - Setting up libstdc++-12-dev:amd64 (12.2.0-14+deb12u1) ...
2025-05-28 18:07:23,090: DEBUG - Setting up libsensors-config (1:3.6.0-7.1) ...
2025-05-28 18:07:23,104: DEBUG - Setting up libcommon-sense-perl:amd64 (3.75-3) ...
2025-05-28 18:07:23,114: DEBUG - Setting up postgresql-client-15 (15.13-0+deb12u1) ...
2025-05-28 18:07:24,266: DEBUG - update-alternatives: using /usr/share/postgresql/15/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
2025-05-28 18:07:24,330: DEBUG - Setting up node-cjs-module-lexer (1.2.2+dfsg-5) ...
2025-05-28 18:07:24,339: DEBUG - Setting up libz3-4:amd64 (4.8.12-3.1) ...
2025-05-28 18:07:24,348: DEBUG - Setting up libsensors5:amd64 (1:3.6.0-7.1) ...
2025-05-28 18:07:24,355: DEBUG - Setting up nodejs-doc (18.19.0+dfsg-6~deb12u2) ...
2025-05-28 18:07:24,363: DEBUG - Setting up libllvm14:amd64 (1:14.0.6-12) ...
2025-05-28 18:07:24,376: DEBUG - Setting up libtypes-serialiser-perl (1.01-1) ...
2025-05-28 18:07:24,388: DEBUG - Setting up libjson-perl (4.10000-1) ...
2025-05-28 18:07:24,399: DEBUG - Setting up yarn (1.22.22-1) ...
2025-05-28 18:07:24,409: DEBUG - Setting up node-xtend (4.0.2-3) ...
2025-05-28 18:07:24,417: DEBUG - Setting up sysstat (12.6.1-1) ...
2025-05-28 18:07:24,767: DEBUG -
2025-05-28 18:07:24,768: DEBUG - Creating config file /etc/default/sysstat with new version
2025-05-28 18:07:24,856: DEBUG - update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
2025-05-28 18:07:25,550: DEBUG - Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer -> /lib/systemd/system/sysstat-collect.timer.
2025-05-28 18:07:25,845: DEBUG - Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer -> /lib/systemd/system/sysstat-summary.timer.
2025-05-28 18:07:26,150: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service -> /lib/systemd/system/sysstat.service.
2025-05-28 18:07:27,954: DEBUG - Setting up g++-12 (12.2.0-14+deb12u1) ...
2025-05-28 18:07:27,959: DEBUG - Setting up node-busboy (1.6.0+~cs2.6.0-2) ...
2025-05-28 18:07:27,964: DEBUG - Setting up libjson-xs-perl (4.030-2+b1) ...
2025-05-28 18:07:27,968: DEBUG - Setting up postgresql-common (248) ...
2025-05-28 18:07:28,165: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2025-05-28 18:07:29,119: DEBUG -
2025-05-28 18:07:29,119: DEBUG - Creating config file /etc/postgresql-common/createcluster.conf with new version
2025-05-28 18:07:29,350: DEBUG - Building PostgreSQL dictionaries from installed myspell/hunspell packages...
2025-05-28 18:07:29,350: DEBUG - Removing obsolete dictionary files:
2025-05-28 18:07:30,346: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service -> /lib/systemd/system/postgresql.service.
2025-05-28 18:07:30,950: DEBUG - Setting up node-undici (5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4) ...
2025-05-28 18:07:30,969: DEBUG - Setting up g++ (4:12.2.0-3) ...
2025-05-28 18:07:30,982: DEBUG - update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
2025-05-28 18:07:30,988: DEBUG - Setting up build-essential (12.9) ...
2025-05-28 18:07:30,994: DEBUG - Setting up postgresql-15 (15.13-0+deb12u1) ...
2025-05-28 18:07:31,482: DEBUG - Creating new PostgreSQL cluster 15/main ...
2025-05-28 18:07:31,503: DEBUG - /usr/lib/postgresql/15/bin/initdb -D /var/lib/postgresql/15/main --auth-local peer --auth-host scram-sha-256 --no-instructions
2025-05-28 18:07:31,547: DEBUG - The files belonging to this database system will be owned by user "postgres".
2025-05-28 18:07:31,548: DEBUG - This user must also own the server process.
2025-05-28 18:07:31,548: DEBUG -
2025-05-28 18:07:31,548: DEBUG - The database cluster will be initialized with locale "en_US.UTF-8".
2025-05-28 18:07:31,548: DEBUG - The default database encoding has accordingly been set to "UTF8".
2025-05-28 18:07:31,548: DEBUG - The default text search configuration will be set to "english".
2025-05-28 18:07:31,549: DEBUG -
2025-05-28 18:07:31,549: DEBUG - Data page checksums are disabled.
2025-05-28 18:07:31,549: DEBUG -
2025-05-28 18:07:31,549: DEBUG - fixing permissions on existing directory /var/lib/postgresql/15/main ... ok
2025-05-28 18:07:31,549: DEBUG - creating subdirectories ... ok
2025-05-28 18:07:31,550: DEBUG - selecting dynamic shared memory implementation ... posix
2025-05-28 18:07:31,585: DEBUG - selecting default max_connections ... 100
2025-05-28 18:07:31,637: DEBUG - selecting default shared_buffers ... 128MB
2025-05-28 18:07:31,655: DEBUG - selecting default time zone ... Europe/Berlin
2025-05-28 18:07:31,656: DEBUG - creating configuration files ... ok
2025-05-28 18:07:31,984: DEBUG - running bootstrap script ... ok
2025-05-28 18:07:32,778: DEBUG - performing post-bootstrap initialization ... ok
2025-05-28 18:07:32,971: DEBUG - syncing data to disk ... ok
2025-05-28 18:07:33,627: DEBUG - update-alternatives: using /usr/share/postgresql/15/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
2025-05-28 18:07:36,722: DEBUG - Setting up postgresql (15+248) ...
2025-05-28 18:07:36,732: DEBUG - Setting up node-acorn (8.8.1+ds+~cs25.17.7-2) ...
2025-05-28 18:07:36,744: DEBUG - Setting up libnode108:amd64 (18.19.0+dfsg-6~deb12u2) ...
2025-05-28 18:07:36,761: DEBUG - Setting up nodejs (18.19.0+dfsg-6~deb12u2) ...
2025-05-28 18:07:36,782: DEBUG - update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
2025-05-28 18:07:36,789: DEBUG - Processing triggers for man-db (2.11.2-2) ...
2025-05-28 18:07:38,344: DEBUG - Processing triggers for libc-bin (2.36-9+deb12u10) ...
2025-05-28 18:07:38,669: DEBUG - + rm --recursive --force /tmp/tmp.DF2Q4CqWOb
2025-05-28 18:07:38,672: DEBUG - + _ynh_apt_package_is_installed gancio-ynh-deps
2025-05-28 18:07:38,672: DEBUG - + local package=gancio-ynh-deps
2025-05-28 18:07:38,672: DEBUG - + dpkg-query --show '--showformat=${db:Status-Status}' gancio-ynh-deps
2025-05-28 18:07:38,673: DEBUG - + grep --quiet '^installed$'
2025-05-28 18:07:38,692: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-05-28 18:07:38,693: DEBUG - ++ local package=postgresql-15
2025-05-28 18:07:38,693: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-05-28 18:07:38,694: DEBUG - ++ grep --quiet '^installed$'
2025-05-28 18:07:38,707: DEBUG - ++ echo yes
2025-05-28 18:07:38,708: DEBUG - + local psql_installed2=yes
2025-05-28 18:07:38,708: DEBUG - + [[ no != \y\e\s ]]
2025-05-28 18:07:38,708: DEBUG - + yunohost tools regen-conf postgresql
2025-05-28 18:07:41,297: DEBUG - + ynh_exit_properly
2025-05-28 18:07:41,297: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2025-05-28 18:07:41,400: INFO - Provisioning database...
2025-05-28 18:07:41,595: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_database" 7>&1']'
2025-05-28 18:07:41,601: DEBUG - + source /usr/share/yunohost/helpers
2025-05-28 18:07:41,602: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-05-28 18:07:41,604: DEBUG - +++ cd -- /usr/share/yunohost
2025-05-28 18:07:41,604: DEBUG - +++ pwd
2025-05-28 18:07:41,604: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-05-28 18:07:41,605: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-05-28 18:07:41,608: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-05-28 18:07:41,608: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-05-28 18:07:41,632: DEBUG - + ynh_abort_if_errors
2025-05-28 18:07:41,633: DEBUG - + trap ynh_exit_properly EXIT
2025-05-28 18:07:41,633: DEBUG - + ynh_psql_create_user gancio **********
2025-05-28 18:07:41,633: DEBUG - + local user=gancio
2025-05-28 18:07:41,633: DEBUG - + local pwd=**********
2025-05-28 18:07:41,633: DEBUG - + sudo --login --user=postgres psql
2025-05-28 18:07:41,798: DEBUG - CREATE ROLE
2025-05-28 18:07:41,803: DEBUG - + ynh_psql_create_db gancio gancio
2025-05-28 18:07:41,804: DEBUG - + local db=gancio
2025-05-28 18:07:41,805: DEBUG - + local user=gancio
2025-05-28 18:07:41,805: DEBUG - + local 'sql=CREATE DATABASE gancio;'
2025-05-28 18:07:41,805: DEBUG - + '[' -n gancio ']'
2025-05-28 18:07:41,805: DEBUG - + sql+='ALTER DATABASE gancio OWNER TO gancio;'
2025-05-28 18:07:41,805: DEBUG - + sql+='GRANT ALL PRIVILEGES ON DATABASE gancio TO gancio WITH GRANT OPTION;'
2025-05-28 18:07:41,805: DEBUG - + sudo --login --user=postgres psql
2025-05-28 18:07:42,026: DEBUG - CREATE DATABASE
2025-05-28 18:07:42,027: DEBUG - ALTER DATABASE
2025-05-28 18:07:42,028: DEBUG - GRANT
2025-05-28 18:07:42,034: DEBUG - + ynh_exit_properly
2025-05-28 18:07:42,035: DEBUG - + [[ provision_database =~ ^install$|^upgrade$|^restore$ ]]
2025-05-28 18:07:42,140: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2025-05-28 18:07:42,145: DEBUG - + source _common.sh
2025-05-28 18:07:42,145: DEBUG - ++ nodejs_version=22
2025-05-28 18:07:42,145: DEBUG - + source /usr/share/yunohost/helpers
2025-05-28 18:07:42,146: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-05-28 18:07:42,147: DEBUG - +++ cd -- /usr/share/yunohost
2025-05-28 18:07:42,148: DEBUG - +++ pwd
2025-05-28 18:07:42,148: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-05-28 18:07:42,148: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-05-28 18:07:42,152: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-05-28 18:07:42,153: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-05-28 18:07:42,180: DEBUG - ++ ynh_user_get_info --username=flem --key=mail
2025-05-28 18:07:42,241: DEBUG - ++ yunohost user info flem --output-as json --quiet
2025-05-28 18:07:42,797: DEBUG - + admin_mail=flem@maindomain.tld
2025-05-28 18:07:42,803: INFO - [++..................] > Installing dependencies...
2025-05-28 18:07:42,807: DEBUG - + ynh_nodejs_install
2025-05-28 18:07:42,807: DEBUG - + [[ -n 22 ]]
2025-05-28 18:07:42,807: DEBUG - + mkdir --parents /opt/node_n
2025-05-28 18:07:42,807: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-05-28 18:07:42,807: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-05-28 18:07:42,808: DEBUG - ++ sed s@/usr/local/bin:@@
2025-05-28 18:07:42,811: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2025-05-28 18:07:42,811: DEBUG - + test -x /usr/bin/node
2025-05-28 18:07:42,811: DEBUG - + mv /usr/bin/node /usr/bin/node_n
2025-05-28 18:07:42,813: DEBUG - + test -x /usr/bin/npm
2025-05-28 18:07:42,814: DEBUG - + mkdir -p /opt/node_n/bin/
2025-05-28 18:07:42,815: DEBUG - + cp /usr/share/yunohost/helpers.v2.1.d/vendor/n/n /opt/node_n/bin/n
2025-05-28 18:07:42,818: DEBUG - + ynh_replace '--match=^N_PREFIX=${N_PREFIX-.*}$' '--replace=N_PREFIX=${N_PREFIX-/opt/node_n}' --file=/opt/node_n/bin/n
2025-05-28 18:07:42,904: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-05-28 18:07:42,905: DEBUG - + test -x /usr/bin/node_n
2025-05-28 18:07:42,905: DEBUG - + mv /usr/bin/node_n /usr/bin/node
2025-05-28 18:07:42,907: DEBUG - + test -x /usr/bin/npm_n
2025-05-28 18:07:42,908: DEBUG - ++ uname --machine
2025-05-28 18:07:42,910: DEBUG - + uname=x86_64
2025-05-28 18:07:42,910: DEBUG - + [[ x86_64 =~ aarch64 ]]
2025-05-28 18:07:42,910: DEBUG - + [[ x86_64 =~ arm64 ]]
2025-05-28 18:07:42,910: DEBUG - + n 22
2025-05-28 18:07:43,134: DEBUG - installing : node-v22.16.0
2025-05-28 18:07:43,417: DEBUG - mkdir : /opt/node_n/n/versions/node/22.16.0
2025-05-28 18:07:43,426: DEBUG - fetch : https://nodejs.org/dist/v22.16.0/node-v22.16.0-linux-x64.tar.xz
2025-05-28 18:07:48,402: DEBUG - copying : node/22.16.0
2025-05-28 18:07:49,479: DEBUG - installed : v22.16.0 (with npm 10.9.2)
2025-05-28 18:07:49,480: DEBUG -
2025-05-28 18:07:49,480: DEBUG - Note: the node command changed location and the old location may be remembered in your current shell.
2025-05-28 18:07:49,480: DEBUG - old : /usr/bin/node
2025-05-28 18:07:49,480: DEBUG - new : /opt/node_n/bin/node
2025-05-28 18:07:49,481: DEBUG - If "node --version" shows the old version then start a new shell, or reset the location hash with:
2025-05-28 18:07:49,481: DEBUG - hash -r (for bash, zsh, ash, dash, and ksh)
2025-05-28 18:07:49,481: DEBUG - rehash (for csh and tcsh)
2025-05-28 18:07:49,483: DEBUG - ++ find /opt/node_n/n/versions/node/22.16.0 -maxdepth 0
2025-05-28 18:07:49,483: DEBUG - ++ sort --version-sort
2025-05-28 18:07:49,483: DEBUG - ++ tail --lines=1
2025-05-28 18:07:49,487: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/22.16.0
2025-05-28 18:07:49,489: DEBUG - ++ basename /opt/node_n/n/versions/node/22.16.0
2025-05-28 18:07:49,492: DEBUG - + real_nodejs_version=22.16.0
2025-05-28 18:07:49,492: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/22 ']'
2025-05-28 18:07:49,492: DEBUG - + ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/22.16.0 /opt/node_n/n/versions/node/22
2025-05-28 18:07:49,495: DEBUG - + echo gancio:22
2025-05-28 18:07:49,495: DEBUG - + tee --append /opt/node_n/ynh_app_version
2025-05-28 18:07:49,497: DEBUG - gancio:22
2025-05-28 18:07:49,497: DEBUG - + ynh_app_setting_set --key=nodejs_version --value=22
2025-05-28 18:07:49,656: DEBUG - + _ynh_load_nodejs_in_path_and_other_tweaks
2025-05-28 18:07:49,656: DEBUG - + nodejs_dir=/opt/node_n/n/versions/node/22/bin
2025-05-28 18:07:49,657: 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\/\2\2\/\b\i\n* ]]
2025-05-28 18:07:49,657: DEBUG - + PATH=/opt/node_n/n/versions/node/22/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-05-28 18:07:49,657: DEBUG - + export PATH
2025-05-28 18:07:49,657: DEBUG - + path_with_nodejs=/opt/node_n/n/versions/node/22/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-05-28 18:07:49,657: DEBUG - + PATH_with_nodejs=/opt/node_n/n/versions/node/22/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-05-28 18:07:49,657: DEBUG - + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2025-05-28 18:07:49,657: DEBUG - + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2025-05-28 18:07:49,660: INFO - [##+++...............] > Setting up source files...
2025-05-28 18:07:49,666: DEBUG - + ynh_setup_source --dest_dir=/var/www/gancio
2025-05-28 18:07:49,712: DEBUG - + keep=
2025-05-28 18:07:49,712: DEBUG - + full_replace=0
2025-05-28 18:07:49,712: DEBUG - + source_id=main
2025-05-28 18:07:49,712: DEBUG - ++ ynh_read_manifest 'resources.sources["main"]'
2025-05-28 18:07:49,713: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/manifest.toml
2025-05-28 18:07:49,713: DEBUG - ++ toml_to_json
2025-05-28 18:07:49,713: DEBUG - ++ jq '.resources.sources["main"]' --raw-output
2025-05-28 18:07:49,714: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-05-28 18:07:49,789: DEBUG - + local 'sources_json={
2025-05-28 18:07:49,789: DEBUG - "url": "https://gancio.org/releases/gancio-v1.26.1.tgz",
2025-05-28 18:07:49,790: DEBUG - "sha256": "64b5397a64411052a99a4d2f3db2cb2f4120a96fb9540840571850ee98442a3d",
2025-05-28 18:07:49,790: DEBUG - "autoupdate": {
2025-05-28 18:07:49,790: DEBUG - "strategy": "latest_gitlab_release",
2025-05-28 18:07:49,790: DEBUG - "asset": "https://gancio\\.org/releases/gancio-v\\d+(\\.\\d+){2}\\.tgz$"
2025-05-28 18:07:49,790: DEBUG - }
2025-05-28 18:07:49,790: DEBUG - }'
2025-05-28 18:07:49,790: DEBUG - + jq -re .url
2025-05-28 18:07:49,852: DEBUG - https://gancio.org/releases/gancio-v1.26.1.tgz
2025-05-28 18:07:49,853: DEBUG - + local arch_prefix=
2025-05-28 18:07:49,911: DEBUG - + local src_url=https://gancio.org/releases/gancio-v1.26.1.tgz
2025-05-28 18:07:49,965: DEBUG - + local src_sum=64b5397a64411052a99a4d2f3db2cb2f4120a96fb9540840571850ee98442a3d
2025-05-28 18:07:50,029: DEBUG - + local src_format=
2025-05-28 18:07:50,093: DEBUG - + local src_in_subdir=
2025-05-28 18:07:50,094: DEBUG - + src_in_subdir=true
2025-05-28 18:07:50,157: DEBUG - + local src_extract=
2025-05-28 18:07:50,219: DEBUG - + local src_platform=
2025-05-28 18:07:50,283: DEBUG - + local src_rename=
2025-05-28 18:07:50,283: DEBUG - + [[ -n https://gancio.org/releases/gancio-v1.26.1.tgz ]]
2025-05-28 18:07:50,283: DEBUG - + [[ -n 64b5397a64411052a99a4d2f3db2cb2f4120a96fb9540840571850ee98442a3d ]]
2025-05-28 18:07:50,283: DEBUG - + [[ -z '' ]]
2025-05-28 18:07:50,284: DEBUG - + [[ https://gancio.org/releases/gancio-v1.26.1.tgz =~ ^.*\.zip$ ]]
2025-05-28 18:07:50,284: DEBUG - + [[ https://gancio.org/releases/gancio-v1.26.1.tgz =~ ^.*/zipball/.*$ ]]
2025-05-28 18:07:50,284: DEBUG - + [[ https://gancio.org/releases/gancio-v1.26.1.tgz =~ ^.*\.tar\.gz$ ]]
2025-05-28 18:07:50,284: DEBUG - + [[ https://gancio.org/releases/gancio-v1.26.1.tgz =~ ^.*\.tgz$ ]]
2025-05-28 18:07:50,284: DEBUG - + src_format=tar.gz
2025-05-28 18:07:50,284: DEBUG - + src_format=tar.gz
2025-05-28 18:07:50,284: DEBUG - ++ echo tar.gz
2025-05-28 18:07:50,285: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2025-05-28 18:07:50,288: DEBUG - + src_format=tar.gz
2025-05-28 18:07:50,288: DEBUG - + src_extract=true
2025-05-28 18:07:50,288: DEBUG - + [[ true != \t\r\u\e ]]
2025-05-28 18:07:50,289: DEBUG - ++ dirname /var/cache/yunohost/download/gancio/main
2025-05-28 18:07:50,291: DEBUG - + mkdir -p /var/cache/yunohost/download/gancio
2025-05-28 18:07:50,295: DEBUG - + src_filename=/var/cache/yunohost/download/gancio/main
2025-05-28 18:07:50,296: DEBUG - + '[' tar.gz = docker ']'
2025-05-28 18:07:50,296: DEBUG - + '[' -n https://gancio.org/releases/gancio-v1.26.1.tgz ']'
2025-05-28 18:07:50,296: DEBUG - + '[' -e /var/cache/yunohost/download/gancio/main ']'
2025-05-28 18:07:50,297: DEBUG - + sha256sum --check --status
2025-05-28 18:07:50,333: DEBUG - + '[' '!' -e /var/cache/yunohost/download/gancio/main ']'
2025-05-28 18:07:50,334: DEBUG - + sha256sum --check --status
2025-05-28 18:07:50,367: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2025-05-28 18:07:50,370: DEBUG - + '[' -n '' ']'
2025-05-28 18:07:50,370: DEBUG - + mkdir --parents /var/www/gancio
2025-05-28 18:07:50,372: DEBUG - + [[ true == \f\a\l\s\e ]]
2025-05-28 18:07:50,373: DEBUG - + [[ tar.gz == \d\o\c\k\e\r ]]
2025-05-28 18:07:50,373: DEBUG - + [[ tar.gz == \z\i\p ]]
2025-05-28 18:07:50,373: DEBUG - + local strip=
2025-05-28 18:07:50,373: DEBUG - + '[' true '!=' false ']'
2025-05-28 18:07:50,373: DEBUG - + '[' true == true ']'
2025-05-28 18:07:50,373: DEBUG - + local sub_dirs=1
2025-05-28 18:07:50,373: DEBUG - + strip='--strip-components 1'
2025-05-28 18:07:50,373: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz|tar$ ]]
2025-05-28 18:07:50,374: DEBUG - + tar --extract --file=/var/cache/yunohost/download/gancio/main --directory=/var/www/gancio --strip-components 1
2025-05-28 18:07:50,535: DEBUG - + ynh_safe_rm /var/cache/yunohost/download/gancio/main
2025-05-28 18:07:50,535: DEBUG - + local target=/var/cache/yunohost/download/gancio/main
2025-05-28 18:07:50,567: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/patches/main ']'
2025-05-28 18:07:50,567: DEBUG - + '[' -n '' ']'
2025-05-28 18:07:50,567: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2025-05-28 18:07:50,568: DEBUG - + '[' -n /var/www/gancio ']'
2025-05-28 18:07:50,569: DEBUG - + '[' /var/www/gancio == /var/www/gancio ']'
2025-05-28 18:07:50,569: DEBUG - + _ynh_apply_default_permissions /var/www/gancio
2025-05-28 18:07:50,570: DEBUG - + local target=/var/www/gancio
2025-05-28 18:07:50,570: DEBUG - + ynh_system_user_exists --username=gancio
2025-05-28 18:07:50,593: DEBUG - + getent passwd gancio
2025-05-28 18:07:50,601: DEBUG - + '[' -f /var/www/gancio ']'
2025-05-28 18:07:50,602: DEBUG - + '[' /var/www/gancio == /var/www/gancio ']'
2025-05-28 18:07:50,603: DEBUG - ++ ynh_read_manifest resources.install_dir.group
2025-05-28 18:07:50,603: DEBUG - ++ sed s/null//g
2025-05-28 18:07:50,604: DEBUG - ++ cut -f1 -d:
2025-05-28 18:07:50,605: DEBUG - ++ jq .resources.install_dir.group --raw-output
2025-05-28 18:07:50,606: DEBUG - ++ sed s/__APP__/gancio/g
2025-05-28 18:07:50,607: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/manifest.toml
2025-05-28 18:07:50,609: DEBUG - ++ toml_to_json
2025-05-28 18:07:50,609: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-05-28 18:07:50,684: DEBUG - + local group=
2025-05-28 18:07:50,685: DEBUG - + [[ -z '' ]]
2025-05-28 18:07:50,685: DEBUG - + grep -q '^\s*alias\s\|^\s*root\s' /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/nginx.conf
2025-05-28 18:07:50,688: DEBUG - + group=gancio
2025-05-28 18:07:50,688: DEBUG - + chmod -R u=rwX,g=rX,o=--- /var/www/gancio
2025-05-28 18:07:50,695: DEBUG - + chown -R gancio:gancio /var/www/gancio
2025-05-28 18:07:50,711: DEBUG - + return
2025-05-28 18:07:50,715: INFO - [#####++.............] > Adding system configurations related to gancio...
2025-05-28 18:07:50,719: DEBUG - + ynh_config_add_nginx
2025-05-28 18:07:50,719: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,719: DEBUG - + ynh_config_add --template=nginx.conf --destination=/etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,795: DEBUG - + jinja=0
2025-05-28 18:07:50,795: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/nginx.conf ']'
2025-05-28 18:07:50,795: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/nginx.conf
2025-05-28 18:07:50,796: DEBUG - + ynh_backup_if_checksum_is_different /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,901: DEBUG - + touch /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,903: DEBUG - + chmod 640 /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,904: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,905: DEBUG - + local target=/etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,905: DEBUG - + ynh_system_user_exists --username=gancio
2025-05-28 18:07:50,923: DEBUG - + getent passwd gancio
2025-05-28 18:07:50,925: DEBUG - + '[' -f /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf ']'
2025-05-28 18:07:50,926: DEBUG - + is_in_dir /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf /var/www/gancio
2025-05-28 18:07:50,927: DEBUG - + '[' -n /var/www/gancio ']'
2025-05-28 18:07:50,927: DEBUG - ++ realpath /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,929: DEBUG - + local child=/etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,930: DEBUG - ++ realpath /var/www/gancio
2025-05-28 18:07:50,932: DEBUG - + local parent=/var/www/gancio
2025-05-28 18:07:50,932: DEBUG - + [[ /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf =~ ^/var/www/gancio ]]
2025-05-28 18:07:50,932: DEBUG - + is_in_dir /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf /home/yunohost.app/gancio
2025-05-28 18:07:50,932: DEBUG - + '[' -n /home/yunohost.app/gancio ']'
2025-05-28 18:07:50,933: DEBUG - ++ realpath /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,935: DEBUG - + local child=/etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,936: DEBUG - ++ realpath /home/yunohost.app/gancio
2025-05-28 18:07:50,938: DEBUG - + local parent=/home/yunohost.app/gancio
2025-05-28 18:07:50,938: DEBUG - + [[ /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf =~ ^/home/yunohost.app/gancio ]]
2025-05-28 18:07:50,938: DEBUG - + is_in_dir /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf /etc/gancio
2025-05-28 18:07:50,938: DEBUG - + '[' -n /etc/gancio ']'
2025-05-28 18:07:50,939: DEBUG - ++ realpath /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,941: DEBUG - + local child=/etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,942: DEBUG - ++ realpath /etc/gancio
2025-05-28 18:07:50,944: DEBUG - + local parent=/etc/gancio
2025-05-28 18:07:50,945: DEBUG - + [[ /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf =~ ^/etc/gancio ]]
2025-05-28 18:07:50,945: DEBUG - + '[' /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf == /var/www/gancio ']'
2025-05-28 18:07:50,945: DEBUG - + '[' /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf == /home/yunohost.app/gancio ']'
2025-05-28 18:07:50,945: DEBUG - + chmod 400 /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,947: DEBUG - + chown root:root /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,953: DEBUG - + [[ 0 == 1 ]]
2025-05-28 18:07:50,953: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/nginx.conf /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,956: DEBUG - + _ynh_replace_vars /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,956: DEBUG - + local file=/etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,958: DEBUG - ++ sort --unique
2025-05-28 18:07:50,958: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2025-05-28 18:07:50,959: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:50,964: DEBUG - + uniques_vars=('path' 'port')
2025-05-28 18:07:50,985: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:51,183: DEBUG - + '[' / '!=' / ']'
2025-05-28 18:07:51,183: DEBUG - + ynh_replace '--match=^#root_path_only' --replace= --file=/etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:51,303: DEBUG - + sed -i '/fastcgi_param\s*REMOTE_USER/d' /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:51,306: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/arr.maindomain.tld.d/gancio.conf
2025-05-28 18:07:51,486: DEBUG - + ynh_systemctl --service=nginx --action=reload
2025-05-28 18:07:51,667: DEBUG - + service=nginx
2025-05-28 18:07:51,667: DEBUG - + action=reload
2025-05-28 18:07:51,667: DEBUG - + wait_until=
2025-05-28 18:07:51,667: DEBUG - + length=20
2025-05-28 18:07:51,667: DEBUG - + log_path=/var/log/nginx/nginx.log
2025-05-28 18:07:51,667: DEBUG - + timeout=60
2025-05-28 18:07:51,667: DEBUG - + ynh_in_ci_tests
2025-05-28 18:07:51,668: DEBUG - + '[' reload == stop ']'
2025-05-28 18:07:51,668: DEBUG - + '[' reload == reload ']'
2025-05-28 18:07:51,668: DEBUG - + action=reload-or-restart
2025-05-28 18:07:51,668: DEBUG - ++ cut -d+ -f1
2025-05-28 18:07:51,669: DEBUG - ++ date --utc --rfc-3339=seconds
2025-05-28 18:07:51,676: DEBUG - + local 'time_start=2025-05-28 16:07:51 UTC'
2025-05-28 18:07:51,676: DEBUG - + systemctl reload-or-restart nginx
2025-05-28 18:07:51,859: DEBUG - + ynh_config_add_systemd
2025-05-28 18:07:51,868: DEBUG - + return
2025-05-28 18:07:51,868: DEBUG - + service=gancio
2025-05-28 18:07:51,869: DEBUG - + template=systemd.service
2025-05-28 18:07:51,869: DEBUG - + ynh_config_add --template=systemd.service --destination=/etc/systemd/system/gancio.service
2025-05-28 18:07:51,944: DEBUG - + jinja=0
2025-05-28 18:07:51,945: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/systemd.service ']'
2025-05-28 18:07:51,945: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/systemd.service
2025-05-28 18:07:51,945: DEBUG - + ynh_backup_if_checksum_is_different /etc/systemd/system/gancio.service
2025-05-28 18:07:52,092: DEBUG - + touch /etc/systemd/system/gancio.service
2025-05-28 18:07:52,097: DEBUG - + chmod 640 /etc/systemd/system/gancio.service
2025-05-28 18:07:52,099: DEBUG - + _ynh_apply_default_permissions /etc/systemd/system/gancio.service
2025-05-28 18:07:52,099: DEBUG - + local target=/etc/systemd/system/gancio.service
2025-05-28 18:07:52,099: DEBUG - + ynh_system_user_exists --username=gancio
2025-05-28 18:07:52,123: DEBUG - + getent passwd gancio
2025-05-28 18:07:52,125: DEBUG - + '[' -f /etc/systemd/system/gancio.service ']'
2025-05-28 18:07:52,126: DEBUG - + is_in_dir /etc/systemd/system/gancio.service /var/www/gancio
2025-05-28 18:07:52,126: DEBUG - + '[' -n /var/www/gancio ']'
2025-05-28 18:07:52,127: DEBUG - ++ realpath /etc/systemd/system/gancio.service
2025-05-28 18:07:52,135: DEBUG - + local child=/etc/systemd/system/gancio.service
2025-05-28 18:07:52,136: DEBUG - ++ realpath /var/www/gancio
2025-05-28 18:07:52,140: DEBUG - + local parent=/var/www/gancio
2025-05-28 18:07:52,141: DEBUG - + [[ /etc/systemd/system/gancio.service =~ ^/var/www/gancio ]]
2025-05-28 18:07:52,141: DEBUG - + is_in_dir /etc/systemd/system/gancio.service /home/yunohost.app/gancio
2025-05-28 18:07:52,141: DEBUG - + '[' -n /home/yunohost.app/gancio ']'
2025-05-28 18:07:52,141: DEBUG - ++ realpath /etc/systemd/system/gancio.service
2025-05-28 18:07:52,145: DEBUG - + local child=/etc/systemd/system/gancio.service
2025-05-28 18:07:52,147: DEBUG - ++ realpath /home/yunohost.app/gancio
2025-05-28 18:07:52,150: DEBUG - + local parent=/home/yunohost.app/gancio
2025-05-28 18:07:52,150: DEBUG - + [[ /etc/systemd/system/gancio.service =~ ^/home/yunohost.app/gancio ]]
2025-05-28 18:07:52,151: DEBUG - + is_in_dir /etc/systemd/system/gancio.service /etc/gancio
2025-05-28 18:07:52,151: DEBUG - + '[' -n /etc/gancio ']'
2025-05-28 18:07:52,151: DEBUG - ++ realpath /etc/systemd/system/gancio.service
2025-05-28 18:07:52,153: DEBUG - + local child=/etc/systemd/system/gancio.service
2025-05-28 18:07:52,154: DEBUG - ++ realpath /etc/gancio
2025-05-28 18:07:52,162: DEBUG - + local parent=/etc/gancio
2025-05-28 18:07:52,162: DEBUG - + [[ /etc/systemd/system/gancio.service =~ ^/etc/gancio ]]
2025-05-28 18:07:52,163: DEBUG - + '[' /etc/systemd/system/gancio.service == /var/www/gancio ']'
2025-05-28 18:07:52,163: DEBUG - + '[' /etc/systemd/system/gancio.service == /home/yunohost.app/gancio ']'
2025-05-28 18:07:52,163: DEBUG - + chmod 400 /etc/systemd/system/gancio.service
2025-05-28 18:07:52,165: DEBUG - + chown root:root /etc/systemd/system/gancio.service
2025-05-28 18:07:52,170: DEBUG - + [[ 0 == 1 ]]
2025-05-28 18:07:52,170: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/systemd.service /etc/systemd/system/gancio.service
2025-05-28 18:07:52,174: DEBUG - + _ynh_replace_vars /etc/systemd/system/gancio.service
2025-05-28 18:07:52,175: DEBUG - + local file=/etc/systemd/system/gancio.service
2025-05-28 18:07:52,177: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/systemd/system/gancio.service
2025-05-28 18:07:52,178: DEBUG - ++ sort --unique
2025-05-28 18:07:52,178: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2025-05-28 18:07:52,187: DEBUG - + uniques_vars=('app' 'install_dir' 'nodejs_dir' 'path_with_nodejs')
2025-05-28 18:07:52,200: DEBUG - + ynh_store_file_checksum /etc/systemd/system/gancio.service
2025-05-28 18:07:52,374: DEBUG - + systemctl enable gancio --quiet
2025-05-28 18:07:52,779: DEBUG - + systemctl daemon-reload
2025-05-28 18:07:53,120: DEBUG - + ynh_config_add_logrotate
2025-05-28 18:07:53,121: DEBUG - + local logfile=
2025-05-28 18:07:53,121: DEBUG - + set -o noglob
2025-05-28 18:07:53,121: DEBUG - + [[ -z '' ]]
2025-05-28 18:07:53,121: DEBUG - + logfile='/var/log/gancio/*.log'
2025-05-28 18:07:53,121: DEBUG - + set +o noglob
2025-05-28 18:07:53,122: DEBUG - + for stuff in $logfile
2025-05-28 18:07:53,122: DEBUG - ++ dirname '/var/log/gancio/*.log'
2025-05-28 18:07:53,124: DEBUG - + local dir=/var/log/gancio
2025-05-28 18:07:53,124: DEBUG - + mkdir --parents /var/log/gancio
2025-05-28 18:07:53,126: DEBUG - + chmod 750 /var/log/gancio
2025-05-28 18:07:53,128: DEBUG - + chown gancio:gancio /var/log/gancio
2025-05-28 18:07:53,131: DEBUG - ++ mktemp
2025-05-28 18:07:53,133: DEBUG - + local tempconf=/tmp/tmp.3edcUFBZ33
2025-05-28 18:07:53,133: DEBUG - + cat
2025-05-28 18:07:53,135: DEBUG - + [[ true == \t\r\u\e ]]
2025-05-28 18:07:53,136: DEBUG - + cat /tmp/tmp.3edcUFBZ33
2025-05-28 18:07:53,137: DEBUG - + FIRST_CALL_TO_LOGROTATE=false
2025-05-28 18:07:53,137: DEBUG - + chmod 644 /etc/logrotate.d/gancio
2025-05-28 18:07:53,139: DEBUG - + mkdir -p /var/log/gancio
2025-05-28 18:07:53,141: DEBUG - + touch /var/log/gancio/gancio.log
2025-05-28 18:07:53,143: DEBUG - + chown gancio -R /var/log/gancio
2025-05-28 18:07:53,145: DEBUG - + yunohost service add gancio '--description=Federated shared agenda for local communities' --log=/var/log/gancio/gancio.log
2025-05-28 18:07:53,538: DEBUG - SUCCESS The service 'gancio' was added
2025-05-28 18:07:53,577: INFO - [#######+++..........] > Adding gancio's configuration...
2025-05-28 18:07:53,580: DEBUG - + ynh_config_add --template=config.json --destination=/var/www/gancio/config.json
2025-05-28 18:07:53,642: DEBUG - + jinja=0
2025-05-28 18:07:53,642: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/config.json ']'
2025-05-28 18:07:53,642: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/config.json
2025-05-28 18:07:53,642: DEBUG - + ynh_backup_if_checksum_is_different /var/www/gancio/config.json
2025-05-28 18:07:53,747: DEBUG - + touch /var/www/gancio/config.json
2025-05-28 18:07:53,748: DEBUG - + chmod 640 /var/www/gancio/config.json
2025-05-28 18:07:53,750: DEBUG - + _ynh_apply_default_permissions /var/www/gancio/config.json
2025-05-28 18:07:53,750: DEBUG - + local target=/var/www/gancio/config.json
2025-05-28 18:07:53,750: DEBUG - + ynh_system_user_exists --username=gancio
2025-05-28 18:07:53,769: DEBUG - + getent passwd gancio
2025-05-28 18:07:53,771: DEBUG - + '[' -f /var/www/gancio/config.json ']'
2025-05-28 18:07:53,772: DEBUG - + is_in_dir /var/www/gancio/config.json /var/www/gancio
2025-05-28 18:07:53,772: DEBUG - + '[' -n /var/www/gancio ']'
2025-05-28 18:07:53,774: DEBUG - ++ realpath /var/www/gancio/config.json
2025-05-28 18:07:53,776: DEBUG - + local child=/var/www/gancio/config.json
2025-05-28 18:07:53,777: DEBUG - ++ realpath /var/www/gancio
2025-05-28 18:07:53,779: DEBUG - + local parent=/var/www/gancio
2025-05-28 18:07:53,779: DEBUG - + [[ /var/www/gancio/config.json =~ ^/var/www/gancio ]]
2025-05-28 18:07:53,780: DEBUG - + chmod 600 /var/www/gancio/config.json
2025-05-28 18:07:53,782: DEBUG - + chown gancio:gancio /var/www/gancio/config.json
2025-05-28 18:07:53,784: DEBUG - + return
2025-05-28 18:07:53,784: DEBUG - + [[ 0 == 1 ]]
2025-05-28 18:07:53,785: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/conf/config.json /var/www/gancio/config.json
2025-05-28 18:07:53,788: DEBUG - + _ynh_replace_vars /var/www/gancio/config.json
2025-05-28 18:07:53,788: DEBUG - + local file=/var/www/gancio/config.json
2025-05-28 18:07:53,789: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/gancio/config.json
2025-05-28 18:07:53,790: DEBUG - ++ sort --unique
2025-05-28 18:07:53,790: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2025-05-28 18:07:53,793: DEBUG - + uniques_vars=('app' 'data_dir' 'db_name' 'db_pwd' 'db_user' 'domain' 'port')
2025-05-28 18:07:53,815: DEBUG - + ynh_store_file_checksum /var/www/gancio/config.json
2025-05-28 18:07:53,981: INFO - [##########++........] > Installing app dependencies...
2025-05-28 18:07:53,986: DEBUG - + pushd /var/www/gancio
2025-05-28 18:07:53,986: DEBUG - /var/www/gancio /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/scripts
2025-05-28 18:07:53,986: DEBUG - + ynh_hide_warnings ynh_exec_as_app yarn install
2025-05-28 18:07:53,987: DEBUG - + ynh_exec_as_app yarn install
2025-05-28 18:07:53,987: DEBUG - + sudo -u gancio env PATH=/opt/node_n/n/versions/node/22/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn install
2025-05-28 18:07:54,459: DEBUG - yarn install v1.22.22
2025-05-28 18:07:54,681: DEBUG - [1/5] Validating package.json...
2025-05-28 18:07:54,693: DEBUG - [2/5] Resolving packages...
2025-05-28 18:07:55,733: DEBUG - [3/5] Fetching packages...
2025-05-28 18:08:53,776: DEBUG - [4/5] Linking dependencies...
2025-05-28 18:08:53,786: DEBUG - warning "nuxt-edge > @nuxt/components@2.2.1" has unmet peer dependency "consola@*".
2025-05-28 18:08:53,815: DEBUG - warning " > v-calendar@2.4.2" has unmet peer dependency "@popperjs/core@^2.4.0".
2025-05-28 18:08:53,816: DEBUG - warning " > vue2-leaflet@2.7.1" has unmet peer dependency "@types/leaflet@^1.5.7".
2025-05-28 18:08:53,998: DEBUG - warning Workspaces can only be enabled in private projects.
2025-05-28 18:09:50,010: DEBUG - [5/5] Building fresh packages...
2025-05-28 18:09:57,752: DEBUG - Done in 123.30s.
2025-05-28 18:09:57,861: DEBUG - + popd
2025-05-28 18:09:57,862: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/scripts
2025-05-28 18:09:57,865: INFO - [############+++.....] > Starting gancio's systemd service...
2025-05-28 18:09:57,871: DEBUG - + ynh_systemctl --service=gancio --action=start --log_path=systemd '--wait_until=START TASK MANAGER' --timeout=30
2025-05-28 18:09:58,187: DEBUG - + service=gancio
2025-05-28 18:09:58,188: DEBUG - + action=start
2025-05-28 18:09:58,188: DEBUG - + wait_until='START TASK MANAGER'
2025-05-28 18:09:58,188: DEBUG - + length=20
2025-05-28 18:09:58,188: DEBUG - + log_path=systemd
2025-05-28 18:09:58,189: DEBUG - + timeout=30
2025-05-28 18:09:58,189: DEBUG - + ynh_in_ci_tests
2025-05-28 18:09:58,189: DEBUG - + '[' start == stop ']'
2025-05-28 18:09:58,189: DEBUG - + [[ -n START TASK MANAGER ]]
2025-05-28 18:09:58,189: DEBUG - ++ mktemp
2025-05-28 18:09:58,191: DEBUG - + local templog=/tmp/tmp.o98LDKUIaP
2025-05-28 18:09:58,191: DEBUG - + '[' systemd == systemd ']'
2025-05-28 18:09:58,193: DEBUG - + local pid_tail=78938
2025-05-28 18:09:58,193: DEBUG - + journalctl --unit=gancio --follow --since=-0 --quiet
2025-05-28 18:09:58,193: DEBUG - + '[' start == reload ']'
2025-05-28 18:09:58,193: DEBUG - ++ date --utc --rfc-3339=seconds
2025-05-28 18:09:58,193: DEBUG - ++ cut -d+ -f1
2025-05-28 18:09:58,196: DEBUG - + local 'time_start=2025-05-28 16:09:58 UTC'
2025-05-28 18:09:58,197: DEBUG - + systemctl start gancio
2025-05-28 18:09:58,243: DEBUG - + [[ -n START TASK MANAGER ]]
2025-05-28 18:10:09,633: DEBUG - + '[' 12 -ge 3 ']'
2025-05-28 18:10:09,636: INFO - The service gancio has correctly executed the action start.
2025-05-28 18:10:09,644: DEBUG - + '[' 12 -eq 30 ']'
2025-05-28 18:10:09,645: DEBUG - + _ynh_clean_check_starting
2025-05-28 18:10:09,645: DEBUG - + '[' -n 78938 ']'
2025-05-28 18:10:09,645: DEBUG - + kill -SIGTERM 78938
2025-05-28 18:10:09,645: DEBUG - + '[' -n /tmp/tmp.o98LDKUIaP ']'
2025-05-28 18:10:09,645: DEBUG - + ynh_safe_rm /tmp/tmp.o98LDKUIaP
2025-05-28 18:10:09,646: DEBUG - + local target=/tmp/tmp.o98LDKUIaP
2025-05-28 18:10:09,646: DEBUG -
2025-05-28 18:10:09,659: INFO - [###############++...] > Creating admin user...
2025-05-28 18:10:09,668: DEBUG - + pushd /var/www/gancio
2025-05-28 18:10:09,668: DEBUG - /var/www/gancio /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/scripts
2025-05-28 18:10:09,668: DEBUG - + ynh_hide_warnings ynh_exec_as_app ./server/cli.js users create flem@maindomain.tld ********** admin --config ./config.json
2025-05-28 18:10:09,668: DEBUG - + ynh_exec_as_app ./server/cli.js users create flem@maindomain.tld ********** admin --config ./config.json
2025-05-28 18:10:09,668: DEBUG - + sudo -u gancio env PATH=/opt/node_n/n/versions/node/22/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 ./server/cli.js users create flem@maindomain.tld ********** admin --config ./config.json
2025-05-28 18:10:09,825: DEBUG - 📅 gancio - v1.26.1 - A shared agenda for local communities (nodejs: v22.16.0)
2025-05-28 18:10:09,904: DEBUG - > Reading configuration from: /var/www/gancio/config.json
2025-05-28 18:10:11,256: DEBUG - User "flem@maindomain.tld" created with role admin
2025-05-28 18:10:11,301: DEBUG - + popd
2025-05-28 18:10:11,302: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_k3me3m74/scripts
2025-05-28 18:10:11,306: INFO - [####################] > Installation of gancio completed
2025-05-28 18:10:11,310: DEBUG - + ynh_exit_properly
2025-05-28 18:10:11,311: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2025-05-28 18:10:11,415: DEBUG - Checking that required services are up and running...
2025-05-28 18:10:12,658: SUCCESS - Installation completed
----------
args:
add:
- admins
force: false
permission: gancio.main
protected: null
sync_perm: true
ended_at: 2025-05-28 16:23:12.863075
error: null
interface: api
operation: user_permission_update
parent: null
related_to:
- - app
- gancio
- - group
- admins
started_at: 2025-05-28 16:23:12.660721
success: true
yunohost_version: 12.0.17
============
2025-05-28 18:23:12,695: DEBUG - The permission database has been resynchronized
2025-05-28 18:23:12,846: DEBUG - SSO and portal configurations regenerated
2025-05-28 18:23:12,862: DEBUG - Permission 'gancio.main' updated