[solved/résolu] nginx failed after cesium upgrade / échec de nginx après mise à jour de cesium

Bonjour, suite à ma mise à jour de yunohost, puis des applications, plus rien de s’affiche via le web.
Je peux me connecter au serveur en SSH, mais rien via le navigateur web. J’avais un soucis avec la mise à jour d’application, car il semblait y avoir un problème avec le paquet php7.0-fpm.
Du coup l’interface admin de yunohost m’a proposé de réaliser 2 lignes de commandes :
dpkg --configure -a et apt install --fix-broken
Qui n’ont pas fonctionnées :
apt install --fix-broken renvoie :
Reading package lists… Done

Building dependency tree

Reading state information... Done

Correcting dependencies... Done

The following additional packages will be installed:

php-sqlite3 php7.0-sqlite3

The following NEW packages will be installed:

php-sqlite3 php7.0-sqlite3

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

1 not fully installed or removed.

Need to get 0 B/30.0 kB of archives.

After this operation, 124 kB of additional disk space will be used.

Do you want to continue? [Y/n]

Setting up php7.0-fpm (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) ...

Job for php7.0-fpm.service failed because the control process exited with error

code.

See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.

invoke-rc.d: initscript php7.0-fpm, action "restart" failed.

● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager

Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor prese

t: enabled)

Active: failed (Result: exit-code) since Wed 2020-06-24 16:57:38 CEST; 10ms a

go

Docs: man:php-fpm7.0(8)

Process: 13367 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php

/php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS

)

Process: 13361 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/

php/7.0/fpm/php-fpm.conf (code=exited, status=78)

Main PID: 13361 (code=exited, status=78)

Jun 24 16:57:38 nomdesite.ltd systemd[1]: Starting The PHP 7.0 FastCGI P…...

Jun 24 16:57:38 nomdesite.ltd php-fpm7.0[13361]: [24-Jun-2020 16:57:38] E…ry

Jun 24 16:57:38 nomdesite.ltd php-fpm7.0[13361]: [24-Jun-2020 16:57:38] E…on

Jun 24 16:57:38 nomdesite.ltd php-fpm7.0[13361]: [24-Jun-2020 16:57:38] E…ed

Jun 24 16:57:38 nomdesite.ltd systemd[1]: php7.0-fpm.service: Main proce…n/a

Jun 24 16:57:38 nomdesite.ltd systemd[1]: Failed to start The PHP 7.0 Fa…er.

Jun 24 16:57:38 nomdesite.ltd systemd[1]: php7.0-fpm.service: Unit enter…te.

Jun 24 16:57:38 nomdesite.ltd systemd[1]: php7.0-fpm.service: Failed wit…e'.

Hint: Some lines were ellipsized, use -l to show in full.

dpkg: error processing package php7.0-fpm (--configure):

subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

php7.0-fpm

E: Sub-process /usr/bin/dpkg returned an error code (1)

et dpkg --configure -a, renvoie :
Setting up php7.0-fpm (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) …

Job for php7.0-fpm.service failed because the control process exited with error code.

See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.

invoke-rc.d: initscript php7.0-fpm, action "restart" failed.

● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager

Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)

Active: failed (Result: exit-code) since Wed 2020-06-24 16:59:19 CEST; 10ms ago

Docs: man:php-fpm7.0(8)

Process: 17062 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS)

Process: 17060 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78)

Main PID: 17060 (code=exited, status=78)

Jun 24 16:59:18 nomdesite.ltd systemd[1]: Starting The PHP 7.0 FastCGI P…...

Jun 24 16:59:19 nomdesite.ltd php-fpm7.0[17060]: [24-Jun-2020 16:59:19] E…ry

Jun 24 16:59:19 nomdesite.ltd php-fpm7.0[17060]: [24-Jun-2020 16:59:19] E…on

Jun 24 16:59:19 nomdesite.ltd php-fpm7.0[17060]: [24-Jun-2020 16:59:19] E…ed

Jun 24 16:59:19 nomdesite.ltd systemd[1]: php7.0-fpm.service: Main proce…n/a

Jun 24 16:59:19 nomdesite.ltd systemd[1]: Failed to start The PHP 7.0 Fa…er.

Jun 24 16:59:19 nomdesite.ltd systemd[1]: php7.0-fpm.service: Unit enter…te.

Jun 24 16:59:19 nomdesite.ltd systemd[1]: php7.0-fpm.service: Failed wit…e'.

Hint: Some lines were ellipsized, use -l to show in full.

dpkg: error processing package php7.0-fpm (--configure):

subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

php7.0-fpm 

Pensant bien faire, j’ai lancé un reboot du serveur, mais depuis, plus d’affichage web. Comment faire ? Quels logs je pourrait vous envoyer pour mieux comprendre d’où vient le problème ?

Tu peux faire un

yunohost service status nginx

et

yunohost service status php7.0-fpm

Voici le retour :
configuration: broken
configuration-details:
- nginx: [emerg] invalid number of arguments in “location” directive in /etc/nginx/conf.d/g1.nomdesite.tld.d/cesium.conf:1
- nginx: configuration file /etc/nginx/nginx.conf test failed
description: Serves or provides access to all the websites hosted on your server
last_state_change: 2020-06-24 16:52:56
start_on_boot: enabled
status: failed

J’ai essayé de mettre à jour Cesium également, mais ça m’avait affiché un échec de la mise à jour.
Après je n’y tiens pas outre mesure à Cesium, donc possibilité de désinstaller +/- ré-installer.

Voici le retour :
configuration: broken
configuration-details:
- [24-Jun-2020 21:26:43] ERROR: [pool freshrss] the chdir path ‘/var/www/freshrss’ does not exist or is not a directory
- [24-Jun-2020 21:26:43] ERROR: failed to post process the configuration
- [24-Jun-2020 21:26:43] ERROR: FPM initialization failed
description: Runs apps written in PHP with NGINX
last_state_change: 2020-06-24 16:59:19
start_on_boot: enabled
status: failed

Pour freshrss, il fonctionnait jusque là, et j’ai tenté également une mise à jour. Possible de supprimer pour ré-installer ensuite.

Hmben yep du coup je commencerais par faire

rm /etc/nginx/conf.d/g1.nomdesite.tld.d/cesium.conf

puis systemctl restart nginx

et désinstaller cesium avec yunohost app remove cesium

pour freshrss ce serait cool de comprendre pourquoi … est-ce que tu peux partager le log de l’upgrade …?

1 Like

