Nextcloud, install non aboutie

Bonjour,
une install toute récente sur un raspi 3 B+
Mise à jour du pi (rpi-update)
Mise à jour yunohost, tout bien !
et install de nextcloud, voici le log :

2019-03-26 04:55:17,025: DEBUG - + sudo systemctl reload php7.0-fpm 
2019-03-26 04:55:17,126: DEBUG - + datadir=/home/yunohost.app/nextcloud/data 
2019-03-26 04:55:17,127: DEBUG - + mkdir -p /home/yunohost.app/nextcloud/data 
2019-03-26 04:55:17,127: DEBUG - + chown -R nextcloud: /var/www/nextcloud /home/yunohost.app/nextcloud/data 
2019-03-26 04:55:17,429: DEBUG - ++ ynh_string_random 6 
2019-03-26 04:55:17,430: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 
2019-03-26 04:55:17,430: DEBUG - ++ tr -c -d A-Za-z0-9 
2019-03-26 04:55:17,431: DEBUG - ++ sed -n 's/\(.\{6\}\).*/\1/p' 
2019-03-26 04:55:17,532: DEBUG - + exec_occ maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass 2OuEJnYO3GqD9IQdg3ZCRdUa --admin-user admin --admin-pass ZZXs4z --data-dir /home/yunohost.app/nextcloud/data 
2019-03-26 04:55:17,533: DEBUG - + cd /var/www/nextcloud 
2019-03-26 04:55:17,534: DEBUG - + exec_as nextcloud php occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass 2OuEJnYO3GqD9IQdg3ZCRdUa --admin-user admin --admin-pass ZZXs4z --data-dir /home/yunohost.app/nextcloud/data 
2019-03-26 04:55:17,535: DEBUG - + local USER=nextcloud 
2019-03-26 04:55:17,537: DEBUG - + shift 1 
2019-03-26 04:55:17,540: DEBUG - ++ whoami 
2019-03-26 04:55:17,541: DEBUG - + [[ nextcloud = root ]] 
2019-03-26 04:55:17,543: DEBUG - + sudo -u nextcloud php occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass 2OuEJnYO3GqD9IQdg3ZCRdUa --admin-user admin --admin-pass ZZXs4z --data-dir /home/yunohost.app/nextcloud/data 
2019-03-26 05:15:28,697: DEBUG - An unhandled exception has been thrown: 
2019-03-26 05:15:28,717: DEBUG - ParseError: syntax error, unexpected ''ComposerAutoloaderInitFederat' (T_ENCAPSED_AND_WHITESPACE), expecting ')' in /var/www/nextcloud/apps/federatedfilesharing/composer/composer/autoload_real.php:22 
2019-03-26 05:15:28,718: DEBUG - Stack trace: 
2019-03-26 05:15:28,718: DEBUG - #0 /var/www/nextcloud/lib/private/legacy/app.php(240): require_once() 
2019-03-26 05:15:28,719: DEBUG - #1 /var/www/nextcloud/lib/private/Installer.php(547): OC_App::registerAutoloading('federatedfilesh...', '/var/www/nextcl...') 
2019-03-26 05:15:28,719: DEBUG - #2 /var/www/nextcloud/lib/private/Installer.php(524): OC\Installer::installShippedApp('federatedfilesh...') 
2019-03-26 05:15:28,720: DEBUG - #3 /var/www/nextcloud/lib/private/Setup.php(386): OC\Installer::installShippedApps() 
2019-03-26 05:15:28,720: DEBUG - #4 /var/www/nextcloud/core/Command/Maintenance/Install.php(103): OC\Setup->install(Array) 
2019-03-26 05:15:28,721: DEBUG - #5 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Maintenance\Install->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) 
2019-03-26 05:15:28,721: DEBUG - #6 /var/www/nextcloud/3rdparty/symfony/console/Application.php(946): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) 
2019-03-26 05:15:28,722: DEBUG - #7 /var/www/nextcloud/3rdparty/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Maintenance\Install), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) 
2019-03-26 05:15:28,722: DEBUG - #8 /var/www/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) 
2019-03-26 05:15:28,723: DEBUG - #9 /var/www/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) 
2019-03-26 05:15:28,723: DEBUG - #10 /var/www/nextcloud/console.php(96): OC\Console\Application->run() 
2019-03-26 05:15:28,724: DEBUG - #11 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') 
2019-03-26 05:15:28,825: DEBUG - #12 {main}Creating directory '/home/nextcloud'. 
2019-03-26 05:15:28,826: WARNING - Unable to install Nextcloud 
2019-03-26 05:15:28,828: DEBUG - + ynh_die 'Unable to install Nextcloud' 
2019-03-26 05:15:28,828: WARNING - !! 
2019-03-26 05:15:28,830: DEBUG - + echo 'Unable to install Nextcloud' 
2019-03-26 05:15:28,831: WARNING - nextcloud's script has encountered an error. Its execution was cancelled. 
2019-03-26 05:15:28,833: DEBUG - + exit 1 
2019-03-26 05:15:28,833: WARNING - !! 
2019-03-26 05:15:28,835: DEBUG - + ynh_exit_properly 
2019-03-26 05:15:28,835: WARNING - 
2019-03-26 05:15:28,836: DEBUG - + local exit_code=1 
2019-03-26 05:15:28,837: DEBUG - + '[' 1 -eq 0 ']' 
2019-03-26 05:15:28,837: DEBUG - + trap '' EXIT 
2019-03-26 05:15:28,838: DEBUG - + set +eu 
2019-03-26 05:15:28,838: DEBUG - + echo -e '!!\n nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!' 
2019-03-26 05:15:28,839: DEBUG - + type -t ynh_clean_setup 
2019-03-26 05:15:28,839: DEBUG - + ynh_die 
2019-03-26 05:15:28,840: DEBUG - + echo '' 
2019-03-26 05:15:28,840: DEBUG - + exit 1

