Unable to install Joomla

My YunoHost server

Hardware: VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / …
YunoHost version: 11.0.9.9
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no / yes
If yes, please explain:

I have been trying to install Joomla all day now and every time I do, it fails due to an error, shown in this log:

rgs:
  app: joomla
  force: false
  label: Joomla
  no_remove_on_failure: false
ended_at: 2022-08-25 21:13:07.807869
env:
  YNH_APP_ARG_ADMIN: bonobro
  YNH_APP_ARG_DOMAIN: domain2.tld
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_ARG_PATH: /homepage
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_mty3vqfo
  YNH_APP_ID: joomla
  YNH_APP_INSTANCE_NAME: joomla
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 4.1.5~ynh1
  YNH_ARCH: amd64
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
  - joomla
started_at: 2022-08-25 21:12:53.063539
success: false
yunohost_version: 11.0.9.9

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

2022-08-25 16:12:53,073: INFO - Installing joomla...
2022-08-25 16:12:53,211: DEBUG - Nothing to update in LDAP
2022-08-25 16:12:53,211: DEBUG - Permission 'joomla.main' updated
2022-08-25 16:12:53,265: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220825-211253-permission_url-joomla" style="text-decoration:underline">Update URL related to permission 'joomla'</a>'
2022-08-25 16:12:53,623: DEBUG - The permission database has been resynchronized
2022-08-25 16:12:53,703: DEBUG - SSOwat configuration regenerated
2022-08-25 16:12:53,765: DEBUG - Permission 'joomla.main' created
2022-08-25 16:12:53,765: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220825-211253-permission_create-joomla" style="text-decoration:underline">Create permission 'joomla'</a>'
2022-08-25 16:12:53,785: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2022-08-25 16:12:53,797: DEBUG - + source _common.sh
2022-08-25 16:12:53,798: DEBUG - ++ YNH_PHP_VERSION=8.0
2022-08-25 16:12:53,798: DEBUG - ++ pkg_dependencies='php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring'
2022-08-25 16:12:53,798: DEBUG - + source /usr/share/yunohost/helpers
2022-08-25 16:12:53,798: DEBUG - +++ set +o
2022-08-25 16:12:53,798: DEBUG - +++ grep xtrace
2022-08-25 16:12:53,800: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-08-25 16:12:53,801: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-08-25 16:12:53,821: DEBUG - + ynh_abort_if_errors
2022-08-25 16:12:53,822: DEBUG - + trap ynh_exit_properly EXIT
2022-08-25 16:12:53,822: DEBUG - + domain=domain2.tld
2022-08-25 16:12:53,822: DEBUG - + path_url=/homepage
2022-08-25 16:12:53,822: DEBUG - + is_public=1
2022-08-25 16:12:53,822: DEBUG - + admin=bonobro
2022-08-25 16:12:53,822: DEBUG - + password='**********'
2022-08-25 16:12:53,822: DEBUG - + app=joomla
2022-08-25 16:12:53,823: DEBUG - ++ ynh_user_get_info --username=bonobro --key=mail
2022-08-25 16:12:53,853: DEBUG - ++ yunohost user info bonobro --output-as json --quiet
2022-08-25 16:12:53,854: DEBUG - ++ jq -r .mail
2022-08-25 16:12:54,457: DEBUG - + admin_email=bonobro@domain2.tld
2022-08-25 16:12:54,458: DEBUG - ++ ynh_string_random --length=5
2022-08-25 16:12:54,458: DEBUG - ++ tr -d 0123456789
2022-08-25 16:12:54,460: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-08-25 16:12:54,479: DEBUG - ++ length=5
2022-08-25 16:12:54,479: DEBUG - ++ filter=A-Za-z0-9
2022-08-25 16:12:54,479: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-08-25 16:12:54,480: DEBUG - ++ sed --quiet 's/\(.\{5\}\).*/\1/p'
2022-08-25 16:12:54,482: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-08-25 16:12:54,486: DEBUG - + db_prefix=lguuu_
2022-08-25 16:12:54,486: DEBUG - ++ ynh_string_random --length=16
2022-08-25 16:12:54,504: DEBUG - ++ length=16
2022-08-25 16:12:54,504: DEBUG - ++ filter=A-Za-z0-9
2022-08-25 16:12:54,505: DEBUG - ++ sed --quiet 's/\(.\{16\}\).*/\1/p'
2022-08-25 16:12:54,505: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-08-25 16:12:54,507: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-08-25 16:12:54,514: DEBUG - + secret=**********
2022-08-25 16:12:54,576: DEBUG - + final_path=/var/www/joomla
2022-08-25 16:12:54,576: DEBUG - + test '!' -e /var/www/joomla
2022-08-25 16:12:54,576: DEBUG - + ynh_webpath_register --app=joomla --domain=domain2.tld --path_url=/homepage
2022-08-25 16:12:54,576: INFO - [+...................] > Validating installation parameters...
2022-08-25 16:12:54,643: DEBUG - + yunohost app register-url joomla domain2.tld /homepage
2022-08-25 16:12:55,830: INFO - [#+..................] > Storing installation settings...
2022-08-25 16:12:55,831: DEBUG - + ynh_app_setting_set --app=joomla --key=domain --value=domain2.tld
2022-08-25 16:12:55,831: DEBUG - + local _globalapp=joomla
2022-08-25 16:12:55,897: DEBUG - + app=joomla
2022-08-25 16:12:55,898: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-08-25 16:12:55,898: DEBUG - + ynh_app_setting set joomla domain domain2.tld
2022-08-25 16:12:55,967: DEBUG - + ynh_app_setting_set --app=joomla --key=path --value=/homepage
2022-08-25 16:12:55,967: DEBUG - + local _globalapp=joomla
2022-08-25 16:12:56,035: DEBUG - + app=joomla
2022-08-25 16:12:56,035: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-08-25 16:12:56,035: DEBUG - + ynh_app_setting set joomla path /homepage
2022-08-25 16:12:56,101: DEBUG - + ynh_app_setting_set --app=joomla --key=admin --value=bonobro
2022-08-25 16:12:56,102: DEBUG - + local _globalapp=joomla
2022-08-25 16:12:56,169: DEBUG - + app=joomla
2022-08-25 16:12:56,170: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2022-08-25 16:12:56,170: DEBUG - + ynh_app_setting set joomla admin bonobro
2022-08-25 16:12:56,236: DEBUG - + ynh_app_setting_set --app=joomla --key=db_prefix --value=lguuu_
2022-08-25 16:12:56,237: DEBUG - + local _globalapp=joomla
2022-08-25 16:12:56,305: DEBUG - + app=joomla
2022-08-25 16:12:56,306: DEBUG - + [[ db_prefix =~ (unprotected|protected|skipped)_ ]]
2022-08-25 16:12:56,306: DEBUG - + ynh_app_setting set joomla db_prefix lguuu_
2022-08-25 16:12:56,372: DEBUG - + ynh_app_setting_set --app=joomla --key=secret --value=**********
2022-08-25 16:12:56,372: DEBUG - + local _globalapp=joomla
2022-08-25 16:12:56,440: DEBUG - + app=joomla
2022-08-25 16:12:56,440: DEBUG - + [[ secret =~ (unprotected|protected|skipped)_ ]]
2022-08-25 16:12:56,441: DEBUG - + ynh_app_setting set joomla secret **********
2022-08-25 16:12:56,557: DEBUG - + ynh_install_app_dependencies php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring
2022-08-25 16:12:56,557: DEBUG - + local 'dependencies=php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring'
2022-08-25 16:12:56,557: INFO - [##++................] > Installing dependencies...
2022-08-25 16:12:56,558: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-08-25 16:12:56,559: DEBUG - ++ echo 'php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring'
2022-08-25 16:12:56,561: DEBUG - + dependencies='php8.0-xml, php8.0-cli, php8.0-posix, php8.0-bz2, php8.0-zip, php8.0-memcache, php8.0-memcached, php8.0-ldap, php8.0-curl, php8.0-sockets, php8.0-mcrypt, php8.0-mysql, php8.0-gd, php8.0-fileinfo, php8.0-mbstring'
2022-08-25 16:12:56,562: DEBUG - + local 'dependencies=php8.0-xml, php8.0-cli, php8.0-posix, php8.0-bz2, php8.0-zip, php8.0-memcache, php8.0-memcached, php8.0-ldap, php8.0-curl, php8.0-sockets, php8.0-mcrypt, php8.0-mysql, php8.0-gd, php8.0-fileinfo, php8.0-mbstring'
2022-08-25 16:12:56,562: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_mty3vqfo/manifest.json
2022-08-25 16:12:56,562: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_mty3vqfo/manifest.json
2022-08-25 16:12:56,608: DEBUG - + local version=4.1.5~ynh1
2022-08-25 16:12:56,608: DEBUG - + '[' -z 4.1.5~ynh1 ']'
2022-08-25 16:12:56,608: DEBUG - + '[' 4.1.5~ynh1 == null ']'
2022-08-25 16:12:56,608: DEBUG - + local dep_app=joomla
2022-08-25 16:12:56,609: DEBUG - + [[ php8.0-xml, php8.0-cli, php8.0-posix, php8.0-bz2, php8.0-zip, php8.0-memcache, php8.0-memcached, php8.0-ldap, php8.0-curl, php8.0-sockets, php8.0-mcrypt, php8.0-mysql, php8.0-gd, php8.0-fileinfo, php8.0-mbstring =~ [<=>] ]]
2022-08-25 16:12:56,609: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-08-25 16:12:56,609: DEBUG - ++ sort -u
2022-08-25 16:12:56,611: DEBUG - ++ echo php8.0-xml, php8.0-cli, php8.0-posix, php8.0-bz2, php8.0-zip, php8.0-memcache, php8.0-memcached, php8.0-ldap, php8.0-curl, php8.0-sockets, php8.0-mcrypt, php8.0-mysql, php8.0-gd, php8.0-fileinfo, php8.0-mbstring
2022-08-25 16:12:56,612: DEBUG - + local specific_php_version=8.0
2022-08-25 16:12:56,613: DEBUG - + [[ -n 8.0 ]]
2022-08-25 16:12:56,613: DEBUG - ++ echo 8.0
2022-08-25 16:12:56,614: DEBUG - ++ wc -l
2022-08-25 16:12:56,616: DEBUG - + [[ 1 -eq 1 ]]
2022-08-25 16:12:56,616: DEBUG - + dependencies+=', php8.0, php8.0-fpm, php8.0-common'
2022-08-25 16:12:56,616: DEBUG - ++ ynh_app_setting_get --app=joomla --key=phpversion
2022-08-25 16:12:56,617: DEBUG - ++ local _globalapp=joomla
2022-08-25 16:12:56,650: DEBUG - ++ app=joomla
2022-08-25 16:12:56,650: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2022-08-25 16:12:56,650: DEBUG - ++ ynh_app_setting get joomla phpversion
2022-08-25 16:12:56,716: DEBUG - + local old_phpversion=
2022-08-25 16:12:56,717: DEBUG - + '[' -n '' ']'
2022-08-25 16:12:56,717: DEBUG - + ynh_app_setting_set --app=joomla --key=phpversion --value=8.0
2022-08-25 16:12:56,717: DEBUG - + local _globalapp=joomla
2022-08-25 16:12:56,785: DEBUG - + app=joomla
2022-08-25 16:12:56,785: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2022-08-25 16:12:56,785: DEBUG - + ynh_app_setting set joomla phpversion 8.0
2022-08-25 16:12:56,853: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2022-08-25 16:12:56,856: DEBUG - ++ ynh_package_is_installed postgresql-13
2022-08-25 16:12:56,868: DEBUG - ++ ynh_wait_dpkg_free
2022-08-25 16:12:57,025: DEBUG - ++ return 0
2022-08-25 16:12:57,026: DEBUG - ++ grep --count 'ok installed'
2022-08-25 16:12:57,026: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2022-08-25 16:12:57,044: DEBUG - ++ echo no
2022-08-25 16:12:57,044: DEBUG - + local psql_installed=no
2022-08-25 16:12:57,044: DEBUG - + [[ true == \t\r\u\e ]]
2022-08-25 16:12:57,044: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-08-25 16:12:57,045: DEBUG - + cat
2022-08-25 16:12:57,046: DEBUG - + ynh_package_install_from_equivs /tmp/joomla-ynh-deps.control
2022-08-25 16:12:57,046: DEBUG - + local controlfile=/tmp/joomla-ynh-deps.control
2022-08-25 16:12:57,047: DEBUG - ++ grep '^Package: ' /tmp/joomla-ynh-deps.control
2022-08-25 16:12:57,048: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-08-25 16:12:57,050: DEBUG - + local pkgname=joomla-ynh-deps
2022-08-25 16:12:57,051: DEBUG - ++ grep '^Version: ' /tmp/joomla-ynh-deps.control
2022-08-25 16:12:57,051: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-08-25 16:12:57,054: DEBUG - + local pkgversion=4.1.5~ynh1
2022-08-25 16:12:57,054: DEBUG - + [[ -z joomla-ynh-deps ]]
2022-08-25 16:12:57,054: DEBUG - + [[ -z 4.1.5~ynh1 ]]
2022-08-25 16:12:57,054: DEBUG - + ynh_package_update
2022-08-25 16:12:57,055: DEBUG - + ynh_apt update
2022-08-25 16:12:57,055: DEBUG - + ynh_wait_dpkg_free
2022-08-25 16:12:57,209: DEBUG - + return 0
2022-08-25 16:12:57,210: DEBUG - + LC_ALL=C
2022-08-25 16:12:57,210: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-08-25 16:12:57,210: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-08-25 16:12:57,467: DEBUG - Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
2022-08-25 16:12:57,467: DEBUG - Hit:2 http://ftp.debian.org/debian bullseye InRelease
2022-08-25 16:12:57,497: DEBUG - Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
2022-08-25 16:12:57,784: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2022-08-25 16:12:58,144: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2022-08-25 16:12:59,254: DEBUG - Reading package lists...
2022-08-25 16:12:59,274: DEBUG - ++ mktemp --directory
2022-08-25 16:12:59,275: DEBUG - + local TMPDIR=/tmp/tmp.jl3ydAkcyu
2022-08-25 16:12:59,276: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2022-08-25 16:12:59,277: DEBUG - + ynh_wait_dpkg_free
2022-08-25 16:12:59,426: DEBUG - + return 0
2022-08-25 16:12:59,426: DEBUG - + cp /tmp/joomla-ynh-deps.control /tmp/tmp.jl3ydAkcyu/control
2022-08-25 16:12:59,428: DEBUG - + cd /tmp/tmp.jl3ydAkcyu
2022-08-25 16:12:59,428: DEBUG - + LC_ALL=C
2022-08-25 16:12:59,429: DEBUG - + equivs-build ./control
2022-08-25 16:12:59,668: DEBUG - dpkg-buildpackage: info: source package joomla-ynh-deps
2022-08-25 16:12:59,669: DEBUG - dpkg-buildpackage: info: source version 4.1.5~ynh1
2022-08-25 16:12:59,669: DEBUG - dpkg-buildpackage: info: source distribution unstable
2022-08-25 16:12:59,669: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2022-08-25 16:12:59,730: DEBUG -  dpkg-source --before-build .
2022-08-25 16:12:59,730: DEBUG - dpkg-buildpackage: info: host architecture amd64
2022-08-25 16:12:59,913: DEBUG -  debian/rules clean
2022-08-25 16:12:59,916: DEBUG - dh clean
2022-08-25 16:13:00,057: DEBUG -    dh_clean
2022-08-25 16:13:00,114: DEBUG -  debian/rules binary
2022-08-25 16:13:00,116: DEBUG - dh binary
2022-08-25 16:13:00,237: DEBUG -    dh_update_autotools_config
2022-08-25 16:13:00,287: DEBUG -    dh_autoreconf
2022-08-25 16:13:00,362: DEBUG -    create-stamp debian/debhelper-build-stamp
2022-08-25 16:13:00,362: DEBUG -    dh_prep
2022-08-25 16:13:00,413: DEBUG -    dh_install
2022-08-25 16:13:00,473: DEBUG -    dh_installdocs
2022-08-25 16:13:00,542: DEBUG -    dh_installchangelogs
2022-08-25 16:13:00,691: DEBUG -    dh_perl
2022-08-25 16:13:00,755: DEBUG -    dh_link
2022-08-25 16:13:00,817: DEBUG -    dh_strip_nondeterminism
2022-08-25 16:13:00,921: DEBUG -    dh_compress
2022-08-25 16:13:00,989: DEBUG -    dh_fixperms
2022-08-25 16:13:01,056: DEBUG -    dh_missing
2022-08-25 16:13:01,102: DEBUG -    dh_installdeb
2022-08-25 16:13:01,162: DEBUG -    dh_gencontrol
2022-08-25 16:13:01,367: DEBUG -    dh_md5sums
2022-08-25 16:13:01,425: DEBUG -    dh_builddeb
2022-08-25 16:13:01,472: DEBUG - dpkg-deb: building package 'joomla-ynh-deps' in '../joomla-ynh-deps_4.1.5~ynh1_all.deb'.
2022-08-25 16:13:01,566: DEBUG -  dpkg-genbuildinfo --build=binary
2022-08-25 16:13:02,130: DEBUG -  dpkg-genchanges --build=binary >../joomla-ynh-deps_4.1.5~ynh1_amd64.changes
2022-08-25 16:13:02,278: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2022-08-25 16:13:02,283: DEBUG -  dpkg-source --after-build .
2022-08-25 16:13:02,467: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2022-08-25 16:13:02,474: DEBUG - 
2022-08-25 16:13:02,475: DEBUG - The package has been created.
2022-08-25 16:13:02,475: DEBUG - Attention, the package has been created in the current directory,
2022-08-25 16:13:02,475: DEBUG - not in ".." as indicated by the message above!
2022-08-25 16:13:02,478: DEBUG - + LC_ALL=C
2022-08-25 16:13:02,478: DEBUG - + dpkg --force-depends --install ./joomla-ynh-deps_4.1.5~ynh1_all.deb
2022-08-25 16:13:02,478: DEBUG - + tee ./dpkg_log
2022-08-25 16:13:02,651: DEBUG - Selecting previously unselected package joomla-ynh-deps.
2022-08-25 16:13:02,747: DEBUG - (Reading database ... 58130 files and directories currently installed.)
2022-08-25 16:13:02,757: DEBUG - Preparing to unpack .../joomla-ynh-deps_4.1.5~ynh1_all.deb ...
2022-08-25 16:13:02,836: DEBUG - Unpacking joomla-ynh-deps (4.1.5~ynh1) ...
2022-08-25 16:13:03,168: DEBUG - dpkg: joomla-ynh-deps: dependency problems, but configuring anyway as you requested:
2022-08-25 16:13:03,168: DEBUG -  joomla-ynh-deps depends on php8.0-xml; however:
2022-08-25 16:13:03,168: DEBUG -   Package php8.0-xml is not installed.
2022-08-25 16:13:03,169: DEBUG -  joomla-ynh-deps depends on php8.0-cli; however:
2022-08-25 16:13:03,169: DEBUG -   Package php8.0-cli is not installed.
2022-08-25 16:13:03,169: DEBUG -  joomla-ynh-deps depends on php8.0-posix; however:
2022-08-25 16:13:03,169: DEBUG -   Package php8.0-posix is not installed.
2022-08-25 16:13:03,170: DEBUG -  joomla-ynh-deps depends on php8.0-bz2; however:
2022-08-25 16:13:03,170: DEBUG -   Package php8.0-bz2 is not installed.
2022-08-25 16:13:03,170: DEBUG -  joomla-ynh-deps depends on php8.0-zip; however:
2022-08-25 16:13:03,170: DEBUG -   Package php8.0-zip is not installed.
2022-08-25 16:13:03,170: DEBUG -  joomla-ynh-deps depends on php8.0-memcache; however:
2022-08-25 16:13:03,171: DEBUG -   Package php8.0-memcache is not installed.
2022-08-25 16:13:03,171: DEBUG -  joomla-ynh-deps depends on php8.0-memcached; however:
2022-08-25 16:13:03,171: DEBUG -   Package php8.0-memcached is not installed.
2022-08-25 16:13:03,171: DEBUG -  joomla-ynh-deps depends on php8.0-ldap; however:
2022-08-25 16:13:03,172: DEBUG -   Package php8.0-ldap is not installed.
2022-08-25 16:13:03,172: DEBUG -  joomla-ynh-deps depends on php8.0-curl; however:
2022-08-25 16:13:03,172: DEBUG -   Package php8.0-curl is not installed.
2022-08-25 16:13:03,172: DEBUG -  joomla-ynh-deps depends on php8.0-sockets; however:
2022-08-25 16:13:03,172: DEBUG -   Package php8.0-sockets is not installed.
2022-08-25 16:13:03,173: DEBUG -  joomla-ynh-deps depends on php8.0-mcrypt; however:
2022-08-25 16:13:03,173: DEBUG -   Package php8.0-mcrypt is not installed.
2022-08-25 16:13:03,173: DEBUG -  joomla-ynh-deps depends on php8.0-mysql; however:
2022-08-25 16:13:03,173: DEBUG -   Package php8.0-mysql is not installed.
2022-08-25 16:13:03,174: DEBUG -  joomla-ynh-deps depends on php8.0-gd; however:
2022-08-25 16:13:03,174: DEBUG -   Package php8.0-gd is not installed.
2022-08-25 16:13:03,174: DEBUG -  joomla-ynh-deps depends on php8.0-fileinfo; however:
2022-08-25 16:13:03,174: DEBUG -   Package php8.0-fileinfo is not installed.
2022-08-25 16:13:03,174: DEBUG -  joomla-ynh-deps depends on php8.0-mbstring; however:
2022-08-25 16:13:03,175: DEBUG -   Package php8.0-mbstring is not installed.
2022-08-25 16:13:03,175: DEBUG -  joomla-ynh-deps depends on php8.0; however:
2022-08-25 16:13:03,175: DEBUG -   Package php8.0 is not installed.
2022-08-25 16:13:03,175: DEBUG -  joomla-ynh-deps depends on php8.0-fpm; however:
2022-08-25 16:13:03,176: DEBUG -   Package php8.0-fpm is not installed.
2022-08-25 16:13:03,176: DEBUG -  joomla-ynh-deps depends on php8.0-common; however:
2022-08-25 16:13:03,176: DEBUG -   Package php8.0-common is not installed.
2022-08-25 16:13:03,176: DEBUG - 
2022-08-25 16:13:03,176: DEBUG - Setting up joomla-ynh-deps (4.1.5~ynh1) ...
2022-08-25 16:13:03,523: DEBUG - + ynh_package_install --fix-broken
2022-08-25 16:13:03,524: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-08-25 16:13:03,524: DEBUG - + ynh_wait_dpkg_free
2022-08-25 16:13:03,669: DEBUG - + return 0
2022-08-25 16:13:03,669: DEBUG - + LC_ALL=C
2022-08-25 16:13:03,669: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-08-25 16:13:03,669: 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
2022-08-25 16:13:04,099: DEBUG - Reading package lists...
2022-08-25 16:13:04,368: DEBUG - Building dependency tree...
2022-08-25 16:13:04,369: DEBUG - Reading state information...
2022-08-25 16:13:04,757: DEBUG - Correcting dependencies... Done
2022-08-25 16:13:05,222: DEBUG - The following packages were automatically installed and are no longer required:
2022-08-25 16:13:05,223: DEBUG -   fontconfig gsfonts hicolor-icon-theme imagemagick imagemagick-6-common
2022-08-25 16:13:05,223: DEBUG -   imagemagick-6.q16 libaom0 libarchive13 libc-client2007e libcairo2 libdatrie1
2022-08-25 16:13:05,223: DEBUG -   libdav1d4 libde265-0 libdjvulibre-text libdjvulibre21 libfftw3-double3
2022-08-25 16:13:05,224: DEBUG -   libgpgme11 libheif1 libilmbase25 libjxr-tools libjxr0 libldb2 liblqr-1-0
2022-08-25 16:13:05,224: DEBUG -   libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6
2022-08-25 16:13:05,224: DEBUG -   libnetpbm10 libnuma1 libopenexr25 libpango-1.0-0 libpangocairo-1.0-0
2022-08-25 16:13:05,224: DEBUG -   libpangoft2-1.0-0 libpixman-1-0 libsmbclient libtalloc2 libtdb1 libtevent0
2022-08-25 16:13:05,224: DEBUG -   libthai-data libthai0 libwbclient0 libwebpdemux2 libwebpmux3 libwmf0.2-7
2022-08-25 16:13:05,225: DEBUG -   libx265-192 libxcb-render0 libxcb-shm0 libxrender1 mlock netpbm php-apcu
2022-08-25 16:13:05,225: DEBUG -   php-apcu-bc php-imagick php-redis php7.4-bcmath php7.4-bz2 php7.4-gmp
2022-08-25 16:13:05,225: DEBUG -   php7.4-imap php7.4-zip python3-gpg python3-ldb python3-samba python3-talloc
2022-08-25 16:13:05,226: DEBUG -   python3-tdb samba-common samba-common-bin samba-dsdb-modules samba-libs
2022-08-25 16:13:05,226: DEBUG -   smbclient
2022-08-25 16:13:05,226: DEBUG - Use 'apt autoremove' to remove them.
2022-08-25 16:13:05,227: DEBUG - The following additional packages will be installed:
2022-08-25 16:13:05,229: DEBUG -   libmcrypt4 php8.0 php8.0-bz2 php8.0-cli php8.0-common php8.0-curl php8.0-fpm
2022-08-25 16:13:05,229: DEBUG -   php8.0-gd php8.0-igbinary php8.0-ldap php8.0-mbstring php8.0-mcrypt
2022-08-25 16:13:05,229: DEBUG -   php8.0-memcache php8.0-memcached php8.0-msgpack php8.0-mysql php8.0-opcache
2022-08-25 16:13:05,229: DEBUG -   php8.0-readline php8.0-xml php8.0-zip
2022-08-25 16:13:05,233: DEBUG - Suggested packages:
2022-08-25 16:13:05,234: DEBUG -   libmcrypt-dev mcrypt memcached
2022-08-25 16:13:05,372: DEBUG - The following packages will be REMOVED:
2022-08-25 16:13:05,373: DEBUG -   nextcloud-ynh-deps php-igbinary
2022-08-25 16:13:05,374: DEBUG - The following NEW packages will be installed:
2022-08-25 16:13:05,375: DEBUG -   libmcrypt4 php8.0 php8.0-bz2 php8.0-cli php8.0-common php8.0-curl php8.0-fpm
2022-08-25 16:13:05,376: DEBUG -   php8.0-gd php8.0-igbinary php8.0-ldap php8.0-mbstring php8.0-mcrypt
2022-08-25 16:13:05,376: DEBUG -   php8.0-memcache php8.0-memcached php8.0-msgpack php8.0-mysql php8.0-opcache
2022-08-25 16:13:05,376: DEBUG -   php8.0-readline php8.0-xml php8.0-zip
2022-08-25 16:13:05,411: DEBUG - 0 upgraded, 20 newly installed, 2 to remove and 0 not upgraded.
2022-08-25 16:13:05,412: WARNING - E: Packages need to be removed but remove is disabled.
2022-08-25 16:13:05,413: DEBUG - ++ cat /tmp/tmp.jl3ydAkcyu/dpkg_log
2022-08-25 16:13:05,414: DEBUG - ++ tr '\n' ' '
2022-08-25 16:13:05,415: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2022-08-25 16:13:05,417: DEBUG - + local 'problematic_dependencies=php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring php8.0 php8.0-fpm php8.0-common '
2022-08-25 16:13:05,418: DEBUG - + [[ -n php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring php8.0 php8.0-fpm php8.0-common  ]]
2022-08-25 16:13:05,418: DEBUG - + ynh_package_install php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring php8.0 php8.0-fpm php8.0-common --dry-run
2022-08-25 16:13:05,419: DEBUG - + sed --quiet '/Reading state info/,$p'
2022-08-25 16:13:05,419: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring php8.0 php8.0-fpm php8.0-common --dry-run
2022-08-25 16:13:05,419: DEBUG - + ynh_wait_dpkg_free
2022-08-25 16:13:05,420: DEBUG - + grep -v 'fix-broken\|Reading state info'
2022-08-25 16:13:05,577: DEBUG - + return 0
2022-08-25 16:13:05,577: DEBUG - + LC_ALL=C
2022-08-25 16:13:05,577: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-08-25 16:13:05,577: 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 php8.0-xml php8.0-cli php8.0-posix php8.0-bz2 php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap php8.0-curl php8.0-sockets php8.0-mcrypt php8.0-mysql php8.0-gd php8.0-fileinfo php8.0-mbstring php8.0 php8.0-fpm php8.0-common --dry-run
2022-08-25 16:13:06,277: WARNING - The following packages have unmet dependencies:
2022-08-25 16:13:06,278: WARNING -  php8.0-cli : Depends: php8.0-opcache but it is not going to be installed
2022-08-25 16:13:06,278: WARNING -               Depends: php8.0-readline but it is not going to be installed
2022-08-25 16:13:06,278: WARNING -  php8.0-fpm : Depends: php8.0-opcache but it is not going to be installed
2022-08-25 16:13:06,279: WARNING -  php8.0-mcrypt : Depends: libmcrypt4 but it is not going to be installed
2022-08-25 16:13:06,279: WARNING -  php8.0-memcached : Depends: php8.0-igbinary but it is not going to be installed
2022-08-25 16:13:06,279: WARNING -                     Depends: php8.0-msgpack but it is not going to be installed
2022-08-25 16:13:06,280: DEBUG - + ynh_die '--message=Unable to install dependencies'
2022-08-25 16:13:06,299: DEBUG - + ynh_exit_properly
2022-08-25 16:13:06,299: WARNING - Unable to install dependencies
2022-08-25 16:13:07,806: ERROR - Unable to install joomla: An error occurred inside the app installation script

I am unsure as of now how to fix it and it’s making me pull my hair out! Please help?

Yeah, apt dependency hell and apt not properly explaining why the hell it doesn’t want to install them …

We can try to dig the issue with:

apt install php8.0-cli php8.0-fpm php8.0-mcrypt php8.0-memcached php8.0-opcache  php8.0-readline libmcrypt4 php8.0-igbinary php8.0-msgpack --dry-run

Hmmm I was about to try that out, but I found that for some reason, installing it would uninstall nextcloud-ynh-deps for some reason and I don’t know if it will mess up my Nextcloud set up…

Yeah, so let’s dig in why exactly apt want to remove nextcloud (just adding nextcloud-ynh-deps to the list) :

apt install php8.0-cli php8.0-fpm php8.0-mcrypt php8.0-memcached php8.0-opcache  php8.0-readline libmcrypt4 php8.0-igbinary php8.0-msgpack nextcloud-ynh-deps --dry-run

Can you please try this branch GitHub - YunoHost-Apps/joomla_ynh at Php8.1

I’ve just tried to install nextcloud and joomla in the same yuno11 machine and it worked correctly without conflicts, so need to fix your server.

Try

sudo dpkg --configure -a
sudo apt autoremove -y

My deepest apologies for the late reply, I will try this out. Thank you!

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