Can't install MyDrive?

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.0.17
What app is this about: MyDrive 4.0.2~ynh1

Describe your issue

Can’t install the app.

Share relevant logs or error messages

args:
  app: mydrive
  force: false
  label: MyDrive
  no_remove_on_failure: false
ended_at: 2025-08-17 19:40:27.847440
env:
  YNH_APP_ACTION: install
  YNH_APP_ARG_DOMAIN: drive.maindomain.tld
  YNH_APP_ARG_INIT_MAIN_PERMISSION: admins
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_yc5tk9rw
  YNH_APP_ID: mydrive
  YNH_APP_INSTANCE_NAME: mydrive
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 4.0.2~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: Im Installationsscript ist ein Fehler aufgetreten
interface: api
operation: app_install
parent: null
related_to:
- - app
  - mydrive
started_at: 2025-08-17 19:39:05.520015
success: false
yunohost_version: 12.0.17

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

2025-08-17 21:39:05,525: INFO - mydrive wird installiert…
2025-08-17 21:39:05,532: INFO - Provisioning sources...
2025-08-17 21:39:05,534: DEBUG - Prefetching asset main: https://github.com/subnub/myDrive/archive/refs/tags/v4.0.2.tar.gz ...
2025-08-17 21:39:07,335: INFO - Provisioning system_user...
2025-08-17 21:39:07,432: INFO - Provisioning install_dir...
2025-08-17 21:39:07,439: INFO - Provisioning data_dir...
2025-08-17 21:39:07,443: INFO - Provisioning permissions...
2025-08-17 21:39:07,465: DEBUG - Berechtigung 'mydrive.main' aktualisiert
2025-08-17 21:39:07,466: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20250817-193907-permission_url-mydrive" style="text-decoration:underline">Aktualisiere URL, die mit der Berechtigung 'mydrive' verknüpft ist</a>'
2025-08-17 21:39:07,475: DEBUG - Berechtigung 'mydrive.main' erstellt
2025-08-17 21:39:07,476: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20250817-193907-permission_create-mydrive" style="text-decoration:underline">Erstelle Berechtigung 'mydrive'</a>'
2025-08-17 21:39:07,492: DEBUG - Berechtigung 'mydrive.main' aktualisiert
2025-08-17 21:39:07,492: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20250817-193907-user_permission_update-mydrive" style="text-decoration:underline">Aktualisiere Zugriffe für Berechtigung 'mydrive'</a>'
2025-08-17 21:39:07,504: DEBUG - Nothing to update in LDAP
2025-08-17 21:39:07,504: DEBUG - Berechtigung 'mydrive.main' aktualisiert
2025-08-17 21:39:07,505: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20250817-193907-permission_url-mydrive" style="text-decoration:underline">Aktualisiere URL, die mit der Berechtigung 'mydrive' verknüpft ist</a>'
2025-08-17 21:39:07,514: DEBUG - The permission database has been resynchronized
2025-08-17 21:39:07,533: DEBUG - SSOwat-Konfiguration neu generiert
2025-08-17 21:39:07,540: INFO - Provisioning ports...
2025-08-17 21:39:07,560: INFO - Provisioning apt...
2025-08-17 21:39:07,568: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2025-08-17 21:39:07,573: DEBUG - + source /usr/share/yunohost/helpers
2025-08-17 21:39:07,574: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-08-17 21:39:07,574: DEBUG - +++ cd -- /usr/share/yunohost
2025-08-17 21:39:07,575: DEBUG - +++ pwd
2025-08-17 21:39:07,575: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-08-17 21:39:07,575: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-08-17 21:39:07,577: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-08-17 21:39:07,577: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-08-17 21:39:07,593: DEBUG - + ynh_abort_if_errors
2025-08-17 21:39:07,593: DEBUG - + trap ynh_exit_properly EXIT
2025-08-17 21:39:07,593: DEBUG - + ynh_apt_install_dependencies build-essential ffmpeg
2025-08-17 21:39:07,594: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2025-08-17 21:39:07,594: DEBUG - ++ sed 's/|/ | /'
2025-08-17 21:39:07,596: DEBUG - + local 'dependencies=build-essential, ffmpeg'
2025-08-17 21:39:07,596: DEBUG - ++ ynh_read_manifest version
2025-08-17 21:39:07,597: DEBUG - ++ toml_to_json
2025-08-17 21:39:07,597: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_6_iu0lgb/manifest.toml
2025-08-17 21:39:07,597: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-08-17 21:39:07,598: DEBUG - ++ jq .version --raw-output
2025-08-17 21:39:07,648: DEBUG - + local version=4.0.2~ynh1
2025-08-17 21:39:07,648: DEBUG - + local app_ynh_deps=mydrive-ynh-deps
2025-08-17 21:39:07,648: DEBUG - + grep '[<=>]'
2025-08-17 21:39:07,650: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2025-08-17 21:39:07,651: DEBUG - ++ sort -u
2025-08-17 21:39:07,652: DEBUG - + local specific_php_version=
2025-08-17 21:39:07,652: DEBUG - + grep --quiet php
2025-08-17 21:39:07,654: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-08-17 21:39:07,654: DEBUG - ++ local package=postgresql-15
2025-08-17 21:39:07,654: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-08-17 21:39:07,655: DEBUG - ++ grep --quiet '^installed$'
2025-08-17 21:39:07,669: DEBUG - ++ echo no
2025-08-17 21:39:07,669: DEBUG - + local psql_installed=no
2025-08-17 21:39:07,670: DEBUG - + [[ true == \t\r\u\e ]]
2025-08-17 21:39:07,670: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2025-08-17 21:39:07,670: DEBUG - ++ mktemp --directory
2025-08-17 21:39:07,671: DEBUG - + local TMPDIR=/tmp/tmp.X3Ze1PrhJG
2025-08-17 21:39:07,671: DEBUG - + mkdir -p /tmp/tmp.X3Ze1PrhJG/mydrive-ynh-deps/DEBIAN
2025-08-17 21:39:07,672: DEBUG - + chmod -R 755 /tmp/tmp.X3Ze1PrhJG/mydrive-ynh-deps
2025-08-17 21:39:07,673: DEBUG - + cat
2025-08-17 21:39:07,674: DEBUG - + _ynh_apt update
2025-08-17 21:39:07,674: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:07,795: DEBUG - + return 0
2025-08-17 21:39:07,796: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2025-08-17 21:39:07,957: DEBUG - Hit:1 http://deb.debian.org/debian bookworm InRelease
2025-08-17 21:39:07,962: DEBUG - Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
2025-08-17 21:39:07,991: DEBUG - Hit:3 https://packages.sury.org/php bookworm InRelease
2025-08-17 21:39:08,217: DEBUG - Hit:5 http://security.debian.org/debian-security bookworm-security InRelease
2025-08-17 21:39:08,290: DEBUG - Hit:4 https://forge.yunohost.org/debian bookworm InRelease
2025-08-17 21:39:08,368: DEBUG - Hit:6 https://dl.yarnpkg.com/debian stable InRelease
2025-08-17 21:39:09,371: DEBUG - Reading package lists...
2025-08-17 21:39:09,382: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:09,496: DEBUG - + return 0
2025-08-17 21:39:09,496: DEBUG - + dpkg-deb --build /tmp/tmp.X3Ze1PrhJG/mydrive-ynh-deps /tmp/tmp.X3Ze1PrhJG/mydrive-ynh-deps.deb
2025-08-17 21:39:09,511: DEBUG - + dpkg --force-depends --install /tmp/tmp.X3Ze1PrhJG/mydrive-ynh-deps.deb
2025-08-17 21:39:09,511: DEBUG - + tee /tmp/tmp.X3Ze1PrhJG/dpkg_log
2025-08-17 21:39:09,544: DEBUG - Selecting previously unselected package mydrive-ynh-deps.
2025-08-17 21:39:09,578: DEBUG - (Reading database ... 85437 files and directories currently installed.)
2025-08-17 21:39:09,580: DEBUG - Preparing to unpack .../mydrive-ynh-deps.deb ...
2025-08-17 21:39:09,584: DEBUG - Unpacking mydrive-ynh-deps (4.0.2~ynh1) ...
2025-08-17 21:39:09,603: DEBUG - Setting up mydrive-ynh-deps (4.0.2~ynh1) ...
2025-08-17 21:39:09,624: DEBUG - + _ynh_apt_install --fix-broken
2025-08-17 21:39:09,624: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2025-08-17 21:39:09,624: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:09,726: DEBUG - + return 0
2025-08-17 21:39:09,726: 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-08-17 21:39:09,856: DEBUG - Reading package lists...
2025-08-17 21:39:10,097: DEBUG - Building dependency tree...
2025-08-17 21:39:10,098: DEBUG - Reading state information...
2025-08-17 21:39:10,363: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2025-08-17 21:39:10,365: DEBUG - + rm --recursive --force /tmp/tmp.X3Ze1PrhJG
2025-08-17 21:39:10,367: DEBUG - + _ynh_apt_package_is_installed mydrive-ynh-deps
2025-08-17 21:39:10,367: DEBUG - + local package=mydrive-ynh-deps
2025-08-17 21:39:10,367: DEBUG - + dpkg-query --show '--showformat=${db:Status-Status}' mydrive-ynh-deps
2025-08-17 21:39:10,367: DEBUG - + grep --quiet '^installed$'
2025-08-17 21:39:10,384: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-08-17 21:39:10,385: DEBUG - ++ local package=postgresql-15
2025-08-17 21:39:10,385: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-08-17 21:39:10,386: DEBUG - ++ grep --quiet '^installed$'
2025-08-17 21:39:10,400: DEBUG - ++ echo no
2025-08-17 21:39:10,401: DEBUG - + local psql_installed2=no
2025-08-17 21:39:10,401: DEBUG - + [[ no != \n\o ]]
2025-08-17 21:39:10,401: DEBUG - + ynh_exit_properly
2025-08-17 21:39:10,401: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2025-08-17 21:39:10,508: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2025-08-17 21:39:10,511: DEBUG - + source _common.sh
2025-08-17 21:39:10,511: DEBUG - ++ nodejs_version=22
2025-08-17 21:39:10,512: DEBUG - ++ mongo_version=7.0
2025-08-17 21:39:10,512: DEBUG - + source /usr/share/yunohost/helpers
2025-08-17 21:39:10,513: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-08-17 21:39:10,514: DEBUG - +++ cd -- /usr/share/yunohost
2025-08-17 21:39:10,514: DEBUG - +++ pwd
2025-08-17 21:39:10,514: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-08-17 21:39:10,514: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-08-17 21:39:10,517: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-08-17 21:39:10,517: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-08-17 21:39:10,536: DEBUG - ++ ynh_string_random --length=24
2025-08-17 21:39:10,554: DEBUG - ++ length=24
2025-08-17 21:39:10,554: DEBUG - ++ filter=A-Za-z0-9
2025-08-17 21:39:10,554: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2025-08-17 21:39:10,554: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2025-08-17 21:39:10,556: DEBUG - ++ tr --complement --delete A-Za-z0-9
2025-08-17 21:39:10,558: DEBUG - + key=77EeCdedzAJEbubUhwQMfDrp
2025-08-17 21:39:10,559: DEBUG - ++ ynh_string_random --length=24
2025-08-17 21:39:10,576: DEBUG - ++ length=24
2025-08-17 21:39:10,576: DEBUG - ++ filter=A-Za-z0-9
2025-08-17 21:39:10,576: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2025-08-17 21:39:10,577: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2025-08-17 21:39:10,579: DEBUG - ++ tr --complement --delete A-Za-z0-9
2025-08-17 21:39:10,581: DEBUG - + access=3nKYZaLjGeJOnfnp5mZ0lgnJ
2025-08-17 21:39:10,581: DEBUG - ++ ynh_string_random --length=24
2025-08-17 21:39:10,598: DEBUG - ++ length=24
2025-08-17 21:39:10,598: DEBUG - ++ filter=A-Za-z0-9
2025-08-17 21:39:10,599: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2025-08-17 21:39:10,599: DEBUG - ++ tr --complement --delete A-Za-z0-9
2025-08-17 21:39:10,600: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2025-08-17 21:39:10,602: DEBUG - + refresh=DpLRLcQU9zRYpnoDe1TQVH0P
2025-08-17 21:39:10,603: DEBUG - ++ ynh_string_random --length=24
2025-08-17 21:39:10,619: DEBUG - ++ length=24
2025-08-17 21:39:10,620: DEBUG - ++ filter=A-Za-z0-9
2025-08-17 21:39:10,620: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2025-08-17 21:39:10,620: DEBUG - ++ tr --complement --delete A-Za-z0-9
2025-08-17 21:39:10,621: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2025-08-17 21:39:10,624: DEBUG - + cookie=Vs5TkkTSPEM2mSURF9A9Cx4i
2025-08-17 21:39:10,624: DEBUG - + ynh_app_setting_set --key=key --value=77EeCdedzAJEbubUhwQMfDrp
2025-08-17 21:39:10,723: DEBUG - + ynh_app_setting_set --key=access --value=3nKYZaLjGeJOnfnp5mZ0lgnJ
2025-08-17 21:39:10,819: DEBUG - + ynh_app_setting_set --key=refresh --value=DpLRLcQU9zRYpnoDe1TQVH0P
2025-08-17 21:39:10,914: DEBUG - + ynh_app_setting_set --key=cookie --value=Vs5TkkTSPEM2mSURF9A9Cx4i
2025-08-17 21:39:11,014: INFO - [++..................] > Installing dependencies...
2025-08-17 21:39:11,016: DEBUG - + ynh_nodejs_install
2025-08-17 21:39:11,016: DEBUG - + [[ -n 22 ]]
2025-08-17 21:39:11,016: DEBUG - + mkdir --parents /opt/node_n
2025-08-17 21:39:11,016: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-08-17 21:39:11,016: DEBUG - ++ sed s@/usr/local/bin:@@
2025-08-17 21:39:11,016: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-08-17 21:39:11,018: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2025-08-17 21:39:11,018: DEBUG - + test -x /usr/bin/node
2025-08-17 21:39:11,018: DEBUG - + test -x /usr/bin/npm
2025-08-17 21:39:11,018: DEBUG - + mkdir -p /opt/node_n/bin/
2025-08-17 21:39:11,019: DEBUG - + cp /usr/share/yunohost/helpers.v2.1.d/vendor/n/n /opt/node_n/bin/n
2025-08-17 21:39:11,021: DEBUG - + ynh_replace '--match=^N_PREFIX=${N_PREFIX-.*}$' '--replace=N_PREFIX=${N_PREFIX-/opt/node_n}' --file=/opt/node_n/bin/n
2025-08-17 21:39:11,074: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-08-17 21:39:11,074: DEBUG - + test -x /usr/bin/node_n
2025-08-17 21:39:11,074: DEBUG - + test -x /usr/bin/npm_n
2025-08-17 21:39:11,074: DEBUG - ++ uname --machine
2025-08-17 21:39:11,075: DEBUG - + uname=x86_64
2025-08-17 21:39:11,075: DEBUG - + [[ x86_64 =~ aarch64 ]]
2025-08-17 21:39:11,075: DEBUG - + [[ x86_64 =~ arm64 ]]
2025-08-17 21:39:11,075: DEBUG - + n 22
2025-08-17 21:39:11,297: DEBUG -   installing : node-v22.18.0
2025-08-17 21:39:11,580: DEBUG -        mkdir : /opt/node_n/n/versions/node/22.18.0
2025-08-17 21:39:11,599: DEBUG -        fetch : https://nodejs.org/dist/v22.18.0/node-v22.18.0-linux-x64.tar.xz
2025-08-17 21:39:14,425: DEBUG -      copying : node/22.18.0
2025-08-17 21:39:14,844: DEBUG -    installed : v22.18.0 (with npm 10.9.3)
2025-08-17 21:39:14,845: DEBUG - ++ find /opt/node_n/n/versions/node/22.18.0 -maxdepth 0
2025-08-17 21:39:14,845: DEBUG - ++ tail --lines=1
2025-08-17 21:39:14,846: DEBUG - ++ sort --version-sort
2025-08-17 21:39:14,848: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/22.18.0
2025-08-17 21:39:14,849: DEBUG - ++ basename /opt/node_n/n/versions/node/22.18.0
2025-08-17 21:39:14,850: DEBUG - + real_nodejs_version=22.18.0
2025-08-17 21:39:14,850: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/22 ']'
2025-08-17 21:39:14,850: DEBUG - + ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/22.18.0 /opt/node_n/n/versions/node/22
2025-08-17 21:39:14,851: DEBUG - + echo mydrive:22
2025-08-17 21:39:14,851: DEBUG - + tee --append /opt/node_n/ynh_app_version
2025-08-17 21:39:14,852: DEBUG - mydrive:22
2025-08-17 21:39:14,852: DEBUG - + ynh_app_setting_set --key=nodejs_version --value=22
2025-08-17 21:39:14,947: DEBUG - + _ynh_load_nodejs_in_path_and_other_tweaks
2025-08-17 21:39:14,947: DEBUG - + nodejs_dir=/opt/node_n/n/versions/node/22/bin
2025-08-17 21:39:14,947: 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-08-17 21:39:14,947: 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-08-17 21:39:14,948: DEBUG - + export PATH
2025-08-17 21:39:14,948: 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-08-17 21:39:14,948: 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-08-17 21:39:14,948: DEBUG - + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2025-08-17 21:39:14,948: DEBUG - + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2025-08-17 21:39:14,948: INFO - Installing MongoDB Community Edition ...
2025-08-17 21:39:14,950: DEBUG - + ynh_hide_warnings ynh_install_mongo
2025-08-17 21:39:14,950: DEBUG - + ynh_install_mongo
2025-08-17 21:39:14,950: DEBUG - + [[ -n 7.0 ]]
2025-08-17 21:39:14,950: DEBUG - + ynh_print_info 'Installing MongoDB Community Edition ...'
2025-08-17 21:39:14,950: DEBUG - + local mongo_debian_release=bookworm
2025-08-17 21:39:14,950: DEBUG - ++ uniq
2025-08-17 21:39:14,950: DEBUG - ++ grep '^flags' /proc/cpuinfo
2025-08-17 21:39:14,951: DEBUG - + [[ flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 avx2 bmi2 invpcid rdseed adx clflushopt arat md_clear flush_l1d arch_capabilities != *\a\v\x* ]]
2025-08-17 21:39:14,951: DEBUG - + [[ 7.0 == \4\.\4 ]]
2025-08-17 21:39:14,951: DEBUG - + ynh_apt_install_dependencies_from_extra_repository '--repo=deb http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main' '--package=mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh' --key=https://www.mongodb.org/static/pgp/server-7.0.asc
2025-08-17 21:39:15,003: DEBUG - + IFS=', '
2025-08-17 21:39:15,003: DEBUG - + read -r -a repo_parts
2025-08-17 21:39:15,003: DEBUG - + index=0
2025-08-17 21:39:15,003: DEBUG - + [[ deb == \d\e\b ]]
2025-08-17 21:39:15,003: DEBUG - + index=1
2025-08-17 21:39:15,003: DEBUG - + uri=http://repo.mongodb.org/apt/debian
2025-08-17 21:39:15,003: DEBUG - + index=2
2025-08-17 21:39:15,003: DEBUG - + suite=bookworm/mongodb-org/7.0
2025-08-17 21:39:15,003: DEBUG - + index=3
2025-08-17 21:39:15,003: DEBUG - + (( 4 > 0 ))
2025-08-17 21:39:15,003: DEBUG - + component=main
2025-08-17 21:39:15,003: DEBUG - + [[ https://www.mongodb.org/static/pgp/server-7.0.asc == \t\r\u\s\t\e\d\=\y\e\s ]]
2025-08-17 21:39:15,004: DEBUG - + trust=
2025-08-17 21:39:15,004: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2025-08-17 21:39:15,004: DEBUG - + local pin=repo.mongodb.org/apt/debian
2025-08-17 21:39:15,004: DEBUG - + pin=repo.mongodb.org
2025-08-17 21:39:15,004: DEBUG - + mkdir --parents /etc/apt/preferences.d
2025-08-17 21:39:15,005: DEBUG - + cat
2025-08-17 21:39:15,007: DEBUG - + '[' -n https://www.mongodb.org/static/pgp/server-7.0.asc ']'
2025-08-17 21:39:15,007: DEBUG - + [[ https://www.mongodb.org/static/pgp/server-7.0.asc != \t\r\u\s\t\e\d\=\y\e\s ]]
2025-08-17 21:39:15,007: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2025-08-17 21:39:15,008: DEBUG - + wget --timeout 900 --quiet https://www.mongodb.org/static/pgp/server-7.0.asc --output-document=-
2025-08-17 21:39:15,008: DEBUG - + gpg --dearmor
2025-08-17 21:39:16,172: DEBUG - + _ynh_apt update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/mydrive.list
2025-08-17 21:39:16,173: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:16,315: DEBUG - + return 0
2025-08-17 21:39:16,315: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/mydrive.list
2025-08-17 21:39:16,447: DEBUG - Hit:2 https://packages.sury.org/php bookworm InRelease
2025-08-17 21:39:16,476: DEBUG - Hit:3 https://dl.yarnpkg.com/debian stable InRelease
2025-08-17 21:39:16,633: DEBUG - Hit:1 https://forge.yunohost.org/debian bookworm InRelease
2025-08-17 21:39:16,785: DEBUG - Get:4 http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 InRelease [2906 B]
2025-08-17 21:39:17,163: DEBUG - Get:5 http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0/main amd64 Packages [75.4 kB]
2025-08-17 21:39:17,264: DEBUG - Fetched 78.3 kB in 1s (87.4 kB/s)
2025-08-17 21:39:17,313: DEBUG - Reading package lists...
2025-08-17 21:39:17,317: DEBUG - + ynh_apt_install_dependencies 'mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh'
2025-08-17 21:39:17,317: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2025-08-17 21:39:17,318: DEBUG - ++ sed 's/|/ | /'
2025-08-17 21:39:17,319: DEBUG - + local 'dependencies=mongodb-org, mongodb-org-server, mongodb-org-tools, mongodb-mongosh'
2025-08-17 21:39:17,320: DEBUG - ++ ynh_read_manifest version
2025-08-17 21:39:17,320: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_yc5tk9rw/manifest.toml
2025-08-17 21:39:17,320: DEBUG - ++ jq .version --raw-output
2025-08-17 21:39:17,321: DEBUG - ++ toml_to_json
2025-08-17 21:39:17,321: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-08-17 21:39:17,364: DEBUG - + local version=4.0.2~ynh1
2025-08-17 21:39:17,365: DEBUG - + local app_ynh_deps=mydrive-ynh-deps
2025-08-17 21:39:17,365: DEBUG - + grep '[<=>]'
2025-08-17 21:39:17,367: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2025-08-17 21:39:17,367: DEBUG - ++ sort -u
2025-08-17 21:39:17,368: DEBUG - + local specific_php_version=
2025-08-17 21:39:17,368: DEBUG - + grep --quiet php
2025-08-17 21:39:17,370: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-08-17 21:39:17,370: DEBUG - ++ local package=postgresql-15
2025-08-17 21:39:17,371: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-08-17 21:39:17,371: DEBUG - ++ grep --quiet '^installed$'
2025-08-17 21:39:17,384: DEBUG - ++ echo no
2025-08-17 21:39:17,385: DEBUG - + local psql_installed=no
2025-08-17 21:39:17,385: DEBUG - + [[ true == \t\r\u\e ]]
2025-08-17 21:39:17,385: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2025-08-17 21:39:17,385: DEBUG - ++ mktemp --directory
2025-08-17 21:39:17,386: DEBUG - + local TMPDIR=/tmp/tmp.1hStkr5qON
2025-08-17 21:39:17,387: DEBUG - + mkdir -p /tmp/tmp.1hStkr5qON/mydrive-ynh-deps/DEBIAN
2025-08-17 21:39:17,388: DEBUG - + chmod -R 755 /tmp/tmp.1hStkr5qON/mydrive-ynh-deps
2025-08-17 21:39:17,389: DEBUG - + cat
2025-08-17 21:39:17,390: DEBUG - + _ynh_apt update
2025-08-17 21:39:17,390: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:17,452: DEBUG - + return 0
2025-08-17 21:39:17,453: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2025-08-17 21:39:17,550: DEBUG - Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
2025-08-17 21:39:17,555: DEBUG - Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
2025-08-17 21:39:17,592: DEBUG - Get:4 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
2025-08-17 21:39:17,600: DEBUG - Hit:5 https://packages.sury.org/php bookworm InRelease
2025-08-17 21:39:17,618: DEBUG - Hit:6 https://dl.yarnpkg.com/debian stable InRelease
2025-08-17 21:39:17,706: DEBUG - Hit:7 http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 InRelease
2025-08-17 21:39:17,746: DEBUG - Get:8 http://security.debian.org/debian-security bookworm-security/main Sources [146 kB]
2025-08-17 21:39:17,780: DEBUG - Get:9 http://security.debian.org/debian-security bookworm-security/non-free-firmware Sources [796 B]
2025-08-17 21:39:17,786: DEBUG - Hit:3 https://forge.yunohost.org/debian bookworm InRelease
2025-08-17 21:39:17,787: DEBUG - Get:10 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
2025-08-17 21:39:17,847: DEBUG - Get:11 http://security.debian.org/debian-security bookworm-security/main Translation-en [165 kB]
2025-08-17 21:39:17,872: DEBUG - Get:12 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
2025-08-17 21:39:17,873: DEBUG - Get:13 http://security.debian.org/debian-security bookworm-security/non-free-firmware Translation-en [472 B]
2025-08-17 21:39:17,907: DEBUG - Get:14 http://deb.debian.org/debian bookworm/main Sources [9494 kB]
2025-08-17 21:39:18,195: DEBUG - Get:15 http://deb.debian.org/debian bookworm/non-free-firmware Sources [7148 B]
2025-08-17 21:39:18,196: DEBUG - Get:16 http://deb.debian.org/debian bookworm/main amd64 Packages [8793 kB]
2025-08-17 21:39:18,479: DEBUG - Get:17 http://deb.debian.org/debian bookworm/main Translation-en [6109 kB]
2025-08-17 21:39:18,672: DEBUG - Get:18 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6372 B]
2025-08-17 21:39:18,672: DEBUG - Get:19 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.9 kB]
2025-08-17 21:39:18,673: DEBUG - Get:20 http://deb.debian.org/debian bookworm-updates/main Sources [3288 B]
2025-08-17 21:39:18,674: DEBUG - Get:21 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
2025-08-17 21:39:18,674: DEBUG - Get:22 http://deb.debian.org/debian bookworm-updates/main Translation-en [5448 B]
2025-08-17 21:39:20,614: DEBUG - Fetched 25.3 MB in 3s (8074 kB/s)
2025-08-17 21:39:21,457: DEBUG - Reading package lists...
2025-08-17 21:39:21,471: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:21,543: DEBUG - + return 0
2025-08-17 21:39:21,543: DEBUG - + dpkg-deb --build /tmp/tmp.1hStkr5qON/mydrive-ynh-deps /tmp/tmp.1hStkr5qON/mydrive-ynh-deps.deb
2025-08-17 21:39:21,556: DEBUG - + dpkg --force-depends --install /tmp/tmp.1hStkr5qON/mydrive-ynh-deps.deb
2025-08-17 21:39:21,556: DEBUG - + tee /tmp/tmp.1hStkr5qON/dpkg_log
2025-08-17 21:39:21,614: DEBUG - (Reading database ... 85437 files and directories currently installed.)
2025-08-17 21:39:21,616: DEBUG - Preparing to unpack .../mydrive-ynh-deps.deb ...
2025-08-17 21:39:21,624: DEBUG - Unpacking mydrive-ynh-deps (4.0.2~ynh1) over (4.0.2~ynh1) ...
2025-08-17 21:39:21,647: DEBUG - Setting up mydrive-ynh-deps (4.0.2~ynh1) ...
2025-08-17 21:39:21,668: DEBUG - + _ynh_apt_install --fix-broken
2025-08-17 21:39:21,669: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2025-08-17 21:39:21,669: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:21,771: DEBUG - + return 0
2025-08-17 21:39:21,772: 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-08-17 21:39:21,922: DEBUG - Reading package lists...
2025-08-17 21:39:22,167: DEBUG - Building dependency tree...
2025-08-17 21:39:22,168: DEBUG - Reading state information...
2025-08-17 21:39:22,437: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2025-08-17 21:39:22,438: DEBUG - + rm --recursive --force /tmp/tmp.1hStkr5qON
2025-08-17 21:39:22,440: DEBUG - + _ynh_apt_package_is_installed mydrive-ynh-deps
2025-08-17 21:39:22,440: DEBUG - + local package=mydrive-ynh-deps
2025-08-17 21:39:22,441: DEBUG - + dpkg-query --show '--showformat=${db:Status-Status}' mydrive-ynh-deps
2025-08-17 21:39:22,441: DEBUG - + grep --quiet '^installed$'
2025-08-17 21:39:22,457: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-08-17 21:39:22,458: DEBUG - ++ local package=postgresql-15
2025-08-17 21:39:22,458: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-08-17 21:39:22,458: DEBUG - ++ grep --quiet '^installed$'
2025-08-17 21:39:22,472: DEBUG - ++ echo no
2025-08-17 21:39:22,473: DEBUG - + local psql_installed2=no
2025-08-17 21:39:22,473: DEBUG - + [[ no != \n\o ]]
2025-08-17 21:39:22,473: DEBUG - ++ apt-mark showauto mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh
2025-08-17 21:39:22,796: DEBUG - + local 'apps_auto_installed=mongodb-mongosh
2025-08-17 21:39:22,797: DEBUG - mongodb-org
2025-08-17 21:39:22,797: DEBUG - mongodb-org-server
2025-08-17 21:39:22,797: DEBUG - mongodb-org-tools'
2025-08-17 21:39:22,797: DEBUG - + _ynh_apt_install 'mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh'
2025-08-17 21:39:22,797: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh
2025-08-17 21:39:22,797: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:22,877: DEBUG - + return 0
2025-08-17 21:39:22,877: 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 mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh
2025-08-17 21:39:22,923: DEBUG - Reading package lists...
2025-08-17 21:39:23,171: DEBUG - Building dependency tree...
2025-08-17 21:39:23,172: DEBUG - Reading state information...
2025-08-17 21:39:23,475: DEBUG - mongodb-org is already the newest version (7.0.23).
2025-08-17 21:39:23,475: DEBUG - mongodb-org set to manually installed.
2025-08-17 21:39:23,475: DEBUG - mongodb-org-server is already the newest version (7.0.23).
2025-08-17 21:39:23,475: DEBUG - mongodb-org-server set to manually installed.
2025-08-17 21:39:23,475: DEBUG - mongodb-org-tools is already the newest version (7.0.23).
2025-08-17 21:39:23,475: DEBUG - mongodb-org-tools set to manually installed.
2025-08-17 21:39:23,475: DEBUG - mongodb-mongosh is already the newest version (2.5.6).
2025-08-17 21:39:23,475: DEBUG - mongodb-mongosh set to manually installed.
2025-08-17 21:39:23,475: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2025-08-17 21:39:23,476: DEBUG - + '[' -z 'mongodb-mongosh
2025-08-17 21:39:23,476: DEBUG - mongodb-org
2025-08-17 21:39:23,476: DEBUG - mongodb-org-server
2025-08-17 21:39:23,476: DEBUG - mongodb-org-tools' ']'
2025-08-17 21:39:23,477: DEBUG - + apt-mark auto mongodb-mongosh mongodb-org mongodb-org-server mongodb-org-tools
2025-08-17 21:39:23,809: DEBUG - mongodb-mongosh wurde als automatisch installiert festgelegt.
2025-08-17 21:39:23,809: DEBUG - mongodb-org wurde als automatisch installiert festgelegt.
2025-08-17 21:39:23,809: DEBUG - mongodb-org-server wurde als automatisch installiert festgelegt.
2025-08-17 21:39:23,809: DEBUG - mongodb-org-tools wurde als automatisch installiert festgelegt.
2025-08-17 21:39:23,810: DEBUG - + ynh_safe_rm /etc/apt/sources.list.d/mydrive.list
2025-08-17 21:39:23,810: DEBUG - + local target=/etc/apt/sources.list.d/mydrive.list
2025-08-17 21:39:23,819: DEBUG - + ynh_safe_rm /etc/apt/preferences.d/mydrive
2025-08-17 21:39:23,819: DEBUG - + local target=/etc/apt/preferences.d/mydrive
2025-08-17 21:39:23,828: DEBUG - + ynh_safe_rm /etc/apt/trusted.gpg.d/mydrive.gpg
2025-08-17 21:39:23,828: DEBUG - + local target=/etc/apt/trusted.gpg.d/mydrive.gpg
2025-08-17 21:39:23,837: DEBUG - + _ynh_apt update
2025-08-17 21:39:23,837: DEBUG - + _ynh_wait_dpkg_free
2025-08-17 21:39:23,907: DEBUG - + return 0
2025-08-17 21:39:23,908: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2025-08-17 21:39:24,035: DEBUG - Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
2025-08-17 21:39:24,038: DEBUG - Hit:2 http://deb.debian.org/debian bookworm InRelease
2025-08-17 21:39:24,050: DEBUG - Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
2025-08-17 21:39:24,066: DEBUG - Hit:5 https://packages.sury.org/php bookworm InRelease
2025-08-17 21:39:24,091: DEBUG - Hit:6 https://dl.yarnpkg.com/debian stable InRelease
2025-08-17 21:39:24,262: DEBUG - Hit:4 https://forge.yunohost.org/debian bookworm InRelease
2025-08-17 21:39:25,458: DEBUG - Reading package lists...
2025-08-17 21:39:25,469: DEBUG - + mongodb_servicename=mongod
2025-08-17 21:39:25,469: DEBUG - + systemctl enable mongod --quiet
2025-08-17 21:39:25,811: DEBUG - + systemctl daemon-reload --quiet
2025-08-17 21:39:26,132: DEBUG - + ynh_systemctl --service=mongod --action=restart '--wait_until=aiting for connections' --log_path=/var/log/mongodb/mongod.log
2025-08-17 21:39:26,285: DEBUG - + service=mongod
2025-08-17 21:39:26,285: DEBUG - + action=restart
2025-08-17 21:39:26,285: DEBUG - + wait_until='aiting for connections'
2025-08-17 21:39:26,285: DEBUG - + length=20
2025-08-17 21:39:26,285: DEBUG - + log_path=/var/log/mongodb/mongod.log
2025-08-17 21:39:26,285: DEBUG - + timeout=60
2025-08-17 21:39:26,285: DEBUG - + ynh_in_ci_tests
2025-08-17 21:39:26,286: DEBUG - + '[' restart == stop ']'
2025-08-17 21:39:26,286: DEBUG - + [[ -n aiting for connections ]]
2025-08-17 21:39:26,286: DEBUG - ++ mktemp
2025-08-17 21:39:26,288: DEBUG - + local templog=/tmp/tmp.ipD9BpEi81
2025-08-17 21:39:26,288: DEBUG - + '[' /var/log/mongodb/mongod.log == systemd ']'
2025-08-17 21:39:26,288: DEBUG - + local pid_tail=24703
2025-08-17 21:39:26,288: DEBUG - + '[' restart == reload ']'
2025-08-17 21:39:26,289: DEBUG - + tail --follow=name --retry --lines=0 /var/log/mongodb/mongod.log
2025-08-17 21:39:26,290: DEBUG - ++ date --utc --rfc-3339=seconds
2025-08-17 21:39:26,291: DEBUG - ++ cut -d+ -f1
2025-08-17 21:39:26,293: DEBUG - + local 'time_start=2025-08-17 19:39:26 UTC'
2025-08-17 21:39:26,293: DEBUG - + systemctl restart mongod
2025-08-17 21:39:26,318: DEBUG - + [[ -n aiting for connections ]]
2025-08-17 21:39:55,838: DEBUG - (this may take some time)
2025-08-17 21:40:27,207: DEBUG - + '[' 60 -ge 3 ']'
2025-08-17 21:40:27,208: DEBUG - 
2025-08-17 21:40:27,208: DEBUG - + '[' 60 -eq 60 ']'
2025-08-17 21:40:27,209: DEBUG - + ynh_print_warn 'The service mongod didn'\''t fully executed the action restart before the timeout.'
2025-08-17 21:40:27,210: DEBUG - The service mongod didn't fully executed the action restart before the timeout.
2025-08-17 21:40:27,210: DEBUG - + ynh_print_warn 'Please find here an extract of the end of the log of the service mongod:'
2025-08-17 21:40:27,211: DEBUG - Please find here an extract of the end of the log of the service mongod:
2025-08-17 21:40:27,211: DEBUG - + journalctl --quiet --no-hostname --no-pager --lines=20 --unit=mongod
2025-08-17 21:40:27,218: DEBUG - Aug 17 15:38:33 systemd[1]: Started mongod.service - MongoDB Database Server.
2025-08-17 21:40:27,218: DEBUG - Aug 17 15:38:33 mongod[23032]: {"t":{"$date":"2025-08-17T13:38:33.843Z"},"s":"I",  "c":"CONTROL",  "id":7484500, "ctx":"main","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_NOFORK == 1, overriding \"processManagement.fork\" to false"}
2025-08-17 21:40:27,218: DEBUG - Aug 17 15:38:33 systemd[1]: mongod.service: Main process exited, code=exited, status=100/n/a
2025-08-17 21:40:27,218: DEBUG - Aug 17 15:38:33 systemd[1]: mongod.service: Failed with result 'exit-code'.
2025-08-17 21:40:27,218: DEBUG - Aug 17 16:12:33 systemd[1]: Started mongod.service - MongoDB Database Server.
2025-08-17 21:40:27,218: DEBUG - Aug 17 16:12:34 mongod[572]: {"t":{"$date":"2025-08-17T14:12:34.400Z"},"s":"I",  "c":"CONTROL",  "id":7484500, "ctx":"main","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_NOFORK == 1, overriding \"processManagement.fork\" to false"}
2025-08-17 21:40:27,218: DEBUG - Aug 17 16:12:34 systemd[1]: mongod.service: Main process exited, code=exited, status=100/n/a
2025-08-17 21:40:27,218: DEBUG - Aug 17 16:12:34 systemd[1]: mongod.service: Failed with result 'exit-code'.
2025-08-17 21:40:27,218: DEBUG - Aug 17 21:23:56 systemd[1]: Started mongod.service - MongoDB Database Server.
2025-08-17 21:40:27,219: DEBUG - Aug 17 21:23:56 mongod[20620]: {"t":{"$date":"2025-08-17T19:23:56.082Z"},"s":"I",  "c":"CONTROL",  "id":7484500, "ctx":"main","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_NOFORK == 1, overriding \"processManagement.fork\" to false"}
2025-08-17 21:40:27,219: DEBUG - Aug 17 21:23:56 systemd[1]: mongod.service: Main process exited, code=exited, status=100/n/a
2025-08-17 21:40:27,219: DEBUG - Aug 17 21:23:56 systemd[1]: mongod.service: Failed with result 'exit-code'.
2025-08-17 21:40:27,219: DEBUG - Aug 17 21:24:59 systemd[1]: Started mongod.service - MongoDB Database Server.
2025-08-17 21:40:27,219: DEBUG - Aug 17 21:24:59 mongod[21195]: {"t":{"$date":"2025-08-17T19:24:59.078Z"},"s":"I",  "c":"CONTROL",  "id":7484500, "ctx":"main","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_NOFORK == 1, overriding \"processManagement.fork\" to false"}
2025-08-17 21:40:27,219: DEBUG - Aug 17 21:24:59 systemd[1]: mongod.service: Main process exited, code=exited, status=100/n/a
2025-08-17 21:40:27,219: DEBUG - Aug 17 21:24:59 systemd[1]: mongod.service: Failed with result 'exit-code'.
2025-08-17 21:40:27,220: DEBUG - Aug 17 21:39:26 systemd[1]: Started mongod.service - MongoDB Database Server.
2025-08-17 21:40:27,220: DEBUG - Aug 17 21:39:26 mongod[24708]: {"t":{"$date":"2025-08-17T19:39:26.350Z"},"s":"I",  "c":"CONTROL",  "id":7484500, "ctx":"main","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_NOFORK == 1, overriding \"processManagement.fork\" to false"}
2025-08-17 21:40:27,220: DEBUG - Aug 17 21:39:26 systemd[1]: mongod.service: Main process exited, code=exited, status=100/n/a
2025-08-17 21:40:27,220: DEBUG - Aug 17 21:39:26 systemd[1]: mongod.service: Failed with result 'exit-code'.
2025-08-17 21:40:27,220: DEBUG - + '[' -e /var/log/mongodb/mongod.log ']'
2025-08-17 21:40:27,220: DEBUG - + ynh_print_warn ===
2025-08-17 21:40:27,220: DEBUG - + echo ===
2025-08-17 21:40:27,220: DEBUG - ===
2025-08-17 21:40:27,221: DEBUG - + tail --lines=20 /var/log/mongodb/mongod.log
2025-08-17 21:40:27,221: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"REPL",     "id":4784900, "ctx":"initandlisten","msg":"Stepping down the ReplicationCoordinator for shutdown","attr":{"waitTimeMillis":15000}}
2025-08-17 21:40:27,221: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"REPL",     "id":4794602, "ctx":"initandlisten","msg":"Attempting to enter quiesce mode"}
2025-08-17 21:40:27,221: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"-",        "id":6371601, "ctx":"initandlisten","msg":"Shutting down the FLE Crud thread pool"}
2025-08-17 21:40:27,221: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"COMMAND",  "id":4784901, "ctx":"initandlisten","msg":"Shutting down the MirrorMaestro"}
2025-08-17 21:40:27,221: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"SHARDING", "id":4784902, "ctx":"initandlisten","msg":"Shutting down the WaitForMajorityService"}
2025-08-17 21:40:27,221: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"NETWORK",  "id":20562,   "ctx":"initandlisten","msg":"Shutdown: going to close listening sockets"}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"NETWORK",  "id":4784905, "ctx":"initandlisten","msg":"Shutting down the global connection pool"}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"CONTROL",  "id":4784906, "ctx":"initandlisten","msg":"Shutting down the FlowControlTicketholder"}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"-",        "id":20520,   "ctx":"initandlisten","msg":"Stopping further Flow Control ticket acquisitions."}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"NETWORK",  "id":4784918, "ctx":"initandlisten","msg":"Shutting down the ReplicaSetMonitor"}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"SHARDING", "id":4784921, "ctx":"initandlisten","msg":"Shutting down the MigrationUtilExecutor"}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"ASIO",     "id":22582,   "ctx":"MigrationUtil-TaskExecutor","msg":"Killing all outstanding egress activity."}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"COMMAND",  "id":4784923, "ctx":"initandlisten","msg":"Shutting down the ServiceEntryPoint"}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"CONTROL",  "id":4784928, "ctx":"initandlisten","msg":"Shutting down the TTL monitor"}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"CONTROL",  "id":6278511, "ctx":"initandlisten","msg":"Shutting down the Change Stream Expired Pre-images Remover"}
2025-08-17 21:40:27,222: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"CONTROL",  "id":4784929, "ctx":"initandlisten","msg":"Acquiring the global lock for shutdown"}
2025-08-17 21:40:27,223: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"-",        "id":4784931, "ctx":"initandlisten","msg":"Dropping the scope cache for shutdown"}
2025-08-17 21:40:27,223: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"CONTROL",  "id":20565,   "ctx":"initandlisten","msg":"Now exiting"}
2025-08-17 21:40:27,223: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"CONTROL",  "id":8423404, "ctx":"initandlisten","msg":"mongod shutdown complete","attr":{"Summary of time elapsed":{"Statistics":{"Enter terminal shutdown":"0 ms","Step down the replication coordinator for shutdown":"0 ms","Time spent in quiesce mode":"0 ms","Shut down FLE Crud subsystem":"0 ms","Shut down MirrorMaestro":"0 ms","Shut down WaitForMajorityService":"0 ms","Shut down the transport layer":"0 ms","Shut down the global connection pool":"0 ms","Shut down the flow control ticket holder":"0 ms","Shut down the replica set monitor":"0 ms","Shut down the migration util executor":"0 ms","Shut down the TTL monitor":"0 ms","Shut down expired pre-images and documents removers":"0 ms","Wait for the oplog cap maintainer thread to stop":"0 ms","Shut down full-time data capture":"0 ms","shutdownTask total elapsed time":"0 ms"}}}}
2025-08-17 21:40:27,223: DEBUG - {"t":{"$date":"2025-08-17T21:39:26.366+02:00"},"s":"I",  "c":"CONTROL",  "id":23138,   "ctx":"initandlisten","msg":"Shutting down","attr":{"exitCode":100}}
2025-08-17 21:40:27,223: DEBUG - + '[' restart == reload ']'
2025-08-17 21:40:27,223: DEBUG - + '[' restart == start ']'
2025-08-17 21:40:27,223: DEBUG - + '[' restart == restart ']'
2025-08-17 21:40:27,223: DEBUG - + systemctl --quiet is-active mongod
2025-08-17 21:40:27,229: DEBUG - + _ynh_clean_check_starting
2025-08-17 21:40:27,229: DEBUG - + '[' -n 24703 ']'
2025-08-17 21:40:27,229: DEBUG - + kill -SIGTERM 24703
2025-08-17 21:40:27,229: DEBUG - + '[' -n /tmp/tmp.ipD9BpEi81 ']'
2025-08-17 21:40:27,229: DEBUG - + ynh_safe_rm /tmp/tmp.ipD9BpEi81
2025-08-17 21:40:27,229: DEBUG - + local target=/tmp/tmp.ipD9BpEi81
2025-08-17 21:40:27,238: DEBUG - + return 1
2025-08-17 21:40:27,238: DEBUG - + ynh_exit_properly
2025-08-17 21:40:27,239: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2025-08-17 21:40:27,845: ERROR - Installation von mydrive fehlgeschlagen: Im Installationsscript ist ein Fehler aufgetreten