Ok, alors le rm puis le restart de nginx ont rendus à nouveau le site accessible.
Pour les log de freshrss, je met les log depuis la mise à jour :

    ended_at: 2020-06-24 14:43:07.441049
    env:
      YNH_APP_ID: freshrss
      YNH_APP_INSTANCE_NAME: freshrss
      YNH_APP_INSTANCE_NUMBER: '1'
      YNH_CWD: /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/scripts
      YNH_INTERFACE: cli
      YNH_STDINFO: /tmp/tmpN8sIUy/stdinfo
      YNH_STDRETURN: /tmp/tmpoSSMRK/stdreturn
    error: freshrss has not been properly removed
    operation: remove_on_failed_restore
    related_to:
    - - app
      - freshrss
    started_at: 2020-06-24 14:43:02.281185
    success: false
    yunohost_version: 3.8.4.9

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

    2020-06-24 16:43:02,296: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/scripts YNH_STDINFO=/tmp/tmpN8sIUy/stdinfo YNH_APP_INSTANCE_NAME=freshrss YNH_INTERFACE=cli YNH_APP_ID=freshrss YNH_STDRETURN=/tmp/tmpoSSMRK/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./remove" freshrss 7>&1'…
    2020-06-24 16:43:02,297: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/scripts YNH_STDINFO=/tmp/tmpN8sIUy/stdinfo YNH_APP_INSTANCE_NAME=freshrss YNH_INTERFACE=cli YNH_APP_ID=freshrss YNH_STDRETURN=/tmp/tmpoSSMRK/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./remove" freshrss 7>&1']'
    2020-06-24 16:43:02,419: DEBUG - + source _common.sh
    2020-06-24 16:43:02,420: DEBUG - +++ lsb_release --codename --short
    2020-06-24 16:43:02,420: DEBUG - ++ '[' stretch == jessie ']'
    2020-06-24 16:43:02,420: DEBUG - ++ pkg_dependencies='php-gd php-zip php-dom php-mbstring php-gmp php-sqlite3 php-curl php-intl php-xml'
    2020-06-24 16:43:02,420: DEBUG - + source /usr/share/yunohost/helpers
    2020-06-24 16:43:02,420: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
    2020-06-24 16:43:02,421: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,421: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
    2020-06-24 16:43:02,421: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
    2020-06-24 16:43:02,421: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,421: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
    2020-06-24 16:43:02,421: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
    2020-06-24 16:43:02,421: DEBUG - +++ CAN_BIND=1
    2020-06-24 16:43:02,421: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,422: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
    2020-06-24 16:43:02,422: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
    2020-06-24 16:43:02,422: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,422: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
    2020-06-24 16:43:02,422: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
    2020-06-24 16:43:02,422: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,422: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']'
    2020-06-24 16:43:02,422: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
    2020-06-24 16:43:02,422: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,423: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
    2020-06-24 16:43:02,423: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
    2020-06-24 16:43:02,423: DEBUG - +++ increment_progression=0
    2020-06-24 16:43:02,423: DEBUG - +++ previous_weight=0
    2020-06-24 16:43:02,423: DEBUG - +++ max_progression=-1
    2020-06-24 16:43:02,423: DEBUG - +++ progress_scale=20
    2020-06-24 16:43:02,423: DEBUG - +++ progress_string2='####################'
    2020-06-24 16:43:02,423: DEBUG - +++ progress_string1=++++++++++++++++++++
    2020-06-24 16:43:02,423: DEBUG - +++ progress_string0=....................
    2020-06-24 16:43:02,424: DEBUG - ++++ date +%s
    2020-06-24 16:43:02,424: DEBUG - +++ base_time=1593009782
    2020-06-24 16:43:02,424: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,424: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
    2020-06-24 16:43:02,424: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
    2020-06-24 16:43:02,424: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,424: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
    2020-06-24 16:43:02,424: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
    2020-06-24 16:43:02,425: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
    2020-06-24 16:43:02,425: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,425: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
    2020-06-24 16:43:02,425: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
    2020-06-24 16:43:02,425: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,425: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
    2020-06-24 16:43:02,425: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
    2020-06-24 16:43:02,425: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,426: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
    2020-06-24 16:43:02,426: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
    2020-06-24 16:43:02,426: DEBUG - +++ n_version=6.5.1
    2020-06-24 16:43:02,426: DEBUG - +++ n_install_dir=/opt/node_n
    2020-06-24 16:43:02,426: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
    2020-06-24 16:43:02,426: DEBUG - +++ export N_PREFIX=/opt/node_n
    2020-06-24 16:43:02,426: DEBUG - +++ N_PREFIX=/opt/node_n
    2020-06-24 16:43:02,426: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,427: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
    2020-06-24 16:43:02,427: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
    2020-06-24 16:43:02,427: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.0
    2020-06-24 16:43:02,427: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.0
    2020-06-24 16:43:02,427: DEBUG - +++ YNH_PHP_VERSION=7.0
    2020-06-24 16:43:02,427: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,427: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
    2020-06-24 16:43:02,428: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
    2020-06-24 16:43:02,428: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
    2020-06-24 16:43:02,428: DEBUG - +++ PSQL_VERSION=9.6
    2020-06-24 16:43:02,428: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,428: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
    2020-06-24 16:43:02,428: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
    2020-06-24 16:43:02,428: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,428: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
    2020-06-24 16:43:02,428: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
    2020-06-24 16:43:02,429: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,429: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
    2020-06-24 16:43:02,429: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
    2020-06-24 16:43:02,429: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,429: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
    2020-06-24 16:43:02,429: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
    2020-06-24 16:43:02,429: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:43:02,429: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
    2020-06-24 16:43:02,430: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
    2020-06-24 16:43:02,530: DEBUG - + ynh_print_info '--message=Loading installation settings...'
    2020-06-24 16:43:02,531: INFO - Loading installation settings...
    2020-06-24 16:43:02,532: DEBUG - + echo 'Loading installation settings...'
    2020-06-24 16:43:02,532: DEBUG - + app=freshrss
    2020-06-24 16:43:02,532: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=domain
    2020-06-24 16:43:02,534: DEBUG - ++ ynh_app_setting get freshrss domain
    2020-06-24 16:43:02,534: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
    2020-06-24 16:43:02,534: DEBUG - ++ ACTION=get
    2020-06-24 16:43:02,535: DEBUG - ++ APP=freshrss
    2020-06-24 16:43:02,535: DEBUG - ++ KEY=domain
    2020-06-24 16:43:02,535: DEBUG - ++ VALUE=
    2020-06-24 16:43:02,535: DEBUG - ++ python2.7 -
    2020-06-24 16:43:02,636: DEBUG - ++ [[ domain =~ ^(unprotected|skipped)_ ]]
    2020-06-24 16:43:02,636: DEBUG - + domain=rss.maindomain.tld
    2020-06-24 16:43:02,637: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=db_name
    2020-06-24 16:43:02,738: DEBUG - ++ ynh_app_setting get freshrss db_name
    2020-06-24 16:43:02,739: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
    2020-06-24 16:43:02,739: DEBUG - ++ ACTION=get
    2020-06-24 16:43:02,739: DEBUG - ++ APP=freshrss
    2020-06-24 16:43:02,740: DEBUG - ++ KEY=db_name
    2020-06-24 16:43:02,740: DEBUG - ++ VALUE=
    2020-06-24 16:43:02,740: DEBUG - ++ python2.7 -
    2020-06-24 16:43:02,840: DEBUG - ++ [[ db_name =~ ^(unprotected|skipped)_ ]]
    2020-06-24 16:43:02,841: DEBUG - + db_name=freshrss
    2020-06-24 16:43:02,841: DEBUG - + db_user=freshrss
    2020-06-24 16:43:02,841: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=final_path
    2020-06-24 16:43:02,842: DEBUG - ++ ynh_app_setting get freshrss final_path
    2020-06-24 16:43:02,842: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
    2020-06-24 16:43:02,842: DEBUG - ++ ACTION=get
    2020-06-24 16:43:02,842: DEBUG - ++ APP=freshrss
    2020-06-24 16:43:02,843: DEBUG - ++ KEY=final_path
    2020-06-24 16:43:02,843: DEBUG - ++ VALUE=
    2020-06-24 16:43:02,843: DEBUG - ++ python2.7 -
    2020-06-24 16:43:02,943: DEBUG - ++ [[ final_path =~ ^(unprotected|skipped)_ ]]
    2020-06-24 16:43:02,944: DEBUG - + final_path=/var/www/freshrss
    2020-06-24 16:43:02,944: DEBUG - + ynh_print_info '--message=Removing the MySQL database...'
    2020-06-24 16:43:02,945: DEBUG - + echo 'Removing the MySQL database...'
    2020-06-24 16:43:02,945: DEBUG - + ynh_mysql_remove_db --db_user=freshrss --db_name=freshrss
    2020-06-24 16:43:03,046: DEBUG - ++ cat /etc/yunohost/mysql
    2020-06-24 16:43:03,046: WARNING - Database freshrss not found
    2020-06-24 16:43:03,047: INFO - Removing the MySQL database...
    2020-06-24 16:43:03,047: DEBUG - + local mysql_root_password=**********
    2020-06-24 16:43:03,047: INFO - Removing dependencies...
    2020-06-24 16:43:03,047: DEBUG - + grep --quiet '^| freshrss'
    2020-06-24 16:43:03,047: DEBUG - + mysqlshow --user=root --password=**********
    2020-06-24 16:43:03,047: DEBUG - + ynh_print_warn '--message=Database freshrss not found'
    2020-06-24 16:43:03,048: DEBUG - + ynh_print_log 'Database freshrss not found'
    2020-06-24 16:43:03,048: DEBUG - + echo -e 'Database freshrss not found'
    2020-06-24 16:43:03,048: DEBUG - + ynh_mysql_user_exists --user=freshrss
    2020-06-24 16:43:03,049: DEBUG - ++ ynh_mysql_execute_as_root '--sql=SELECT User from mysql.user WHERE User = '\''freshrss'\'';'
    2020-06-24 16:43:03,050: DEBUG - ++ database=
    2020-06-24 16:43:03,051: DEBUG - +++ cat /etc/yunohost/mysql
    2020-06-24 16:43:03,051: DEBUG - ++ ynh_mysql_connect_as --user=root --password=********** --database=
    2020-06-24 16:43:03,052: DEBUG - ++ database=
    2020-06-24 16:43:03,052: DEBUG - ++ mysql --user=root --password=********** --batch ''
    2020-06-24 16:43:03,052: DEBUG - + [[ -z '' ]]
    2020-06-24 16:43:03,052: DEBUG - + return 1
    2020-06-24 16:43:03,053: DEBUG - + ynh_print_info '--message=Removing dependencies...'
    2020-06-24 16:43:03,054: DEBUG - + echo 'Removing dependencies...'
    2020-06-24 16:43:03,054: DEBUG - + ynh_remove_app_dependencies
    2020-06-24 16:43:03,054: DEBUG - + local dep_app=freshrss
    2020-06-24 16:43:03,054: DEBUG - + ynh_package_autopurge freshrss-ynh-deps
    2020-06-24 16:43:03,055: DEBUG - + ynh_apt autoremove --purge freshrss-ynh-deps
    2020-06-24 16:43:03,055: DEBUG - + ynh_wait_dpkg_free
    2020-06-24 16:43:03,256: DEBUG - + return 0
    2020-06-24 16:43:03,256: DEBUG - + LC_ALL=C
    2020-06-24 16:43:03,256: DEBUG - + DEBIAN_FRONTEND=noninteractive
    2020-06-24 16:43:03,257: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge freshrss-ynh-deps
    2020-06-24 16:43:03,357: DEBUG - Reading package lists...
    2020-06-24 16:43:03,658: DEBUG - Building dependency tree...
    2020-06-24 16:43:03,659: DEBUG - Reading state information...
    2020-06-24 16:43:03,859: DEBUG - The following packages will be REMOVED:
    2020-06-24 16:43:03,860: DEBUG -   freshrss-ynh-deps*
    2020-06-24 16:43:04,361: DEBUG - 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    2020-06-24 16:43:04,361: DEBUG - 1 not fully installed or removed.
    2020-06-24 16:43:04,362: DEBUG - After this operation, 9216 B disk space will be freed.
    2020-06-24 16:43:04,362: DEBUG - Setting up php7.0-fpm (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) ...
    2020-06-24 16:43:04,462: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
    2020-06-24 16:43:04,563: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
    2020-06-24 16:43:04,764: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
    2020-06-24 16:43:06,669: WARNING - Job for php7.0-fpm.service failed because the control process exited with error code.
    2020-06-24 16:43:06,669: WARNING - See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.
    2020-06-24 16:43:06,670: WARNING - invoke-rc.d: initscript php7.0-fpm, action "restart" failed.
    2020-06-24 16:43:06,770: DEBUG - * php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
    2020-06-24 16:43:06,770: WARNING - dpkg: error processing package php7.0-fpm (--configure):
    2020-06-24 16:43:06,771: DEBUG -    Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
    2020-06-24 16:43:06,771: WARNING -  subprocess installed post-installation script returned error exit status 1
    2020-06-24 16:43:06,771: DEBUG -    Active: failed (Result: exit-code) since Wed 2020-06-24 16:43:06 CEST; 13ms ago
    2020-06-24 16:43:06,771: WARNING - Errors were encountered while processing:
    2020-06-24 16:43:06,771: DEBUG -      Docs: man:php-fpm7.0(8)
    2020-06-24 16:43:06,771: WARNING -  php7.0-fpm
    2020-06-24 16:43:06,771: DEBUG -   Process: 5712 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS)
    2020-06-24 16:43:06,772: DEBUG -   Process: 5711 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78)
    2020-06-24 16:43:06,772: DEBUG -  Main PID: 5711 (code=exited, status=78)
    2020-06-24 16:43:06,772: DEBUG - 
    2020-06-24 16:43:06,772: DEBUG - Jun 24 16:43:06 maindomain.tld systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
    2020-06-24 16:43:06,772: DEBUG - Jun 24 16:43:06 maindomain.tld php-fpm7.0[5711]: [24-Jun-2020 16:43:06] ERROR: [pool roundcube] the chdir path '/var/www/roundcube' does not exist or is not a directory
    2020-06-24 16:43:06,772: DEBUG - Jun 24 16:43:06 maindomain.tld php-fpm7.0[5711]: [24-Jun-2020 16:43:06] ERROR: failed to post process the configuration
    2020-06-24 16:43:06,772: DEBUG - Jun 24 16:43:06 maindomain.tld php-fpm7.0[5711]: [24-Jun-2020 16:43:06] ERROR: FPM initialization failed
    2020-06-24 16:43:06,773: DEBUG - Jun 24 16:43:06 maindomain.tld systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
    2020-06-24 16:43:06,773: DEBUG - Jun 24 16:43:06 maindomain.tld systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
    2020-06-24 16:43:06,773: DEBUG - Jun 24 16:43:06 maindomain.tld systemd[1]: php7.0-fpm.service: Unit entered failed state.
    2020-06-24 16:43:06,773: DEBUG - Jun 24 16:43:06 maindomain.tld systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.
    2020-06-24 16:43:07,174: DEBUG - + ynh_print_info '--message=Removing app main directory...'
    2020-06-24 16:43:07,175: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
    2020-06-24 16:43:07,176: DEBUG - + echo 'Removing app main directory...'
    2020-06-24 16:43:07,176: DEBUG - + ynh_secure_remove --file=/var/www/freshrss
    2020-06-24 16:43:07,176: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
    2020-06-24 16:43:07,176: DEBUG - + '[' 1 -ge 2 ']'
    2020-06-24 16:43:07,177: DEBUG - + [[ -z /var/www/freshrss ]]
    2020-06-24 16:43:07,177: DEBUG - + [[      /var/www     /home/yunohost.app =~ /var/www/freshrss ]]
    2020-06-24 16:43:07,177: DEBUG - + [[ /var/www/freshrss =~ ^/[[:alnum:]]+$ ]]
    2020-06-24 16:43:07,177: DEBUG - + [[ s = \/ ]]
    2020-06-24 16:43:07,177: DEBUG - + '[' -e /var/www/freshrss ']'
    2020-06-24 16:43:07,177: DEBUG - + rm --recursive /var/www/freshrss
    2020-06-24 16:43:07,278: DEBUG - + ynh_print_info '--message=Removing nginx web server configuration...'
    2020-06-24 16:43:07,278: WARNING - Job for nginx.service failed because the control process exited with error code.
    2020-06-24 16:43:07,278: INFO - Removing app main directory...
    2020-06-24 16:43:07,278: WARNING - See "systemctl status nginx.service" and "journalctl -xe" for details.
    2020-06-24 16:43:07,278: INFO - Removing nginx web server configuration...
    2020-06-24 16:43:07,279: DEBUG - + echo 'Removing nginx web server configuration...'
    2020-06-24 16:43:07,279: DEBUG - + ynh_remove_nginx_config
    2020-06-24 16:43:07,279: DEBUG - + ynh_secure_remove --file=/etc/nginx/conf.d/rss.maindomain.tld.d/freshrss.conf
    2020-06-24 16:43:07,280: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
    2020-06-24 16:43:07,280: DEBUG - + '[' 1 -ge 2 ']'
    2020-06-24 16:43:07,280: DEBUG - + [[ -z /etc/nginx/conf.d/rss.maindomain.tld.d/freshrss.conf ]]
    2020-06-24 16:43:07,280: DEBUG - + [[      /var/www     /home/yunohost.app =~ /etc/nginx/conf\.d/rss\.nomdedomaine\.tld\.d/freshrss\.conf ]]
    2020-06-24 16:43:07,281: DEBUG - + [[ /etc/nginx/conf.d/rss.maindomain.tld.d/freshrss.conf =~ ^/[[:alnum:]]+$ ]]
    2020-06-24 16:43:07,281: DEBUG - + [[ f = \/ ]]
    2020-06-24 16:43:07,281: DEBUG - + '[' -e /etc/nginx/conf.d/rss.maindomain.tld.d/freshrss.conf ']'
    2020-06-24 16:43:07,281: DEBUG - + rm --recursive /etc/nginx/conf.d/rss.maindomain.tld.d/freshrss.conf
    2020-06-24 16:43:07,281: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
    2020-06-24 16:43:07,283: DEBUG - + service_name=nginx
    2020-06-24 16:43:07,283: DEBUG - + action=reload
    2020-06-24 16:43:07,283: DEBUG - + line_match=
    2020-06-24 16:43:07,283: DEBUG - + length=20
    2020-06-24 16:43:07,283: DEBUG - + log_path=/var/log/nginx/nginx.log
    2020-06-24 16:43:07,283: DEBUG - + timeout=300
    2020-06-24 16:43:07,283: DEBUG - + [[ -n '' ]]
    2020-06-24 16:43:07,283: DEBUG - + '[' reload == reload ']'
    2020-06-24 16:43:07,283: DEBUG - + action=reload-or-restart
    2020-06-24 16:43:07,284: DEBUG - + systemctl reload-or-restart nginx
    2020-06-24 16:43:07,284: DEBUG - + ynh_exec_err journalctl --quiet --no-hostname --no-pager --lines=20 --unit=nginx
    2020-06-24 16:43:07,284: DEBUG - ++ eval journalctl --quiet --no-hostname --no-pager --lines=20 --unit=nginx
    2020-06-24 16:43:07,284: DEBUG - +++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=nginx
    2020-06-24 16:43:07,284: DEBUG - + ynh_print_err 'Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,287: DEBUG - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,287: DEBUG - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,287: DEBUG - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,287: DEBUG - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,287: DEBUG - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,287: DEBUG - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,288: DEBUG - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,288: DEBUG - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,288: DEBUG - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,288: DEBUG - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,288: DEBUG - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,288: DEBUG - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,288: DEBUG - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,288: DEBUG - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,289: DEBUG - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,289: DEBUG - Jun 24 16:43:07 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,289: DEBUG - Jun 24 16:43:07 nginx[5759]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,289: DEBUG - Jun 24 16:43:07 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,289: DEBUG - Jun 24 16:43:07 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.'
    2020-06-24 16:43:07,290: DEBUG - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,290: DEBUG - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,290: DEBUG - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,290: DEBUG - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,290: DEBUG - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,290: DEBUG - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,291: DEBUG - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,291: DEBUG - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,291: DEBUG - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,291: DEBUG - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,291: DEBUG - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,291: DEBUG - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,291: DEBUG - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,291: DEBUG - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,292: DEBUG - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,292: DEBUG - Jun 24 16:43:07 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,292: DEBUG - Jun 24 16:43:07 nginx[5759]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,292: DEBUG - Jun 24 16:43:07 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,292: DEBUG - Jun 24 16:43:07 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.'
    2020-06-24 16:43:07,303: WARNING - [Error] Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,303: WARNING - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,304: WARNING - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,304: DEBUG - + ynh_print_log '[Error] Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,305: WARNING - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,305: DEBUG - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,305: WARNING - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,305: DEBUG - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,306: WARNING - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,306: DEBUG - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,306: WARNING - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,306: DEBUG - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,307: WARNING - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,307: DEBUG - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,307: WARNING - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,308: DEBUG - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,308: WARNING - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,308: DEBUG - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,308: WARNING - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,309: DEBUG - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,309: WARNING - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,309: DEBUG - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,309: WARNING - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,310: DEBUG - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,310: WARNING - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,310: DEBUG - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,310: WARNING - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,311: DEBUG - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,311: WARNING - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,311: DEBUG - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,311: WARNING - Jun 24 16:43:07 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,312: DEBUG - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,312: WARNING - Jun 24 16:43:07 nginx[5759]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,312: DEBUG - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,312: WARNING - Jun 24 16:43:07 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,313: DEBUG - Jun 24 16:43:07 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,313: WARNING - Jun 24 16:43:07 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,313: DEBUG - Jun 24 16:43:07 nginx[5759]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,314: WARNING - 
    2020-06-24 16:43:07,314: DEBUG - Jun 24 16:43:07 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,314: DEBUG - Jun 24 16:43:07 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.'
    2020-06-24 16:43:07,314: DEBUG - + echo -e '[Error] Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,315: DEBUG - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,315: DEBUG - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,315: DEBUG - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,315: DEBUG - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,316: DEBUG - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,316: DEBUG - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,316: DEBUG - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,317: DEBUG - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,317: DEBUG - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,317: DEBUG - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,317: DEBUG - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,318: DEBUG - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,318: DEBUG - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,318: DEBUG - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,318: DEBUG - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,319: DEBUG - Jun 24 16:43:07 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:43:07,319: DEBUG - Jun 24 16:43:07 nginx[5759]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.maindomain.tld.d/cesium.conf:1
    2020-06-24 16:43:07,319: DEBUG - Jun 24 16:43:07 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:43:07,319: DEBUG - Jun 24 16:43:07 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.'
    2020-06-24 16:43:07,320: DEBUG - + '[' -e /var/log/nginx/nginx.log ']'
    2020-06-24 16:43:07,320: DEBUG - + ynh_die
    2020-06-24 16:43:07,321: DEBUG - + ret_code=1
    2020-06-24 16:43:07,321: DEBUG - + echo ''
    2020-06-24 16:43:07,322: DEBUG - + exit 1
    2020-06-24 16:43:07,440: WARNING - freshrss has not been properly removed

