[Solved] Impossible installation nextcloud - PHP issue

Bonjour, pour une raison que j’ignore, je n’arrive pas à installer nextcloud :confused: Sur une installation fraîche et à jour de Yunohost, sur un VPS OVH avec Debian 9 à jour.

Hi, for some reason I can’t install nextcloud :confused: On a fresh and up-to-date installation of Yunohost, on an OVH VPS with up-to-date Debian 9.

2020-02-05 16:14:55,752: DEBUG - + declare -Ar args_array
2020-02-05 16:14:55,752: DEBUG - + local username
2020-02-05 16:14:55,753: DEBUG - + local home_dir
2020-02-05 16:14:55,753: DEBUG - + local use_shell
2020-02-05 16:14:55,753: DEBUG - + ynh_handle_getopts_args --username=nextcloud
2020-02-05 16:14:55,753: DEBUG - + set +x
2020-02-05 16:14:55,753: DEBUG - + use_shell=0
2020-02-05 16:14:55,753: DEBUG - + home_dir=
2020-02-05 16:14:55,753: DEBUG - + ynh_system_user_exists nextcloud
2020-02-05 16:14:55,753: DEBUG - + local legacy_args=u
2020-02-05 16:14:55,754: DEBUG - + args_array=([u]=username=)
2020-02-05 16:14:55,754: DEBUG - + declare -Ar args_array
2020-02-05 16:14:55,754: DEBUG - + local username
2020-02-05 16:14:55,754: DEBUG - + ynh_handle_getopts_args nextcloud
2020-02-05 16:14:55,754: DEBUG - + set +x
2020-02-05 16:14:55,754: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-05 16:14:55,754: DEBUG - + set +x
2020-02-05 16:14:55,754: DEBUG - + getent passwd nextcloud
2020-02-05 16:14:55,755: DEBUG - + '[' -n '' ']'
2020-02-05 16:14:55,755: DEBUG - + local user_home_dir=--no-create-home
2020-02-05 16:14:55,755: DEBUG - + '[' 0 -eq 1 ']'
2020-02-05 16:14:55,755: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2020-02-05 16:14:55,755: DEBUG - + useradd --no-create-home --system --user-group nextcloud --shell /usr/sbin/nologin
2020-02-05 16:14:57,159: DEBUG - + ynh_script_progression '--message=Configuring php-fpm...' --weight=2
2020-02-05 16:14:57,159: INFO - [##########..........] > Configuring system user...
2020-02-05 16:14:57,159: DEBUG - + set +x
2020-02-05 16:14:57,260: DEBUG - + set +x
2020-02-05 16:14:57,260: INFO - [##########+.........] > Configuring php-fpm...
2020-02-05 16:14:57,261: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-05 16:14:57,261: DEBUG - + set +x
2020-02-05 16:14:57,261: DEBUG - + echo '[##########+.........] > Configuring php-fpm...'
2020-02-05 16:14:57,261: DEBUG - + set -x
2020-02-05 16:14:57,261: DEBUG - + ynh_add_fpm_config --usage=medium --footprint=high
2020-02-05 16:14:57,261: DEBUG - + local legacy_args=vtuf
2020-02-05 16:14:57,261: DEBUG - + args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint=)
2020-02-05 16:14:57,262: DEBUG - + declare -Ar args_array
2020-02-05 16:14:57,262: DEBUG - + local phpversion
2020-02-05 16:14:57,262: DEBUG - + local use_template
2020-02-05 16:14:57,262: DEBUG - + local usage
2020-02-05 16:14:57,262: DEBUG - + local footprint
2020-02-05 16:14:57,262: DEBUG - + ynh_handle_getopts_args --usage=medium --footprint=high
2020-02-05 16:14:57,262: DEBUG - + set +x
2020-02-05 16:14:57,263: DEBUG - + use_template=1
2020-02-05 16:14:57,263: DEBUG - + usage=medium
2020-02-05 16:14:57,263: DEBUG - + footprint=high
2020-02-05 16:14:57,263: DEBUG - + '[' -n medium ']'
2020-02-05 16:14:57,263: DEBUG - + use_template=0
2020-02-05 16:14:57,263: DEBUG - + phpversion=7.0
2020-02-05 16:14:57,263: DEBUG - + local fpm_config_dir=/etc/php/7.0/fpm
2020-02-05 16:14:57,263: DEBUG - + local fpm_service=php7.0-fpm
2020-02-05 16:14:57,264: DEBUG - ++ ynh_get_debian_release
2020-02-05 16:14:57,264: DEBUG - +++ lsb_release --codename --short
2020-02-05 16:14:57,364: DEBUG - ++ echo stretch
2020-02-05 16:14:57,364: DEBUG - + '[' stretch == jessie ']'
2020-02-05 16:14:57,364: DEBUG - + ynh_app_setting_set --app=nextcloud --key=fpm_config_dir --value=/etc/php/7.0/fpm
2020-02-05 16:14:57,365: DEBUG - + local legacy_args=akv
2020-02-05 16:14:57,365: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-05 16:14:57,365: DEBUG - + declare -Ar args_array
2020-02-05 16:14:57,365: DEBUG - + local app
2020-02-05 16:14:57,365: DEBUG - + local key
2020-02-05 16:14:57,365: DEBUG - + local value
2020-02-05 16:14:57,365: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=fpm_config_dir --value=/etc/php/7.0/fpm
2020-02-05 16:14:57,365: DEBUG - + set +x
2020-02-05 16:14:57,366: DEBUG - + ynh_app_setting set nextcloud fpm_config_dir /etc/php/7.0/fpm
2020-02-05 16:14:57,366: DEBUG - + ACTION=set
2020-02-05 16:14:57,366: DEBUG - + APP=nextcloud
2020-02-05 16:14:57,366: DEBUG - + KEY=fpm_config_dir
2020-02-05 16:14:57,366: DEBUG - + VALUE=/etc/php/7.0/fpm
2020-02-05 16:14:57,366: DEBUG - + python -
2020-02-05 16:14:57,467: DEBUG - + ynh_app_setting_set --app=nextcloud --key=fpm_service --value=php7.0-fpm
2020-02-05 16:14:57,467: DEBUG - + local legacy_args=akv
2020-02-05 16:14:57,467: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-05 16:14:57,467: DEBUG - + declare -Ar args_array
2020-02-05 16:14:57,467: DEBUG - + local app
2020-02-05 16:14:57,467: DEBUG - + local key
2020-02-05 16:14:57,468: DEBUG - + local value
2020-02-05 16:14:57,468: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=fpm_service --value=php7.0-fpm
2020-02-05 16:14:57,468: DEBUG - + set +x
2020-02-05 16:14:57,468: DEBUG - + ynh_app_setting set nextcloud fpm_service php7.0-fpm
2020-02-05 16:14:57,468: DEBUG - + ACTION=set
2020-02-05 16:14:57,468: DEBUG - + APP=nextcloud
2020-02-05 16:14:57,468: DEBUG - + KEY=fpm_service
2020-02-05 16:14:57,468: DEBUG - + VALUE=php7.0-fpm
2020-02-05 16:14:57,469: DEBUG - + python -
2020-02-05 16:14:57,569: DEBUG - + finalphpconf=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,569: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,569: DEBUG - + local legacy_args=f
2020-02-05 16:14:57,570: DEBUG - + args_array=([f]=file=)
2020-02-05 16:14:57,570: DEBUG - + declare -Ar args_array
2020-02-05 16:14:57,570: DEBUG - + local file
2020-02-05 16:14:57,570: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,570: DEBUG - + set +x
2020-02-05 16:14:57,570: DEBUG - + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_nextcloud.conf
2020-02-05 16:14:57,571: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=**********
2020-02-05 16:14:57,571: DEBUG - ++ local legacy_args=ak
2020-02-05 16:14:57,571: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-02-05 16:14:57,571: DEBUG - ++ declare -Ar args_array
2020-02-05 16:14:57,571: DEBUG - ++ local app
2020-02-05 16:14:57,572: DEBUG - ++ local key
2020-02-05 16:14:57,572: DEBUG - ++ ynh_handle_getopts_args --app=nextcloud --key=**********
2020-02-05 16:14:57,572: DEBUG - ++ set +x
2020-02-05 16:14:57,673: DEBUG - ++ ynh_app_setting get nextcloud **********
2020-02-05 16:14:57,673: DEBUG - ++ ACTION=get
2020-02-05 16:14:57,673: DEBUG - ++ APP=nextcloud
2020-02-05 16:14:57,674: DEBUG - ++ KEY=**********
2020-02-05 16:14:57,674: DEBUG - ++ VALUE=
2020-02-05 16:14:57,674: DEBUG - ++ python -
2020-02-05 16:14:57,775: DEBUG - + local checksum_value=
2020-02-05 16:14:57,775: DEBUG - + backup_file_checksum=
2020-02-05 16:14:57,775: DEBUG - + '[' -n '' ']'
2020-02-05 16:14:57,776: DEBUG - + '[' 0 -eq 1 ']'
2020-02-05 16:14:57,776: DEBUG - + ynh_get_scalable_phpfpm --usage=medium --footprint=high
2020-02-05 16:14:57,776: DEBUG - + local legacy_args=ufp
2020-02-05 16:14:57,777: DEBUG - + args_array=([u]=usage= [f]=footprint= [p]=print)
2020-02-05 16:14:57,777: DEBUG - + declare -Ar args_array
2020-02-05 16:14:57,777: DEBUG - + local usage
2020-02-05 16:14:57,777: DEBUG - + local footprint
2020-02-05 16:14:57,777: DEBUG - + local print
2020-02-05 16:14:57,778: DEBUG - + ynh_handle_getopts_args --usage=medium --footprint=high
2020-02-05 16:14:57,778: DEBUG - + set +x
2020-02-05 16:14:57,778: DEBUG - + footprint=high
2020-02-05 16:14:57,778: DEBUG - + usage=medium
2020-02-05 16:14:57,779: DEBUG - + print=0
2020-02-05 16:14:57,779: DEBUG - + '[' high = low ']'
2020-02-05 16:14:57,779: DEBUG - + '[' high = medium ']'
2020-02-05 16:14:57,779: DEBUG - + '[' high = high ']'
2020-02-05 16:14:57,780: DEBUG - + footprint=50
2020-02-05 16:14:57,780: DEBUG - + '[' medium = low ']'
2020-02-05 16:14:57,780: DEBUG - + '[' medium = medium ']'
2020-02-05 16:14:57,780: DEBUG - + php_pm=dynamic
2020-02-05 16:14:57,780: DEBUG - ++ ynh_check_ram --no_swap
2020-02-05 16:14:57,781: DEBUG - ++ args_array=([r]=required= [s]=no_swap [o]=only_swap [f]=free_ram)
2020-02-05 16:14:57,781: DEBUG - ++ declare -Ar args_array
2020-02-05 16:14:57,781: DEBUG - ++ local required
2020-02-05 16:14:57,781: DEBUG - ++ local no_swap
2020-02-05 16:14:57,782: DEBUG - ++ local only_swap
2020-02-05 16:14:57,782: DEBUG - ++ ynh_handle_getopts_args --no_swap
2020-02-05 16:14:57,782: DEBUG - ++ set +x
2020-02-05 16:14:57,782: DEBUG - ++ required=
2020-02-05 16:14:57,782: DEBUG - ++ no_swap=1
2020-02-05 16:14:57,783: DEBUG - ++ only_swap=0
2020-02-05 16:14:57,783: DEBUG - +++ vmstat --stats --unit M
2020-02-05 16:14:57,783: DEBUG - +++ grep 'total memory'
2020-02-05 16:14:57,783: DEBUG - +++ awk '{print $1}'
2020-02-05 16:14:57,884: DEBUG - ++ local total_ram=7797
2020-02-05 16:14:57,884: DEBUG - +++ vmstat --stats --unit M
2020-02-05 16:14:57,885: DEBUG - +++ grep 'total swap'
2020-02-05 16:14:57,885: DEBUG - +++ awk '{print $1}'
2020-02-05 16:14:57,885: DEBUG - ++ local total_swap=0
2020-02-05 16:14:57,885: DEBUG - ++ local total_ram_swap=7797
2020-02-05 16:14:57,885: DEBUG - +++ vmstat --stats --unit M
2020-02-05 16:14:57,886: DEBUG - +++ grep 'free memory'
2020-02-05 16:14:57,886: DEBUG - +++ awk '{print $1}'
2020-02-05 16:14:57,886: DEBUG - ++ local free_ram=6568
2020-02-05 16:14:57,886: DEBUG - +++ vmstat --stats --unit M
2020-02-05 16:14:57,886: DEBUG - +++ grep 'free swap'
2020-02-05 16:14:57,886: DEBUG - +++ awk '{print $1}'
2020-02-05 16:14:57,887: DEBUG - ++ local free_swap=0
2020-02-05 16:14:57,887: DEBUG - ++ local free_ram_swap=6568
2020-02-05 16:14:57,887: DEBUG - ++ local ram=7797
2020-02-05 16:14:57,887: DEBUG - ++ '[' 6568 -eq 1 ']'
2020-02-05 16:14:57,887: DEBUG - ++ '[' 1 -eq 1 ']'
2020-02-05 16:14:57,888: DEBUG - ++ ram=7797
2020-02-05 16:14:57,888: DEBUG - ++ '[' -n '' ']'
2020-02-05 16:14:57,888: DEBUG - ++ echo 7797
2020-02-05 16:14:57,888: DEBUG - + local max_ram=7797
2020-02-05 16:14:57,888: DEBUG - + php_max_children=77
2020-02-05 16:14:57,888: DEBUG - + '[' dynamic = static ']'
2020-02-05 16:14:57,888: DEBUG - ++ less0 77
2020-02-05 16:14:57,889: DEBUG - ++ '[' 77 -le 0 ']'
2020-02-05 16:14:57,889: DEBUG - ++ echo 77
2020-02-05 16:14:57,889: DEBUG - + php_max_children=77
2020-02-05 16:14:57,889: DEBUG - ++ nproc
2020-02-05 16:14:57,889: DEBUG - + local core_number=2
2020-02-05 16:14:57,889: DEBUG - + local max_proc=8
2020-02-05 16:14:57,889: DEBUG - + '[' 77 -gt 8 ']'
2020-02-05 16:14:57,889: DEBUG - + php_max_children=8
2020-02-05 16:14:57,889: DEBUG - + '[' dynamic = dynamic ']'
2020-02-05 16:14:57,890: DEBUG - + php_min_spare_servers=1
2020-02-05 16:14:57,890: DEBUG - ++ less0 1
2020-02-05 16:14:57,890: DEBUG - ++ '[' 1 -le 0 ']'
2020-02-05 16:14:57,890: DEBUG - ++ echo 1
2020-02-05 16:14:57,890: DEBUG - + php_min_spare_servers=1
2020-02-05 16:14:57,890: DEBUG - + php_max_spare_servers=4
2020-02-05 16:14:57,890: DEBUG - ++ less0 4
2020-02-05 16:14:57,890: DEBUG - ++ '[' 4 -le 0 ']'
2020-02-05 16:14:57,892: DEBUG - ++ echo 4
2020-02-05 16:14:57,892: DEBUG - + php_max_spare_servers=4
2020-02-05 16:14:57,893: DEBUG - + php_start_servers=2
2020-02-05 16:14:57,893: DEBUG - ++ less0 2
2020-02-05 16:14:57,893: DEBUG - ++ '[' 2 -le 0 ']'
2020-02-05 16:14:57,893: DEBUG - ++ echo 2
2020-02-05 16:14:57,893: DEBUG - + php_start_servers=2
2020-02-05 16:14:57,893: DEBUG - + '[' 0 -eq 1 ']'
2020-02-05 16:14:57,893: DEBUG - + sudo cp /etc/php/7.0/fpm/pool.d/www.conf /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,894: DEBUG - + ynh_replace_string '--match_string=^\[www\]' '--replace_string=[nextcloud]' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,894: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:57,894: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:57,894: DEBUG - + declare -Ar args_array
2020-02-05 16:14:57,894: DEBUG - + local match_string
2020-02-05 16:14:57,894: DEBUG - + local replace_string
2020-02-05 16:14:57,894: DEBUG - + local target_file
2020-02-05 16:14:57,894: DEBUG - + ynh_handle_getopts_args '--match_string=^\[www\]' '--replace_string=[nextcloud]' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,894: DEBUG - + set +x
2020-02-05 16:14:57,995: DEBUG - + local delimit=@
2020-02-05 16:14:57,995: DEBUG - + match_string='^\[www\]'
2020-02-05 16:14:57,995: DEBUG - + replace_string='[nextcloud]'
2020-02-05 16:14:57,995: DEBUG - + sudo sed --in-place 's@^\[www\]@[nextcloud]@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,996: DEBUG - + ynh_replace_string '--match_string=.*listen = .*' '--replace_string=listen = /var/run/php/php7.0-fpm-nextcloud.sock' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,996: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:57,996: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:57,996: DEBUG - + declare -Ar args_array
2020-02-05 16:14:57,996: DEBUG - + local match_string
2020-02-05 16:14:57,996: DEBUG - + local replace_string
2020-02-05 16:14:57,997: DEBUG - + local target_file
2020-02-05 16:14:57,997: DEBUG - + ynh_handle_getopts_args '--match_string=.*listen = .*' '--replace_string=listen = /var/run/php/php7.0-fpm-nextcloud.sock' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,997: DEBUG - + set +x
2020-02-05 16:14:57,997: DEBUG - + local delimit=@
2020-02-05 16:14:57,997: DEBUG - + match_string='.*listen = .*'
2020-02-05 16:14:57,997: DEBUG - + replace_string='listen = /var/run/php/php7.0-fpm-nextcloud.sock'
2020-02-05 16:14:57,997: DEBUG - + sudo sed --in-place 's@.*listen = .*@listen = /var/run/php/php7.0-fpm-nextcloud.sock@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,997: DEBUG - + ynh_replace_string '--match_string=^user = .*' '--replace_string=user = nextcloud' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,998: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:57,998: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:57,998: DEBUG - + declare -Ar args_array
2020-02-05 16:14:57,998: DEBUG - + local match_string
2020-02-05 16:14:57,998: DEBUG - + local replace_string
2020-02-05 16:14:57,998: DEBUG - + local target_file
2020-02-05 16:14:57,999: DEBUG - + ynh_handle_getopts_args '--match_string=^user = .*' '--replace_string=user = nextcloud' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:57,999: DEBUG - + set +x
2020-02-05 16:14:57,999: DEBUG - + local delimit=@
2020-02-05 16:14:57,999: DEBUG - + match_string='^user = .*'
2020-02-05 16:14:57,999: DEBUG - + replace_string='user = nextcloud'
2020-02-05 16:14:57,999: DEBUG - + sudo sed --in-place 's@^user = .*@user = nextcloud@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,000: DEBUG - + ynh_replace_string '--match_string=^group = .*' '--replace_string=group = nextcloud' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,000: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,000: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,000: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,000: DEBUG - + local match_string
2020-02-05 16:14:58,000: DEBUG - + local replace_string
2020-02-05 16:14:58,000: DEBUG - + local target_file
2020-02-05 16:14:58,001: DEBUG - + ynh_handle_getopts_args '--match_string=^group = .*' '--replace_string=group = nextcloud' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,001: DEBUG - + set +x
2020-02-05 16:14:58,001: DEBUG - + local delimit=@
2020-02-05 16:14:58,001: DEBUG - + match_string='^group = .*'
2020-02-05 16:14:58,001: DEBUG - + replace_string='group = nextcloud'
2020-02-05 16:14:58,001: DEBUG - + sudo sed --in-place 's@^group = .*@group = nextcloud@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,102: DEBUG - + ynh_replace_string '--match_string=.*chdir = .*' '--replace_string=chdir = /var/www/nextcloud' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,102: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,102: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,102: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,103: DEBUG - + local match_string
2020-02-05 16:14:58,103: DEBUG - + local replace_string
2020-02-05 16:14:58,103: DEBUG - + local target_file
2020-02-05 16:14:58,103: DEBUG - + ynh_handle_getopts_args '--match_string=.*chdir = .*' '--replace_string=chdir = /var/www/nextcloud' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,103: DEBUG - + set +x
2020-02-05 16:14:58,103: DEBUG - + local delimit=@
2020-02-05 16:14:58,103: DEBUG - + match_string='.*chdir = .*'
2020-02-05 16:14:58,104: DEBUG - + replace_string='chdir = /var/www/nextcloud'
2020-02-05 16:14:58,104: DEBUG - + sudo sed --in-place 's@.*chdir = .*@chdir = /var/www/nextcloud@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,104: DEBUG - + ynh_replace_string '--match_string=.*pm = .*' '--replace_string=pm = dynamic' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,104: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,104: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,104: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,104: DEBUG - + local match_string
2020-02-05 16:14:58,105: DEBUG - + local replace_string
2020-02-05 16:14:58,105: DEBUG - + local target_file
2020-02-05 16:14:58,105: DEBUG - + ynh_handle_getopts_args '--match_string=.*pm = .*' '--replace_string=pm = dynamic' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,105: DEBUG - + set +x
2020-02-05 16:14:58,105: DEBUG - + local delimit=@
2020-02-05 16:14:58,105: DEBUG - + match_string='.*pm = .*'
2020-02-05 16:14:58,105: DEBUG - + replace_string='pm = dynamic'
2020-02-05 16:14:58,106: DEBUG - + sudo sed --in-place 's@.*pm = .*@pm = dynamic@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,106: DEBUG - + ynh_replace_string '--match_string=.*pm.max_children = .*' '--replace_string=pm.max_children = 8' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,106: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,106: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,106: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,106: DEBUG - + local match_string
2020-02-05 16:14:58,106: DEBUG - + local replace_string
2020-02-05 16:14:58,107: DEBUG - + local target_file
2020-02-05 16:14:58,107: DEBUG - + ynh_handle_getopts_args '--match_string=.*pm.max_children = .*' '--replace_string=pm.max_children = 8' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,107: DEBUG - + set +x
2020-02-05 16:14:58,107: DEBUG - + local delimit=@
2020-02-05 16:14:58,107: DEBUG - + match_string='.*pm.max_children = .*'
2020-02-05 16:14:58,107: DEBUG - + replace_string='pm.max_children = 8'
2020-02-05 16:14:58,107: DEBUG - + sudo sed --in-place 's@.*pm.max_children = .*@pm.max_children = 8@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,208: DEBUG - + ynh_replace_string '--match_string=.*pm.max_requests = .*' '--replace_string=pm.max_requests = 500' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,208: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,208: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,208: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,209: DEBUG - + local match_string
2020-02-05 16:14:58,209: DEBUG - + local replace_string
2020-02-05 16:14:58,209: DEBUG - + local target_file
2020-02-05 16:14:58,209: DEBUG - + ynh_handle_getopts_args '--match_string=.*pm.max_requests = .*' '--replace_string=pm.max_requests = 500' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,209: DEBUG - + set +x
2020-02-05 16:14:58,209: DEBUG - + local delimit=@
2020-02-05 16:14:58,209: DEBUG - + match_string='.*pm.max_requests = .*'
2020-02-05 16:14:58,209: DEBUG - + replace_string='pm.max_requests = 500'
2020-02-05 16:14:58,210: DEBUG - + sudo sed --in-place 's@.*pm.max_requests = .*@pm.max_requests = 500@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,210: DEBUG - + ynh_replace_string '--match_string=.*request_terminate_timeout = .*' '--replace_string=request_terminate_timeout = 1d' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,210: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,210: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,210: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,210: DEBUG - + local match_string
2020-02-05 16:14:58,210: DEBUG - + local replace_string
2020-02-05 16:14:58,211: DEBUG - + local target_file
2020-02-05 16:14:58,211: DEBUG - + ynh_handle_getopts_args '--match_string=.*request_terminate_timeout = .*' '--replace_string=request_terminate_timeout = 1d' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,211: DEBUG - + set +x
2020-02-05 16:14:58,211: DEBUG - + local delimit=@
2020-02-05 16:14:58,211: DEBUG - + match_string='.*request_terminate_timeout = .*'
2020-02-05 16:14:58,211: DEBUG - + replace_string='request_terminate_timeout = 1d'
2020-02-05 16:14:58,211: DEBUG - + sudo sed --in-place 's@.*request_terminate_timeout = .*@request_terminate_timeout = 1d@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,212: DEBUG - + '[' dynamic = dynamic ']'
2020-02-05 16:14:58,212: DEBUG - + ynh_replace_string '--match_string=.*pm.start_servers = .*' '--replace_string=pm.start_servers = 2' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,212: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,212: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,212: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,212: DEBUG - + local match_string
2020-02-05 16:14:58,212: DEBUG - + local replace_string
2020-02-05 16:14:58,213: DEBUG - + local target_file
2020-02-05 16:14:58,213: DEBUG - + ynh_handle_getopts_args '--match_string=.*pm.start_servers = .*' '--replace_string=pm.start_servers = 2' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,213: DEBUG - + set +x
2020-02-05 16:14:58,213: DEBUG - + local delimit=@
2020-02-05 16:14:58,213: DEBUG - + match_string='.*pm.start_servers = .*'
2020-02-05 16:14:58,213: DEBUG - + replace_string='pm.start_servers = 2'
2020-02-05 16:14:58,213: DEBUG - + sudo sed --in-place 's@.*pm.start_servers = .*@pm.start_servers = 2@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,314: DEBUG - + ynh_replace_string '--match_string=.*pm.min_spare_servers = .*' '--replace_string=pm.min_spare_servers = 1' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,314: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,315: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,315: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,315: DEBUG - + local match_string
2020-02-05 16:14:58,315: DEBUG - + local replace_string
2020-02-05 16:14:58,316: DEBUG - + local target_file
2020-02-05 16:14:58,316: DEBUG - + ynh_handle_getopts_args '--match_string=.*pm.min_spare_servers = .*' '--replace_string=pm.min_spare_servers = 1' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,316: DEBUG - + set +x
2020-02-05 16:14:58,316: DEBUG - + local delimit=@
2020-02-05 16:14:58,317: DEBUG - + match_string='.*pm.min_spare_servers = .*'
2020-02-05 16:14:58,317: DEBUG - + replace_string='pm.min_spare_servers = 1'
2020-02-05 16:14:58,317: DEBUG - + sudo sed --in-place 's@.*pm.min_spare_servers = .*@pm.min_spare_servers = 1@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,317: DEBUG - + ynh_replace_string '--match_string=.*pm.max_spare_servers = .*' '--replace_string=pm.max_spare_servers = 4' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,318: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,318: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,318: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,318: DEBUG - + local match_string
2020-02-05 16:14:58,319: DEBUG - + local replace_string
2020-02-05 16:14:58,319: DEBUG - + local target_file
2020-02-05 16:14:58,319: DEBUG - + ynh_handle_getopts_args '--match_string=.*pm.max_spare_servers = .*' '--replace_string=pm.max_spare_servers = 4' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,319: DEBUG - + set +x
2020-02-05 16:14:58,320: DEBUG - + local delimit=@
2020-02-05 16:14:58,320: DEBUG - + match_string='.*pm.max_spare_servers = .*'
2020-02-05 16:14:58,320: DEBUG - + replace_string='pm.max_spare_servers = 4'
2020-02-05 16:14:58,320: DEBUG - + sudo sed --in-place 's@.*pm.max_spare_servers = .*@pm.max_spare_servers = 4@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,321: DEBUG - + '[' dynamic '!=' dynamic ']'
2020-02-05 16:14:58,321: DEBUG - + '[' dynamic '!=' ondemand ']'
2020-02-05 16:14:58,323: DEBUG - + ynh_replace_string '--match_string=.*\(pm.process_idle_timeout = .*\)' '--replace_string=;\1' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,323: DEBUG - + local legacy_args=mrf
2020-02-05 16:14:58,323: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-05 16:14:58,324: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,324: DEBUG - + local match_string
2020-02-05 16:14:58,324: DEBUG - + local replace_string
2020-02-05 16:14:58,324: DEBUG - + local target_file
2020-02-05 16:14:58,324: DEBUG - + ynh_handle_getopts_args '--match_string=.*\(pm.process_idle_timeout = .*\)' '--replace_string=;\1' --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,325: DEBUG - + set +x
2020-02-05 16:14:58,325: DEBUG - + local delimit=@
2020-02-05 16:14:58,325: DEBUG - + match_string='.*\(pm.process_idle_timeout = .*\)'
2020-02-05 16:14:58,325: DEBUG - + replace_string=';\1'
2020-02-05 16:14:58,325: DEBUG - + sudo sed --in-place 's@.*\(pm.process_idle_timeout = .*\)@;\1@g' /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,325: DEBUG - + '[' -e ../conf/extra_php-fpm.conf ']'
2020-02-05 16:14:58,326: DEBUG - + cat ../conf/extra_php-fpm.conf
2020-02-05 16:14:58,326: DEBUG - + sudo chown root: /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,426: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,427: DEBUG - + local legacy_args=f
2020-02-05 16:14:58,427: DEBUG - + args_array=([f]=file=)
2020-02-05 16:14:58,427: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,427: DEBUG - + local file
2020-02-05 16:14:58,427: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,427: DEBUG - + set +x
2020-02-05 16:14:58,427: DEBUG - + local checksum_setting_name=**********
2020-02-05 16:14:58,427: DEBUG - ++ sudo md5sum /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-02-05 16:14:58,428: DEBUG - ++ cut '-d ' -f1
2020-02-05 16:14:58,428: DEBUG - + ynh_app_setting_set --app=nextcloud --key=********** --value=03c98e1e5ef1a799a8cc7dbee0e08d76
2020-02-05 16:14:58,428: DEBUG - + local legacy_args=akv
2020-02-05 16:14:58,428: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-05 16:14:58,428: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,428: DEBUG - + local app
2020-02-05 16:14:58,428: DEBUG - + local key
2020-02-05 16:14:58,429: DEBUG - + local value
2020-02-05 16:14:58,429: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=********** --value=03c98e1e5ef1a799a8cc7dbee0e08d76
2020-02-05 16:14:58,429: DEBUG - + set +x
2020-02-05 16:14:58,429: DEBUG - + ynh_app_setting set nextcloud ********** 03c98e1e5ef1a799a8cc7dbee0e08d76
2020-02-05 16:14:58,429: DEBUG - + ACTION=set
2020-02-05 16:14:58,429: DEBUG - + APP=nextcloud
2020-02-05 16:14:58,429: DEBUG - + KEY=**********
2020-02-05 16:14:58,430: DEBUG - + VALUE=03c98e1e5ef1a799a8cc7dbee0e08d76
2020-02-05 16:14:58,430: DEBUG - + python -
2020-02-05 16:14:58,530: DEBUG - + '[' -n '' ']'
2020-02-05 16:14:58,530: DEBUG - + unset backup_file_checksum
2020-02-05 16:14:58,531: DEBUG - + '[' -e ../conf/php-fpm.ini ']'
2020-02-05 16:14:58,531: DEBUG - + ynh_systemd_action --service_name=php7.0-fpm --action=reload
2020-02-05 16:14:58,531: DEBUG - + local legacy_args=nalpte
2020-02-05 16:14:58,531: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-02-05 16:14:58,531: DEBUG - + declare -Ar args_array
2020-02-05 16:14:58,531: DEBUG - + local service_name
2020-02-05 16:14:58,531: DEBUG - + local action
2020-02-05 16:14:58,532: DEBUG - + local line_match
2020-02-05 16:14:58,532: DEBUG - + local length
2020-02-05 16:14:58,532: DEBUG - + local log_path
2020-02-05 16:14:58,532: DEBUG - + local timeout
2020-02-05 16:14:58,532: DEBUG - + ynh_handle_getopts_args --service_name=php7.0-fpm --action=reload
2020-02-05 16:14:58,532: DEBUG - + set +x
2020-02-05 16:14:58,533: DEBUG - + local service_name=php7.0-fpm
2020-02-05 16:14:58,533: DEBUG - + local action=reload
2020-02-05 16:14:58,533: DEBUG - + local log_path=/var/log/php7.0-fpm/php7.0-fpm.log
2020-02-05 16:14:58,533: DEBUG - + local length=20
2020-02-05 16:14:58,533: DEBUG - + local timeout=300
2020-02-05 16:14:58,533: DEBUG - + [[ -n '' ]]
2020-02-05 16:14:58,533: DEBUG - + '[' reload == reload ']'
2020-02-05 16:14:58,533: DEBUG - + action=reload-or-restart
2020-02-05 16:14:58,534: DEBUG - + systemctl reload-or-restart php7.0-fpm
2020-02-05 16:14:58,634: DEBUG - + [[ -n '' ]]
2020-02-05 16:14:58,634: INFO - [###########++++.....] > Installing nextcloud...
2020-02-05 16:14:58,635: DEBUG - + datadir=/home/yunohost.app/nextcloud/data
2020-02-05 16:14:58,635: DEBUG - + mkdir -p /home/yunohost.app/nextcloud/data
2020-02-05 16:14:58,635: DEBUG - + ynh_script_progression '--message=Installing nextcloud...' --weight=30
2020-02-05 16:14:58,635: DEBUG - + set +x
2020-02-05 16:14:58,635: DEBUG - + set +x
2020-02-05 16:14:58,635: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-05 16:14:58,636: DEBUG - + set +x
2020-02-05 16:14:58,636: DEBUG - + echo '[###########++++.....] > Installing nextcloud...'
2020-02-05 16:14:58,636: DEBUG - + set -x
2020-02-05 16:14:58,636: DEBUG - + chown -R nextcloud: /var/www/nextcloud /home/yunohost.app/nextcloud/data
2020-02-05 16:14:58,837: DEBUG - ++ ynh_string_random --length=6
2020-02-05 16:14:58,837: DEBUG - ++ local legacy_args=l
2020-02-05 16:14:58,837: DEBUG - ++ args_array=([l]=length=)
2020-02-05 16:14:58,838: DEBUG - ++ declare -Ar args_array
2020-02-05 16:14:58,838: DEBUG - ++ local length
2020-02-05 16:14:58,838: DEBUG - ++ ynh_handle_getopts_args --length=6
2020-02-05 16:14:58,838: DEBUG - ++ set +x
2020-02-05 16:14:58,839: DEBUG - ++ length=6
2020-02-05 16:14:58,839: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-02-05 16:14:58,839: DEBUG - ++ tr -c -d A-Za-z0-9
2020-02-05 16:14:58,839: DEBUG - ++ sed -n 's/\(.\{6\}\).*/\1/p'
2020-02-05 16:14:58,840: DEBUG - + exec_occ maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass MigvSn --data-dir /home/yunohost.app/nextcloud/data
2020-02-05 16:14:58,840: DEBUG - + cd /var/www/nextcloud
2020-02-05 16:14:58,840: DEBUG - + exec_as nextcloud php occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass MigvSn --data-dir /home/yunohost.app/nextcloud/data
2020-02-05 16:14:58,840: DEBUG - + local USER=nextcloud
2020-02-05 16:14:58,841: DEBUG - + shift 1
2020-02-05 16:14:58,841: DEBUG - ++ whoami
2020-02-05 16:14:58,841: DEBUG - + [[ nextcloud = root ]]
2020-02-05 16:14:58,841: DEBUG - + sudo -u nextcloud php occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass MigvSn --data-dir /home/yunohost.app/nextcloud/data
2020-02-05 16:14:59,142: DEBUG - PHP module zip not installed.
2020-02-05 16:14:59,143: WARNING - Unable to install Nextcloud
2020-02-05 16:14:59,143: DEBUG - Please ask your server administrator to install the module.
2020-02-05 16:14:59,144: DEBUG - 
2020-02-05 16:14:59,144: DEBUG - An unhandled exception has been thrown:
2020-02-05 16:14:59,144: DEBUG - Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:166
2020-02-05 16:14:59,145: DEBUG - Stack trace:
2020-02-05 16:14:59,145: DEBUG - #0 /var/www/nextcloud/console.php(95): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2020-02-05 16:14:59,145: DEBUG - #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
2020-02-05 16:14:59,145: DEBUG - #2 {main}+ ynh_die '--message=Unable to install Nextcloud'
2020-02-05 16:14:59,146: DEBUG - + local legacy_args=mc
2020-02-05 16:14:59,146: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-02-05 16:14:59,146: DEBUG - + declare -Ar args_array
2020-02-05 16:14:59,146: DEBUG - + local message
2020-02-05 16:14:59,146: DEBUG - + local ret_code
2020-02-05 16:14:59,146: DEBUG - + ynh_handle_getopts_args '--message=Unable to install Nextcloud'
2020-02-05 16:14:59,147: DEBUG - + set +x
2020-02-05 16:14:59,147: DEBUG - + echo 'Unable to install Nextcloud'
2020-02-05 16:14:59,147: DEBUG - + exit 1
2020-02-05 16:14:59,147: DEBUG - + ynh_exit_properly
2020-02-05 16:14:59,147: DEBUG - + local exit_code=1
2020-02-05 16:14:59,147: DEBUG - + '[' 1 -eq 0 ']'
2020-02-05 16:14:59,148: DEBUG - + trap '' EXIT
2020-02-05 16:14:59,148: DEBUG - + set +eu
2020-02-05 16:14:59,148: DEBUG - + sleep 0.5
2020-02-05 16:14:59,650: DEBUG - + ynh_print_err '--message=!!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-02-05 16:14:59,650: WARNING - e[91me[1m[ERR]e[0m !!
2020-02-05 16:14:59,651: DEBUG - + local legacy_args=m
2020-02-05 16:14:59,651: WARNING -   nextcloud's script has encountered an error. Its execution was cancelled.
2020-02-05 16:14:59,651: DEBUG - + args_array=([m]=message=)
2020-02-05 16:14:59,652: WARNING - !!
2020-02-05 16:14:59,652: DEBUG - + declare -Ar args_array
2020-02-05 16:14:59,652: WARNING - 
2020-02-05 16:14:59,653: DEBUG - + local message
2020-02-05 16:14:59,653: DEBUG - + ynh_handle_getopts_args '--message=!!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-02-05 16:14:59,653: DEBUG - + set +x
2020-02-05 16:14:59,653: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-02-05 16:14:59,653: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-02-05 16:14:59,654: DEBUG - + '[' api == cli ']'
2020-02-05 16:14:59,654: DEBUG - + type -t ynh_clean_setup
2020-02-05 16:14:59,654: DEBUG - + ynh_die
2020-02-05 16:14:59,654: DEBUG - + local legacy_args=mc
2020-02-05 16:14:59,655: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-02-05 16:14:59,655: DEBUG - + declare -Ar args_array
2020-02-05 16:14:59,655: DEBUG - + local message
2020-02-05 16:14:59,655: DEBUG - + local ret_code
2020-02-05 16:14:59,655: DEBUG - + ynh_handle_getopts_args
2020-02-05 16:14:59,656: DEBUG - + set +x
2020-02-05 16:14:59,656: DEBUG - + echo ''
2020-02-05 16:14:59,656: DEBUG - + exit 1

Tu es sûr que tu n’as pas une autre application installée. Ca ressemble furieusement à un problème de version de php qui se déclenche quand on a installé nextcloud après certaines autres applications qui installent php7.2 ou php7.3.

Je te propose de communiquer la liste de tes paquets php:

dpkg -l | grep php | yunopaste
ii  php-common                            2:72+0~20200122.20+debian9~1.gbpcd96c7                        all          Common files for PHP packages
ii  php-curl                              2:7.4+72+0~20200122.20+debian9~1.gbpcd96c7                    all          CURL module for PHP [default]
ii  php-fpm                               2:7.4+72+0~20200122.20+debian9~1.gbpcd96c7                    all          server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
ii  php-gd                                2:7.4+72+0~20200122.20+debian9~1.gbpcd96c7                    all          GD module for PHP [default]
ii  php-gettext                           1.0.12-0.1                                                    all          transitional dummy package for php-php-gettext
ii  php-intl                              2:7.4+72+0~20200122.20+debian9~1.gbpcd96c7                    all          Internationalisation module for PHP [default]
ii  php-ldap                              2:7.4+72+0~20200122.20+debian9~1.gbpcd96c7                    all          LDAP module for PHP [default]
ii  php-mbstring                          2:7.4+72+0~20200122.20+debian9~1.gbpcd96c7                    all          MBSTRING module for PHP [default]
ii  php-mcrypt                            1:7.0+49                                                      all          libmcrypt module for PHP [default]
ii  php-mysql                             2:7.4+72+0~20200122.20+debian9~1.gbpcd96c7                    all          MySQL module for PHP [default]
ii  php-pear                              1:1.10.9+submodules+notgz-1+0~20191119.13+debian9~1.gbp296d25 all          PEAR Base System
ii  php-php-gettext                       1.0.12-0.1                                                    all          read gettext MO files directly, without requiring anything other than PHP
ii  php-xml                               2:7.4+72+0~20200122.20+debian9~1.gbpcd96c7                    all          DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii  php7.0-cli                            7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        command-line interpreter for the PHP scripting language
ii  php7.0-common                         7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        documentation, examples and common module for PHP
ii  php7.0-curl                           7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        CURL module for PHP
ii  php7.0-fpm                            7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
ii  php7.0-gd                             7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        GD module for PHP
ii  php7.0-intl                           7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        Internationalisation module for PHP
ii  php7.0-json                           7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        JSON module for PHP
ii  php7.0-ldap                           7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        LDAP module for PHP
ii  php7.0-mbstring                       7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        MBSTRING module for PHP
ii  php7.0-mcrypt                         7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        libmcrypt module for PHP
ii  php7.0-mysql                          7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        MySQL module for PHP
ii  php7.0-opcache                        7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        Zend OpCache module for PHP
ii  php7.0-readline                       7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        readline module for PHP
ii  php7.0-xml                            7.0.33-19+0~20200202.27+debian9~1.gbp5d283d                   amd64        DOM, SimpleXML, WDDX, XML, and XSL module for PHP
ii  php7.3                                7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    all          server-side, HTML-embedded scripting language (metapackage)
ii  php7.3-cli                            7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        command-line interpreter for the PHP scripting language
ii  php7.3-common                         7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        documentation, examples and common module for PHP
ii  php7.3-curl                           7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        CURL module for PHP
ii  php7.3-fpm                            7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
ii  php7.3-gd                             7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        GD module for PHP
ii  php7.3-json                           7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        JSON module for PHP
ii  php7.3-mbstring                       7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        MBSTRING module for PHP
ii  php7.3-mysql                          7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        MySQL module for PHP
ii  php7.3-opcache                        7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        Zend OpCache module for PHP
ii  php7.3-readline                       7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        readline module for PHP
ii  php7.3-xml                            7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        DOM, SimpleXML, WDDX, XML, and XSL module for PHP
ii  php7.3-zip                            7.3.14-5+0~20200202.52+debian9~1.gbpa71879                    amd64        Zip module for PHP
ii  php7.4-cli                            7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        command-line interpreter for the PHP scripting language
ii  php7.4-common                         7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        documentation, examples and common module for PHP
ii  php7.4-curl                           7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        CURL module for PHP
ii  php7.4-fpm                            7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
ii  php7.4-gd                             7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        GD module for PHP
ii  php7.4-intl                           7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        Internationalisation module for PHP
ii  php7.4-json                           7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        JSON module for PHP
ii  php7.4-ldap                           7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        LDAP module for PHP
ii  php7.4-mbstring                       7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        MBSTRING module for PHP
ii  php7.4-mysql                          7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        MySQL module for PHP
ii  php7.4-opcache                        7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        Zend OpCache module for PHP
ii  php7.4-readline                       7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        readline module for PHP
ii  php7.4-xml                            7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde                     amd64        DOM, SimpleXML, XML, and XSL module for PHP

En effet, j’ai à priori php 7.0 et php 7.3, comment remettre ça au propre ? C’est sur un sous-domaine A.
Et avant nextcloud, j’ai uniquement installé Flarum (je n’ai pas retrouvé Discourse dans les appli à installer yunohost :frowning: ), sur un sous-domaine B. Par ailleurs Wordpress est sur un sous-domaine C, installé sans difficulté.

Ca doit être flarum ou wordpress qui a installé php7.3

Je crois que tu peux tenter

apt install php7.0-zip

Puis l’install de nextcloud.

Merci, ça a suffit en effet ^^

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