Problème d'installation Nextcloud

Bonjour, j’ai un souci avec l’installation de Nextcloud avec Yunohost.
Depuis le passage de Yunohost en Debian 11, je n’arrive plus à installer Nextcloud.
En effet dès lors que j’essaye d’installer l’erreur suivante apparait :

2022-09-29 07:03:21,860: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:21,860: DEBUG - ++ tr -d '>= ’
2022-09-29 07:03:21,862: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_r4k5ll6s/manifest.json
2022-09-29 07:03:21,899: DEBUG - + local ynh_requirement=11.0.9
2022-09-29 07:03:21,899: DEBUG - + ‘[’ -z 11.0.9 ‘]’
2022-09-29 07:03:21,899: DEBUG - + ‘[’ 11.0.9 == null ‘]’
2022-09-29 07:03:21,899: DEBUG - + dpkg --compare-versions 11.0.9 ge 4.2
2022-09-29 07:03:21,900: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:21,901: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:21,902: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:21,904: DEBUG - + ynh_system_user_exists nextcloud
2022-09-29 07:03:21,914: DEBUG - + getent passwd nextcloud
2022-09-29 07:03:21,916: DEBUG - + chown nextcloud:nextcloud /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:21,917: DEBUG - + grep -q ‘^/etc/cron’
2022-09-29 07:03:21,919: DEBUG - + echo /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:21,920: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:21,930: DEBUG - + test -n /nextcloud
2022-09-29 07:03:21,931: DEBUG - + local path_url_slash_less=/nextcloud
2022-09-29 07:03:21,931: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/nextcloud/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,009: DEBUG - + sed --in-place s@PATH/@/nextcloud/@g /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,011: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/nextcloud --target_file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,076: DEBUG - + sed --in-place s@PATH@/nextcloud@g /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,078: DEBUG - + test -n nextcloud
2022-09-29 07:03:22,078: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=nextcloud --target_file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,143: DEBUG - + sed --in-place s@NAME@nextcloud@g /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,145: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=nextcloud --target_file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,222: DEBUG - + sed --in-place s@NAMETOCHANGE@nextcloud@g /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,225: DEBUG - + ynh_replace_string --match_string=USER --replace_string=nextcloud --target_file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,303: DEBUG - + sed --in-place s@USER@nextcloud@g /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,303: DEBUG - + test -n /var/www/nextcloud
2022-09-29 07:03:22,304: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/nextcloud --target_file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,382: DEBUG - + sed --in-place s@FINALPATH@/var/www/nextcloud@g /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,384: DEBUG - + test -n 8.0
2022-09-29 07:03:22,385: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=8.0 --target_file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,465: DEBUG - + sed --in-place s@PHPVERSION@8.0@g /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,468: DEBUG - + test -n ‘’
2022-09-29 07:03:22,469: DEBUG - ++ sed ‘s@([^.]*)@\L\1@g’
2022-09-29 07:03:22,471: DEBUG - ++ sort --unique
2022-09-29 07:03:22,473: DEBUG - ++ grep -oP ‘[A-Z0-9]+?[A-Z0-9_]?[A-Z0-9]?’ /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,477: DEBUG - + uniques_vars=()
2022-09-29 07:03:22,477: DEBUG - + local delimit=@
2022-09-29 07:03:22,477: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,478: DEBUG - + update_only=0
2022-09-29 07:03:22,498: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_nextcloud.conf
2022-09-29 07:03:22,499: DEBUG - ++ cut '–delimiter= ’ --fields=1
2022-09-29 07:03:22,501: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,504: DEBUG - + ynh_app_setting_set --app=nextcloud --key=checksum__etc_nginx_conf.d_maindomain.tld.d_nextcloud.conf --value=a8c14a5e9f4fc4325d5ca1dd943b4bcd
2022-09-29 07:03:22,504: DEBUG - + local globalapp=nextcloud
2022-09-29 07:03:22,587: DEBUG - + app=nextcloud
2022-09-29 07:03:22,588: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_nextcloud.conf =~ (unprotected|protected|skipped)
]]
2022-09-29 07:03:22,588: DEBUG - + ynh_app_setting set nextcloud checksum__etc_nginx_conf.d_maindomain.tld.d_nextcloud.conf a8c14a5e9f4fc4325d5ca1dd943b4bcd
2022-09-29 07:03:22,660: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-09-29 07:03:22,660: DEBUG - + unset backup_file_checksum
2022-09-29 07:03:22,660: DEBUG - + ‘[’ /nextcloud ‘!=’ / ‘]’
2022-09-29 07:03:22,660: DEBUG - + ynh_replace_string ‘–match_string=^#sub_path_only’ --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,727: DEBUG - + sed --in-place ‘s@^#sub_path_only@@g’ /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,729: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,730: DEBUG - + update_only=0
2022-09-29 07:03:22,747: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_nextcloud.conf
2022-09-29 07:03:22,748: DEBUG - ++ cut '–delimiter= ’ --fields=1
2022-09-29 07:03:22,749: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-09-29 07:03:22,752: DEBUG - + ynh_app_setting_set --app=nextcloud --key=checksum__etc_nginx_conf.d_maindomain.tld.d_nextcloud.conf --value=af6ef6b967f6df506cd800f2161bf222
2022-09-29 07:03:22,752: DEBUG - + local globalapp=nextcloud
2022-09-29 07:03:22,812: DEBUG - + app=nextcloud
2022-09-29 07:03:22,812: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_nextcloud.conf =~ (unprotected|protected|skipped)
]]
2022-09-29 07:03:22,812: DEBUG - + ynh_app_setting set nextcloud checksum__etc_nginx_conf.d_maindomain.tld.d_nextcloud.conf af6ef6b967f6df506cd800f2161bf222
2022-09-29 07:03:22,874: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-09-29 07:03:22,874: DEBUG - + unset backup_file_checksum
2022-09-29 07:03:22,874: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-09-29 07:03:22,966: DEBUG - + service_name=nginx
2022-09-29 07:03:22,966: DEBUG - + action=reload
2022-09-29 07:03:22,966: DEBUG - + line_match=
2022-09-29 07:03:22,966: DEBUG - + length=20
2022-09-29 07:03:22,966: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-09-29 07:03:22,967: DEBUG - + timeout=300
2022-09-29 07:03:22,967: DEBUG - + ‘[’ reload == stop ‘]’
2022-09-29 07:03:22,967: DEBUG - + ‘[’ reload == reload ‘]’
2022-09-29 07:03:22,967: DEBUG - + action=reload-or-restart
2022-09-29 07:03:22,967: DEBUG - + systemctl reload-or-restart nginx
2022-09-29 07:03:23,130: INFO - [###########…] > Creating a data directory…
2022-09-29 07:03:23,131: DEBUG - + datadir=/home/yunohost.app/nextcloud/data
2022-09-29 07:03:23,131: DEBUG - + ynh_app_setting_set --app=nextcloud --key=datadir --value=/home/yunohost.app/nextcloud/data
2022-09-29 07:03:23,131: DEBUG - + local globalapp=nextcloud
2022-09-29 07:03:23,218: DEBUG - + app=nextcloud
2022-09-29 07:03:23,218: DEBUG - + [[ datadir =~ (unprotected|protected|skipped)
]]
2022-09-29 07:03:23,218: DEBUG - + ynh_app_setting set nextcloud datadir /home/yunohost.app/nextcloud/data
2022-09-29 07:03:23,285: DEBUG - + mkdir -p /home/yunohost.app/nextcloud/data
2022-09-29 07:03:23,374: INFO - [###########++++…] > Installing Nextcloud…
2022-09-29 07:03:23,376: DEBUG - + chown -R nextcloud: /var/www/nextcloud /home/yunohost.app/nextcloud/data
2022-09-29 07:03:23,540: DEBUG - ++ ynh_string_random --length=6
2022-09-29 07:03:23,569: DEBUG - ++ length=6
2022-09-29 07:03:23,569: DEBUG - ++ filter=A-Za-z0-9
2022-09-29 07:03:23,569: DEBUG - ++ sed --quiet 's/(.{6})./\1/p’
2022-09-29 07:03:23,572: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-09-29 07:03:23,573: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-09-29 07:03:23,579: DEBUG - + admin_password=
*********
2022-09-29 07:03:23,579: DEBUG - + exec_occ maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass ********** --data-dir /home/yunohost.app/nextcloud/data
2022-09-29 07:03:23,580: DEBUG - + cd /var/www/nextcloud
2022-09-29 07:03:23,580: DEBUG - + ynh_exec_as nextcloud php8.0 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass ********** --data-dir /home/yunohost.app/nextcloud/data
2022-09-29 07:03:23,580: DEBUG - + local user=nextcloud
2022-09-29 07:03:23,581: DEBUG - + shift 1
2022-09-29 07:03:23,581: DEBUG - ++ whoami
2022-09-29 07:03:23,585: DEBUG - + [[ nextcloud = root ]]
2022-09-29 07:03:23,585: DEBUG - + sudo -u nextcloud php8.0 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass ********** --data-dir /home/yunohost.app/nextcloud/data
2022-09-29 07:03:24,218: DEBUG - Username is invalid because files already exist for this user
2022-09-29 07:03:24,234: DEBUG - + ynh_die ‘–message=Unable to install Nextcloud’
2022-09-29 07:03:24,259: WARNING - Unable to install Nextcloud
2022-09-29 07:03:24,260: DEBUG - + ynh_exit_properly
2022-09-29 07:03:25,766: ERROR - Impossible d’installer nextcloud : Une erreur est survenue dans le script d’installation de l’application

Sur mes autres Yunohost la version de PHP pour Nextcloud est 7.3.
Je pense que c’est peu être lié a ça d’après mes recherches, avez-vous des solutions pour que je puisse installer yunohost svp ?

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