Du coup fresh rss n’apparaît plus dans mes applications, si je tape rss.nomdedomaine.tld, une page freshrss apparaît puis me balance automatiquement sur la page avec le choix parmis mes applications (page sso ?).

Et voici un autre log :

    2020-06-24 16:42:43,871: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/tmp/yunohost_remove/scripts YNH_STDINFO=/tmp/tmpBM5VII/stdinfo YNH_APP_INSTANCE_NAME=freshrss YNH_INTERFACE=cli YNH_APP_ID=freshrss YNH_STDRETURN=/tmp/tmpmNbjDS/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./remove" freshrss 7>&1']'
    2020-06-24 16:42:43,984: DEBUG - + source _common.sh
    2020-06-24 16:42:43,985: DEBUG - +++ lsb_release --codename --short
    2020-06-24 16:42:43,985: DEBUG - ++ '[' stretch == jessie ']'
    2020-06-24 16:42:43,985: DEBUG - ++ pkg_dependencies='php-gd php-zip php-dom php-mbstring php-gmp php-sqlite3 php-curl php-intl php-xml'
    2020-06-24 16:42:43,986: DEBUG - + source /usr/share/yunohost/helpers
    2020-06-24 16:42:43,986: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
    2020-06-24 16:42:43,986: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,986: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
    2020-06-24 16:42:43,986: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
    2020-06-24 16:42:43,986: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,986: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
    2020-06-24 16:42:43,986: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
    2020-06-24 16:42:43,986: DEBUG - +++ CAN_BIND=1
    2020-06-24 16:42:43,987: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,987: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
    2020-06-24 16:42:43,987: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
    2020-06-24 16:42:43,987: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,987: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
    2020-06-24 16:42:43,987: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
    2020-06-24 16:42:43,987: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,987: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']'
    2020-06-24 16:42:43,987: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
    2020-06-24 16:42:43,987: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,988: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
    2020-06-24 16:42:43,988: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
    2020-06-24 16:42:43,988: DEBUG - +++ increment_progression=0
    2020-06-24 16:42:43,988: DEBUG - +++ previous_weight=0
    2020-06-24 16:42:43,988: DEBUG - +++ max_progression=-1
    2020-06-24 16:42:43,988: DEBUG - +++ progress_scale=20
    2020-06-24 16:42:43,988: DEBUG - +++ progress_string2='####################'
    2020-06-24 16:42:43,988: DEBUG - +++ progress_string1=++++++++++++++++++++
    2020-06-24 16:42:43,988: DEBUG - +++ progress_string0=....................
    2020-06-24 16:42:43,989: DEBUG - ++++ date +%s
    2020-06-24 16:42:43,989: DEBUG - +++ base_time=1593009763
    2020-06-24 16:42:43,989: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,989: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
    2020-06-24 16:42:43,989: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
    2020-06-24 16:42:43,989: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,989: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
    2020-06-24 16:42:43,989: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
    2020-06-24 16:42:43,989: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
    2020-06-24 16:42:43,989: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,990: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
    2020-06-24 16:42:43,990: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
    2020-06-24 16:42:43,990: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,990: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
    2020-06-24 16:42:43,990: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
    2020-06-24 16:42:43,990: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,990: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
    2020-06-24 16:42:43,991: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
    2020-06-24 16:42:43,991: DEBUG - +++ n_version=6.5.1
    2020-06-24 16:42:43,991: DEBUG - +++ n_install_dir=/opt/node_n
    2020-06-24 16:42:43,991: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
    2020-06-24 16:42:43,991: DEBUG - +++ export N_PREFIX=/opt/node_n
    2020-06-24 16:42:43,991: DEBUG - +++ N_PREFIX=/opt/node_n
    2020-06-24 16:42:43,991: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,991: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
    2020-06-24 16:42:43,991: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
    2020-06-24 16:42:43,991: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.0
    2020-06-24 16:42:43,992: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.0
    2020-06-24 16:42:43,992: DEBUG - +++ YNH_PHP_VERSION=7.0
    2020-06-24 16:42:43,992: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,992: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
    2020-06-24 16:42:43,992: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
    2020-06-24 16:42:43,992: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
    2020-06-24 16:42:43,992: DEBUG - +++ PSQL_VERSION=9.6
    2020-06-24 16:42:43,992: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,992: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
    2020-06-24 16:42:43,992: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
    2020-06-24 16:42:43,993: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,993: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
    2020-06-24 16:42:43,993: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
    2020-06-24 16:42:43,993: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,993: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
    2020-06-24 16:42:43,993: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
    2020-06-24 16:42:43,993: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,993: INFO - Loading installation settings...
    2020-06-24 16:42:43,994: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
    2020-06-24 16:42:43,994: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
    2020-06-24 16:42:43,994: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    2020-06-24 16:42:43,994: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
    2020-06-24 16:42:43,994: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
    2020-06-24 16:42:43,994: DEBUG - + ynh_print_info '--message=Loading installation settings...'
    2020-06-24 16:42:43,994: DEBUG - + local legacy_args=m
    2020-06-24 16:42:43,994: DEBUG - + args_array=([m]=message=)
    2020-06-24 16:42:43,994: DEBUG - + local -A args_array
    2020-06-24 16:42:43,994: DEBUG - + local message
    2020-06-24 16:42:43,994: DEBUG - + ynh_handle_getopts_args '--message=Loading installation settings...'
    2020-06-24 16:42:43,995: DEBUG - + set +o xtrace
    2020-06-24 16:42:43,995: DEBUG - + echo 'Loading installation settings...'
    2020-06-24 16:42:43,995: DEBUG - + app=freshrss
    2020-06-24 16:42:43,995: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=domain
    2020-06-24 16:42:43,995: DEBUG - ++ local legacy_args=ak
    2020-06-24 16:42:43,995: DEBUG - ++ args_array=([a]=app= [k]=key=)
    2020-06-24 16:42:43,995: DEBUG - ++ local -A args_array
    2020-06-24 16:42:43,995: DEBUG - ++ local app
    2020-06-24 16:42:43,995: DEBUG - ++ local key
    2020-06-24 16:42:43,995: DEBUG - ++ ynh_handle_getopts_args --app=freshrss --key=domain
    2020-06-24 16:42:43,996: DEBUG - ++ set +o xtrace
    2020-06-24 16:42:44,096: DEBUG - ++ ynh_app_setting get freshrss domain
    2020-06-24 16:42:44,096: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
    2020-06-24 16:42:44,096: DEBUG - ++ ACTION=get
    2020-06-24 16:42:44,097: DEBUG - ++ APP=freshrss
    2020-06-24 16:42:44,097: DEBUG - ++ KEY=domain
    2020-06-24 16:42:44,097: DEBUG - ++ VALUE=
    2020-06-24 16:42:44,097: DEBUG - ++ python2.7 -
    2020-06-24 16:42:44,197: DEBUG - ++ [[ domain =~ ^(unprotected|skipped)_ ]]
    2020-06-24 16:42:44,198: DEBUG - + domain=rss.nomdedomaine.tld
    2020-06-24 16:42:44,198: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=db_name
    2020-06-24 16:42:44,198: DEBUG - ++ local legacy_args=ak
    2020-06-24 16:42:44,198: DEBUG - ++ args_array=([a]=app= [k]=key=)
    2020-06-24 16:42:44,198: DEBUG - ++ local -A args_array
    2020-06-24 16:42:44,198: DEBUG - ++ local app
    2020-06-24 16:42:44,198: DEBUG - ++ local key
    2020-06-24 16:42:44,198: DEBUG - ++ ynh_handle_getopts_args --app=freshrss --key=db_name
    2020-06-24 16:42:44,198: DEBUG - ++ set +o xtrace
    2020-06-24 16:42:44,199: DEBUG - ++ ynh_app_setting get freshrss db_name
    2020-06-24 16:42:44,199: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
    2020-06-24 16:42:44,199: DEBUG - ++ ACTION=get
    2020-06-24 16:42:44,199: DEBUG - ++ APP=freshrss
    2020-06-24 16:42:44,199: DEBUG - ++ KEY=db_name
    2020-06-24 16:42:44,199: DEBUG - ++ VALUE=
    2020-06-24 16:42:44,199: DEBUG - ++ python2.7 -
    2020-06-24 16:42:44,300: DEBUG - ++ [[ db_name =~ ^(unprotected|skipped)_ ]]
    2020-06-24 16:42:44,300: DEBUG - + db_name=freshrss
    2020-06-24 16:42:44,300: DEBUG - + db_user=freshrss
    2020-06-24 16:42:44,300: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=final_path
    2020-06-24 16:42:44,300: DEBUG - ++ local legacy_args=ak
    2020-06-24 16:42:44,300: DEBUG - ++ args_array=([a]=app= [k]=key=)
    2020-06-24 16:42:44,300: DEBUG - ++ local -A args_array
    2020-06-24 16:42:44,301: DEBUG - ++ local app
    2020-06-24 16:42:44,301: DEBUG - ++ local key
    2020-06-24 16:42:44,301: DEBUG - ++ ynh_handle_getopts_args --app=freshrss --key=final_path
    2020-06-24 16:42:44,301: DEBUG - ++ set +o xtrace
    2020-06-24 16:42:44,401: DEBUG - ++ ynh_app_setting get freshrss final_path
    2020-06-24 16:42:44,402: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
    2020-06-24 16:42:44,402: DEBUG - ++ ACTION=get
    2020-06-24 16:42:44,402: DEBUG - ++ APP=freshrss
    2020-06-24 16:42:44,402: DEBUG - ++ KEY=final_path
    2020-06-24 16:42:44,402: DEBUG - ++ VALUE=
    2020-06-24 16:42:44,402: DEBUG - ++ python2.7 -
    2020-06-24 16:42:44,503: DEBUG - ++ [[ final_path =~ ^(unprotected|skipped)_ ]]
    2020-06-24 16:42:44,503: INFO - Removing the MySQL database...
    2020-06-24 16:42:44,505: DEBUG - + final_path=/var/www/freshrss
    2020-06-24 16:42:44,505: DEBUG - + ynh_print_info '--message=Removing the MySQL database...'
    2020-06-24 16:42:44,506: DEBUG - + local legacy_args=m
    2020-06-24 16:42:44,506: DEBUG - + args_array=([m]=message=)
    2020-06-24 16:42:44,506: DEBUG - + local -A args_array
    2020-06-24 16:42:44,506: DEBUG - + local message
    2020-06-24 16:42:44,506: DEBUG - + ynh_handle_getopts_args '--message=Removing the MySQL database...'
    2020-06-24 16:42:44,506: DEBUG - + set +o xtrace
    2020-06-24 16:42:44,507: DEBUG - + echo 'Removing the MySQL database...'
    2020-06-24 16:42:44,507: DEBUG - + ynh_mysql_remove_db --db_user=freshrss --db_name=freshrss
    2020-06-24 16:42:44,507: DEBUG - + local legacy_args=un
    2020-06-24 16:42:44,507: DEBUG - + args_array=([u]=db_user= [n]=db_name=)
    2020-06-24 16:42:44,507: DEBUG - + local -A args_array
    2020-06-24 16:42:44,507: DEBUG - + local db_user
    2020-06-24 16:42:44,508: DEBUG - + local db_name
    2020-06-24 16:42:44,508: DEBUG - + ynh_handle_getopts_args --db_user=freshrss --db_name=freshrss
    2020-06-24 16:42:44,508: DEBUG - + set +o xtrace
    2020-06-24 16:42:44,508: DEBUG - ++ cat /etc/yunohost/mysql
    2020-06-24 16:42:44,508: DEBUG - + local mysql_root_password=**********
    2020-06-24 16:42:44,509: DEBUG - + grep --quiet '^| freshrss'
    2020-06-24 16:42:44,509: DEBUG - + mysqlshow --user=root --password=**********
    2020-06-24 16:42:44,509: DEBUG - + ynh_mysql_drop_db freshrss
    2020-06-24 16:42:44,509: DEBUG - + ynh_mysql_execute_as_root '--sql=DROP DATABASE freshrss;'
    2020-06-24 16:42:44,510: DEBUG - + local legacy_args=sd
    2020-06-24 16:42:44,510: DEBUG - + args_array=([s]=sql= [d]=database=)
    2020-06-24 16:42:44,510: DEBUG - + local -A args_array
    2020-06-24 16:42:44,510: DEBUG - + local sql
    2020-06-24 16:42:44,510: DEBUG - + local database
    2020-06-24 16:42:44,510: DEBUG - + ynh_handle_getopts_args '--sql=DROP DATABASE freshrss;'
    2020-06-24 16:42:44,511: DEBUG - + set +o xtrace
    2020-06-24 16:42:44,511: DEBUG - + database=
    2020-06-24 16:42:44,511: DEBUG - ++ cat /etc/yunohost/mysql
    2020-06-24 16:42:44,511: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
    2020-06-24 16:42:44,511: DEBUG - + local legacy_args=upd
    2020-06-24 16:42:44,511: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
    2020-06-24 16:42:44,511: DEBUG - + local -A args_array
    2020-06-24 16:42:44,511: DEBUG - + local user
    2020-06-24 16:42:44,511: DEBUG - + local password
    2020-06-24 16:42:44,511: DEBUG - + local database
    2020-06-24 16:42:44,512: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
    2020-06-24 16:42:44,512: DEBUG - + set +o xtrace
    2020-06-24 16:42:44,512: DEBUG - + database=
    2020-06-24 16:42:44,512: DEBUG - + mysql --user=root --password=********** --batch ''
    2020-06-24 16:42:45,415: DEBUG - + ynh_mysql_user_exists --user=freshrss
    2020-06-24 16:42:45,416: DEBUG - + local legacy_args=u
    2020-06-24 16:42:45,416: DEBUG - + args_array=([u]=user=)
    2020-06-24 16:42:45,416: DEBUG - + local -A args_array
    2020-06-24 16:42:45,416: DEBUG - + local user
    2020-06-24 16:42:45,416: DEBUG - + ynh_handle_getopts_args --user=freshrss
    2020-06-24 16:42:45,417: DEBUG - + set +o xtrace
    2020-06-24 16:42:45,417: DEBUG - ++ ynh_mysql_execute_as_root '--sql=SELECT User from mysql.user WHERE User = '\''freshrss'\'';'
    2020-06-24 16:42:45,417: DEBUG - ++ local legacy_args=sd
    2020-06-24 16:42:45,417: DEBUG - ++ args_array=([s]=sql= [d]=database=)
    2020-06-24 16:42:45,417: DEBUG - ++ local -A args_array
    2020-06-24 16:42:45,417: DEBUG - ++ local sql
    2020-06-24 16:42:45,417: DEBUG - ++ local database
    2020-06-24 16:42:45,418: DEBUG - ++ ynh_handle_getopts_args '--sql=SELECT User from mysql.user WHERE User = '\''freshrss'\'';'
    2020-06-24 16:42:45,418: DEBUG - ++ set +o xtrace
    2020-06-24 16:42:45,519: DEBUG - ++ database=
    2020-06-24 16:42:45,520: DEBUG - +++ cat /etc/yunohost/mysql
    2020-06-24 16:42:45,520: DEBUG - ++ ynh_mysql_connect_as --user=root --password=********** --database=
    2020-06-24 16:42:45,520: DEBUG - ++ local legacy_args=upd
    2020-06-24 16:42:45,520: DEBUG - ++ args_array=([u]=user= [p]=password= [d]=database=)
    2020-06-24 16:42:45,520: DEBUG - ++ local -A args_array
    2020-06-24 16:42:45,520: DEBUG - ++ local user
    2020-06-24 16:42:45,520: DEBUG - ++ local password
    2020-06-24 16:42:45,521: DEBUG - ++ local database
    2020-06-24 16:42:45,521: DEBUG - ++ ynh_handle_getopts_args --user=root --password=********** --database=
    2020-06-24 16:42:45,521: DEBUG - ++ set +o xtrace
    2020-06-24 16:42:45,521: DEBUG - ++ database=
    2020-06-24 16:42:45,521: DEBUG - ++ mysql --user=root --password=********** --batch ''
    2020-06-24 16:42:45,521: DEBUG - + [[ -z User
    2020-06-24 16:42:45,522: DEBUG - freshrss ]]
    2020-06-24 16:42:45,522: DEBUG - + return 0
    2020-06-24 16:42:45,522: DEBUG - + ynh_mysql_drop_user freshrss
    2020-06-24 16:42:45,522: DEBUG - + ynh_mysql_execute_as_root '--sql=DROP USER '\''freshrss'\''@'\''localhost'\'';'
    2020-06-24 16:42:45,522: DEBUG - + local legacy_args=sd
    2020-06-24 16:42:45,522: DEBUG - + args_array=([s]=sql= [d]=database=)
    2020-06-24 16:42:45,522: DEBUG - + local -A args_array
    2020-06-24 16:42:45,523: DEBUG - + local sql
    2020-06-24 16:42:45,523: DEBUG - + local database
    2020-06-24 16:42:45,523: DEBUG - + ynh_handle_getopts_args '--sql=DROP USER '\''freshrss'\''@'\''localhost'\'';'
    2020-06-24 16:42:45,523: DEBUG - + set +o xtrace
    2020-06-24 16:42:45,523: DEBUG - + database=
    2020-06-24 16:42:45,523: DEBUG - ++ cat /etc/yunohost/mysql
    2020-06-24 16:42:45,523: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
    2020-06-24 16:42:45,524: DEBUG - + local legacy_args=upd
    2020-06-24 16:42:45,524: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
    2020-06-24 16:42:45,524: DEBUG - + local -A args_array
    2020-06-24 16:42:45,524: DEBUG - + local user
    2020-06-24 16:42:45,524: DEBUG - + local password
    2020-06-24 16:42:45,525: DEBUG - + local database
    2020-06-24 16:42:45,525: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
    2020-06-24 16:42:45,525: DEBUG - + set +o xtrace
    2020-06-24 16:42:45,627: DEBUG - + database=
    2020-06-24 16:42:45,627: INFO - Removing dependencies...
    2020-06-24 16:42:45,628: DEBUG - + mysql --user=root --password=********** --batch ''
    2020-06-24 16:42:45,628: DEBUG - + ynh_print_info '--message=Removing dependencies...'
    2020-06-24 16:42:45,628: DEBUG - + local legacy_args=m
    2020-06-24 16:42:45,628: DEBUG - + args_array=([m]=message=)
    2020-06-24 16:42:45,628: DEBUG - + local -A args_array
    2020-06-24 16:42:45,628: DEBUG - + local message
    2020-06-24 16:42:45,629: DEBUG - + ynh_handle_getopts_args '--message=Removing dependencies...'
    2020-06-24 16:42:45,629: DEBUG - + set +o xtrace
    2020-06-24 16:42:45,629: DEBUG - + echo 'Removing dependencies...'
    2020-06-24 16:42:45,629: DEBUG - + ynh_remove_app_dependencies
    2020-06-24 16:42:45,629: DEBUG - + local dep_app=freshrss
    2020-06-24 16:42:45,629: DEBUG - + ynh_package_autopurge freshrss-ynh-deps
    2020-06-24 16:42:45,629: DEBUG - + ynh_apt autoremove --purge freshrss-ynh-deps
    2020-06-24 16:42:45,630: DEBUG - + ynh_wait_dpkg_free
    2020-06-24 16:42:45,630: DEBUG - + local try
    2020-06-24 16:42:45,630: DEBUG - + set +o xtrace
    2020-06-24 16:42:45,931: DEBUG - + return 0
    2020-06-24 16:42:45,931: DEBUG - + LC_ALL=C
    2020-06-24 16:42:45,931: DEBUG - + DEBIAN_FRONTEND=noninteractive
    2020-06-24 16:42:45,931: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge freshrss-ynh-deps
    2020-06-24 16:42:46,032: DEBUG - Reading package lists...
    2020-06-24 16:42:46,232: DEBUG - Building dependency tree...
    2020-06-24 16:42:46,233: DEBUG - Reading state information...
    2020-06-24 16:42:46,433: DEBUG - The following packages will be REMOVED:
    2020-06-24 16:42:46,434: DEBUG -   freshrss-ynh-deps* php-sqlite3* php-zip* php7.0-sqlite3* php7.0-zip*
    2020-06-24 16:42:46,935: DEBUG - 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
    2020-06-24 16:42:46,935: DEBUG - After this operation, 236 kB disk space will be freed.
    2020-06-24 16:42:47,036: DEBUG - (Reading database ... 87727 files and directories currently installed.)
    2020-06-24 16:42:47,036: DEBUG - Removing freshrss-ynh-deps (1.16.0~ynh1) ...
    2020-06-24 16:42:47,237: DEBUG - Removing php-sqlite3 (1:7.0+49) ...
    2020-06-24 16:42:47,237: DEBUG - Removing php-zip (1:7.0+49) ...
    2020-06-24 16:42:47,338: DEBUG - Removing php7.0-sqlite3 (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) ...
    2020-06-24 16:42:47,538: DEBUG - Removing php7.0-zip (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) ...
    2020-06-24 16:42:47,739: DEBUG - Processing triggers for php7.0-fpm (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) ...
    2020-06-24 16:42:48,241: WARNING - Job for php7.0-fpm.service failed because the control process exited with error code.
    2020-06-24 16:42:48,241: WARNING - See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.
    2020-06-24 16:42:48,241: WARNING - invoke-rc.d: initscript php7.0-fpm, action "restart" failed.
    2020-06-24 16:42:48,342: DEBUG - * php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
    2020-06-24 16:42:48,342: WARNING - dpkg: error processing package php7.0-fpm (--configure):
    2020-06-24 16:42:48,343: DEBUG -    Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
    2020-06-24 16:42:48,343: WARNING -  subprocess installed post-installation script returned error exit status 1
    2020-06-24 16:42:48,343: DEBUG -    Active: failed (Result: exit-code) since Wed 2020-06-24 16:42:48 CEST; 12ms ago
    2020-06-24 16:42:48,343: DEBUG -      Docs: man:php-fpm7.0(8)
    2020-06-24 16:42:48,343: DEBUG -   Process: 1306 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS)
    2020-06-24 16:42:48,343: DEBUG -   Process: 1302 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78)
    2020-06-24 16:42:48,344: DEBUG -  Main PID: 1302 (code=exited, status=78)
    2020-06-24 16:42:48,344: DEBUG - 
    2020-06-24 16:42:48,344: DEBUG - Jun 24 16:42:47 nomdedomaine.tld systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
    2020-06-24 16:42:48,344: DEBUG - Jun 24 16:42:48 nomdedomaine.tld php-fpm7.0[1302]: [24-Jun-2020 16:42:48] ERROR: [pool roundcube] the chdir path '/var/www/roundcube' does not exist or is not a directory
    2020-06-24 16:42:48,344: DEBUG - Jun 24 16:42:48 nomdedomaine.tld php-fpm7.0[1302]: [24-Jun-2020 16:42:48] ERROR: failed to post process the configuration
    2020-06-24 16:42:48,344: DEBUG - Jun 24 16:42:48 nomdedomaine.tld php-fpm7.0[1302]: [24-Jun-2020 16:42:48] ERROR: FPM initialization failed
    2020-06-24 16:42:48,344: DEBUG - Jun 24 16:42:48 nomdedomaine.tld systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
    2020-06-24 16:42:48,344: DEBUG - Jun 24 16:42:48 nomdedomaine.tld systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
    2020-06-24 16:42:48,344: DEBUG - Jun 24 16:42:48 nomdedomaine.tld systemd[1]: php7.0-fpm.service: Unit entered failed state.
    2020-06-24 16:42:48,345: DEBUG - Jun 24 16:42:48 nomdedomaine.tld systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.
    2020-06-24 16:42:48,445: WARNING - Errors were encountered while processing:
    2020-06-24 16:42:48,445: WARNING -  php7.0-fpm
    2020-06-24 16:42:48,847: DEBUG - + ynh_print_info '--message=Removing app main directory...'
    2020-06-24 16:42:48,847: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
    2020-06-24 16:42:48,848: INFO - Removing app main directory...
    2020-06-24 16:42:48,848: DEBUG - + local legacy_args=m
    2020-06-24 16:42:48,849: DEBUG - + args_array=([m]=message=)
    2020-06-24 16:42:48,849: DEBUG - + local -A args_array
    2020-06-24 16:42:48,849: DEBUG - + local message
    2020-06-24 16:42:48,850: DEBUG - + ynh_handle_getopts_args '--message=Removing app main directory...'
    2020-06-24 16:42:48,850: DEBUG - + set +o xtrace
    2020-06-24 16:42:48,850: DEBUG - + echo 'Removing app main directory...'
    2020-06-24 16:42:48,851: DEBUG - + ynh_secure_remove --file=/var/www/freshrss
    2020-06-24 16:42:48,851: DEBUG - + local legacy_args=f
    2020-06-24 16:42:48,851: DEBUG - + args_array=([f]=file=)
    2020-06-24 16:42:48,852: DEBUG - + local -A args_array
    2020-06-24 16:42:48,852: DEBUG - + local file
    2020-06-24 16:42:48,853: DEBUG - + ynh_handle_getopts_args --file=/var/www/freshrss
    2020-06-24 16:42:48,853: DEBUG - + set +o xtrace
    2020-06-24 16:42:48,853: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
    2020-06-24 16:42:48,854: DEBUG - + '[' 1 -ge 2 ']'
    2020-06-24 16:42:48,854: DEBUG - + [[ -z /var/www/freshrss ]]
    2020-06-24 16:42:48,854: DEBUG - + [[      /var/www     /home/yunohost.app =~ /var/www/freshrss ]]
    2020-06-24 16:42:48,855: DEBUG - + [[ /var/www/freshrss =~ ^/[[:alnum:]]+$ ]]
    2020-06-24 16:42:48,855: DEBUG - + [[ s = \/ ]]
    2020-06-24 16:42:48,855: DEBUG - + '[' -e /var/www/freshrss ']'
    2020-06-24 16:42:48,856: DEBUG - + rm --recursive /var/www/freshrss
    2020-06-24 16:42:48,956: DEBUG - + ynh_print_info '--message=Removing nginx web server configuration...'
    2020-06-24 16:42:48,957: DEBUG - + local legacy_args=m
    2020-06-24 16:42:48,957: DEBUG - + args_array=([m]=message=)
    2020-06-24 16:42:48,957: DEBUG - + local -A args_array
    2020-06-24 16:42:48,957: DEBUG - + local message
    2020-06-24 16:42:48,957: DEBUG - + ynh_handle_getopts_args '--message=Removing nginx web server configuration...'
    2020-06-24 16:42:48,957: DEBUG - + set +o xtrace
    2020-06-24 16:42:48,957: DEBUG - + echo 'Removing nginx web server configuration...'
    2020-06-24 16:42:48,958: DEBUG - + ynh_remove_nginx_config
    2020-06-24 16:42:48,958: DEBUG - + ynh_secure_remove --file=/etc/nginx/conf.d/rss.nomdedomaine.tld.d/freshrss.conf
    2020-06-24 16:42:48,958: DEBUG - + local legacy_args=f
    2020-06-24 16:42:48,958: DEBUG - + args_array=([f]=file=)
    2020-06-24 16:42:48,958: DEBUG - + local -A args_array
    2020-06-24 16:42:48,958: DEBUG - + local file
    2020-06-24 16:42:48,958: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/rss.nomdedomaine.tld.d/freshrss.conf
    2020-06-24 16:42:48,958: DEBUG - + set +o xtrace
    2020-06-24 16:42:48,958: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
    2020-06-24 16:42:48,958: DEBUG - + '[' 1 -ge 2 ']'
    2020-06-24 16:42:48,958: DEBUG - + [[ -z /etc/nginx/conf.d/rss.nomdedomaine.tld.d/freshrss.conf ]]
    2020-06-24 16:42:48,959: DEBUG - + [[      /var/www     /home/yunohost.app =~ /etc/nginx/conf\.d/rss\.kapussinettes\.ovh\.d/freshrss\.conf ]]
    2020-06-24 16:42:48,959: DEBUG - + [[ /etc/nginx/conf.d/rss.nomdedomaine.tld.d/freshrss.conf =~ ^/[[:alnum:]]+$ ]]
    2020-06-24 16:42:48,959: DEBUG - + [[ f = \/ ]]
    2020-06-24 16:42:48,959: DEBUG - + '[' -e /etc/nginx/conf.d/rss.nomdedomaine.tld.d/freshrss.conf ']'
    2020-06-24 16:42:48,959: DEBUG - + rm --recursive /etc/nginx/conf.d/rss.nomdedomaine.tld.d/freshrss.conf
    2020-06-24 16:42:48,959: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
    2020-06-24 16:42:48,959: DEBUG - + local legacy_args=nalpte
    2020-06-24 16:42:48,959: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
    2020-06-24 16:42:48,959: DEBUG - + local -A args_array
    2020-06-24 16:42:48,959: DEBUG - + local service_name
    2020-06-24 16:42:48,959: DEBUG - + local action
    2020-06-24 16:42:48,960: DEBUG - + local line_match
    2020-06-24 16:42:48,960: DEBUG - + local length
    2020-06-24 16:42:48,960: DEBUG - + local log_path
    2020-06-24 16:42:48,960: DEBUG - + local timeout
    2020-06-24 16:42:48,960: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
    2020-06-24 16:42:48,960: DEBUG - + set +o xtrace
    2020-06-24 16:42:48,960: DEBUG - + service_name=nginx
    2020-06-24 16:42:48,960: DEBUG - + action=reload
    2020-06-24 16:42:48,960: DEBUG - + line_match=
    2020-06-24 16:42:48,960: DEBUG - + length=20
    2020-06-24 16:42:48,960: DEBUG - + log_path=/var/log/nginx/nginx.log
    2020-06-24 16:42:48,961: DEBUG - + timeout=300
    2020-06-24 16:42:48,961: DEBUG - + [[ -n '' ]]
    2020-06-24 16:42:48,961: DEBUG - + '[' reload == reload ']'
    2020-06-24 16:42:48,961: DEBUG - + action=reload-or-restart
    2020-06-24 16:42:48,961: DEBUG - + systemctl reload-or-restart nginx
    2020-06-24 16:42:49,062: DEBUG - + ynh_exec_err journalctl --quiet --no-hostname --no-pager --lines=20 --unit=nginx
    2020-06-24 16:42:49,062: WARNING - Job for nginx.service failed because the control process exited with error code.
    2020-06-24 16:42:49,063: INFO - Removing nginx web server configuration...
    2020-06-24 16:42:49,063: DEBUG - ++ eval journalctl --quiet --no-hostname --no-pager --lines=20 --unit=nginx
    2020-06-24 16:42:49,064: WARNING - See "systemctl status nginx.service" and "journalctl -xe" for details.
    2020-06-24 16:42:49,064: DEBUG - +++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=nginx
    2020-06-24 16:42:49,064: WARNING - [Error] Jun 24 16:41:09 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,065: DEBUG - + ynh_print_err 'Jun 24 16:41:09 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,065: WARNING - Jun 24 16:41:09 nginx[28803]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,065: DEBUG - Jun 24 16:41:09 nginx[28803]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,066: WARNING - Jun 24 16:41:09 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,066: DEBUG - Jun 24 16:41:09 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,067: WARNING - Jun 24 16:41:09 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,067: DEBUG - Jun 24 16:41:09 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,067: WARNING - Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,068: DEBUG - Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,068: WARNING - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,068: DEBUG - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,068: WARNING - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,069: DEBUG - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,069: WARNING - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,069: DEBUG - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,070: WARNING - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,070: DEBUG - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,070: WARNING - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,070: DEBUG - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,071: WARNING - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,071: DEBUG - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,071: WARNING - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,072: DEBUG - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,072: WARNING - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,072: DEBUG - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,072: WARNING - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,073: DEBUG - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,073: WARNING - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,074: DEBUG - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,074: WARNING - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,074: DEBUG - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,074: WARNING - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,075: DEBUG - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,075: WARNING - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,076: DEBUG - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,076: WARNING - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,076: DEBUG - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,077: WARNING - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,077: DEBUG - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.'
    2020-06-24 16:42:49,077: WARNING - 
    2020-06-24 16:42:49,077: DEBUG - + local legacy_args=m
    2020-06-24 16:42:49,078: DEBUG - + args_array=([m]=message=)
    2020-06-24 16:42:49,078: DEBUG - + local -A args_array
    2020-06-24 16:42:49,078: DEBUG - + local message
    2020-06-24 16:42:49,078: DEBUG - + ynh_handle_getopts_args 'Jun 24 16:41:09 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,078: DEBUG - Jun 24 16:41:09 nginx[28803]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,079: DEBUG - Jun 24 16:41:09 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,079: DEBUG - Jun 24 16:41:09 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,079: DEBUG - Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,079: DEBUG - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,079: DEBUG - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,079: DEBUG - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,079: DEBUG - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,080: DEBUG - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,080: DEBUG - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,080: DEBUG - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,080: DEBUG - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,080: DEBUG - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,081: DEBUG - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,081: DEBUG - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,081: DEBUG - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,081: DEBUG - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,081: DEBUG - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,082: DEBUG - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.'
    2020-06-24 16:42:49,082: DEBUG - + set +o xtrace
    2020-06-24 16:42:49,082: DEBUG - + echo '! Helper used in legacy mode !'
    2020-06-24 16:42:49,082: DEBUG - + set +x
    2020-06-24 16:42:49,082: DEBUG - + ynh_print_log '[Error] Jun 24 16:41:09 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,082: DEBUG - Jun 24 16:41:09 nginx[28803]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,082: DEBUG - Jun 24 16:41:09 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,083: DEBUG - Jun 24 16:41:09 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,083: DEBUG - Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,083: DEBUG - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,083: DEBUG - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,083: DEBUG - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,083: DEBUG - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,084: DEBUG - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,084: DEBUG - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,084: DEBUG - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,084: DEBUG - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,084: DEBUG - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,085: DEBUG - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,085: DEBUG - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,085: DEBUG - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,085: DEBUG - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,085: DEBUG - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,085: DEBUG - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.'
    2020-06-24 16:42:49,085: DEBUG - + echo -e '[Error] Jun 24 16:41:09 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,086: DEBUG - Jun 24 16:41:09 nginx[28803]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,086: DEBUG - Jun 24 16:41:09 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,086: DEBUG - Jun 24 16:41:09 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,086: DEBUG - Jun 24 16:41:32 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,086: DEBUG - Jun 24 16:41:33 nginx[30378]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,086: DEBUG - Jun 24 16:41:33 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,087: DEBUG - Jun 24 16:41:33 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,087: DEBUG - Jun 24 16:41:37 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,087: DEBUG - Jun 24 16:41:37 nginx[30698]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,087: DEBUG - Jun 24 16:41:37 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,087: DEBUG - Jun 24 16:41:37 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,088: DEBUG - Jun 24 16:42:42 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,088: DEBUG - Jun 24 16:42:42 nginx[690]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,088: DEBUG - Jun 24 16:42:42 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,088: DEBUG - Jun 24 16:42:42 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,088: DEBUG - Jun 24 16:42:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
    2020-06-24 16:42:49,088: DEBUG - Jun 24 16:42:49 nginx[1356]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf:1
    2020-06-24 16:42:49,089: DEBUG - Jun 24 16:42:49 systemd[1]: nginx.service: Control process exited, code=exited status=1
    2020-06-24 16:42:49,089: DEBUG - Jun 24 16:42:49 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.'
    2020-06-24 16:42:49,089: DEBUG - + '[' -e /var/log/nginx/nginx.log ']'
    2020-06-24 16:42:49,089: DEBUG - + ynh_die
    2020-06-24 16:42:49,089: DEBUG - + local legacy_args=mc
    2020-06-24 16:42:49,089: DEBUG - + args_array=([m]=message= [c]=ret_code=)
    2020-06-24 16:42:49,089: DEBUG - + local -A args_array
    2020-06-24 16:42:49,089: DEBUG - + local message
    2020-06-24 16:42:49,089: DEBUG - + local ret_code
    2020-06-24 16:42:49,089: DEBUG - + ynh_handle_getopts_args
    2020-06-24 16:42:49,090: DEBUG - + set +o xtrace
    2020-06-24 16:42:49,090: DEBUG - + ret_code=1
    2020-06-24 16:42:49,090: DEBUG - + echo ''
    2020-06-24 16:42:49,090: DEBUG - + exit 1
    2020-06-24 16:42:49,224: WARNING - freshrss has not been properly removed
    2020-06-24 16:42:49,306: DEBUG - Permission 'freshrss.main' deleted
    2020-06-24 16:42:49,309: DEBUG - To view the log of the operation 'Delete permission 'freshrss'', use the command 'yunohost log display 20200624-144249-permission_delete-freshrss'
    2020-06-24 16:42:49,325: DEBUG - The permission database has been resynchronized
    2020-06-24 16:42:49,493: DEBUG - SSOwat configuration generated
    2020-06-24 16:42:49,502: DEBUG - Checking that required services are up and running...

