Problème installation 2 noms de domaines

Bonjour,

j’ai installé la dernière version de Yunohost sur un ordinateur portable d’un peu moins de 10ans.
J’ai d’abord installé Nextcloud, Kresus, AgenDav et d’autres services sur un premier nom de domaine. J’ai voulu installer Mastodon, peertube et pixelfed sur d’autres sous-domaines (sur un 2nd nom de domaine) mais l’installation échouait à chaque fois.

J’ai décidé de réinstaller Yunohost. J’ai pu installer les applications du fédiverses sur les sous-domaines que je voulais (sur le 2nd nom de domaine) mais impossible maintenant d’installer par exemple Nextcloud sur mon 1er nom de domaine. Je me retrouve donc avec le problème inverse. Je n’ai pas trouvé de problème similaire sur le forum, j’ai peut etre loupé quequechose au moment de l’ajout des domaines ?

Je précise que je ne suis pas un expert, j’utilise quasiment exclusivement la webadmin.

Merci d’avance à ceux qui prendront le temps de me lire.

Le message d’erreur : The operation ‘Install ‘nextcloud’ application’ has failed! To get help, please [provide the full log of this operation by clicking here]

Pour compléter,

j’ai essayé d’installer Kresus et Wallabag qui ont fonctionné.
La différence par rapport à Nextcloud c’est qu’il n’y a pas besoin d’utilisateur.

Par contre j’ai reesayé Nextcloud avec différents utilisateurs, même résultat…

Serait-ce possible d’avoir le log en question ?

Oui, pardon ! Le dernier en date pour l’installation de Nextcloud :

