Nextcloud fails trying MySQL instead of Postgresql (needed for Diaspora*)

,

My YunoHost server

Hardware:** VMWare Workstation 17 8TB direct attached disk 4GB RAM one processor …
YunoHost version:** 11.2.5
I have access to my server :** direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
I have Diaspora installed running on Postgresql:
Requested App is Nextcloud latest app v27.1.2~ynh3

Description of my issue

When running installation script of Nextcloud it complains it cannot run MySQL command ignoring I’m on Postgresql for my Diaspora* pod.

Here is the complete log :slight_smile:

args:
  app: nextcloud
  force: false
  label: undefined
  no_remove_on_failure: false
ended_at: 2023-11-02 10:23:23.581859
env:
  YNH_APP_ACTION: install
  YNH_APP_ARG_ADMIN: vladimir
  YNH_APP_ARG_DOMAIN: nextcloud.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_ARG_PATH: /nextcloud
  YNH_APP_ARG_USER_HOME: '0'
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_qe7k1mak
  YNH_APP_ID: nextcloud
  YNH_APP_INSTANCE_NAME: nextcloud
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 27.1.2~ynh3
  YNH_APP_PACKAGING_FORMAT: '1.0'
  YNH_ARCH: amd64
  YNH_DEBIAN_VERSION: bullseye
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:
- - app
  - nextcloud
started_at: 2023-11-02 10:22:57.554150
success: false
yunohost_version: 11.2.5

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