Par ailleurs pour supprimer l’application cesium j’ai eu ce message :

    root@nomdedomaine:/home/admin# rm /etc/nginx/conf.d/g1.nomdesite.tld.d/cesium.conf
    rm: cannot remove '/etc/nginx/conf.d/g1.nomdesite.tld.d/cesium.conf': No such file or directory
    root@nomdedomaine:/home/admin# rm /etc/nginx/conf.d/g1.nomdedomaine.tld.d/cesium.conf
    root@nomdedomaine:/home/admin# systemctl restart nginx
    root@nomdedomaine:/home/admin# yunohost app remove cesium
    Info: Removing the app 'cesium'…
    Error: /!\ Packagers ! This app uses a very old deprecated helpers ... Yunohost automatically patched the helpers to use the new recommended practice, but please do consider fixing the upstream code right now ...
    Error: /!\ Packagers ! This app uses a very old deprecated helpers ... Yunohost automatically patched the helpers to use the new recommended practice, but please do consider fixing the upstream code right now ...
    Success! cesium removed
    Info: The operation 'Remove the 'cesium' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200626-184338-app_remove-cesium --share' to get help
    Error: This action broke dpkg/APT (the system package managers)… You can try to solve this issue by connecting through SSH and running `sudo apt install --fix-broken` and/or `sudo dpkg --configure -a`. 