2020-03-02 14:21:06,602: DEBUG - + declare -Ar args_array
2020-03-02 14:21:06,602: DEBUG - + local username
2020-03-02 14:21:06,603: DEBUG - + local home_dir
2020-03-02 14:21:06,603: DEBUG - + local use_shell
2020-03-02 14:21:06,604: DEBUG - + ynh_handle_getopts_args --username=nextcloud
2020-03-02 14:21:06,604: DEBUG - + set +x
2020-03-02 14:21:06,613: DEBUG - + use_shell=0
2020-03-02 14:21:06,614: DEBUG - + home_dir=
2020-03-02 14:21:06,614: DEBUG - + ynh_system_user_exists nextcloud
2020-03-02 14:21:06,615: DEBUG - + local legacy_args=u
2020-03-02 14:21:06,615: DEBUG - + args_array=([u]=username=)
2020-03-02 14:21:06,616: DEBUG - + declare -Ar args_array
2020-03-02 14:21:06,616: DEBUG - + local username
2020-03-02 14:21:06,617: DEBUG - + ynh_handle_getopts_args nextcloud
2020-03-02 14:21:06,617: INFO - [##########…] > Configuring system user…
2020-03-02 14:21:06,619: DEBUG - + set +x
2020-03-02 14:21:06,619: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-03-02 14:21:06,620: DEBUG - + set +x
2020-03-02 14:21:06,620: DEBUG - + getent passwd nextcloud
2020-03-02 14:21:06,621: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-03-02 14:21:06,621: DEBUG - + local user_home_dir=–no-create-home
2020-03-02 14:21:06,622: DEBUG - + ‘[’ 0 -eq 1 ‘]’
2020-03-02 14:21:06,622: DEBUG - + local ‘shell=–shell /usr/sbin/nologin’
2020-03-02 14:21:06,623: DEBUG - + useradd --no-create-home --system --user-group nextcloud --shell /usr/sbin/nologin
2020-03-02 14:21:11,440: DEBUG - + ynh_script_progression ‘–message=Configuring php-fpm…’ --weight=2
2020-03-02 14:21:11,441: INFO - [##########+…] > Configuring php-fpm…
2020-03-02 14:21:11,442: DEBUG - + set +x
2020-03-02 14:21:11,444: DEBUG - + set +x
2020-03-02 14:21:11,446: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-03-02 14:21:11,447: DEBUG - + set +x
2020-03-02 14:21:11,447: DEBUG - + echo ‘[##########+…] > Configuring php-fpm…’
2020-03-02 14:21:11,448: DEBUG - + set -x
2020-03-02 14:21:11,448: DEBUG - + ynh_add_fpm_config --usage=medium --footprint=high
2020-03-02 14:21:11,449: DEBUG - + local legacy_args=vtuf
2020-03-02 14:21:11,449: DEBUG - + args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint=)
2020-03-02 14:21:11,450: DEBUG - + declare -Ar args_array
2020-03-02 14:21:11,450: DEBUG - + local phpversion
2020-03-02 14:21:11,451: DEBUG - + local use_template
2020-03-02 14:21:11,451: DEBUG - + local usage
2020-03-02 14:21:11,452: DEBUG - + local footprint
2020-03-02 14:21:11,452: DEBUG - + ynh_handle_getopts_args --usage=medium --footprint=high
2020-03-02 14:21:11,452: DEBUG - + set +x
2020-03-02 14:21:11,453: DEBUG - + use_template=1
2020-03-02 14:21:11,453: DEBUG - + usage=medium
2020-03-02 14:21:11,454: DEBUG - + footprint=high
2020-03-02 14:21:11,454: DEBUG - + ‘[’ -n medium ‘]’
2020-03-02 14:21:11,455: DEBUG - + use_template=0
2020-03-02 14:21:11,455: DEBUG - + phpversion=7.0
2020-03-02 14:21:11,456: DEBUG - + local fpm_config_dir=/etc/php/7.0/fpm
2020-03-02 14:21:11,456: DEBUG - + local fpm_service=php7.0-fpm
2020-03-02 14:21:11,457: DEBUG - ++ ynh_get_debian_release
2020-03-02 14:21:11,457: DEBUG - +++ lsb_release --codename --short
2020-03-02 14:21:11,658: DEBUG - ++ echo stretch
2020-03-02 14:21:11,659: DEBUG - + ‘[’ stretch == jessie ‘]’
2020-03-02 14:21:11,660: DEBUG - + ynh_app_setting_set --app=nextcloud --key=fpm_config_dir --value=/etc/php/7.0/fpm
2020-03-02 14:21:11,660: DEBUG - + local legacy_args=akv
2020-03-02 14:21:11,661: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-03-02 14:21:11,662: DEBUG - + declare -Ar args_array
2020-03-02 14:21:11,662: DEBUG - + local app
2020-03-02 14:21:11,663: DEBUG - + local key
2020-03-02 14:21:11,664: DEBUG - + local value
2020-03-02 14:21:11,664: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=fpm_config_dir --value=/etc/php/7.0/fpm
2020-03-02 14:21:11,665: DEBUG - + set +x
2020-03-02 14:21:11,666: DEBUG - + ynh_app_setting set nextcloud fpm_config_dir /etc/php/7.0/fpm
2020-03-02 14:21:11,666: DEBUG - + ACTION=set
2020-03-02 14:21:11,667: DEBUG - + APP=nextcloud
2020-03-02 14:21:11,667: DEBUG - + KEY=fpm_config_dir
2020-03-02 14:21:11,668: DEBUG - + VALUE=/etc/php/7.0/fpm
2020-03-02 14:21:11,668: DEBUG - + python -
2020-03-02 14:21:12,071: DEBUG - + ynh_app_setting_set --app=nextcloud --key=fpm_service --value=php7.0-fpm
2020-03-02 14:21:12,072: DEBUG - + local legacy_args=akv
2020-03-02 14:21:12,073: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-03-02 14:21:12,074: DEBUG - + declare -Ar args_array
2020-03-02 14:21:12,074: DEBUG - + local app
2020-03-02 14:21:12,075: DEBUG - + local key
2020-03-02 14:21:12,076: DEBUG - + local value
2020-03-02 14:21:12,077: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=fpm_service --value=php7.0-fpm
2020-03-02 14:21:12,078: DEBUG - + set +x
2020-03-02 14:21:12,079: DEBUG - + ynh_app_setting set nextcloud fpm_service php7.0-fpm
2020-03-02 14:21:12,080: DEBUG - + ACTION=set
2020-03-02 14:21:12,080: DEBUG - + APP=nextcloud
2020-03-02 14:21:12,081: DEBUG - + KEY=fpm_service
2020-03-02 14:21:12,081: DEBUG - + VALUE=php7.0-fpm
2020-03-02 14:21:12,082: DEBUG - + python -
2020-03-02 14:21:12,484: DEBUG - + finalphpconf=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:12,485: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:12,486: DEBUG - + local legacy_args=f
2020-03-02 14:21:12,487: DEBUG - + args_array=([f]=file=)
2020-03-02 14:21:12,488: DEBUG - + declare -Ar args_array
2020-03-02 14:21:12,489: DEBUG - + local file
2020-03-02 14:21:12,490: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:12,491: DEBUG - + set +x
2020-03-02 14:21:12,491: DEBUG - + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_nextcloud.conf
2020-03-02 14:21:12,492: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=**********
2020-03-02 14:21:12,492: DEBUG - ++ local legacy_args=ak
2020-03-02 14:21:12,493: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-03-02 14:21:12,493: DEBUG - ++ declare -Ar args_array
2020-03-02 14:21:12,494: DEBUG - ++ local app
2020-03-02 14:21:12,494: DEBUG - ++ local key
2020-03-02 14:21:12,495: DEBUG - ++ ynh_handle_getopts_args --app=nextcloud --key=**********
2020-03-02 14:21:12,496: DEBUG - ++ set +x
2020-03-02 14:21:12,496: DEBUG - ++ ynh_app_setting get nextcloud **********
2020-03-02 14:21:12,497: DEBUG - ++ ACTION=get
2020-03-02 14:21:12,497: DEBUG - ++ APP=nextcloud
2020-03-02 14:21:12,498: DEBUG - ++ KEY=**********
2020-03-02 14:21:12,498: DEBUG - ++ VALUE=
2020-03-02 14:21:12,499: DEBUG - ++ python -
2020-03-02 14:21:12,901: DEBUG - + local checksum_value=
2020-03-02 14:21:12,902: DEBUG - + backup_file_checksum=
2020-03-02 14:21:12,903: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-03-02 14:21:12,904: DEBUG - + ‘[’ 0 -eq 1 ‘]’
2020-03-02 14:21:12,905: DEBUG - + ynh_get_scalable_phpfpm --usage=medium --footprint=high
2020-03-02 14:21:12,905: DEBUG - + local legacy_args=ufp
2020-03-02 14:21:12,906: DEBUG - + args_array=([u]=usage= [f]=footprint= [p]=print)
2020-03-02 14:21:12,907: DEBUG - + declare -Ar args_array
2020-03-02 14:21:12,908: DEBUG - + local usage
2020-03-02 14:21:12,909: DEBUG - + local footprint
2020-03-02 14:21:12,909: DEBUG - + local print
2020-03-02 14:21:12,910: DEBUG - + ynh_handle_getopts_args --usage=medium --footprint=high
2020-03-02 14:21:12,910: DEBUG - + set +x
2020-03-02 14:21:12,911: DEBUG - + footprint=high
2020-03-02 14:21:12,911: DEBUG - + usage=medium
2020-03-02 14:21:12,912: DEBUG - + print=0
2020-03-02 14:21:12,912: DEBUG - + ‘[’ high = low ‘]’
2020-03-02 14:21:12,913: DEBUG - + ‘[’ high = medium ‘]’
2020-03-02 14:21:12,913: DEBUG - + ‘[’ high = high ‘]’
2020-03-02 14:21:12,914: DEBUG - + footprint=50
2020-03-02 14:21:12,914: DEBUG - + ‘[’ medium = low ‘]’
2020-03-02 14:21:12,915: DEBUG - + ‘[’ medium = medium ‘]’
2020-03-02 14:21:12,915: DEBUG - + php_pm=dynamic
2020-03-02 14:21:12,916: DEBUG - ++ ynh_check_ram --no_swap
2020-03-02 14:21:12,917: DEBUG - ++ args_array=([r]=required= [s]=no_swap [o]=only_swap [f]=free_ram)
2020-03-02 14:21:12,917: DEBUG - ++ declare -Ar args_array
2020-03-02 14:21:12,918: DEBUG - ++ local required
2020-03-02 14:21:12,918: DEBUG - ++ local no_swap
2020-03-02 14:21:12,919: DEBUG - ++ local only_swap
2020-03-02 14:21:12,919: DEBUG - ++ ynh_handle_getopts_args --no_swap
2020-03-02 14:21:12,920: DEBUG - ++ set +x
2020-03-02 14:21:12,920: DEBUG - ++ required=
2020-03-02 14:21:12,921: DEBUG - ++ no_swap=1
2020-03-02 14:21:12,921: DEBUG - ++ only_swap=0
2020-03-02 14:21:12,922: DEBUG - +++ vmstat --stats --unit M
2020-03-02 14:21:12,922: DEBUG - +++ grep ‘total memory’
2020-03-02 14:21:12,922: DEBUG - +++ awk ‘{print $1}’
2020-03-02 14:21:13,023: DEBUG - ++ local total_ram=3539
2020-03-02 14:21:13,024: DEBUG - +++ vmstat --stats --unit M
2020-03-02 14:21:13,024: DEBUG - +++ grep ‘total swap’
2020-03-02 14:21:13,025: DEBUG - +++ awk ‘{print $1}’
2020-03-02 14:21:13,026: DEBUG - ++ local total_swap=975
2020-03-02 14:21:13,026: DEBUG - ++ local total_ram_swap=4514
2020-03-02 14:21:13,026: DEBUG - +++ vmstat --stats --unit M
2020-03-02 14:21:13,027: DEBUG - +++ grep ‘free memory’
2020-03-02 14:21:13,027: DEBUG - +++ awk ‘{print $1}’
2020-03-02 14:21:13,028: DEBUG - ++ local free_ram=138
2020-03-02 14:21:13,028: DEBUG - +++ vmstat --stats --unit M
2020-03-02 14:21:13,029: DEBUG - +++ grep ‘free swap’
2020-03-02 14:21:13,029: DEBUG - +++ awk ‘{print $1}’
2020-03-02 14:21:13,030: DEBUG - ++ local free_swap=973
2020-03-02 14:21:13,030: DEBUG - ++ local free_ram_swap=1111
2020-03-02 14:21:13,030: DEBUG - ++ local ram=4514
2020-03-02 14:21:13,031: DEBUG - ++ ‘[’ 138 -eq 1 ‘]’
2020-03-02 14:21:13,031: DEBUG - ++ ‘[’ 1 -eq 1 ‘]’
2020-03-02 14:21:13,032: DEBUG - ++ ram=3539
2020-03-02 14:21:13,032: DEBUG - ++ ‘[’ -n ‘’ ‘]’
2020-03-02 14:21:13,033: DEBUG - ++ echo 3539
2020-03-02 14:21:13,033: DEBUG - + local max_ram=3539
2020-03-02 14:21:13,034: DEBUG - + php_max_children=35
2020-03-02 14:21:13,034: DEBUG - + ‘[’ dynamic = static ‘]’
2020-03-02 14:21:13,035: DEBUG - ++ less0 35
2020-03-02 14:21:13,035: DEBUG - ++ ‘[’ 35 -le 0 ‘]’
2020-03-02 14:21:13,035: DEBUG - ++ echo 35
2020-03-02 14:21:13,036: DEBUG - + php_max_children=35
2020-03-02 14:21:13,036: DEBUG - ++ nproc
2020-03-02 14:21:13,037: DEBUG - + local core_number=2
2020-03-02 14:21:13,037: DEBUG - + local max_proc=8
2020-03-02 14:21:13,038: DEBUG - + ‘[’ 35 -gt 8 ‘]’
2020-03-02 14:21:13,038: DEBUG - + php_max_children=8
2020-03-02 14:21:13,038: DEBUG - + ‘[’ dynamic = dynamic ‘]’
2020-03-02 14:21:13,039: DEBUG - + php_min_spare_servers=1
2020-03-02 14:21:13,039: DEBUG - ++ less0 1
2020-03-02 14:21:13,040: DEBUG - ++ ‘[’ 1 -le 0 ‘]’
2020-03-02 14:21:13,040: DEBUG - ++ echo 1
2020-03-02 14:21:13,041: DEBUG - + php_min_spare_servers=1
2020-03-02 14:21:13,041: DEBUG - + php_max_spare_servers=4
2020-03-02 14:21:13,042: DEBUG - ++ less0 4
2020-03-02 14:21:13,042: DEBUG - ++ ‘[’ 4 -le 0 ‘]’
2020-03-02 14:21:13,042: DEBUG - ++ echo 4
2020-03-02 14:21:13,043: DEBUG - + php_max_spare_servers=4
2020-03-02 14:21:13,043: DEBUG - + php_start_servers=2
2020-03-02 14:21:13,044: DEBUG - ++ less0 2
2020-03-02 14:21:13,044: DEBUG - ++ ‘[’ 2 -le 0 ‘]’
2020-03-02 14:21:13,044: DEBUG - ++ echo 2
2020-03-02 14:21:13,045: DEBUG - + php_start_servers=2
2020-03-02 14:21:13,045: DEBUG - + ‘[’ 0 -eq 1 ‘]’
2020-03-02 14:21:13,046: DEBUG - + sudo cp /etc/php/7.0/fpm/pool.d/www.conf /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,149: DEBUG - + ynh_replace_string ‘–match_string=^[www]’ ‘–replace_string=[nextcloud]’ --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,150: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,150: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,151: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,151: DEBUG - + local match_string
2020-03-02 14:21:13,152: DEBUG - + local replace_string
2020-03-02 14:21:13,155: DEBUG - + local target_file
2020-03-02 14:21:13,156: DEBUG - + ynh_handle_getopts_args ‘–match_string=^[www]’ ‘–replace_string=[nextcloud]’ --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,156: DEBUG - + set +x
2020-03-02 14:21:13,157: DEBUG - + local delimit=@
2020-03-02 14:21:13,157: DEBUG - + match_string=’^[www]’
2020-03-02 14:21:13,158: DEBUG - + replace_string=’[nextcloud]’
2020-03-02 14:21:13,158: DEBUG - + sudo sed --in-place ‘s@ ^[www]@ [nextcloud]@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,159: 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-03-02 14:21:13,159: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,160: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,160: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,161: DEBUG - + local match_string
2020-03-02 14:21:13,161: DEBUG - + local replace_string
2020-03-02 14:21:13,162: DEBUG - + local target_file
2020-03-02 14:21:13,162: 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-03-02 14:21:13,163: DEBUG - + set +x
2020-03-02 14:21:13,264: DEBUG - + local delimit=@
2020-03-02 14:21:13,264: DEBUG - + match_string=’.listen = .
2020-03-02 14:21:13,265: DEBUG - + replace_string=‘listen = /var/run/php/php7.0-fpm-nextcloud.sock’
2020-03-02 14:21:13,266: 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-03-02 14:21:13,266: DEBUG - + ynh_replace_string ‘–match_string=^user = .’ ‘–replace_string=user = nextcloud’ --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,267: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,267: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,268: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,268: DEBUG - + local match_string
2020-03-02 14:21:13,269: DEBUG - + local replace_string
2020-03-02 14:21:13,269: DEBUG - + local target_file
2020-03-02 14:21:13,270: DEBUG - + ynh_handle_getopts_args '–match_string=^user = .
’ ‘–replace_string=user = nextcloud’ --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,270: DEBUG - + set +x
2020-03-02 14:21:13,271: DEBUG - + local delimit=@
2020-03-02 14:21:13,271: DEBUG - + match_string=’^user = .
2020-03-02 14:21:13,272: DEBUG - + replace_string=‘user = nextcloud’
2020-03-02 14:21:13,272: DEBUG - + sudo sed --in-place 's@ ^user = .
@ user = nextcloud@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,374: DEBUG - + ynh_replace_string ‘–match_string=^group = .’ ‘–replace_string=group = nextcloud’ --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,375: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,375: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,376: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,377: DEBUG - + local match_string
2020-03-02 14:21:13,378: DEBUG - + local replace_string
2020-03-02 14:21:13,378: DEBUG - + local target_file
2020-03-02 14:21:13,379: DEBUG - + ynh_handle_getopts_args '–match_string=^group = .
’ ‘–replace_string=group = nextcloud’ --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,395: DEBUG - + set +x
2020-03-02 14:21:13,395: DEBUG - + local delimit=@
2020-03-02 14:21:13,403: DEBUG - + match_string=’^group = .
2020-03-02 14:21:13,404: DEBUG - + replace_string=‘group = nextcloud’
2020-03-02 14:21:13,404: DEBUG - + sudo sed --in-place 's@ ^group = .
@ group = nextcloud@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,405: 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-03-02 14:21:13,406: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,406: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,406: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,407: DEBUG - + local match_string
2020-03-02 14:21:13,407: DEBUG - + local replace_string
2020-03-02 14:21:13,408: DEBUG - + local target_file
2020-03-02 14:21:13,408: 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-03-02 14:21:13,409: DEBUG - + set +x
2020-03-02 14:21:13,512: DEBUG - + local delimit=@
2020-03-02 14:21:13,513: DEBUG - + match_string=’.chdir = .
2020-03-02 14:21:13,513: DEBUG - + replace_string=‘chdir = /var/www/nextcloud’
2020-03-02 14:21:13,514: DEBUG - + sudo sed --in-place ‘s@ .chdir = .@ chdir = /var/www/nextcloud@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,514: DEBUG - + ynh_replace_string ‘–match_string=.pm = .’ ‘–replace_string=pm = dynamic’ --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,515: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,515: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,516: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,516: DEBUG - + local match_string
2020-03-02 14:21:13,517: DEBUG - + local replace_string
2020-03-02 14:21:13,518: DEBUG - + local target_file
2020-03-02 14:21:13,518: DEBUG - + ynh_handle_getopts_args ‘–match_string=.pm = .’ ‘–replace_string=pm = dynamic’ --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,519: DEBUG - + set +x
2020-03-02 14:21:13,519: DEBUG - + local delimit=@
2020-03-02 14:21:13,520: DEBUG - + match_string=’.pm = .
2020-03-02 14:21:13,520: DEBUG - + replace_string=‘pm = dynamic’
2020-03-02 14:21:13,521: DEBUG - + sudo sed --in-place ‘s@ .pm = .@ pm = dynamic@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,622: 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-03-02 14:21:13,622: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,623: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,623: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,624: DEBUG - + local match_string
2020-03-02 14:21:13,624: DEBUG - + local replace_string
2020-03-02 14:21:13,625: DEBUG - + local target_file
2020-03-02 14:21:13,625: 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-03-02 14:21:13,626: DEBUG - + set +x
2020-03-02 14:21:13,626: DEBUG - + local delimit=@
2020-03-02 14:21:13,627: DEBUG - + match_string=’.pm.max_children = .
2020-03-02 14:21:13,627: DEBUG - + replace_string=‘pm.max_children = 8’
2020-03-02 14:21:13,628: DEBUG - + sudo sed --in-place ‘s@ .pm.max_children = .@ pm.max_children = 8@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,729: 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-03-02 14:21:13,730: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,730: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,731: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,731: DEBUG - + local match_string
2020-03-02 14:21:13,732: DEBUG - + local replace_string
2020-03-02 14:21:13,732: DEBUG - + local target_file
2020-03-02 14:21:13,736: 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-03-02 14:21:13,737: DEBUG - + set +x
2020-03-02 14:21:13,737: DEBUG - + local delimit=@
2020-03-02 14:21:13,738: DEBUG - + match_string=’.pm.max_requests = .
2020-03-02 14:21:13,738: DEBUG - + replace_string=‘pm.max_requests = 500’
2020-03-02 14:21:13,739: DEBUG - + sudo sed --in-place ‘s@ .pm.max_requests = .@ pm.max_requests = 500@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,739: 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-03-02 14:21:13,740: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,740: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,740: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,741: DEBUG - + local match_string
2020-03-02 14:21:13,741: DEBUG - + local replace_string
2020-03-02 14:21:13,742: DEBUG - + local target_file
2020-03-02 14:21:13,742: 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-03-02 14:21:13,743: DEBUG - + set +x
2020-03-02 14:21:13,844: DEBUG - + local delimit=@
2020-03-02 14:21:13,845: DEBUG - + match_string=’.request_terminate_timeout = .
2020-03-02 14:21:13,845: DEBUG - + replace_string=‘request_terminate_timeout = 1d’
2020-03-02 14:21:13,846: DEBUG - + sudo sed --in-place ‘s@ .request_terminate_timeout = .@ request_terminate_timeout = 1d@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,846: DEBUG - + ‘[’ dynamic = dynamic ‘]’
2020-03-02 14:21:13,847: 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-03-02 14:21:13,847: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,848: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,848: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,849: DEBUG - + local match_string
2020-03-02 14:21:13,850: DEBUG - + local replace_string
2020-03-02 14:21:13,850: DEBUG - + local target_file
2020-03-02 14:21:13,851: 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-03-02 14:21:13,851: DEBUG - + set +x
2020-03-02 14:21:13,852: DEBUG - + local delimit=@
2020-03-02 14:21:13,852: DEBUG - + match_string=’.pm.start_servers = .
2020-03-02 14:21:13,853: DEBUG - + replace_string=‘pm.start_servers = 2’
2020-03-02 14:21:13,853: DEBUG - + sudo sed --in-place ‘s@ .pm.start_servers = .@ pm.start_servers = 2@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:13,954: 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-03-02 14:21:13,955: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:13,956: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:13,957: DEBUG - + declare -Ar args_array
2020-03-02 14:21:13,959: DEBUG - + local match_string
2020-03-02 14:21:13,961: DEBUG - + local replace_string
2020-03-02 14:21:13,962: DEBUG - + local target_file
2020-03-02 14:21:13,963: 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-03-02 14:21:13,964: DEBUG - + set +x
2020-03-02 14:21:13,965: DEBUG - + local delimit=@
2020-03-02 14:21:13,966: DEBUG - + match_string=’.pm.min_spare_servers = .
2020-03-02 14:21:13,966: DEBUG - + replace_string=‘pm.min_spare_servers = 1’
2020-03-02 14:21:13,967: 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-03-02 14:21:14,068: 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-03-02 14:21:14,069: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:14,070: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:14,070: DEBUG - + declare -Ar args_array
2020-03-02 14:21:14,071: DEBUG - + local match_string
2020-03-02 14:21:14,071: DEBUG - + local replace_string
2020-03-02 14:21:14,072: DEBUG - + local target_file
2020-03-02 14:21:14,072: 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-03-02 14:21:14,073: DEBUG - + set +x
2020-03-02 14:21:14,073: DEBUG - + local delimit=@
2020-03-02 14:21:14,074: DEBUG - + match_string=’.pm.max_spare_servers = .
2020-03-02 14:21:14,074: DEBUG - + replace_string=‘pm.max_spare_servers = 4’
2020-03-02 14:21:14,075: 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-03-02 14:21:14,075: DEBUG - + ‘[’ dynamic ‘!=’ dynamic ‘]’
2020-03-02 14:21:14,076: DEBUG - + ‘[’ dynamic ‘!=’ ondemand ‘]’
2020-03-02 14:21:14,076: 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-03-02 14:21:14,077: DEBUG - + local legacy_args=mrf
2020-03-02 14:21:14,077: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-03-02 14:21:14,077: DEBUG - + declare -Ar args_array
2020-03-02 14:21:14,078: DEBUG - + local match_string
2020-03-02 14:21:14,078: DEBUG - + local replace_string
2020-03-02 14:21:14,079: DEBUG - + local target_file
2020-03-02 14:21:14,079: 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-03-02 14:21:14,080: DEBUG - + set +x
2020-03-02 14:21:14,181: DEBUG - + local delimit=@
2020-03-02 14:21:14,181: DEBUG - + match_string=’.(pm.process_idle_timeout = .)’
2020-03-02 14:21:14,182: DEBUG - + replace_string=’;\1’
2020-03-02 14:21:14,182: DEBUG - + sudo sed --in-place ‘s@ .(pm.process_idle_timeout = .)@ ;\1@ g’ /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:14,183: DEBUG - + ‘[’ -e …/conf/extra_php-fpm.conf ‘]’
2020-03-02 14:21:14,183: DEBUG - + cat …/conf/extra_php-fpm.conf
2020-03-02 14:21:14,184: DEBUG - + sudo chown root: /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:14,285: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:14,286: DEBUG - + local legacy_args=f
2020-03-02 14:21:14,286: DEBUG - + args_array=([f]=file=)
2020-03-02 14:21:14,287: DEBUG - + declare -Ar args_array
2020-03-02 14:21:14,287: DEBUG - + local file
2020-03-02 14:21:14,288: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:14,291: DEBUG - + set +x
2020-03-02 14:21:14,292: DEBUG - + local checksum_setting_name=**********
2020-03-02 14:21:14,293: DEBUG - ++ cut ‘-d ’ -f1
2020-03-02 14:21:14,293: DEBUG - ++ sudo md5sum /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-03-02 14:21:14,294: DEBUG - + ynh_app_setting_set --app=nextcloud --key=********** --value=03c98e1e5ef1a799a8cc7dbee0e08d76
2020-03-02 14:21:14,294: DEBUG - + local legacy_args=akv
2020-03-02 14:21:14,295: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-03-02 14:21:14,295: DEBUG - + declare -Ar args_array
2020-03-02 14:21:14,297: DEBUG - + local app
2020-03-02 14:21:14,298: DEBUG - + local key
2020-03-02 14:21:14,298: DEBUG - + local value
2020-03-02 14:21:14,299: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=********** --value=03c98e1e5ef1a799a8cc7dbee0e08d76
2020-03-02 14:21:14,299: DEBUG - + set +x
2020-03-02 14:21:14,400: DEBUG - + ynh_app_setting set nextcloud ********** 03c98e1e5ef1a799a8cc7dbee0e08d76
2020-03-02 14:21:14,401: DEBUG - + ACTION=set
2020-03-02 14:21:14,402: DEBUG - + APP=nextcloud
2020-03-02 14:21:14,403: DEBUG - + KEY=**********
2020-03-02 14:21:14,404: DEBUG - + VALUE=03c98e1e5ef1a799a8cc7dbee0e08d76
2020-03-02 14:21:14,405: DEBUG - + python -
2020-03-02 14:21:14,707: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-03-02 14:21:14,708: DEBUG - + unset backup_file_checksum
2020-03-02 14:21:14,708: DEBUG - + ‘[’ -e …/conf/php-fpm.ini ‘]’
2020-03-02 14:21:14,709: DEBUG - + ynh_systemd_action --service_name=php7.0-fpm --action=reload
2020-03-02 14:21:14,709: DEBUG - + local legacy_args=nalpte
2020-03-02 14:21:14,710: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-03-02 14:21:14,710: DEBUG - + declare -Ar args_array
2020-03-02 14:21:14,711: DEBUG - + local service_name
2020-03-02 14:21:14,712: DEBUG - + local action
2020-03-02 14:21:14,712: DEBUG - + local line_match
2020-03-02 14:21:14,713: DEBUG - + local length
2020-03-02 14:21:14,714: DEBUG - + local log_path
2020-03-02 14:21:14,714: DEBUG - + local timeout
2020-03-02 14:21:14,715: DEBUG - + ynh_handle_getopts_args --service_name=php7.0-fpm --action=reload
2020-03-02 14:21:14,715: DEBUG - + set +x
2020-03-02 14:21:14,816: DEBUG - + local service_name=php7.0-fpm
2020-03-02 14:21:14,817: DEBUG - + local action=reload
2020-03-02 14:21:14,818: DEBUG - + local log_path=/var/log/php7.0-fpm/php7.0-fpm.log
2020-03-02 14:21:14,818: DEBUG - + local length=20
2020-03-02 14:21:14,819: DEBUG - + local timeout=300
2020-03-02 14:21:14,825: DEBUG - + [[ -n ‘’ ]]
2020-03-02 14:21:14,826: DEBUG - + ‘[’ reload == reload ‘]’
2020-03-02 14:21:14,826: DEBUG - + action=reload-or-restart
2020-03-02 14:21:14,827: DEBUG - + systemctl reload-or-restart php7.0-fpm
2020-03-02 14:21:14,827: DEBUG - + [[ -n ‘’ ]]
2020-03-02 14:21:14,828: DEBUG - + datadir=/home/yunohost.app/nextcloud/data
2020-03-02 14:21:14,832: DEBUG - + mkdir -p /home/yunohost.app/nextcloud/data
2020-03-02 14:21:14,833: DEBUG - + ynh_script_progression ‘–message=Installing nextcloud…’ --weight=30
2020-03-02 14:21:14,834: DEBUG - + set +x
2020-03-02 14:21:14,834: DEBUG - + set +x
2020-03-02 14:21:14,935: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-03-02 14:21:14,936: INFO - [###########++++…] > Installing nextcloud…
2020-03-02 14:21:14,937: DEBUG - + set +x
2020-03-02 14:21:14,938: DEBUG - + echo ‘[###########++++…] > Installing nextcloud…’
2020-03-02 14:21:14,938: DEBUG - + set -x
2020-03-02 14:21:14,938: DEBUG - + chown -R nextcloud: /var/www/nextcloud /home/yunohost.app/nextcloud/data
2020-03-02 14:21:15,240: DEBUG - ++ ynh_string_random --length=6
2020-03-02 14:21:15,241: DEBUG - ++ local legacy_args=l
2020-03-02 14:21:15,241: DEBUG - ++ args_array=([l]=length=)
2020-03-02 14:21:15,242: DEBUG - ++ declare -Ar args_array
2020-03-02 14:21:15,242: DEBUG - ++ local length
2020-03-02 14:21:15,243: DEBUG - ++ ynh_handle_getopts_args --length=6
2020-03-02 14:21:15,243: DEBUG - ++ set +x
2020-03-02 14:21:15,244: DEBUG - ++ length=6
2020-03-02 14:21:15,244: DEBUG - ++ sed -n ‘s/(.{6}).*/\1/p’
2020-03-02 14:21:15,245: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-03-02 14:21:15,245: DEBUG - ++ tr -c -d A-Za-z0-9
2020-03-02 14:21:15,246: DEBUG - + exec_occ maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass w4vjsY --data-dir /home/yunohost.app/nextcloud/data
2020-03-02 14:21:15,246: DEBUG - + cd /var/www/nextcloud
2020-03-02 14:21:15,247: 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 w4vjsY --data-dir /home/yunohost.app/nextcloud/data
2020-03-02 14:21:15,247: DEBUG - + local USER=nextcloud
2020-03-02 14:21:15,248: DEBUG - + shift 1
2020-03-02 14:21:15,249: DEBUG - ++ whoami
2020-03-02 14:21:15,249: DEBUG - + [[ nextcloud = root ]]
2020-03-02 14:21:15,250: 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 w4vjsY --data-dir /home/yunohost.app/nextcloud/data
2020-03-02 14:21:15,551: DEBUG - PHP module zip not installed.
2020-03-02 14:21:15,552: WARNING - Unable to install Nextcloud
2020-03-02 14:21:15,554: DEBUG - Please ask your server administrator to install the module.
2020-03-02 14:21:15,554: DEBUG -
2020-03-02 14:21:15,555: DEBUG - An unhandled exception has been thrown:
2020-03-02 14:21:15,555: DEBUG - Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:166
2020-03-02 14:21:15,555: DEBUG - Stack trace:
2020-03-02 14:21:15,556: 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-03-02 14:21:15,557: DEBUG - #1 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
2020-03-02 14:21:15,557: DEBUG - #2 {main}+ ynh_die ‘–message=Unable to install Nextcloud’
2020-03-02 14:21:15,558: DEBUG - + local legacy_args=mc
2020-03-02 14:21:15,558: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-03-02 14:21:15,558: DEBUG - + declare -Ar args_array
2020-03-02 14:21:15,559: DEBUG - + local message
2020-03-02 14:21:15,559: DEBUG - + local ret_code
2020-03-02 14:21:15,560: DEBUG - + ynh_handle_getopts_args ‘–message=Unable to install Nextcloud’
2020-03-02 14:21:15,560: DEBUG - + set +x
2020-03-02 14:21:15,561: DEBUG - + echo ‘Unable to install Nextcloud’
2020-03-02 14:21:15,561: DEBUG - + exit 1
2020-03-02 14:21:15,562: DEBUG - + ynh_exit_properly
2020-03-02 14:21:15,562: DEBUG - + local exit_code=1
2020-03-02 14:21:15,563: DEBUG - + ‘[’ 1 -eq 0 ‘]’
2020-03-02 14:21:15,563: DEBUG - + trap ‘’ EXIT
2020-03-02 14:21:15,564: DEBUG - + set +eu
2020-03-02 14:21:15,564: DEBUG - + sleep 0.5
2020-03-02 14:21:16,067: DEBUG - + ynh_print_err ‘–message=!!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 14:21:16,068: DEBUG - + local legacy_args=m
2020-03-02 14:21:16,068: DEBUG - + args_array=([m]=message=)
2020-03-02 14:21:16,069: DEBUG - + declare -Ar args_array
2020-03-02 14:21:16,069: DEBUG - + local message
2020-03-02 14:21:16,070: DEBUG - + ynh_handle_getopts_args ‘–message=!!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 14:21:16,071: WARNING - e[91me[1m[ERR]e[0m !!
2020-03-02 14:21:16,080: DEBUG - + set +x
2020-03-02 14:21:16,081: WARNING - nextcloud’s script has encountered an error. Its execution was cancelled.
2020-03-02 14:21:16,082: 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-03-02 14:21:16,083: WARNING - !!
2020-03-02 14:21:16,084: DEBUG - + echo -e ‘\e[91m\e[1m[ERR]\e[0m !!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 14:21:16,085: WARNING -
2020-03-02 14:21:16,086: DEBUG - + ‘[’ api == cli ‘]’
2020-03-02 14:21:16,087: DEBUG - + type -t ynh_clean_setup
2020-03-02 14:21:16,087: DEBUG - + ynh_die
2020-03-02 14:21:16,088: DEBUG - + local legacy_args=mc
2020-03-02 14:21:16,088: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-03-02 14:21:16,089: DEBUG - + declare -Ar args_array
2020-03-02 14:21:16,089: DEBUG - + local message
2020-03-02 14:21:16,090: DEBUG - + local ret_code
2020-03-02 14:21:16,090: DEBUG - + ynh_handle_getopts_args
2020-03-02 14:21:16,091: DEBUG - + set +x
2020-03-02 14:21:16,091: DEBUG - + echo ‘’
2020-03-02 14:21:16,092: DEBUG - + exit 1

Étrange, il semble manquer un module. Tu peux toujours essayer de l’installer à la main :

sudo apt -y install php-zip && sudo service nginx restart

Après ça, re-teste Nextcloud et redis-nous si tu as toujours le couac avec les noms de domaine.


Ps : pour éviter que la copie du code s’étale tout du long, tu peux la mettre en forme “code” avec l’icône </> au-dessus du champ de texte.

Bizarre, si on en croit la première ligne c’est comme s’il n’etait toujours pas installé ! Je vais redémarrer la machine, sait on jamais

2020-03-02 14:57:41,108: DEBUG - PHP module zip not installed.
2020-03-02 14:57:41,109: DEBUG - Please ask your server administrator to install the module.
2020-03-02 14:57:41,110: DEBUG -
2020-03-02 14:57:41,110: DEBUG - An unhandled exception has been thrown:
2020-03-02 14:57:41,111: DEBUG - Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:166
2020-03-02 14:57:41,111: DEBUG - Stack trace:
2020-03-02 14:57:41,112: 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-03-02 14:57:41,112: DEBUG - #1 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
2020-03-02 14:57:41,213: DEBUG - #2 {main}+ ynh_die ‘–message=Unable to install Nextcloud’
2020-03-02 14:57:41,214: WARNING - Unable to install Nextcloud
2020-03-02 14:57:41,215: DEBUG - + local legacy_args=mc
2020-03-02 14:57:41,216: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-03-02 14:57:41,216: DEBUG - + declare -Ar args_array
2020-03-02 14:57:41,217: DEBUG - + local message
2020-03-02 14:57:41,218: DEBUG - + local ret_code
2020-03-02 14:57:41,218: DEBUG - + ynh_handle_getopts_args ‘–message=Unable to install Nextcloud’
2020-03-02 14:57:41,219: DEBUG - + set +x
2020-03-02 14:57:41,219: DEBUG - + echo ‘Unable to install Nextcloud’
2020-03-02 14:57:41,220: DEBUG - + exit 1
2020-03-02 14:57:41,220: DEBUG - + ynh_exit_properly
2020-03-02 14:57:41,220: DEBUG - + local exit_code=1
2020-03-02 14:57:41,221: DEBUG - + ‘[’ 1 -eq 0 ‘]’
2020-03-02 14:57:41,226: DEBUG - + trap ‘’ EXIT
2020-03-02 14:57:41,226: DEBUG - + set +eu
2020-03-02 14:57:41,227: DEBUG - + sleep 0.5
2020-03-02 14:57:41,729: DEBUG - + ynh_print_err ‘–message=!!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 14:57:41,730: WARNING - e[91me[1m[ERR]e[0m !!
2020-03-02 14:57:41,731: DEBUG - + local legacy_args=m
2020-03-02 14:57:41,732: WARNING - nextcloud’s script has encountered an error. Its execution was cancelled.
2020-03-02 14:57:41,733: DEBUG - + args_array=([m]=message=)
2020-03-02 14:57:41,734: WARNING - !!
2020-03-02 14:57:41,735: DEBUG - + declare -Ar args_array
2020-03-02 14:57:41,736: WARNING -
2020-03-02 14:57:41,737: DEBUG - + local message
2020-03-02 14:57:41,746: DEBUG - + ynh_handle_getopts_args ‘–message=!!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 14:57:41,746: DEBUG - + set +x
2020-03-02 14:57:41,747: 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-03-02 14:57:41,747: DEBUG - + echo -e ‘\e[91m\e[1m[ERR]\e[0m !!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 14:57:41,748: DEBUG - + ‘[’ api == cli ‘]’
2020-03-02 14:57:41,748: DEBUG - + type -t ynh_clean_setup
2020-03-02 14:57:41,749: DEBUG - + ynh_die
2020-03-02 14:57:41,754: DEBUG - + local legacy_args=mc
2020-03-02 14:57:41,755: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-03-02 14:57:41,755: DEBUG - + declare -Ar args_array
2020-03-02 14:57:41,756: DEBUG - + local message
2020-03-02 14:57:41,756: DEBUG - + local ret_code
2020-03-02 14:57:41,756: DEBUG - + ynh_handle_getopts_args
2020-03-02 14:57:41,757: DEBUG - + set +x
2020-03-02 14:57:41,757: DEBUG - + echo ‘’
2020-03-02 14:57:41,758: DEBUG - + exit 1

Problème toujours présent, pas de mise à jour à faire (j’ai fait un sudo apt-get update && apt dist-upgrade)

2020-03-02 15:11:38,136: DEBUG - PHP module zip not installed.
2020-03-02 15:11:38,137: WARNING - Unable to install Nextcloud
2020-03-02 15:11:38,138: DEBUG - Please ask your server administrator to install the module.
2020-03-02 15:11:38,139: DEBUG -
2020-03-02 15:11:38,140: DEBUG - An unhandled exception has been thrown:
2020-03-02 15:11:38,140: DEBUG - Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:166
2020-03-02 15:11:38,141: DEBUG - Stack trace:
2020-03-02 15:11:38,141: 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-03-02 15:11:38,142: DEBUG - #1 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
2020-03-02 15:11:38,142: DEBUG - #2 {main}+ ynh_die ‘–message=Unable to install Nextcloud’
2020-03-02 15:11:38,147: DEBUG - + local legacy_args=mc
2020-03-02 15:11:38,148: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-03-02 15:11:38,148: DEBUG - + declare -Ar args_array
2020-03-02 15:11:38,149: DEBUG - + local message
2020-03-02 15:11:38,149: DEBUG - + local ret_code
2020-03-02 15:11:38,150: DEBUG - + ynh_handle_getopts_args ‘–message=Unable to install Nextcloud’
2020-03-02 15:11:38,150: DEBUG - + set +x
2020-03-02 15:11:38,167: DEBUG - + echo ‘Unable to install Nextcloud’
2020-03-02 15:11:38,168: DEBUG - + exit 1
2020-03-02 15:11:38,168: DEBUG - + ynh_exit_properly
2020-03-02 15:11:38,169: DEBUG - + local exit_code=1
2020-03-02 15:11:38,169: DEBUG - + ‘[’ 1 -eq 0 ‘]’
2020-03-02 15:11:38,170: DEBUG - + trap ‘’ EXIT
2020-03-02 15:11:38,170: DEBUG - + set +eu
2020-03-02 15:11:38,171: DEBUG - + sleep 0.5
2020-03-02 15:11:38,673: DEBUG - + ynh_print_err ‘–message=!!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 15:11:38,674: DEBUG - + local legacy_args=m
2020-03-02 15:11:38,675: DEBUG - + args_array=([m]=message=)
2020-03-02 15:11:38,675: DEBUG - + declare -Ar args_array
2020-03-02 15:11:38,676: DEBUG - + local message
2020-03-02 15:11:38,676: DEBUG - + ynh_handle_getopts_args ‘–message=!!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 15:11:38,677: DEBUG - + set +x
2020-03-02 15:11:38,778: 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-03-02 15:11:38,779: WARNING - e[91me[1m[ERR]e[0m !!
2020-03-02 15:11:38,782: DEBUG - + echo -e ‘\e[91m\e[1m[ERR]\e[0m !!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-03-02 15:11:38,782: WARNING - nextcloud’s script has encountered an error. Its execution was cancelled.
2020-03-02 15:11:38,784: DEBUG - + ‘[’ api == cli ‘]’
2020-03-02 15:11:38,785: WARNING - !!
2020-03-02 15:11:38,792: DEBUG - + type -t ynh_clean_setup
2020-03-02 15:11:38,792: WARNING -
2020-03-02 15:11:38,796: DEBUG - + ynh_die
2020-03-02 15:11:38,796: DEBUG - + local legacy_args=mc
2020-03-02 15:11:38,797: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-03-02 15:11:38,797: DEBUG - + declare -Ar args_array
2020-03-02 15:11:38,798: DEBUG - + local message
2020-03-02 15:11:38,798: DEBUG - + local ret_code
2020-03-02 15:11:38,807: DEBUG - + ynh_handle_getopts_args
2020-03-02 15:11:38,808: DEBUG - + set +x
2020-03-02 15:11:38,808: DEBUG - + echo ‘’
2020-03-02 15:11:38,809: DEBUG - + exit 1

En parallèle, mon instance peertube qui fonctionnait ce matin m’affiche une erreur " 502 Bad Gateway" et mon instance Mastodon qui fonctionnait aussi m’affiche “Nous sommes désolé·e·s, mais quelque chose s’est mal passé de notre côté.”

Ça commence à faire pas mal d’erreurs.
Le paquet php-zip semble être une “fausse erreur”, il doit y avoir quelque chose qui perturbe les scripts.
Spontanément je dirais un cafouillage PHP, un problème du côté de nginx ou une corruption de base de données.

Pour vérifier les bdd :
# mysqlcheck -u root --all-databases

Tester nginx :
nginx -t

Avoir la version courante de PHP utilisée :
php -v

D’abord, merci pour ton aide !

J’ai fait les commandes que tu m’as proposé :

Pour mysql, tout s’affiche en “OK”

Pour nginx :
nginx : the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.con test is successful

Et la version php : 7.0.33-25

Cela n’écarte pas les possibles cafouillages PHP ou nginx mais ça permet de faire un point.
Peux-tu essayer de redémarrer l’ordinateur si ce n’est déjà fait ? Il arrive que le redémarrage de nginx ne suffise pas.
Les problèmes liés à PHP sont assez nombreux avec Yunohost entre les versions du core et celle des apps, il y a parfois des conflits.

En redémarrant, même problème, même(s) erreur(s).

J’ai réussi à refaire fonctionner peertube et mastodon en faisant un sudo service postgresql restart
Par contre, je suis obligé de le refaire après le redémarrage. Je ne sais pas s’il y a un lien mais au moins tu as l’info :wink:

Fichtre, j’avais complètement oublié que ce n’était pas le même sgbd.
Il faudrait alors regarder du côté des conflits entre MariaDB et PostGreSQL. Je laisse un admin prendre le relais, je jetterai un œil plus tard. C’est fort possible que j’ai ce problème sur un de mes serveurs, il faut que je creuse la piste.

Pas de soucis, merci d’avoir pris le temps déjà ! :smile:

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