Merci pour vos lumières
Ym

Est-ce que le dossier /home/nextcloud existe déjà sur ta machine par hasard ?

(Est-ce que tu n’aurais pas créé toi-meme un utilisateur Nextcloud…?)

Bonjour Aleks,
oui ce dossier existe mais il a été crée lors de l’install
Dois-je le supprimer et relancer ?
Merci de ta présence
Ym

Yep :wink:

Re,
J’ai donc supprimé le dossier puis relancé l’install. Nouvel échec dont voici le log :

Citation 2019-03-27 17:42:33,725: DEBUG - Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-a937450910acca5953ead1dbb758e1e5a4b28553/scripts YNH_APP_ARG_USER_HOME=0 YNH_STDINFO=/tmp/tmpwB5obq/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=marylin YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_APP_ARG_DOMAIN=prevost.nohost.me BASH_XTRACEFD=7 /bin/bash -x “./install” prevost.nohost.me /nextcloud marylin 0 nextcloud 7>&1 »… 2019-03-27 17:42:33,726: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-a937450910acca5953ead1dbb758e1e5a4b28553/scripts YNH_APP_ARG_USER_HOME=0 YNH_STDINFO=/tmp/tmpwB5obq/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=marylin YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_APP_ARG_DOMAIN=prevost.nohost.me BASH_XTRACEFD=7 /bin/bash -x “./install” prevost.nohost.me /nextcloud marylin 0 nextcloud 7>&1’]’ 2019-03-27 17:42:33,757: DEBUG - + source _common.sh 2019-03-27 17:42:33,759: DEBUG - ++ pkg_dependencies=‘php7.0-gd php7.0-json php7.0-intl php7.0-mcrypt php7.0-curl php7.0-apcu php7.0-redis php7.0-ldap php7.0-imagick imagemagick acl tar smbclient at’ 2019-03-27 17:42:33,760: DEBUG - +++ lsb_release --codename --short 2019-03-27 17:42:34,062: DEBUG - ++ ‘[’ stretch ‘!=’ jessie ‘]’ 2019-03-27 17:42:34,062: DEBUG - ++ pkg_dependencies=‘php7.0-gd php7.0-json php7.0-intl php7.0-mcrypt php7.0-curl php7.0-apcu php7.0-redis php7.0-ldap php7.0-imagick imagemagick acl tar smbclient at php-zip php-apcu php-mbstring php-xml’ 2019-03-27 17:42:34,063: DEBUG - + source /usr/share/yunohost/helpers 2019-03-27 17:42:34,064: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d 2019-03-27 17:42:34,064: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,065: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’ 2019-03-27 17:42:34,066: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend 2019-03-27 17:42:34,066: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,067: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’ 2019-03-27 17:42:34,067: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem 2019-03-27 17:42:34,068: DEBUG - +++ CAN_BIND=1 2019-03-27 17:42:34,068: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,069: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’ 2019-03-27 17:42:34,069: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts 2019-03-27 17:42:34,070: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,070: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’ 2019-03-27 17:42:34,071: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip 2019-03-27 17:42:34,071: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,072: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’ 2019-03-27 17:42:34,072: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql 2019-03-27 17:42:34,073: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql 2019-03-27 17:42:34,074: WARNING - This path already contains a folder 2019-03-27 17:42:34,077: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,078: WARNING - !! 2019-03-27 17:42:34,079: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’ 2019-03-27 17:42:34,080: WARNING - nextcloud’s script has encountered an error. Its execution was cancelled. 2019-03-27 17:42:34,082: DEBUG - ++ . /usr/share/yunohost/helpers.d/network 2019-03-27 17:42:34,082: WARNING - !! 2019-03-27 17:42:34,084: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,085: WARNING - 2019-03-27 17:42:34,087: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’ 2019-03-27 17:42:34,087: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs 2019-03-27 17:42:34,088: DEBUG - +++ n_install_dir=/opt/node_n 2019-03-27 17:42:34,088: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node 2019-03-27 17:42:34,089: DEBUG - +++ export N_PREFIX=/opt/node_n 2019-03-27 17:42:34,089: DEBUG - +++ N_PREFIX=/opt/node_n 2019-03-27 17:42:34,090: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,090: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’ 2019-03-27 17:42:34,091: DEBUG - ++ . /usr/share/yunohost/helpers.d/package 2019-03-27 17:42:34,091: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,091: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’ 2019-03-27 17:42:34,092: DEBUG - ++ . /usr/share/yunohost/helpers.d/print 2019-03-27 17:42:34,092: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,093: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/psql ‘]’ 2019-03-27 17:42:34,093: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql 2019-03-27 17:42:34,094: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,094: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’ 2019-03-27 17:42:34,095: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting 2019-03-27 17:42:34,095: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,096: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’ 2019-03-27 17:42:34,096: DEBUG - ++ . /usr/share/yunohost/helpers.d/string 2019-03-27 17:42:34,097: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,097: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’ 2019-03-27 17:42:34,097: DEBUG - ++ . /usr/share/yunohost/helpers.d/system 2019-03-27 17:42:34,098: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,098: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’ 2019-03-27 17:42:34,099: DEBUG - ++ . /usr/share/yunohost/helpers.d/user 2019-03-27 17:42:34,099: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-27 17:42:34,100: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’ 2019-03-27 17:42:34,100: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils 2019-03-27 17:42:34,101: DEBUG - + ynh_abort_if_errors 2019-03-27 17:42:34,101: DEBUG - + set -eu 2019-03-27 17:42:34,102: DEBUG - + trap ynh_exit_properly EXIT 2019-03-27 17:42:34,102: DEBUG - + domain=prevost.nohost.me 2019-03-27 17:42:34,102: DEBUG - + path_url=/nextcloud 2019-03-27 17:42:34,103: DEBUG - + admin=marylin 2019-03-27 17:42:34,103: DEBUG - + user_home=0 2019-03-27 17:42:34,104: DEBUG - + app=nextcloud 2019-03-27 17:42:34,104: DEBUG - + final_path=/var/www/nextcloud 2019-03-27 17:42:34,105: DEBUG - + test ‘!’ -e /var/www/nextcloud 2019-03-27 17:42:34,105: DEBUG - + ynh_die ‘This path already contains a folder’ 2019-03-27 17:42:34,106: DEBUG - + echo ‘This path already contains a folder’ 2019-03-27 17:42:34,106: DEBUG - + exit 1 2019-03-27 17:42:34,107: DEBUG - + ynh_exit_properly 2019-03-27 17:42:34,107: DEBUG - + local exit_code=1 2019-03-27 17:42:34,108: DEBUG - + ‘[’ 1 -eq 0 ‘]’ 2019-03-27 17:42:34,108: DEBUG - + trap ‘’ EXIT 2019-03-27 17:42:34,109: DEBUG - + set +eu 2019-03-27 17:42:34,109: DEBUG - + echo -e ‘!!\n nextcloud’'‘s script has encountered an error. Its execution was cancelled.\n!!’ 2019-03-27 17:42:34,110: DEBUG - + type -t ynh_clean_setup 2019-03-27 17:42:34,110: DEBUG - + ynh_die 2019-03-27 17:42:34,110: DEBUG - + echo ‘’ 2019-03-27 17:42:34,111: DEBUG - + exit 1