Et quand j’essaye apt install --fix-broken, j’ai :

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
      php-sqlite3 php7.0-sqlite3
    The following NEW packages will be installed:
      php-sqlite3 php7.0-sqlite3
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/30.0 kB of archives.
    After this operation, 124 kB of additional disk space will be used.
    Do you want to continue? [Y/n] 
    Setting up php7.0-fpm (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) ...
    Job for php7.0-fpm.service failed because the control process exited with error 
    code.
    See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.
    invoke-rc.d: initscript php7.0-fpm, action "restart" failed.
    ● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
       Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor prese
    t: enabled)
       Active: failed (Result: exit-code) since Fri 2020-06-26 20:44:03 CEST; 25ms a
    go
         Docs: man:php-fpm7.0(8)
      Process: 14120 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php
    /php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS
    )
      Process: 14111 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/
    php/7.0/fpm/php-fpm.conf (code=exited, status=78)
     Main PID: 14111 (code=exited, status=78)

    Jun 26 20:44:03 nomdedomaine.tld systemd[1]: Starting The PHP 7.0 FastCGI P…...
    Jun 26 20:44:03 nomdedomaine.tld php-fpm7.0[14111]: [26-Jun-2020 20:44:03] E…ry
    Jun 26 20:44:03 nomdedomaine.tld php-fpm7.0[14111]: [26-Jun-2020 20:44:03] E…on
    Jun 26 20:44:03 nomdedomaine.tld php-fpm7.0[14111]: [26-Jun-2020 20:44:03] E…ed
    Jun 26 20:44:03 nomdedomaine.tld systemd[1]: php7.0-fpm.service: Main proce…n/a
    Jun 26 20:44:03 nomdedomaine.tld systemd[1]: Failed to start The PHP 7.0 Fa…er.
    Jun 26 20:44:03 nomdedomaine.tld systemd[1]: php7.0-fpm.service: Unit enter…te.
    Jun 26 20:44:03 nomdedomaine.tld systemd[1]: php7.0-fpm.service: Failed wit…e'.
    Hint: Some lines were ellipsized, use -l to show in full.
    dpkg: error processing package php7.0-fpm (--configure):
     subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     php7.0-fpm
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Est-ce que ça peut aider du coup ces log ?
Encore merci pour ton aide par ailleurs !