I have installed mongo-express first:

mkdir /var/lib/mongodb
chown mongodb:mongodb /var/lib/mongodb

yunohost app install mongo-express

Theoretically, you should now be able to install MyDrive 4.0.2~ynh1, but it doesn’t work?

root@yuno:~# yunohost app install mydrive
 
Info: Installing mydrive…
Info: Provisioning sources...
Info: Provisioning system_user...
Info: Provisioning install_dir...
Info: Provisioning data_dir...
Info: Provisioning permissions...
Info: Provisioning ports...
Info: Provisioning apt...
Info: [++..................] > Installing dependencies...
Info: Installing MongoDB Community Edition ...
Info: The service mongod has correctly executed the action restart.
Info: [##++................] > Creating a MongoDB database...
Info: [####++..............] > Setting up source files...
Info: [######++............] > Configuring MongoDB...
Info: The service mongod has correctly executed the action restart.
Info: [########+++.........] > Adding mydrive's configuration files...
Info: [###########++.......] > Adding system configurations related to mydrive...
Info: [#############++.....] > Installing the app...
Error: Unable to install mydrive: An error occurred inside the app installation script
Info: The operation 'Install the 'mydrive' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250818-103654-app_install-mydrive' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - dist-frontend/assets/index-CxsT_wbn.js   710.08 kB │ gzip: 236.94 kB
Info: DEBUG -
Info: DEBUG - (!) Some chunks are larger than 500 kB after minification. Consider:
Info: DEBUG - - Using dynamic import() to code-split the application
Info: DEBUG - - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
Info: DEBUG - - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
Info: DEBUG - ✓ built in 7.55s
Info: DEBUG -
Info: DEBUG - PWA v0.21.2
Info: DEBUG - mode      generateSW
Info: DEBUG - precache  6 entries (740.08 KiB)
Info: DEBUG - files generated
Info: DEBUG -   dist-frontend/sw.js
Info: DEBUG -   dist-frontend/workbox-b833909e.js
Info: DEBUG -
Info: DEBUG - > mydrive@4.0.2 build:backend
Info: DEBUG - > tsc -p ./backend/tsconfig.json
Info: DEBUG -
Info: DEBUG - backend/db/mongoDB/fileDB.ts(360,9): error TS2353: Object literal may only specify known properties, and 'new' does not exist in type 'UpdateOptions & MongooseUpdateQueryOptions<FileInterface>'.
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure…
Info: [+++++...............] > Loading installation settings...
Info: [#####+++++..........] > Removing system configurations related to mydrive...
Info: [##########+++++.....] > Removing the MongoDB database...
Info: The service mongod has correctly executed the action restart.
Warning: Database mydrive not found
Info: [####################] > Removal of mydrive completed
Info: Deprovisioning apt...
Info: Deprovisioning ports...
Info: Deprovisioning permissions...
Info: Deprovisioning data_dir...
Info: Deprovisioning install_dir...
Info: Deprovisioning system_user...
Info: Deprovisioning sources...
Error: The operation 'Install the 'mydrive' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250818-103654-app_install-mydrive' to get help
root@yuno:~#

yunohost log share 20250818-103654-app_install-mydrive

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

The folder /var/lib/mongodb has now been deleted by the installation of MyDrive, which means that Mongo Express no longer works because all of the databases have been deleted.

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