2023-11-02 11:22:57,565: INFO - Installation de nextcloud...
2023-11-02 11:22:57,619: DEBUG - Nothing to update in LDAP
2023-11-02 11:22:57,619: DEBUG - Permission 'nextcloud.main' mise à jour
2023-11-02 11:22:57,630: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20231102-102257-permission_url-nextcloud" style="text-decoration:underline"> Mise à jour de l'URL associée à l'autorisation 'nextcloud' </a>'
2023-11-02 11:22:57,666: DEBUG - The permission database has been resynchronized
2023-11-02 11:22:57,699: DEBUG - La configuration de SSOwat a été regénérée
2023-11-02 11:22:57,716: DEBUG - Permission 'nextcloud.main' créée
2023-11-02 11:22:57,716: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20231102-102257-permission_create-nextcloud" style="text-decoration:underline"> Créer permission 'nextcloud' </a>'
2023-11-02 11:22:57,747: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2023-11-02 11:22:57,758: DEBUG - + source _common.sh
2023-11-02 11:22:57,759: DEBUG - ++ YNH_PHP_VERSION=8.2
2023-11-02 11:22:57,759: DEBUG - ++ php_dependencies='php8.2-fpm php8.2-bz2 php8.2-imap php8.2-gmp php8.2-gd php8.2-intl php8.2-curl php8.2-apcu php8.2-redis php8.2-ldap php8.2-imagick php8.2-zip php8.2-mbstring php8.2-xml php8.2-mysql php8.2-igbinary php8.2-bcmath'
2023-11-02 11:22:57,759: DEBUG - ++ pkg_dependencies='imagemagick libmagickcore-6.q16-6-extra acl tar smbclient at php8.2-fpm php8.2-bz2 php8.2-imap php8.2-gmp php8.2-gd php8.2-intl php8.2-curl php8.2-apcu php8.2-redis php8.2-ldap php8.2-imagick php8.2-zip php8.2-mbstring php8.2-xml php8.2-mysql php8.2-igbinary php8.2-bcmath'
2023-11-02 11:22:57,759: DEBUG - + source /usr/share/yunohost/helpers
2023-11-02 11:22:57,760: DEBUG - +++ grep xtrace
2023-11-02 11:22:57,762: DEBUG - +++ set +o
2023-11-02 11:22:57,764: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-11-02 11:22:57,764: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-11-02 11:22:57,784: DEBUG - + source _ynh_mysql_connect_as.sh
2023-11-02 11:22:57,784: DEBUG - + ynh_abort_if_errors
2023-11-02 11:22:57,785: DEBUG - + trap ynh_exit_properly EXIT
2023-11-02 11:22:57,785: DEBUG - + domain=nextcloud.maindomain.tld
2023-11-02 11:22:57,785: DEBUG - + path_url=/nextcloud
2023-11-02 11:22:57,785: DEBUG - + admin=vladimir
2023-11-02 11:22:57,786: DEBUG - + user_home=0
2023-11-02 11:22:57,786: DEBUG - + is_public=1
2023-11-02 11:22:57,786: DEBUG - + phpversion=8.2
2023-11-02 11:22:57,786: DEBUG - + app=nextcloud
2023-11-02 11:22:57,860: DEBUG - + final_path=/var/www/nextcloud
2023-11-02 11:22:57,860: DEBUG - + test '!' -e /var/www/nextcloud
2023-11-02 11:22:57,860: DEBUG - + ynh_webpath_register --app=nextcloud --domain=nextcloud.maindomain.tld --path_url=/nextcloud
2023-11-02 11:22:57,861: INFO - [....................] > Validating installation parameters...
2023-11-02 11:22:57,931: DEBUG - + yunohost app register-url nextcloud nextcloud.maindomain.tld /nextcloud
2023-11-02 11:22:58,501: DEBUG - + '[' amd64 == i386 ']'
2023-11-02 11:22:58,502: DEBUG - + '[' amd64 == armhf ']'
2023-11-02 11:22:58,543: DEBUG - + ynh_app_setting_set --app=nextcloud --key=domain --value=nextcloud.maindomain.tld
2023-11-02 11:22:58,543: DEBUG - + local _globalapp=nextcloud
2023-11-02 11:22:58,544: INFO - [....................] > Storing installation settings...
2023-11-02 11:22:58,607: DEBUG - + app=nextcloud
2023-11-02 11:22:58,608: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2023-11-02 11:22:58,608: DEBUG - + ynh_app_setting set nextcloud domain nextcloud.maindomain.tld
2023-11-02 11:22:58,654: DEBUG - + ynh_app_setting_set --app=nextcloud --key=path --value=/nextcloud
2023-11-02 11:22:58,655: DEBUG - + local _globalapp=nextcloud
2023-11-02 11:22:58,716: DEBUG - + app=nextcloud
2023-11-02 11:22:58,717: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2023-11-02 11:22:58,717: DEBUG - + ynh_app_setting set nextcloud path /nextcloud
2023-11-02 11:22:58,772: DEBUG - + ynh_app_setting_set --app=nextcloud --key=admin --value=vladimir
2023-11-02 11:22:58,772: DEBUG - + local _globalapp=nextcloud
2023-11-02 11:22:58,834: DEBUG - + app=nextcloud
2023-11-02 11:22:58,834: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2023-11-02 11:22:58,834: DEBUG - + ynh_app_setting set nextcloud admin vladimir
2023-11-02 11:22:58,877: DEBUG - + ynh_app_setting_set --app=nextcloud --key=user_home --value=0
2023-11-02 11:22:58,877: DEBUG - + local _globalapp=nextcloud
2023-11-02 11:22:58,939: DEBUG - + app=nextcloud
2023-11-02 11:22:58,939: DEBUG - + [[ user_home =~ (unprotected|protected|skipped)_ ]]
2023-11-02 11:22:58,939: DEBUG - + ynh_app_setting set nextcloud user_home 0
2023-11-02 11:22:58,980: DEBUG - + maintenance_mode=0
2023-11-02 11:22:58,981: DEBUG - + ynh_app_setting_set --app=nextcloud --key=maintenance_mode --value=0
2023-11-02 11:22:58,981: DEBUG - + local _globalapp=nextcloud
2023-11-02 11:22:59,043: DEBUG - + app=nextcloud
2023-11-02 11:22:59,043: DEBUG - + [[ maintenance_mode =~ (unprotected|protected|skipped)_ ]]
2023-11-02 11:22:59,043: DEBUG - + ynh_app_setting set nextcloud maintenance_mode 0
2023-11-02 11:22:59,188: DEBUG - + ynh_install_app_dependencies imagemagick libmagickcore-6.q16-6-extra acl tar smbclient at php8.2-fpm php8.2-bz2 php8.2-imap php8.2-gmp php8.2-gd php8.2-intl php8.2-curl php8.2-apcu php8.2-redis php8.2-ldap php8.2-imagick php8.2-zip php8.2-mbstring php8.2-xml php8.2-mysql php8.2-igbinary php8.2-bcmath
2023-11-02 11:22:59,188: DEBUG - + local 'dependencies=imagemagick libmagickcore-6.q16-6-extra acl tar smbclient at php8.2-fpm php8.2-bz2 php8.2-imap php8.2-gmp php8.2-gd php8.2-intl php8.2-curl php8.2-apcu php8.2-redis php8.2-ldap php8.2-imagick php8.2-zip php8.2-mbstring php8.2-xml php8.2-mysql php8.2-igbinary php8.2-bcmath'
2023-11-02 11:22:59,188: INFO - [+...................] > Installing dependencies...
2023-11-02 11:22:59,196: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2023-11-02 11:22:59,198: DEBUG - ++ echo 'imagemagick libmagickcore-6.q16-6-extra acl tar smbclient at php8.2-fpm php8.2-bz2 php8.2-imap php8.2-gmp php8.2-gd php8.2-intl php8.2-curl php8.2-apcu php8.2-redis php8.2-ldap php8.2-imagick php8.2-zip php8.2-mbstring php8.2-xml php8.2-mysql php8.2-igbinary php8.2-bcmath'
2023-11-02 11:22:59,203: DEBUG - + dependencies='imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath'
2023-11-02 11:22:59,204: DEBUG - + local 'dependencies=imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath'
2023-11-02 11:22:59,205: DEBUG - ++ ynh_read_manifest --manifest_key=version
2023-11-02 11:22:59,265: DEBUG - ++ '[' '!' -e '' ']'
2023-11-02 11:22:59,266: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_qe7k1mak/manifest.json ']'
2023-11-02 11:22:59,266: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_qe7k1mak/manifest.json
2023-11-02 11:22:59,272: DEBUG - ++ grep -q '\.json$'
2023-11-02 11:22:59,273: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_qe7k1mak/manifest.json
2023-11-02 11:22:59,277: DEBUG - ++ jq .version /var/cache/yunohost/app_tmp_work_dirs/app_qe7k1mak/manifest.json --raw-output
2023-11-02 11:22:59,346: DEBUG - + local version=27.1.2~ynh3
2023-11-02 11:22:59,347: DEBUG - + '[' -z 27.1.2~ynh3 ']'
2023-11-02 11:22:59,347: DEBUG - + '[' 27.1.2~ynh3 == null ']'
2023-11-02 11:22:59,347: DEBUG - + local dep_app=nextcloud
2023-11-02 11:22:59,347: DEBUG - + [[ imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath =~ [<=>] ]]
2023-11-02 11:22:59,348: DEBUG - ++ sort -u
2023-11-02 11:22:59,350: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2023-11-02 11:22:59,352: DEBUG - ++ echo imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath
2023-11-02 11:22:59,354: DEBUG - + local specific_php_version=8.2
2023-11-02 11:22:59,354: DEBUG - + [[ -n 8.2 ]]
2023-11-02 11:22:59,357: DEBUG - ++ wc -l
2023-11-02 11:22:59,358: DEBUG - ++ echo 8.2
2023-11-02 11:22:59,360: DEBUG - + [[ 1 -eq 1 ]]
2023-11-02 11:22:59,360: DEBUG - + dependencies+=', php8.2, php8.2-fpm, php8.2-common'
2023-11-02 11:22:59,362: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=phpversion
2023-11-02 11:22:59,362: DEBUG - ++ local _globalapp=nextcloud
2023-11-02 11:22:59,424: DEBUG - ++ app=nextcloud
2023-11-02 11:22:59,424: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2023-11-02 11:22:59,425: DEBUG - ++ ynh_app_setting get nextcloud phpversion
2023-11-02 11:22:59,521: DEBUG - + local old_phpversion=
2023-11-02 11:22:59,521: DEBUG - + '[' -n '' ']'
2023-11-02 11:22:59,521: DEBUG - + ynh_app_setting_set --app=nextcloud --key=phpversion --value=8.2
2023-11-02 11:22:59,521: DEBUG - + local _globalapp=nextcloud
2023-11-02 11:22:59,679: DEBUG - + app=nextcloud
2023-11-02 11:22:59,680: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2023-11-02 11:22:59,680: DEBUG - + ynh_app_setting set nextcloud phpversion 8.2
2023-11-02 11:22:59,747: DEBUG - + test -e /usr/bin/php7.4
2023-11-02 11:22:59,748: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2023-11-02 11:22:59,752: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-11-02 11:22:59,769: DEBUG - ++ ynh_wait_dpkg_free
2023-11-02 11:22:59,778: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
2023-11-02 11:22:59,779: WARNING -       Output information may be incomplete.
2023-11-02 11:22:59,980: DEBUG - ++ return 0
2023-11-02 11:22:59,981: DEBUG - ++ grep --count 'ok installed'
2023-11-02 11:22:59,983: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-11-02 11:23:00,034: DEBUG - ++ echo yes
2023-11-02 11:23:00,035: DEBUG - + local psql_installed=yes
2023-11-02 11:23:00,035: DEBUG - + [[ true == \t\r\u\e ]]
2023-11-02 11:23:00,035: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2023-11-02 11:23:00,035: DEBUG - + cat
2023-11-02 11:23:00,037: DEBUG - + ynh_package_install_from_equivs /tmp/nextcloud-ynh-deps.control
2023-11-02 11:23:00,037: DEBUG - + local controlfile=/tmp/nextcloud-ynh-deps.control
2023-11-02 11:23:00,040: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-11-02 11:23:00,041: DEBUG - ++ grep '^Package: ' /tmp/nextcloud-ynh-deps.control
2023-11-02 11:23:00,043: DEBUG - + local pkgname=nextcloud-ynh-deps
2023-11-02 11:23:00,044: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-11-02 11:23:00,046: DEBUG - ++ grep '^Version: ' /tmp/nextcloud-ynh-deps.control
2023-11-02 11:23:00,050: DEBUG - + local pkgversion=27.1.2~ynh3
2023-11-02 11:23:00,051: DEBUG - + [[ -z nextcloud-ynh-deps ]]
2023-11-02 11:23:00,051: DEBUG - + [[ -z 27.1.2~ynh3 ]]
2023-11-02 11:23:00,051: DEBUG - + ynh_package_update
2023-11-02 11:23:00,051: DEBUG - + ynh_apt update
2023-11-02 11:23:00,051: DEBUG - + ynh_wait_dpkg_free
2023-11-02 11:23:00,074: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
2023-11-02 11:23:00,075: WARNING -       Output information may be incomplete.
2023-11-02 11:23:00,279: DEBUG - + return 0
2023-11-02 11:23:00,279: DEBUG - + LC_ALL=C
2023-11-02 11:23:00,279: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-11-02 11:23:00,279: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-11-02 11:23:00,390: DEBUG - Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
2023-11-02 11:23:00,404: DEBUG - Hit:2 http://forge.yunohost.org/debian bullseye InRelease
2023-11-02 11:23:00,418: DEBUG - Hit:3 http://ftp.u-strasbg.fr/debian bullseye InRelease
2023-11-02 11:23:00,450: DEBUG - Hit:4 http://ftp.u-strasbg.fr/debian bullseye-updates InRelease
2023-11-02 11:23:00,486: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2023-11-02 11:23:01,683: DEBUG - Reading package lists...
2023-11-02 11:23:01,702: DEBUG - ++ mktemp --directory
2023-11-02 11:23:01,703: DEBUG - + local TMPDIR=/tmp/tmp.7RJ66rXOLF
2023-11-02 11:23:01,704: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2023-11-02 11:23:01,705: DEBUG - + ynh_wait_dpkg_free
2023-11-02 11:23:01,714: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
2023-11-02 11:23:01,714: WARNING -       Output information may be incomplete.
2023-11-02 11:23:01,880: DEBUG - + return 0
2023-11-02 11:23:01,880: DEBUG - + cp /tmp/nextcloud-ynh-deps.control /tmp/tmp.7RJ66rXOLF/control
2023-11-02 11:23:01,882: DEBUG - + cd /tmp/tmp.7RJ66rXOLF
2023-11-02 11:23:01,883: DEBUG - + LC_ALL=C
2023-11-02 11:23:01,883: DEBUG - + equivs-build ./control
2023-11-02 11:23:02,247: DEBUG - dpkg-buildpackage: info: source package nextcloud-ynh-deps
2023-11-02 11:23:02,248: DEBUG - dpkg-buildpackage: info: source version 27.1.2~ynh3
2023-11-02 11:23:02,248: DEBUG - dpkg-buildpackage: info: source distribution unstable
2023-11-02 11:23:02,248: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2023-11-02 11:23:02,291: DEBUG -  dpkg-source --before-build .
2023-11-02 11:23:02,291: DEBUG - dpkg-buildpackage: info: host architecture amd64
2023-11-02 11:23:02,422: DEBUG -  debian/rules clean
2023-11-02 11:23:02,432: DEBUG - dh clean
2023-11-02 11:23:02,577: DEBUG -    dh_clean
2023-11-02 11:23:02,614: DEBUG -  debian/rules binary
2023-11-02 11:23:02,617: DEBUG - dh binary
2023-11-02 11:23:02,694: DEBUG -    dh_update_autotools_config
2023-11-02 11:23:02,728: DEBUG -    dh_autoreconf
2023-11-02 11:23:02,778: DEBUG -    create-stamp debian/debhelper-build-stamp
2023-11-02 11:23:02,778: DEBUG -    dh_prep
2023-11-02 11:23:02,812: DEBUG -    dh_install
2023-11-02 11:23:02,852: DEBUG -    dh_installdocs
2023-11-02 11:23:02,900: DEBUG -    dh_installchangelogs
2023-11-02 11:23:03,003: DEBUG -    dh_perl
2023-11-02 11:23:03,045: DEBUG -    dh_link
2023-11-02 11:23:03,085: DEBUG -    dh_strip_nondeterminism
2023-11-02 11:23:03,171: DEBUG -    dh_compress
2023-11-02 11:23:03,234: DEBUG -    dh_fixperms
2023-11-02 11:23:03,283: DEBUG -    dh_missing
2023-11-02 11:23:03,313: DEBUG -    dh_installdeb
2023-11-02 11:23:03,351: DEBUG -    dh_gencontrol
2023-11-02 11:23:03,530: DEBUG -    dh_md5sums
2023-11-02 11:23:03,574: DEBUG -    dh_builddeb
2023-11-02 11:23:03,603: DEBUG - dpkg-deb: building package 'nextcloud-ynh-deps' in '../nextcloud-ynh-deps_27.1.2~ynh3_all.deb'.
2023-11-02 11:23:03,646: DEBUG -  dpkg-genbuildinfo --build=binary
2023-11-02 11:23:04,175: DEBUG -  dpkg-genchanges --build=binary >../nextcloud-ynh-deps_27.1.2~ynh3_amd64.changes
2023-11-02 11:23:04,272: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2023-11-02 11:23:04,277: DEBUG -  dpkg-source --after-build .
2023-11-02 11:23:04,407: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2023-11-02 11:23:04,409: DEBUG - 
2023-11-02 11:23:04,409: DEBUG - The package has been created.
2023-11-02 11:23:04,409: DEBUG - Attention, the package has been created in the current directory,
2023-11-02 11:23:04,409: DEBUG - not in ".." as indicated by the message above!
2023-11-02 11:23:04,411: DEBUG - + tee ./dpkg_log
2023-11-02 11:23:04,412: DEBUG - + LC_ALL=C
2023-11-02 11:23:04,412: DEBUG - + dpkg --force-depends --install ./nextcloud-ynh-deps_27.1.2~ynh3_all.deb
2023-11-02 11:23:04,470: DEBUG - Selecting previously unselected package nextcloud-ynh-deps.
2023-11-02 11:23:04,584: DEBUG - (Reading database ... 187071 files and directories currently installed.)
2023-11-02 11:23:04,593: DEBUG - Preparing to unpack .../nextcloud-ynh-deps_27.1.2~ynh3_all.deb ...
2023-11-02 11:23:04,596: DEBUG - Unpacking nextcloud-ynh-deps (27.1.2~ynh3) ...
2023-11-02 11:23:04,668: DEBUG - dpkg: nextcloud-ynh-deps: dependency problems, but configuring anyway as you requested:
2023-11-02 11:23:04,668: DEBUG -  nextcloud-ynh-deps depends on php8.2-fpm; however:
2023-11-02 11:23:04,668: DEBUG -   Package php8.2-fpm is not installed.
2023-11-02 11:23:04,668: DEBUG -  nextcloud-ynh-deps depends on php8.2-bz2; however:
2023-11-02 11:23:04,668: DEBUG -   Package php8.2-bz2 is not installed.
2023-11-02 11:23:04,668: DEBUG -  nextcloud-ynh-deps depends on php8.2-imap; however:
2023-11-02 11:23:04,668: DEBUG -   Package php8.2-imap is not installed.
2023-11-02 11:23:04,668: DEBUG -  nextcloud-ynh-deps depends on php8.2-gmp; however:
2023-11-02 11:23:04,668: DEBUG -   Package php8.2-gmp is not installed.
2023-11-02 11:23:04,668: DEBUG -  nextcloud-ynh-deps depends on php8.2-gd; however:
2023-11-02 11:23:04,668: DEBUG -   Package php8.2-gd is not installed.
2023-11-02 11:23:04,669: DEBUG -  nextcloud-ynh-deps depends on php8.2-intl; however:
2023-11-02 11:23:04,669: DEBUG -   Package php8.2-intl is not installed.
2023-11-02 11:23:04,669: DEBUG -  nextcloud-ynh-deps depends on php8.2-curl; however:
2023-11-02 11:23:04,669: DEBUG -   Package php8.2-curl is not installed.
2023-11-02 11:23:04,669: DEBUG -  nextcloud-ynh-deps depends on php8.2-apcu; however:
2023-11-02 11:23:04,669: DEBUG -   Package php8.2-apcu is not installed.
2023-11-02 11:23:04,669: DEBUG -  nextcloud-ynh-deps depends on php8.2-redis; however:
2023-11-02 11:23:04,669: DEBUG -   Package php8.2-redis is not installed.
2023-11-02 11:23:04,669: DEBUG -  nextcloud-ynh-deps depends on php8.2-ldap; however:
2023-11-02 11:23:04,669: DEBUG -   Package php8.2-ldap is not installed.
2023-11-02 11:23:04,669: DEBUG -  nextcloud-ynh-deps depends on php8.2-imagick; however:
2023-11-02 11:23:04,669: DEBUG -   Package php8.2-imagick is not installed.
2023-11-02 11:23:04,669: DEBUG -  nextcloud-ynh-deps depends on php8.2-zip; however:
2023-11-02 11:23:04,669: DEBUG -   Package php8.2-zip is not installed.
2023-11-02 11:23:04,669: DEBUG -  nextcloud-ynh-deps depends on php8.2-mysql; however:
2023-11-02 11:23:04,670: DEBUG -   Package php8.2-mysql is not installed.
2023-11-02 11:23:04,670: DEBUG -  nextcloud-ynh-deps depends on php8.2-igbinary; however:
2023-11-02 11:23:04,670: DEBUG -   Package php8.2-igbinary is not installed.
2023-11-02 11:23:04,670: DEBUG -  nextcloud-ynh-deps depends on php8.2-bcmath; however:
2023-11-02 11:23:04,670: DEBUG -   Package php8.2-bcmath is not installed.
2023-11-02 11:23:04,670: DEBUG -  nextcloud-ynh-deps depends on php8.2; however:
2023-11-02 11:23:04,670: DEBUG -   Package php8.2 is not installed.
2023-11-02 11:23:04,670: DEBUG - 
2023-11-02 11:23:04,670: DEBUG - Setting up nextcloud-ynh-deps (27.1.2~ynh3) ...
2023-11-02 11:23:04,838: DEBUG - debconf: unable to initialize frontend: Dialog
2023-11-02 11:23:04,838: DEBUG - debconf: (TERM is not set, so the dialog frontend is not usable.)
2023-11-02 11:23:04,838: DEBUG - debconf: falling back to frontend: Readline
2023-11-02 11:23:04,858: DEBUG - debconf: unable to initialize frontend: Readline
2023-11-02 11:23:04,858: DEBUG - debconf: (This frontend requires a controlling tty.)
2023-11-02 11:23:04,858: DEBUG - debconf: falling back to frontend: Teletype
2023-11-02 11:23:05,119: DEBUG - + ynh_package_install --fix-broken
2023-11-02 11:23:05,119: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-11-02 11:23:05,119: DEBUG - + ynh_wait_dpkg_free
2023-11-02 11:23:05,128: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
2023-11-02 11:23:05,129: WARNING -       Output information may be incomplete.
2023-11-02 11:23:05,346: DEBUG - + return 0
2023-11-02 11:23:05,346: DEBUG - + LC_ALL=C
2023-11-02 11:23:05,347: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-11-02 11:23:05,347: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-11-02 11:23:05,635: DEBUG - Reading package lists...
2023-11-02 11:23:05,898: DEBUG - Building dependency tree...
2023-11-02 11:23:05,900: DEBUG - Reading state information...
2023-11-02 11:23:06,025: DEBUG - Correcting dependencies... Done
2023-11-02 11:23:06,302: DEBUG - The following additional packages will be installed:
2023-11-02 11:23:06,304: DEBUG -   libc-client2007e libzip4 mlock php8.2 php8.2-apcu php8.2-bcmath php8.2-bz2
2023-11-02 11:23:06,304: DEBUG -   php8.2-curl php8.2-fpm php8.2-gd php8.2-gmp php8.2-igbinary php8.2-imagick
2023-11-02 11:23:06,305: DEBUG -   php8.2-imap php8.2-intl php8.2-ldap php8.2-mysql php8.2-redis php8.2-zip
2023-11-02 11:23:06,307: DEBUG - Suggested packages:
2023-11-02 11:23:06,307: DEBUG -   uw-mailutils
2023-11-02 11:23:06,343: DEBUG - The following NEW packages will be installed:
2023-11-02 11:23:06,344: DEBUG -   libc-client2007e libzip4 mlock php8.2 php8.2-apcu php8.2-bcmath php8.2-bz2
2023-11-02 11:23:06,344: DEBUG -   php8.2-curl php8.2-fpm php8.2-gd php8.2-gmp php8.2-igbinary php8.2-imagick
2023-11-02 11:23:06,345: DEBUG -   php8.2-imap php8.2-intl php8.2-ldap php8.2-mysql php8.2-redis php8.2-zip
2023-11-02 11:23:08,167: DEBUG - 0 upgraded, 19 newly installed, 0 to remove and 1 not upgraded.
2023-11-02 11:23:08,168: DEBUG - Need to get 0 B/3277 kB of archives.
2023-11-02 11:23:08,168: DEBUG - After this operation, 11.1 MB of additional disk space will be used.
2023-11-02 11:23:08,253: DEBUG - Selecting previously unselected package php8.2-fpm.
2023-11-02 11:23:08,715: DEBUG - (Reading database ... 187075 files and directories currently installed.)
2023-11-02 11:23:08,725: DEBUG - Preparing to unpack .../00-php8.2-fpm_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:08,743: DEBUG - Unpacking php8.2-fpm (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:09,436: DEBUG - Selecting previously unselected package php8.2-apcu.
2023-11-02 11:23:09,474: DEBUG - Preparing to unpack .../01-php8.2-apcu_5.1.22++-1+0~20230618.37+debian11~1.gbp7134d4_amd64.deb ...
2023-11-02 11:23:09,494: DEBUG - Unpacking php8.2-apcu (5.1.22++-1+0~20230618.37+debian11~1.gbp7134d4) ...
2023-11-02 11:23:09,576: DEBUG - Selecting previously unselected package php8.2-igbinary.
2023-11-02 11:23:09,610: DEBUG - Preparing to unpack .../02-php8.2-igbinary_3.2.14-1+0~20230618.45+debian11~1.gbpcc1dca_amd64.deb ...
2023-11-02 11:23:09,619: DEBUG - Unpacking php8.2-igbinary (3.2.14-1+0~20230618.45+debian11~1.gbpcc1dca) ...
2023-11-02 11:23:09,699: DEBUG - Selecting previously unselected package php8.2-imagick.
2023-11-02 11:23:09,737: DEBUG - Preparing to unpack .../03-php8.2-imagick_3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27_amd64.deb ...
2023-11-02 11:23:09,761: DEBUG - Unpacking php8.2-imagick (3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27) ...
2023-11-02 11:23:09,851: DEBUG - Selecting previously unselected package php8.2-redis.
2023-11-02 11:23:09,886: DEBUG - Preparing to unpack .../04-php8.2-redis_6.0.1-1+0~20231006.53+debian11~1.gbpe91da2_amd64.deb ...
2023-11-02 11:23:09,901: DEBUG - Unpacking php8.2-redis (6.0.1-1+0~20231006.53+debian11~1.gbpe91da2) ...
2023-11-02 11:23:09,999: DEBUG - Selecting previously unselected package mlock.
2023-11-02 11:23:10,018: DEBUG - Preparing to unpack .../05-mlock_8%3a2007f~dfsg-7+b1_amd64.deb ...
2023-11-02 11:23:10,020: DEBUG - Unpacking mlock (8:2007f~dfsg-7+b1) ...
2023-11-02 11:23:10,069: DEBUG - Selecting previously unselected package libc-client2007e.
2023-11-02 11:23:10,091: DEBUG - Preparing to unpack .../06-libc-client2007e_8%3a2007f~dfsg-7+b1_amd64.deb ...
2023-11-02 11:23:10,094: DEBUG - Unpacking libc-client2007e (8:2007f~dfsg-7+b1) ...
2023-11-02 11:23:10,207: DEBUG - Selecting previously unselected package libzip4:amd64.
2023-11-02 11:23:10,228: DEBUG - Preparing to unpack .../07-libzip4_1.7.3-1_amd64.deb ...
2023-11-02 11:23:10,230: DEBUG - Unpacking libzip4:amd64 (1.7.3-1) ...
2023-11-02 11:23:10,267: DEBUG - Selecting previously unselected package php8.2.
2023-11-02 11:23:10,286: DEBUG - Preparing to unpack .../08-php8.2_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_all.deb ...
2023-11-02 11:23:10,288: DEBUG - Unpacking php8.2 (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,326: DEBUG - Selecting previously unselected package php8.2-bcmath.
2023-11-02 11:23:10,347: DEBUG - Preparing to unpack .../09-php8.2-bcmath_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,351: DEBUG - Unpacking php8.2-bcmath (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,390: DEBUG - Selecting previously unselected package php8.2-bz2.
2023-11-02 11:23:10,410: DEBUG - Preparing to unpack .../10-php8.2-bz2_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,416: DEBUG - Unpacking php8.2-bz2 (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,453: DEBUG - Selecting previously unselected package php8.2-curl.
2023-11-02 11:23:10,474: DEBUG - Preparing to unpack .../11-php8.2-curl_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,480: DEBUG - Unpacking php8.2-curl (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,520: DEBUG - Selecting previously unselected package php8.2-gd.
2023-11-02 11:23:10,541: DEBUG - Preparing to unpack .../12-php8.2-gd_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,546: DEBUG - Unpacking php8.2-gd (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,585: DEBUG - Selecting previously unselected package php8.2-gmp.
2023-11-02 11:23:10,607: DEBUG - Preparing to unpack .../13-php8.2-gmp_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,613: DEBUG - Unpacking php8.2-gmp (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,649: DEBUG - Selecting previously unselected package php8.2-imap.
2023-11-02 11:23:10,670: DEBUG - Preparing to unpack .../14-php8.2-imap_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,675: DEBUG - Unpacking php8.2-imap (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,712: DEBUG - Selecting previously unselected package php8.2-intl.
2023-11-02 11:23:10,733: DEBUG - Preparing to unpack .../15-php8.2-intl_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,739: DEBUG - Unpacking php8.2-intl (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,789: DEBUG - Selecting previously unselected package php8.2-ldap.
2023-11-02 11:23:10,810: DEBUG - Preparing to unpack .../16-php8.2-ldap_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,815: DEBUG - Unpacking php8.2-ldap (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,852: DEBUG - Selecting previously unselected package php8.2-mysql.
2023-11-02 11:23:10,874: DEBUG - Preparing to unpack .../17-php8.2-mysql_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,879: DEBUG - Unpacking php8.2-mysql (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:10,931: DEBUG - Selecting previously unselected package php8.2-zip.
2023-11-02 11:23:10,955: DEBUG - Preparing to unpack .../18-php8.2-zip_8.2.12-1+0~20231027.35+debian11~1.gbp517c79_amd64.deb ...
2023-11-02 11:23:10,961: DEBUG - Unpacking php8.2-zip (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:11,386: DEBUG - bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2023-11-02 11:23:11,671: DEBUG - bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2023-11-02 11:23:11,761: DEBUG - bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2023-11-02 11:23:11,858: DEBUG - Setting up php8.2-ldap (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:12,093: DEBUG - 
2023-11-02 11:23:12,093: DEBUG - Creating config file /etc/php/8.2/mods-available/ldap.ini with new version
2023-11-02 11:23:12,274: DEBUG - Setting up php8.2-mysql (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:12,520: DEBUG - 
2023-11-02 11:23:12,520: DEBUG - Creating config file /etc/php/8.2/mods-available/mysqlnd.ini with new version
2023-11-02 11:23:12,914: DEBUG - 
2023-11-02 11:23:12,914: DEBUG - Creating config file /etc/php/8.2/mods-available/mysqli.ini with new version
2023-11-02 11:23:13,305: DEBUG - 
2023-11-02 11:23:13,306: DEBUG - Creating config file /etc/php/8.2/mods-available/pdo_mysql.ini with new version
2023-11-02 11:23:13,467: DEBUG - Setting up php8.2-bz2 (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:13,696: DEBUG - 
2023-11-02 11:23:13,696: DEBUG - Creating config file /etc/php/8.2/mods-available/bz2.ini with new version
2023-11-02 11:23:13,866: DEBUG - Setting up php8.2-bcmath (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:14,099: DEBUG - 
2023-11-02 11:23:14,099: DEBUG - Creating config file /etc/php/8.2/mods-available/bcmath.ini with new version
2023-11-02 11:23:14,265: DEBUG - Setting up libzip4:amd64 (1.7.3-1) ...
2023-11-02 11:23:14,270: DEBUG - Setting up mlock (8:2007f~dfsg-7+b1) ...
2023-11-02 11:23:14,274: DEBUG - Setting up php8.2-intl (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:14,505: DEBUG - 
2023-11-02 11:23:14,506: DEBUG - Creating config file /etc/php/8.2/mods-available/intl.ini with new version
2023-11-02 11:23:14,673: DEBUG - Setting up php8.2-igbinary (3.2.14-1+0~20230618.45+debian11~1.gbpcc1dca) ...
2023-11-02 11:23:14,761: DEBUG - Setting up php8.2-fpm (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:15,008: DEBUG - 
2023-11-02 11:23:15,008: DEBUG - Creating config file /etc/php/8.2/fpm/php.ini with new version
2023-11-02 11:23:16,044: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/php8.2-fpm.service -> /lib/systemd/system/php8.2-fpm.service.
2023-11-02 11:23:17,323: DEBUG - Setting up php8.2-curl (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:17,589: DEBUG - 
2023-11-02 11:23:17,589: DEBUG - Creating config file /etc/php/8.2/mods-available/curl.ini with new version
2023-11-02 11:23:17,756: DEBUG - Setting up php8.2-imagick (3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27) ...
2023-11-02 11:23:17,850: DEBUG - Setting up php8.2 (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:17,855: DEBUG - Setting up php8.2-redis (6.0.1-1+0~20231006.53+debian11~1.gbpe91da2) ...
2023-11-02 11:23:17,943: DEBUG - Setting up php8.2-apcu (5.1.22++-1+0~20230618.37+debian11~1.gbp7134d4) ...
2023-11-02 11:23:18,036: DEBUG - Setting up php8.2-gmp (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:18,285: DEBUG - 
2023-11-02 11:23:18,285: DEBUG - Creating config file /etc/php/8.2/mods-available/gmp.ini with new version
2023-11-02 11:23:18,460: DEBUG - Setting up php8.2-gd (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:18,699: DEBUG - 
2023-11-02 11:23:18,699: DEBUG - Creating config file /etc/php/8.2/mods-available/gd.ini with new version
2023-11-02 11:23:18,865: DEBUG - Setting up libc-client2007e (8:2007f~dfsg-7+b1) ...
2023-11-02 11:23:18,870: DEBUG - Setting up php8.2-imap (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:19,106: DEBUG - 
2023-11-02 11:23:19,106: DEBUG - Creating config file /etc/php/8.2/mods-available/imap.ini with new version
2023-11-02 11:23:19,272: DEBUG - Setting up php8.2-zip (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:19,510: DEBUG - 
2023-11-02 11:23:19,510: DEBUG - Creating config file /etc/php/8.2/mods-available/zip.ini with new version
2023-11-02 11:23:19,679: DEBUG - Processing triggers for man-db (2.9.4-2) ...
2023-11-02 11:23:20,465: DEBUG - Processing triggers for libc-bin (2.31-13+deb11u7) ...
2023-11-02 11:23:20,502: DEBUG - Processing triggers for php8.2-cli (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:20,523: DEBUG - Processing triggers for php8.2-fpm (8.2.12-1+0~20231027.35+debian11~1.gbp517c79) ...
2023-11-02 11:23:20,892: DEBUG - bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2023-11-02 11:23:20,975: DEBUG - bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2023-11-02 11:23:21,069: DEBUG - bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2023-11-02 11:23:21,275: DEBUG - + [[ -n /tmp/tmp.7RJ66rXOLF ]]
2023-11-02 11:23:21,276: DEBUG - + rm --recursive --force /tmp/tmp.7RJ66rXOLF
2023-11-02 11:23:21,278: DEBUG - + ynh_package_is_installed nextcloud-ynh-deps
2023-11-02 11:23:21,289: DEBUG - + ynh_wait_dpkg_free
2023-11-02 11:23:21,299: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
2023-11-02 11:23:21,299: WARNING -       Output information may be incomplete.
2023-11-02 11:23:21,476: DEBUG - + return 0
2023-11-02 11:23:21,477: DEBUG - + grep --count 'ok installed'
2023-11-02 11:23:21,479: DEBUG - + dpkg-query --show '--showformat=${Status}' nextcloud-ynh-deps
2023-11-02 11:23:21,506: DEBUG - + rm /tmp/nextcloud-ynh-deps.control
2023-11-02 11:23:21,508: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-11-02 11:23:21,522: DEBUG - ++ ynh_wait_dpkg_free
2023-11-02 11:23:21,531: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
2023-11-02 11:23:21,531: WARNING -       Output information may be incomplete.
2023-11-02 11:23:21,698: DEBUG - ++ return 0
2023-11-02 11:23:21,699: DEBUG - ++ grep --count 'ok installed'
2023-11-02 11:23:21,699: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-11-02 11:23:21,729: DEBUG - ++ echo yes
2023-11-02 11:23:21,730: DEBUG - + local psql_installed2=yes
2023-11-02 11:23:21,730: DEBUG - + [[ yes != \y\e\s ]]
2023-11-02 11:23:21,811: INFO - [#+..................] > Creating a MySQL database...
2023-11-02 11:23:21,813: DEBUG - ++ ynh_sanitize_dbid --db_name=nextcloud
2023-11-02 11:23:21,828: DEBUG - ++ echo nextcloud
2023-11-02 11:23:21,829: DEBUG - + db_name=nextcloud
2023-11-02 11:23:21,829: DEBUG - + db_user=nextcloud
2023-11-02 11:23:21,829: DEBUG - + ynh_app_setting_set --app=nextcloud --key=db_name --value=nextcloud
2023-11-02 11:23:21,829: DEBUG - + local _globalapp=nextcloud
2023-11-02 11:23:21,919: DEBUG - + app=nextcloud
2023-11-02 11:23:21,919: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2023-11-02 11:23:21,920: DEBUG - + ynh_app_setting set nextcloud db_name nextcloud
2023-11-02 11:23:21,972: DEBUG - + ynh_mysql_setup_db --db_user=nextcloud --db_name=nextcloud
2023-11-02 11:23:21,973: DEBUG - + db_pwd=
2023-11-02 11:23:22,027: DEBUG - ++ ynh_string_random
2023-11-02 11:23:22,030: DEBUG - ++ length=24
2023-11-02 11:23:22,030: DEBUG - ++ filter=A-Za-z0-9
2023-11-02 11:23:22,031: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2023-11-02 11:23:22,033: DEBUG - ++ tr --complement --delete A-Za-z0-9
2023-11-02 11:23:22,035: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2023-11-02 11:23:22,043: DEBUG - + local new_db_pwd=**********
2023-11-02 11:23:22,044: DEBUG - + db_pwd=**********
2023-11-02 11:23:22,044: DEBUG - + ynh_mysql_create_db nextcloud nextcloud **********
2023-11-02 11:23:22,044: DEBUG - + local db=nextcloud
2023-11-02 11:23:22,044: DEBUG - + local 'sql=CREATE DATABASE nextcloud;'
2023-11-02 11:23:22,044: DEBUG - + [[ 3 -gt 1 ]]
2023-11-02 11:23:22,044: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON nextcloud.* TO '\''nextcloud'\''@'\''localhost'\'''
2023-11-02 11:23:22,044: DEBUG - + [[ -n ********** ]]
2023-11-02 11:23:22,044: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2023-11-02 11:23:22,044: DEBUG - + sql+=' WITH GRANT OPTION;'
2023-11-02 11:23:22,044: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE nextcloud; GRANT ALL PRIVILEGES ON nextcloud.* TO '\''nextcloud'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2023-11-02 11:23:22,065: DEBUG - + database=
2023-11-02 11:23:22,065: DEBUG - + '[' -n '' ']'
2023-11-02 11:23:22,065: DEBUG - + mysql -B ''
2023-11-02 11:23:22,066: WARNING - /usr/share/yunohost/helpers.d/mysql: ligne 50: mysql : commande introuvable
2023-11-02 11:23:22,068: DEBUG - + ynh_exit_properly
2023-11-02 11:23:22,068: DEBUG - + local exit_code=127
2023-11-02 11:23:22,069: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2023-11-02 11:23:22,071: DEBUG - + '[' 127 -eq 0 ']'
2023-11-02 11:23:23,579: ERROR - Impossible d'installer nextcloud : Une erreur est survenue dans le script d'installation de l'application

Thank you for your insight, regards, VR

I have no solution, but I’ll still respond a few things :

  1. You should use https://paste.yunohost.org (or other tools like this) for logs, the forum is really bad at displaying this (and will add formatting when it should not)
  2. Actually, NextCloud in YunoHost uses MySQL, there is a pull request working exactly on the migration : V2 postgresql by ericgaspar · Pull Request #597 · YunoHost-Apps/nextcloud_ynh · GitHub (this is the V2, there was another one before), but this is a huge work to be sure not to break anything.

In your logs, it seems that the mysql command was not found on your system, which is quite strange, did you do anything about removing mysql ?

Hello, thank you for the quick response. My post is locked so I cannot use pase.yunohost.org anymore.
I will uininstall Diaspora*. Thx again

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