Voici aussi ce qui s’est inscrit dans la partie supérieure de la fenètre durant l’install (infos les plus récentes en premier

CitationL’opération « Installer l’application « nextcloud » » a échouée ! Pour avoir de l’aide, merci de fournir le log complet de l’opération**
La configuration de SSOwat a été générée
The user nextcloud was not found
/etc/cron.d/nextcloud wasn’t deleted because it doesn’t exist.
/etc/php/7.0/fpm/pool.d/nextcloud.conf wasn’t deleted because it doesn’t exist.
/etc/nginx/conf.d/.d/nextcloud.conf wasn’t deleted because it doesn’t exist.
Avoid deleting .
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘’ at line 1
Removing database
E: Unable to locate package nextcloud-ynh-deps
L’opération « Installer l’application « nextcloud » » a échouée ! Pour avoir de l’aide, merci de fournir le log complet de l’opération
!!
nextcloud’s script has encountered an error. Its execution was cancelled.
!!
This path already contains a folder

Merci pour ton accompagnement.
Ym

(Par pitié, quand il y a besoin d’inclure des logs, il vaut mieux utiliser les backticks (```) que une citation avec > car ça casse toute la mise en forme et rends le truc illisible :confused:) ( ou alors cliquer sur le lien qui propose de partager les logs complet de l’operation …)

Du coup le message important semble être :

DEBUG - + test ‘!’ -e /var/www/nextcloud 
DEBUG - + ynh_die ‘This path already contains a folder’ 

Du coup on dirait qu’il y a une ancienne installation de nextcloud déjà (ou encore) présente sur ton système …

Du coup je ne comprends pas bien, tu es sure que tu ne l’avais pas déjà installé une fois avant ? Ou alors le script de desinstallation à été interrompu ou un truc du genre …

Bonsoir,
Mille excuse j’utilise Ctrl + Maj + 9 ci dessous, c’est bon ?
Voila comment j’ai procédé :
Installation de YNH sur le raspi (dernière version), mises à jour et transfert sur un ssd externe
Une première installation de nextcloud a planté, une deuxième aussi.
Sur tes conseils j’ai supprimé le dossier /home/nextcloud retenté une installation. Toujours le même log d’erreur :

019-04-01 17:40:58,393: DEBUG - Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-a937450910acca5953ead1dbb758e1e5a4b28553/scripts YNH_APP_ARG_USER_HOME=1 YNH_STDINFO=/tmp/tmpipH5fH/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=marylin YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_APP_ARG_DOMAIN=prevost.nohost.me BASH_XTRACEFD=7 /bin/bash -x "./install" prevost.nohost.me /nextcloud marylin 1 nextcloud 7>&1 »...
2019-04-01 17:40:58,394: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-a937450910acca5953ead1dbb758e1e5a4b28553/scripts YNH_APP_ARG_USER_HOME=1 YNH_STDINFO=/tmp/tmpipH5fH/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=marylin YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_APP_ARG_DOMAIN=prevost.nohost.me BASH_XTRACEFD=7 /bin/bash -x "./install" prevost.nohost.me /nextcloud marylin 1 nextcloud 7>&1']'
2019-04-01 17:40:58,454: DEBUG - + source _common.sh
2019-04-01 17:40:58,458: DEBUG - ++ pkg_dependencies='php7.0-gd php7.0-json php7.0-intl php7.0-mcrypt php7.0-curl php7.0-apcu php7.0-redis php7.0-ldap php7.0-imagick imagemagick acl tar smbclient at'
2019-04-01 17:40:58,460: DEBUG - +++ lsb_release --codename --short
2019-04-01 17:40:58,763: DEBUG - ++ '[' stretch '!=' jessie ']'
2019-04-01 17:40:58,764: DEBUG - ++ pkg_dependencies='php7.0-gd php7.0-json php7.0-intl php7.0-mcrypt php7.0-curl php7.0-apcu php7.0-redis php7.0-ldap php7.0-imagick imagemagick acl tar smbclient at php-zip php-apcu php-mbstring php-xml'
2019-04-01 17:40:58,764: DEBUG - + source /usr/share/yunohost/helpers
2019-04-01 17:40:58,765: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-04-01 17:40:58,766: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,766: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
2019-04-01 17:40:58,767: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
2019-04-01 17:40:58,767: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,768: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
2019-04-01 17:40:58,768: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
2019-04-01 17:40:58,769: DEBUG - +++ CAN_BIND=1
2019-04-01 17:40:58,870: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,870: WARNING - This path already contains a folder
2019-04-01 17:40:58,873: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-04-01 17:40:58,873: WARNING - !!
2019-04-01 17:40:58,875: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-04-01 17:40:58,876: WARNING -   nextcloud's script has encountered an error. Its execution was cancelled.
2019-04-01 17:40:58,877: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,877: WARNING - !!
2019-04-01 17:40:58,879: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
2019-04-01 17:40:58,879: WARNING - 
2019-04-01 17:40:58,880: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
2019-04-01 17:40:58,881: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,881: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-04-01 17:40:58,882: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-04-01 17:40:58,882: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-04-01 17:40:58,883: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,883: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-04-01 17:40:58,884: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-04-01 17:40:58,884: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,885: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-04-01 17:40:58,885: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-04-01 17:40:58,886: DEBUG - +++ n_install_dir=/opt/node_n
2019-04-01 17:40:58,886: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-04-01 17:40:58,887: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-04-01 17:40:58,887: DEBUG - +++ N_PREFIX=/opt/node_n
2019-04-01 17:40:58,888: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,888: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
2019-04-01 17:40:58,889: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
2019-04-01 17:40:58,889: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,889: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
2019-04-01 17:40:58,890: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
2019-04-01 17:40:58,890: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,891: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
2019-04-01 17:40:58,891: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
2019-04-01 17:40:58,892: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,892: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-04-01 17:40:58,893: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-04-01 17:40:58,893: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,894: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-04-01 17:40:58,894: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-04-01 17:40:58,895: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,895: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
2019-04-01 17:40:58,896: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
2019-04-01 17:40:58,896: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,897: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-04-01 17:40:58,897: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-04-01 17:40:58,897: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-04-01 17:40:58,898: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-04-01 17:40:58,898: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-04-01 17:40:58,899: DEBUG - + ynh_abort_if_errors
2019-04-01 17:40:58,899: DEBUG - + set -eu
2019-04-01 17:40:58,900: DEBUG - + trap ynh_exit_properly EXIT
2019-04-01 17:40:58,900: DEBUG - + domain=prevost.nohost.me
2019-04-01 17:40:58,901: DEBUG - + path_url=/nextcloud
2019-04-01 17:40:58,901: DEBUG - + admin=marylin
2019-04-01 17:40:58,902: DEBUG - + user_home=1
2019-04-01 17:40:58,902: DEBUG - + app=nextcloud
2019-04-01 17:40:58,903: DEBUG - + final_path=/var/www/nextcloud
2019-04-01 17:40:58,903: DEBUG - + test '!' -e /var/www/nextcloud
2019-04-01 17:40:58,903: DEBUG - + ynh_die 'This path already contains a folder'
2019-04-01 17:40:58,904: DEBUG - + echo 'This path already contains a folder'
2019-04-01 17:40:58,904: DEBUG - + exit 1
2019-04-01 17:40:58,905: DEBUG - + ynh_exit_properly
2019-04-01 17:40:58,905: DEBUG - + local exit_code=1
2019-04-01 17:40:58,906: DEBUG - + '[' 1 -eq 0 ']'
2019-04-01 17:40:58,906: DEBUG - + trap '' EXIT
2019-04-01 17:40:58,907: DEBUG - + set +eu
2019-04-01 17:40:58,907: DEBUG - + echo -e '!!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-04-01 17:40:58,908: DEBUG - + type -t ynh_clean_setup
2019-04-01 17:40:58,908: DEBUG - + ynh_die
2019-04-01 17:40:58,909: DEBUG - + echo ''
2019-04-01 17:40:58,909: DEBUG - + exit 1

J’en suis là, y a t-il une solution ?
Merci
Ym

Le probleme viens de /var/www/nextcloud et non /home/nextcloud :confused:

Youpi !
Tout bon, suppression du dossier, réinstall et ok !
Un immense merci, je passe en résolu