Oui et non, moi j’aimerais voir le log de l’upgrade mais ce que tu partages c’est le log de la désinstallation de l’app suite à la tentative de restauration suite à l’upgrade échouée …

Par ailleurs je ne comprends pas pourquoi personne n’utilise le bouton “Partager avec YunoPaste” pour partager les logs, qui est censé être vachement plus pratique à la fois pour les utilisateurs et pour nous (avoir un lien plutôt que tout le pâté directement dans la discussion). Est-ce que le bouton n’est pas visible ? Est-ce qu’il ne marche pas ? …?

Alors le bouton de partage yunopaste n’a pas fonctionné immédiatement, mais en rechargeant la page si.
Ce qui me fait copier/coller le log c’est pour effacer le nom de domaine de mon site perso. Il est à usage familial. Après tu me diras si ce n’est pas justifié, mais je ne tiens pas à donner le nom de domaine à droite/gauche pour éviter tout risque vis à vis de personne mal intentionnée ? (en plus je viens de me rendre compte que le nom de l’admin était dans le log aussi).
Et en plus, je pensais que c’était plus pratique pour les aidants d’avoir le log directement sur le forum.

Du coup j’ai mis le paste ici : mon log.

J’ai regardé ailleurs sur le forum s’il y avait d’autres problèmes avec php7.0-fpm, je suis tombé sur cette discussion.
Du coup, j’ai fais :
yunohost app remove freshrss qui me dit que freshrss ne fait pas parti des applications installées.
Puis, j’ai fais un : rm /etc/php/7.0/fpm/pool.d/freshrss.conf , qui a fonctionné
Puis : systemctl restart php7.0-fpm, qui m’affiche une erreur, que j’ai mis dans ce log.
A priori le problème viendrait de roundcube O_o
Et c’est vrais que roundcube ne fait pas plus parti des applications installées.

Le log de la mise à jour de roundcube est ici.

Tout semble avoir planté suite à la tentative de mise à jour de cesium, qui a fait ‘planter’ nginx, qui a fait échouer les mises à jour suivantes (dans l’ordre des mises à jour : cesium, puis roundcube, puis freshrss). J’avais fais la mise à jour de peertube juste avant sans soucis.

Du coup, là je ne vois pas comment faire pour récupérer roundcube par exemple, qui ne fait plus parti des applications installées d’après la commande de yunohost (quand j’ai tenté un remove de freshrss il m’a listé les applications installées, ne comprenant pas roundcube).

Est-ce que si tu listes les backups, il y a des backup automatiques qui ont été fait pour ces apps ?

Oui, les deux y sont, des backups pre-upgrade.
Mais du coup je viens d’essayer : yunohost backup restore --apps roundcube-pre-upgrade1 (le nom du backup dans la liste)
Qui me dit ‘tew few arguments’.
(même problème si je rajoute le .tar.gz à la fin du nom de l’archive)

Comme un idiot je n’avais pas essayé par l’interface graphique, et ça refonctionne parfaitement.

Merci !!!

(À mon avis la bonne commande est la suivante … sinon il pense que tu peux restorer l’app roundcube-pre-upgrade1 mais sans savoir depuis quelle archive)

 yunohost backup restore roundcube-pre-upgrade1 --apps

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