Upgrade fails with "error processing package yunohost"

Causes internal server errors and crashes:

Action

PUT /upgrade
{"system":""}

Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 439, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 523, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/log.py", line 284, in func_wrapper
    # Start the actual function, and give the unit operation
  File "/usr/lib/moulinette/yunohost/tools.py", line 663, in tools_upgrade
TypeError: sequence item 0: expected string, dict found

The operation 'Upgrade system packages' has failed! To get help, please provide the full log of this operation by clicking here

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

+ yunohost

+Errors were encountered while processing:

+ subprocess installed post-installation script returned error exit status 1

+dpkg: error processing package yunohost (--configure):

+e[31me[1mError: e[mAn error occurred. Please see the logs for details, they are located in /var/log/yunohost/.

+Regenerating configuration, this might take a while...

+Setting up yunohost (3.7.0.8) ...

+Installing new version of config file /etc/ssl/openssl.cnf ...

+Setting up openssl (1.1.1d-1+0~20191009.15+debian9~1.gbpd6badf) ...

+Unpacking openssl (1.1.1d-1+0~20191009.15+debian9~1.gbpd6badf) over (1.1.0l-1~deb9u1) ...

+Preparing to unpack .../openssl_1.1.1d-1+0~20191009.15+debian9~1.gbpd6badf_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69931 files and directories currently installed.)

+Setting up php-intl (2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5) ...

+Unpacking php-intl (2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5) over (1:7.0+49) ...

+Preparing to unpack .../php-intl_2%3a7.4+75+0~20200327.22+debian9~1.gbp7ccdd5_all.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69931 files and directories currently installed.)

+Creating config file /etc/php/7.4/mods-available/intl.ini with new version

+

+Setting up php7.4-intl (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-intl (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../php7.4-intl_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69922 files and directories currently installed.)

+Selecting previously unselected package php7.4-intl.

+Setting up php-ldap (2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5) ...

+Unpacking php-ldap (2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5) over (1:7.0+49) ...

+Preparing to unpack .../php-ldap_2%3a7.4+75+0~20200327.22+debian9~1.gbp7ccdd5_all.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69922 files and directories currently installed.)

+Creating config file /etc/php/7.4/mods-available/ldap.ini with new version

+

+Setting up php7.4-ldap (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-ldap (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../php7.4-ldap_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69913 files and directories currently installed.)

+Selecting previously unselected package php7.4-ldap.

+Setting up php-fpm (2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5) ...

+Unpacking php-fpm (2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5) over (1:7.0+49) ...

+Preparing to unpack .../php-fpm_2%3a7.4+75+0~20200327.22+debian9~1.gbp7ccdd5_all.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69913 files and directories currently installed.)

+Created symlink /etc/systemd/system/multi-user.target.wants/php7.4-fpm.service → /lib/systemd/system/php7.4-fpm.service.

+Creating config file /etc/php/7.4/fpm/php.ini with new version

+

+Installing new config file as you requested.

+Configuration file '/etc/php/7.4/fpm/pool.d/www.conf', does not exist on system.

+

+Installing new config file as you requested.

+Configuration file '/etc/php/7.4/fpm/php-fpm.conf', does not exist on system.

+

+Installing new config file as you requested.

+Configuration file '/etc/logrotate.d/php7.4-fpm', does not exist on system.

+

+Installing new config file as you requested.

+Configuration file '/etc/init.d/php7.4-fpm', does not exist on system.

+

+Installing new config file as you requested.

+Configuration file '/etc/apache2/conf-available/php7.4-fpm.conf', does not exist on system.

+

+Setting up php7.4-fpm (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-fpm (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../php7.4-fpm_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69891 files and directories currently installed.)

+Selecting previously unselected package php7.4-fpm.

+Creating config file /etc/php/7.4/cli/php.ini with new version

+

+update-alternatives: using /usr/bin/phar.phar7.4 to provide /usr/bin/phar.phar (phar.phar) in auto mode

+update-alternatives: using /usr/bin/phar7.4 to provide /usr/bin/phar (phar) in auto mode

+update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in auto mode

+Setting up php7.4-cli (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-cli (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../php7.4-cli_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69876 files and directories currently installed.)

+Selecting previously unselected package php7.4-cli.

+Setting up libsodium23:amd64 (1.0.18-1+0~20191009.1+debian9~1.gbpb6823f) ...

+Unpacking libsodium23:amd64 (1.0.18-1+0~20191009.1+debian9~1.gbpb6823f) ...

+Preparing to unpack .../libsodium23_1.0.18-1+0~20191009.1+debian9~1.gbpb6823f_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69867 files and directories currently installed.)

+Selecting previously unselected package libsodium23:amd64.

+Setting up libpcre2-8-0:amd64 (10.34-7+0~20191219.5+debian9~1.gbp555bb9) ...

+Unpacking libpcre2-8-0:amd64 (10.34-7+0~20191219.5+debian9~1.gbp555bb9) ...

+Preparing to unpack .../libpcre2-8-0_10.34-7+0~20191219.5+debian9~1.gbp555bb9_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69860 files and directories currently installed.)

+Selecting previously unselected package libpcre2-8-0:amd64.

+Setting up libargon2-1:amd64 (0~20190702-0.1+0~20190710.3+debian9~1.gbp2fb167) ...

+Unpacking libargon2-1:amd64 (0~20190702-0.1+0~20190710.3+debian9~1.gbp2fb167) ...

+Preparing to unpack .../libargon2-1_0~20190702-0.1+0~20190710.3+debian9~1.gbp2fb167_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69855 files and directories currently installed.)

+Selecting previously unselected package libargon2-1:amd64.

+Creating config file /etc/php/7.4/mods-available/readline.ini with new version

+

+Setting up php7.4-readline (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-readline (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../php7.4-readline_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69846 files and directories currently installed.)

+Selecting previously unselected package php7.4-readline.

+Creating config file /etc/php/7.4/mods-available/opcache.ini with new version

+

+Setting up php7.4-opcache (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-opcache (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../php7.4-opcache_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69837 files and directories currently installed.)

+Selecting previously unselected package php7.4-opcache.

+Creating config file /etc/php/7.4/mods-available/json.ini with new version

+

+Setting up php7.4-json (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-json (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../php7.4-json_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69828 files and directories currently installed.)

+Selecting previously unselected package php7.4-json.

+Setting up php-mysql (2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5) ...

+Unpacking php-mysql (2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5) over (1:7.0+49) ...

+Preparing to unpack .../php-mysql_2%3a7.4+75+0~20200327.22+debian9~1.gbp7ccdd5_all.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69828 files and directories currently installed.)

+Creating config file /etc/php/7.4/mods-available/pdo_mysql.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/mysqli.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/mysqlnd.ini with new version

+

+Setting up php7.4-mysql (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-mysql (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../php7.4-mysql_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69815 files and directories currently installed.)

+Selecting previously unselected package php7.4-mysql.

+Creating config file /etc/php/7.4/mods-available/tokenizer.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/sysvshm.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/sysvsem.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/sysvmsg.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/sockets.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/shmop.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/posix.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/phar.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/pdo.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/iconv.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/gettext.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/ftp.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/ffi.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/fileinfo.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/exif.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/ctype.ini with new version

+

+Creating config file /etc/php/7.4/mods-available/calendar.ini with new version

+

+Setting up php7.4-common (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Unpacking php7.4-common (7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20) ...

+Preparing to unpack .../5-php7.4-common_7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20_amd64.deb ...

+Selecting previously unselected package php7.4-common.

+Unpacking php7.0-common (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../4-php7.0-common_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-curl (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../3-php7.0-curl_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-fpm (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../2-php7.0-fpm_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-cli (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../1-php7.0-cli_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-gd (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../0-php7.0-gd_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69759 files and directories currently installed.)

+Setting up libgd3:amd64 (2.2.5-5.2+0~20190808.4+debian9~1.gbp6d9343) ...

+Unpacking libgd3:amd64 (2.2.5-5.2+0~20190808.4+debian9~1.gbp6d9343) over (2.2.4-2+deb9u5) ...

+Preparing to unpack .../11-libgd3_2.2.5-5.2+0~20190808.4+debian9~1.gbp6d9343_amd64.deb ...

+Unpacking php7.0-intl (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../10-php7.0-intl_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-json (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../09-php7.0-json_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-ldap (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../08-php7.0-ldap_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-mbstring (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../07-php7.0-mbstring_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-mcrypt (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../06-php7.0-mcrypt_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-mysql (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../05-php7.0-mysql_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-opcache (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../04-php7.0-opcache_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-readline (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../03-php7.0-readline_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking php7.0-tidy (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../02-php7.0-tidy_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking libtidy5deb1 (2:5.6.0-6+0~20190131091406.8+stretch~1.gbpe69a48) ...

+Preparing to unpack .../01-libtidy5deb1_2%3a5.6.0-6+0~20190131091406.8+stretch~1.gbpe69a48_amd64.deb ...

+Selecting previously unselected package libtidy5deb1.

+Unpacking php7.0-xml (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../00-php7.0-xml_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69753 files and directories currently installed.)

+Setting up libxml2:amd64 (2.9.9+dfsg-1+0~20200226.5+debian9~1.gbp3b6674) ...

+Unpacking libxml2:amd64 (2.9.9+dfsg-1+0~20200226.5+debian9~1.gbp3b6674) over (2.9.4+dfsg1-2.2+deb9u2) ...

+Preparing to unpack .../libxml2_2.9.9+dfsg-1+0~20200226.5+debian9~1.gbp3b6674_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69754 files and directories currently installed.)

+Setting up libicu65:amd64 (65.1-1+0~20200223.8+debian9~1.gbp519cf3) ...

+Unpacking libicu65:amd64 (65.1-1+0~20200223.8+debian9~1.gbp519cf3) ...

+Preparing to unpack .../libicu65_65.1-1+0~20200223.8+debian9~1.gbp519cf3_amd64.deb ...

+Selecting previously unselected package libicu65:amd64.

+Unpacking php7.0-zip (7.0.33-26+0~20200320.33+debian9~1.gbp746b8e) over (7.0.33-0+deb9u7) ...

+Preparing to unpack .../php7.0-zip_7.0.33-26+0~20200320.33+debian9~1.gbp746b8e_amd64.deb ...

+Unpacking libzip4:amd64 (1.5.1-4+0~20190318173229.9+stretch~1.gbp333132) over (1.1.2-1.1+b1) ...

+Preparing to unpack .../libzip4_1.5.1-4+0~20190318173229.9+stretch~1.gbp333132_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69738 files and directories currently installed.)

+Setting up libssl1.1:amd64 (1.1.1d-1+0~20191009.15+debian9~1.gbpd6badf) ...

+Unpacking libssl1.1:amd64 (1.1.1d-1+0~20191009.15+debian9~1.gbpd6badf) over (1.1.0l-1~deb9u1) ...

+Preparing to unpack .../libssl1.1_1.1.1d-1+0~20191009.15+debian9~1.gbpd6badf_amd64.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69737 files and directories currently installed.)

+Setting up php-common (2:75+0~20200327.22+debian9~1.gbp7ccdd5) ...

+Unpacking php-common (2:75+0~20200327.22+debian9~1.gbp7ccdd5) over (2:73+0~20200221.21+debian9~1.gbp29416a) ...

+Preparing to unpack .../php-common_2%3a75+0~20200327.22+debian9~1.gbp7ccdd5_all.deb ...

+(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69737 files and directories currently installed.)

+Fetched 22.6 MB in 15s (1,472 kB/s)

Extracting templates from packages: 48% Extracting templates from packages: 96% Extracting templates from packages: 100%

+Preconfiguring packages ...

+Get:60 https://packages.sury.org/php stretch/main amd64 python3-httplib2 all 0.11.3-1+0~20190212170628.3+stretch~1.gbp2efb8a [29.0 kB]

+Get:59 https://packages.sury.org/php stretch/main amd64 php-zip all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,356 B]

+Get:58 https://packages.sury.org/php stretch/main amd64 php7.4-zip amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [20.3 kB]

+Get:57 https://packages.sury.org/php stretch/main amd64 php-tidy all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,356 B]

+Get:56 https://packages.sury.org/php stretch/main amd64 php7.4-tidy amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [16.2 kB]

+Get:55 https://packages.sury.org/php stretch/main amd64 php-pear all 1:1.10.9+submodules+notgz-1+0~20191119.13+debian9~1.gbp296d25 [287 kB]

+Get:54 https://packages.sury.org/php stretch/main amd64 php-xml all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,380 B]

+Get:53 https://packages.sury.org/php stretch/main amd64 php7.4-xml amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [93.0 kB]

+Get:52 https://packages.sury.org/php stretch/main amd64 php-mbstring all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,370 B]

+Get:51 https://packages.sury.org/php stretch/main amd64 php7.4-mbstring amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [394 kB]

+Get:50 https://packages.sury.org/php stretch/main amd64 php-gd all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,358 B]

+Get:49 https://packages.sury.org/php stretch/main amd64 php7.4-gd amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [26.9 kB]

+Get:48 https://packages.sury.org/php stretch/main amd64 php-curl all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,358 B]

+Get:47 https://packages.sury.org/php stretch/main amd64 php7.4-curl amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [28.9 kB]

+Get:46 https://packages.sury.org/php stretch/main amd64 libtidy5 amd64 1:5.2.0-2+0~20180714172546.1+stretch~1.gbpc7c60a [177 kB]

+Get:45 https://packages.sury.org/php stretch/main amd64 libpcrecpp0v5 amd64 2:8.43-1+0~20190710.6+debian9~1.gbpbfc49f [155 kB]

+Get:44 https://packages.sury.org/php stretch/main amd64 libidn2-0 amd64 2.2.0-2+0~20200302.4+debian9~1.gbpf85c2e [128 kB]

+Get:43 https://packages.sury.org/php stretch/main amd64 php-redis amd64 5.2.1+4.3.0-1+0~20200321.20+debian9~1.gbp9fe0ce [441 kB]

+Get:42 https://packages.sury.org/php stretch/main amd64 php-imagick amd64 3.4.4-4+0~20200302.14+debian9~1.gbp2925ae [277 kB]

+Get:41 https://packages.sury.org/php stretch/main amd64 php-igbinary amd64 3.1.2+2.0.8-1+0~20200225.15+debian9~1.gbp1a098b [154 kB]

+Get:40 https://packages.sury.org/php stretch/main amd64 php-apcu-bc amd64 1.0.5-1+0~20191128.11+debian9~1.gbp90a6a0 [11.7 kB]

+Get:39 https://packages.sury.org/php stretch/main amd64 php-apcu amd64 5.1.18+4.0.11-1+0~20191219.13+debian9~1.gbpa99079 [103 kB]

+Get:38 https://packages.sury.org/php stretch/main amd64 openssl amd64 1.1.1d-1+0~20191009.15+debian9~1.gbpd6badf [833 kB]

+Get:37 https://packages.sury.org/php stretch/main amd64 php-intl all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,368 B]

+Get:36 https://packages.sury.org/php stretch/main amd64 php7.4-intl amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [122 kB]

+Get:35 https://packages.sury.org/php stretch/main amd64 php-ldap all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,358 B]

+Get:34 https://packages.sury.org/php stretch/main amd64 php7.4-ldap amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [28.2 kB]

+Get:33 https://packages.sury.org/php stretch/main amd64 php-fpm all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,416 B]

+Get:32 https://packages.sury.org/php stretch/main amd64 php7.4-fpm amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [1,399 kB]

+Get:31 https://packages.sury.org/php stretch/main amd64 php7.4-cli amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [1,386 kB]

+Get:30 https://packages.sury.org/php stretch/main amd64 libpcre2-8-0 amd64 10.34-7+0~20191219.5+debian9~1.gbp555bb9 [228 kB]

+Get:29 https://packages.sury.org/php stretch/main amd64 php7.4-readline amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [11.9 kB]

+Get:28 https://packages.sury.org/php stretch/main amd64 php7.4-opcache amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [191 kB]

+Get:27 https://packages.sury.org/php stretch/main amd64 php7.4-json amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [18.4 kB]

+Get:26 https://packages.sury.org/php stretch/main amd64 php-mysql all 2:7.4+75+0~20200327.22+debian9~1.gbp7ccdd5 [6,360 B]

+Get:25 https://packages.sury.org/php stretch/main amd64 php7.4-mysql amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [117 kB]

+Get:24 https://packages.sury.org/php stretch/main amd64 php7.4-common amd64 7.4.4-1+0~20200320.15+debian9~1.gbpf8dc20 [624 kB]

+Get:23 https://packages.sury.org/php stretch/main amd64 php7.0-common amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [540 kB]

+Get:22 https://packages.sury.org/php stretch/main amd64 php7.0-curl amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [27.3 kB]

+Get:21 https://packages.sury.org/php stretch/main amd64 php7.0-fpm amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [1,291 kB]

+Get:20 https://packages.sury.org/php stretch/main amd64 php7.0-cli amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [1,284 kB]

+Get:19 https://packages.sury.org/php stretch/main amd64 php7.0-gd amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [27.2 kB]

+Get:18 https://packages.sury.org/php stretch/main amd64 libgd3 amd64 2.2.5-5.2+0~20190808.4+debian9~1.gbp6d9343 [135 kB]

+Get:17 https://packages.sury.org/php stretch/main amd64 php7.0-intl amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [125 kB]

+Get:16 https://packages.sury.org/php stretch/main amd64 php7.0-json amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [17.1 kB]

+Get:15 https://packages.sury.org/php stretch/main amd64 php7.0-ldap amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [21.2 kB]

+Get:14 https://packages.sury.org/php stretch/main amd64 php7.0-mbstring amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [467 kB]

+Get:13 https://packages.sury.org/php stretch/main amd64 php7.0-mcrypt amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [14.4 kB]

+Get:12 https://packages.sury.org/php stretch/main amd64 php7.0-mysql amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [124 kB]

+Get:11 https://packages.sury.org/php stretch/main amd64 php7.0-opcache amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [77.6 kB]

+Get:10 https://packages.sury.org/php stretch/main amd64 php7.0-readline amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [12.3 kB]

+Get:9 https://packages.sury.org/php stretch/main amd64 php7.0-tidy amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [16.4 kB]

+Get:8 https://packages.sury.org/php stretch/main amd64 libtidy5deb1 amd64 2:5.6.0-6+0~20190131091406.8+stretch~1.gbpe69a48 [208 kB]

+Get:7 https://packages.sury.org/php stretch/main amd64 php7.0-xml amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [113 kB]

+Get:6 https://packages.sury.org/php stretch/main amd64 libxml2 amd64 2.9.9+dfsg-1+0~20200226.5+debian9~1.gbp3b6674 [708 kB]

+Get:5 https://packages.sury.org/php stretch/main amd64 libicu65 amd64 65.1-1+0~20200223.8+debian9~1.gbp519cf3 [8,462 kB]

+Get:4 https://packages.sury.org/php stretch/main amd64 php7.0-zip amd64 7.0.33-26+0~20200320.33+debian9~1.gbp746b8e [20.1 kB]

+Get:3 https://packages.sury.org/php stretch/main amd64 libzip4 amd64 1.5.1-4+0~20190318173229.9+stretch~1.gbp333132 [51.1 kB]

+Get:2 https://packages.sury.org/php stretch/main amd64 libssl1.1 amd64 1.1.1d-1+0~20191009.15+debian9~1.gbpd6badf [1,529 kB]

+Get:1 https://packages.sury.org/php stretch/main amd64 php-common all 2:75+0~20200327.22+debian9~1.gbp7ccdd5 [15.6 kB]

+After this operation, 63.1 MB of additional disk space will be used.

+Need to get 22.6 MB/22.8 MB of archives.

+1 not fully installed or removed.

+42 upgraded, 20 newly installed, 0 to remove and 3 not upgraded.

+ php7.0-zip python3-httplib2

+ php7.0-mysql php7.0-opcache php7.0-readline php7.0-tidy php7.0-xml

+ php7.0-gd php7.0-intl php7.0-json php7.0-ldap php7.0-mbstring php7.0-mcrypt

+ php-tidy php-xml php-zip php7.0-cli php7.0-common php7.0-curl php7.0-fpm

+ php-imagick php-intl php-ldap php-mbstring php-mysql php-pear php-redis

+ php-apcu php-apcu-bc php-common php-curl php-fpm php-gd php-igbinary

+ libgd3 libidn2-0 libpcrecpp0v5 libssl1.1 libtidy5 libxml2 libzip4 openssl

+The following packages will be upgraded:

+ moulinette ssowat yunohost-admin

+The following packages have been kept back:

+ php7.4-tidy php7.4-xml php7.4-zip

+ php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline

+ php7.4-common php7.4-curl php7.4-fpm php7.4-gd php7.4-intl php7.4-json

+ libargon2-1 libicu65 libpcre2-8-0 libsodium23 libtidy5deb1 php7.4-cli

+The following NEW packages will be installed:

+Use 'apt autoremove' to remove them.

+ libtidy5 sgml-base xml-core

+The following packages were automatically installed and are no longer required:

+Calculating upgrade...

+Reading state information...

+Building dependency tree...

+Reading package lists...

Now upgrading 'regular' (non-yunohost-related) packages ...

Before trying to upgrade Nextcloud or during its upgrade ?

I went to the System Update first, I didn’t even get so far as figuring out NextClouds if it’s seperate :frowning:

It does say in the logs “now updating regular (nonyunohost)” apps before it fails

Ok, that’s a relief.

You did encounter the common shit storm about php and not so reliable apps.
I dug into the forum, but looks like no one ever wrote down a complete process to fix it.

Anyway, we’re going to try to set one, as I feel you’re not the last one with that problem…

You’re going to have to go to the command line, and to run those commands:

sudo update-alternatives --config php7.0

To set php7.0 as your default version

sudo apt remove php7.4*

To remove all the shit about that unwanted version of php. (Have a look first to what’s going to be removed, just to be sure there’s nothing bad)

ls /etc/apt/sources.list.d/

And remove all files about php or sury in this directory.
Then run this:

sudo apt update
sudo apt upgrade --dry-run

And give us here the result of that last command.

sudo update-alternatives --config php7.0

sudo update-alternatives --config php7.0 update-alternatives: error: no alternatives for php7.0

sudo apt remove php7.4*

This is long

 sudo apt remove php7.4*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php7.4-snmp-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-ds' for glob 'php7.4*'
Note, selecting 'php7.4-bz2' for glob 'php7.4*'
Note, selecting 'php7.4-gd' for glob 'php7.4*'
Note, selecting 'php7.4-json-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-cgi' for glob 'php7.4*'
Note, selecting 'php7.4-cli' for glob 'php7.4*'
Note, selecting 'php7.4-uuid' for glob 'php7.4*'
Note, selecting 'php7.4-pdo-odbc' for glob 'php7.4*'
Note, selecting 'php7.4-dba' for glob 'php7.4*'
Note, selecting 'php7.4-dbg' for glob 'php7.4*'
Note, selecting 'php7.4-dev' for glob 'php7.4*'
Note, selecting 'php7.4-bz2-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-dom' for glob 'php7.4*'
Note, selecting 'php7.4-dba-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-tidy' for glob 'php7.4*'
Note, selecting 'php7.4-odbc-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-bcmath-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-ffi' for glob 'php7.4*'
Note, selecting 'php7.4-pcov' for glob 'php7.4*'
Note, selecting 'php7.4-fpm' for glob 'php7.4*'
Note, selecting 'php7.4-ftp' for glob 'php7.4*'
Note, selecting 'php7.4-xmlreader' for glob 'php7.4*'
Note, selecting 'php7.4-gmp' for glob 'php7.4*'
Note, selecting 'php7.4-mysqli' for glob 'php7.4*'
Note, selecting 'php7.4-imagick' for glob 'php7.4*'
Note, selecting 'php7.4-sybase' for glob 'php7.4*'
Note, selecting 'php7.4-sysvmsg' for glob 'php7.4*'
Note, selecting 'php7.4-mongodb' for glob 'php7.4*'
Note, selecting 'php7.4-json' for glob 'php7.4*'
Note, selecting 'php7.4-xml-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-gd-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-phar' for glob 'php7.4*'
Note, selecting 'php7.4-tokenizer' for glob 'php7.4*'
Note, selecting 'php7.4-igbinary' for glob 'php7.4*'
Note, selecting 'php7.4-pgsql' for glob 'php7.4*'
Note, selecting 'php7.4-lua' for glob 'php7.4*'
Note, selecting 'php7.4-fpm-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-curl' for glob 'php7.4*'
Note, selecting 'php7.4-phpdbg' for glob 'php7.4*'
Note, selecting 'php7.4-memcache' for glob 'php7.4*'
Note, selecting 'php7.4' for glob 'php7.4*'
Note, selecting 'php7.4-interbase' for glob 'php7.4*'
Note, selecting 'php7.4-shmop' for glob 'php7.4*'
Note, selecting 'php7.4-mbstring-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-ldap' for glob 'php7.4*'
Note, selecting 'php7.4-curl-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-radius' for glob 'php7.4*'
Note, selecting 'php7.4-pdo-mysql' for glob 'php7.4*'
Note, selecting 'php7.4-sysvsem' for glob 'php7.4*'
Note, selecting 'php7.4-sysvshm' for glob 'php7.4*'
Note, selecting 'php7.4-apcu-bc' for glob 'php7.4*'
Note, selecting 'php7.4-phpdbg-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-uploadprogress' for glob 'php7.4*'
Note, selecting 'php7.4-pdo' for glob 'php7.4*'
Note, selecting 'php7.4-psr' for glob 'php7.4*'
Note, selecting 'php7.4-imap' for glob 'php7.4*'
Note, selecting 'php7.4-sockets' for glob 'php7.4*'
Note, selecting 'php7.4-ctype' for glob 'php7.4*'
Note, selecting 'php7.4-calendar' for glob 'php7.4*'
Note, selecting 'php7.4-intl' for glob 'php7.4*'
Note, selecting 'php7.4-rrd' for glob 'php7.4*'
Note, selecting 'php7.4-pspell-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-fileinfo' for glob 'php7.4*'
Note, selecting 'php7.4-geoip' for glob 'php7.4*'
Note, selecting 'php7.4-sqlite3' for glob 'php7.4*'
Note, selecting 'php7.4-common-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-odbc' for glob 'php7.4*'
Note, selecting 'php7.4-pdo-dblib' for glob 'php7.4*'
Note, selecting 'php7.4-xmlrpc' for glob 'php7.4*'
Note, selecting 'php7.4-redis' for glob 'php7.4*'
Note, selecting 'php7.4-tidy-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-yaml' for glob 'php7.4*'
Note, selecting 'php7.4-opcache' for glob 'php7.4*'
Note, selecting 'php7.4-xmlrpc-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-snmp' for glob 'php7.4*'
Note, selecting 'php7.4-soap' for glob 'php7.4*'
Note, selecting 'php7.4-xml' for glob 'php7.4*'
Note, selecting 'php7.4-solr' for glob 'php7.4*'
Note, selecting 'php7.4-xsl' for glob 'php7.4*'
Note, selecting 'php7.4-yac' for glob 'php7.4*'
Note, selecting 'php7.4-oauth' for glob 'php7.4*'
Note, selecting 'php7.4-zip-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-zip' for glob 'php7.4*'
Note, selecting 'php7.4-zmq' for glob 'php7.4*'
Note, selecting 'php7.4-msgpack' for glob 'php7.4*'
Note, selecting 'php7.4-simplexml' for glob 'php7.4*'
Note, selecting 'php7.4-gearman' for glob 'php7.4*'
Note, selecting 'php7.4-ssh2' for glob 'php7.4*'
Note, selecting 'php7.4-pspell' for glob 'php7.4*'
Note, selecting 'php7.4-mysql' for glob 'php7.4*'
Note, selecting 'php7.4-recode' for glob 'php7.4*'
Note, selecting 'php7.4-intl-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-propro' for glob 'php7.4*'
Note, selecting 'php7.4-gmp-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-mbstring' for glob 'php7.4*'
Note, selecting 'php7.4-pgsql-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-readline' for glob 'php7.4*'
Note, selecting 'php7.4-amqp' for glob 'php7.4*'
Note, selecting 'php7.4-pdo-firebird' for glob 'php7.4*'
Note, selecting 'php7.4-imap-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-apcu' for glob 'php7.4*'
Note, selecting 'php7.4-exif' for glob 'php7.4*'
Note, selecting 'php7.4-smbclient' for glob 'php7.4*'
Note, selecting 'php7.4-xdebug' for glob 'php7.4*'
Note, selecting 'php7.4-cgi-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-memcached' for glob 'php7.4*'
Note, selecting 'php7.4-mysqlnd' for glob 'php7.4*'
Note, selecting 'php7.4-mysql-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-http' for glob 'php7.4*'
Note, selecting 'php7.4-sqlite3-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-pdo-sqlite' for glob 'php7.4*'
Note, selecting 'php7.4-ldap-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-common' for glob 'php7.4*'
Note, selecting 'php7.4-stomp' for glob 'php7.4*'
Note, selecting 'php7.4-enchant-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-raphf' for glob 'php7.4*'
Note, selecting 'php7.4-bcmath' for glob 'php7.4*'
Note, selecting 'php7.4-soap-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-mailparse' for glob 'php7.4*'
Note, selecting 'php7.4-tideways' for glob 'php7.4*'
Note, selecting 'php7.4-readline-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-pdo-pgsql' for glob 'php7.4*'
Note, selecting 'php7.4-posix' for glob 'php7.4*'
Note, selecting 'php7.4-iconv' for glob 'php7.4*'
Note, selecting 'php7.4-sybase-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-cli-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-gmagick' for glob 'php7.4*'
Note, selecting 'php7.4-enchant' for glob 'php7.4*'
Note, selecting 'php7.4-phalcon4' for glob 'php7.4*'
Note, selecting 'php7.4-opcache-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-interbase-dbgsym' for glob 'php7.4*'
Note, selecting 'php7.4-gettext' for glob 'php7.4*'
Note, selecting 'php7.4-xmlwriter' for glob 'php7.4*'
Package 'php7.4-dbg' is not installed, so not removed
Note, selecting 'php-amqp' instead of 'php7.4-amqp'
Note, selecting 'php-apcu' instead of 'php7.4-apcu'
Note, selecting 'php-apcu-bc' instead of 'php7.4-apcu-bc'
Note, selecting 'php-ds' instead of 'php7.4-ds'
Note, selecting 'php-gearman' instead of 'php7.4-gearman'
Note, selecting 'php-geoip' instead of 'php7.4-geoip'
Note, selecting 'php-gmagick' instead of 'php7.4-gmagick'
Note, selecting 'php-http' instead of 'php7.4-http'
Note, selecting 'php-igbinary' instead of 'php7.4-igbinary'
Note, selecting 'php-imagick' instead of 'php7.4-imagick'
Note, selecting 'php-lua' instead of 'php7.4-lua'
Note, selecting 'php-mailparse' instead of 'php7.4-mailparse'
Note, selecting 'php-memcache' instead of 'php7.4-memcache'
Note, selecting 'php-memcached' instead of 'php7.4-memcached'
Note, selecting 'php-mongodb' instead of 'php7.4-mongodb'
Note, selecting 'php-msgpack' instead of 'php7.4-msgpack'
Note, selecting 'php-oauth' instead of 'php7.4-oauth'
Note, selecting 'php-pcov' instead of 'php7.4-pcov'
Note, selecting 'php-phalcon4' instead of 'php7.4-phalcon4'
Note, selecting 'php-propro' instead of 'php7.4-propro'
Note, selecting 'php-psr' instead of 'php7.4-psr'
Note, selecting 'php-radius' instead of 'php7.4-radius'
Note, selecting 'php-raphf' instead of 'php7.4-raphf'
Package 'php7.4-recode' is not installed, so not removed
Note, selecting 'php-redis' instead of 'php7.4-redis'
Note, selecting 'php-rrd' instead of 'php7.4-rrd'
Note, selecting 'php-smbclient' instead of 'php7.4-smbclient'
Note, selecting 'php-solr' instead of 'php7.4-solr'
Note, selecting 'php-ssh2' instead of 'php7.4-ssh2'
Note, selecting 'php-stomp' instead of 'php7.4-stomp'
Note, selecting 'php-tideways' instead of 'php7.4-tideways'
Note, selecting 'php-uploadprogress' instead of 'php7.4-uploadprogress'
Note, selecting 'php-uuid' instead of 'php7.4-uuid'
Note, selecting 'php-xdebug' instead of 'php7.4-xdebug'
Note, selecting 'php-yac' instead of 'php7.4-yac'
Note, selecting 'php-yaml' instead of 'php7.4-yaml'
Note, selecting 'php-zmq' instead of 'php7.4-zmq'
Note, selecting 'php7.4-common' instead of 'php7.4-calendar'
Note, selecting 'php7.4-common' instead of 'php7.4-ctype'
Note, selecting 'php7.4-common' instead of 'php7.4-exif'
Note, selecting 'php7.4-common' instead of 'php7.4-ffi'
Note, selecting 'php7.4-common' instead of 'php7.4-fileinfo'
Note, selecting 'php7.4-common' instead of 'php7.4-ftp'
Note, selecting 'php7.4-common' instead of 'php7.4-gettext'
Note, selecting 'php7.4-common' instead of 'php7.4-iconv'
Note, selecting 'php7.4-common' instead of 'php7.4-pdo'
Note, selecting 'php7.4-common' instead of 'php7.4-phar'
Note, selecting 'php7.4-common' instead of 'php7.4-posix'
Note, selecting 'php7.4-common' instead of 'php7.4-shmop'
Note, selecting 'php7.4-common' instead of 'php7.4-sockets'
Note, selecting 'php7.4-common' instead of 'php7.4-sysvmsg'
Note, selecting 'php7.4-common' instead of 'php7.4-sysvsem'
Note, selecting 'php7.4-common' instead of 'php7.4-sysvshm'
Note, selecting 'php7.4-common' instead of 'php7.4-tokenizer'
Note, selecting 'php7.4-interbase' instead of 'php7.4-pdo-firebird'
Note, selecting 'php7.4-mysql' instead of 'php7.4-mysqli'
Note, selecting 'php7.4-mysql' instead of 'php7.4-mysqlnd'
Note, selecting 'php7.4-mysql' instead of 'php7.4-pdo-mysql'
Note, selecting 'php7.4-odbc' instead of 'php7.4-pdo-odbc'
Note, selecting 'php7.4-pgsql' instead of 'php7.4-pdo-pgsql'
Note, selecting 'php7.4-sqlite3' instead of 'php7.4-pdo-sqlite'
Note, selecting 'php7.4-sybase' instead of 'php7.4-pdo-dblib'
Note, selecting 'php7.4-xml' instead of 'php7.4-dom'
Note, selecting 'php7.4-xml' instead of 'php7.4-simplexml'
Note, selecting 'php7.4-xml' instead of 'php7.4-xmlreader'
Note, selecting 'php7.4-xml' instead of 'php7.4-xmlwriter'
Package 'php7.4' is not installed, so not removed
Package 'php7.4-bcmath' is not installed, so not removed
Package 'php7.4-bcmath-dbgsym' is not installed, so not removed
Package 'php7.4-bz2' is not installed, so not removed
Package 'php7.4-bz2-dbgsym' is not installed, so not removed
Package 'php7.4-cgi' is not installed, so not removed
Package 'php7.4-cgi-dbgsym' is not installed, so not removed
Package 'php7.4-cli-dbgsym' is not installed, so not removed
Package 'php7.4-common-dbgsym' is not installed, so not removed
Package 'php7.4-curl' is not installed, so not removed
Package 'php7.4-curl-dbgsym' is not installed, so not removed
Package 'php7.4-dba' is not installed, so not removed
Package 'php7.4-dba-dbgsym' is not installed, so not removed
Package 'php7.4-dev' is not installed, so not removed
Package 'php7.4-enchant' is not installed, so not removed
Package 'php7.4-enchant-dbgsym' is not installed, so not removed
Package 'php7.4-fpm-dbgsym' is not installed, so not removed
Package 'php7.4-gd' is not installed, so not removed
Package 'php7.4-gd-dbgsym' is not installed, so not removed
Package 'php7.4-gmp' is not installed, so not removed
Package 'php7.4-gmp-dbgsym' is not installed, so not removed
Package 'php7.4-imap' is not installed, so not removed
Package 'php7.4-imap-dbgsym' is not installed, so not removed
Package 'php7.4-interbase' is not installed, so not removed
Package 'php7.4-interbase-dbgsym' is not installed, so not removed
Package 'php7.4-intl-dbgsym' is not installed, so not removed
Package 'php7.4-json-dbgsym' is not installed, so not removed
Package 'php7.4-ldap-dbgsym' is not installed, so not removed
Package 'php7.4-mbstring' is not installed, so not removed
Package 'php7.4-mbstring-dbgsym' is not installed, so not removed
Package 'php7.4-mysql-dbgsym' is not installed, so not removed
Package 'php7.4-odbc' is not installed, so not removed
Package 'php7.4-odbc-dbgsym' is not installed, so not removed
Package 'php7.4-opcache-dbgsym' is not installed, so not removed
Package 'php7.4-pgsql' is not installed, so not removed
Package 'php7.4-pgsql-dbgsym' is not installed, so not removed
Package 'php7.4-phpdbg' is not installed, so not removed
Package 'php7.4-phpdbg-dbgsym' is not installed, so not removed
Package 'php7.4-pspell' is not installed, so not removed
Package 'php7.4-pspell-dbgsym' is not installed, so not removed
Package 'php7.4-readline-dbgsym' is not installed, so not removed
Package 'php7.4-snmp' is not installed, so not removed
Package 'php7.4-snmp-dbgsym' is not installed, so not removed
Package 'php7.4-soap' is not installed, so not removed
Package 'php7.4-soap-dbgsym' is not installed, so not removed
Package 'php7.4-sqlite3' is not installed, so not removed
Package 'php7.4-sqlite3-dbgsym' is not installed, so not removed
Package 'php7.4-sybase' is not installed, so not removed
Package 'php7.4-sybase-dbgsym' is not installed, so not removed
Package 'php7.4-tidy' is not installed, so not removed
Package 'php7.4-tidy-dbgsym' is not installed, so not removed
Package 'php7.4-xml' is not installed, so not removed
Package 'php7.4-xml-dbgsym' is not installed, so not removed
Package 'php7.4-xmlrpc' is not installed, so not removed
Package 'php7.4-xmlrpc-dbgsym' is not installed, so not removed
Package 'php7.4-xsl' is not installed, so not removed
Package 'php7.4-zip' is not installed, so not removed
Package 'php7.4-zip-dbgsym' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libargon2-1 libpcre2-8-0 libsodium23 libtidy5 libtidy5deb1 php-tidy php7.0-tidy sgml-base xml-core
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  php-fpm php-intl php-ldap php-mysql php7.4-cli php7.4-common php7.4-fpm php7.4-intl php7.4-json php7.4-ldap
  php7.4-mysql php7.4-opcache php7.4-readline wallabag2-ynh-deps
0 upgraded, 0 newly installed, 14 to remove and 19 not upgraded.
19 not fully installed or removed.
After this operation, 18.4 MB disk space will be freed.
Do you want to continue? [Y/n] y
Setting up yunohost (3.7.0.8) ...
Regenerating configuration, this might take a while...
Error: An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.
dpkg: error processing package yunohost (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 yunohost
E: Sub-process /usr/bin/dpkg returned an error code (1)          

Here’s the /var/…yunohost-cli.log

2020-03-26 12:06:25,858 DEBUG    moulinette.core release - lock has been released
2020-03-27 02:04:20,445 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 02:04:20,466 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 02:04:20,466 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 02:04:20,468 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 02:04:20,557 DEBUG    moulinette.actionsmap process - loading python module yunohost.user took 0.005s
2020-03-27 02:04:20,558 INFO     moulinette.actionsmap process - processing action [16569.1]: yunohost.user.info with args={'username': 'briwats'}
2020-03-27 02:04:20,572 DEBUG    moulinette.authenticator.ldap __init__ - initialize authenticator 'as-root' with: uri='ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi', base_dn='dc=yunohost,dc=org', user_rdn='gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth'
2020-03-27 02:04:20,644 DEBUG    moulinette.actionsmap process - action [16569.1] executed in 0.086s
2020-03-27 02:04:20,992 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 02:04:21,013 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 02:04:21,014 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 02:04:21,015 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 02:04:21,133 DEBUG    moulinette.actionsmap process - loading python module yunohost.app took 0.033s
2020-03-27 02:04:21,133 INFO     moulinette.actionsmap process - processing action [16581.1]: yunohost.app.register-url with args={'path': '/drupal', 'app': 'drupal', 'domain': 'blog.brimstor.me'}
2020-03-27 02:04:21,193 DEBUG    yunohost.app _get_app_status - [16581.1] status file not found for 'drupal'
Traceback (most recent call last):
  File "/usr/lib/moulinette/yunohost/app.py", line 1983, in _get_app_status
    with open(app_setting_path + '/status.json') as f:
IOError: [Errno 2] No such file or directory: u'/etc/yunohost/apps/drupal/status.json'
2020-03-27 02:04:21,206 DEBUG    yunohost.app app_setting - [16581.1] cannot get app setting 'update_time' for 'drupal' ('update_time')
2020-03-27 02:04:21,229 DEBUG    moulinette.authenticator.ldap __init__ - initialize authenticator 'as-root' with: uri='ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi', base_dn='dc=yunohost,dc=org', user_rdn='gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth'
2020-03-27 02:04:21,288 DEBUG    moulinette.actionsmap process - action [16581.1] executed in 0.154s
2020-03-27 02:04:53,731 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 02:04:53,752 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 02:04:53,753 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 02:04:53,754 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 02:04:53,840 DEBUG    moulinette.actionsmap process - loading python module yunohost.service took 0.002s
2020-03-27 02:04:53,840 INFO     moulinette.actionsmap process - processing action [18897.1]: yunohost.service.remove with args={'name': 'php7.2-fpm'}
2020-03-27 02:04:53,855 DEBUG    moulinette.actionsmap process - action [18897.1] executed in 0.014s
2020-03-27 02:04:53,855 ERROR    yunohost cli - Unknown service 'php7.2-fpm'
2020-03-27 06:25:16,422 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 06:25:16,443 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 06:25:16,443 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 06:25:16,445 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 06:25:16,527 DEBUG    moulinette.core acquire - lock has been acquired
2020-03-27 06:25:16,587 DEBUG    moulinette.actionsmap process - loading python module yunohost.domain took 0.060s
2020-03-27 06:25:16,587 INFO     moulinette.actionsmap process - processing action [28301.1]: yunohost.domain.cert-renew with args={'no_checks': False, 'force': False, 'domain_list': [], 'staging': False, 'email': True}
2020-03-27 06:25:16,603 DEBUG    moulinette.authenticator.ldap __init__ - initialize authenticator 'as-root' with: uri='ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi', base_dn='dc=yunohost,dc=org', user_rdn='gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth'
2020-03-27 06:25:17,210 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): ip.yunohost.org
2020-03-27 06:25:17,785 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 13
2020-03-27 06:25:17,947 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTP connection (1): 45.16.200.122
2020-03-27 06:25:17,963 DEBUG    requests.packages.urllib3.connectionpool _make_request - http://45.16.200.122:80 "HEAD / HTTP/1.1" 302 0
2020-03-27 06:25:17,970 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): ip.yunohost.org
2020-03-27 06:25:18,434 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 13
2020-03-27 06:25:18,564 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTP connection (1): 45.16.200.122
2020-03-27 06:25:18,580 DEBUG    requests.packages.urllib3.connectionpool _make_request - http://45.16.200.122:80 "HEAD / HTTP/1.1" 302 0
2020-03-27 06:25:18,587 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): ip.yunohost.org
2020-03-27 06:25:19,081 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 13
2020-03-27 06:25:19,219 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTP connection (1): 45.16.200.122
2020-03-27 06:25:19,241 DEBUG    requests.packages.urllib3.connectionpool _make_request - http://45.16.200.122:80 "HEAD / HTTP/1.1" 302 0
2020-03-27 06:25:19,248 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): ip.yunohost.org
2020-03-27 06:25:19,743 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 13
2020-03-27 06:25:19,875 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTP connection (1): 45.16.200.122
2020-03-27 06:25:19,893 DEBUG    requests.packages.urllib3.connectionpool _make_request - http://45.16.200.122:80 "HEAD / HTTP/1.1" 302 0
2020-03-27 06:25:19,899 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): ip.yunohost.org
2020-03-27 06:25:20,400 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 13
2020-03-27 06:25:20,533 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTP connection (1): 45.16.200.122
2020-03-27 06:25:20,550 DEBUG    requests.packages.urllib3.connectionpool _make_request - http://45.16.200.122:80 "HEAD / HTTP/1.1" 302 0
2020-03-27 06:25:20,556 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): ip.yunohost.org
2020-03-27 06:25:21,050 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 13
2020-03-27 06:25:21,181 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTP connection (1): 45.16.200.122
2020-03-27 06:25:21,208 DEBUG    requests.packages.urllib3.connectionpool _make_request - http://45.16.200.122:80 "HEAD / HTTP/1.1" 302 0
2020-03-27 06:25:21,215 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): ip.yunohost.org
2020-03-27 06:25:21,707 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 13
2020-03-27 06:25:21,841 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTP connection (1): 45.16.200.122
2020-03-27 06:25:21,857 DEBUG    requests.packages.urllib3.connectionpool _make_request - http://45.16.200.122:80 "HEAD / HTTP/1.1" 301 0
2020-03-27 06:25:21,862 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): ip.yunohost.org
2020-03-27 06:25:22,329 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 13
2020-03-27 06:25:22,463 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTP connection (1): 45.16.200.122
2020-03-27 06:25:22,499 DEBUG    requests.packages.urllib3.connectionpool _make_request - http://45.16.200.122:80 "HEAD / HTTP/1.1" 302 0
2020-03-27 06:25:22,502 DEBUG    moulinette.actionsmap process - action [28301.1] executed in 5.915s
2020-03-27 06:25:22,503 DEBUG    moulinette.core release - lock has been released
2020-03-27 06:54:50,811 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 06:54:50,832 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 06:54:50,832 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 06:54:50,833 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 06:54:50,915 DEBUG    moulinette.core acquire - lock has been acquired
2020-03-27 06:54:50,950 DEBUG    moulinette.actionsmap process - loading python module yunohost.app took 0.034s
2020-03-27 06:54:50,950 INFO     moulinette.actionsmap process - processing action [29032.1]: yunohost.app.fetchlist with args={'url': None, 'name': None}
2020-03-27 06:54:51,561 DEBUG    yunohost.app app_fetchlist - [29032.1] Attempting to fetch list yunohost at https://app.yunohost.org/apps.json
2020-03-27 06:54:51,568 DEBUG    requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): app.yunohost.org
2020-03-27 06:54:52,322 DEBUG    requests.packages.urllib3.connectionpool _make_request - https://app.yunohost.org:443 "GET /apps.json HTTP/1.1" 200 506924
2020-03-27 06:54:52,845 SUCCESS  yunohost.app success - [29032.1] The application list yunohost has been fetched
2020-03-27 06:54:52,845 DEBUG    moulinette.actionsmap process - action [29032.1] executed in 1.895s
2020-03-27 06:54:52,845 DEBUG    moulinette.core release - lock has been released
2020-03-27 06:57:33,565 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 06:57:33,565 DEBUG    moulinette.actionsmap generate_cache - generating cache for actions map namespace 'yunohost'
2020-03-27 06:57:34,033 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 06:57:34,033 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 06:57:34,034 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 06:57:34,128 DEBUG    moulinette.core acquire - lock has been acquired
2020-03-27 06:57:34,153 ERROR    moulinette.actionsmap process - unable to load function yunohost.tools_regen_conf
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 501, in process
    fromlist=[func_name])
  File "/usr/lib/moulinette/yunohost/tools.py", line 40, in <module>
    from moulinette.utils.filesystem import read_json, write_to_json, read_yaml, write_to_yaml
ImportError: cannot import name write_to_yaml
2020-03-27 06:57:34,156 DEBUG    moulinette.core release - lock has been released
2020-03-27 06:57:34,157 ERROR    yunohost cli - An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.
2020-03-27 06:57:39,901 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 06:57:39,901 DEBUG    moulinette.actionsmap generate_cache - generating cache for actions map namespace 'yunohost'
2020-03-27 06:57:40,373 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 06:57:40,374 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 06:57:40,375 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 06:57:40,466 DEBUG    moulinette.core acquire - lock has been acquired
2020-03-27 06:57:40,483 ERROR    moulinette.actionsmap process - unable to load function yunohost.tools_regen_conf
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 501, in process
    fromlist=[func_name])
  File "/usr/lib/moulinette/yunohost/tools.py", line 40, in <module>
    from moulinette.utils.filesystem import read_json, write_to_json, read_yaml, write_to_yaml
ImportError: cannot import name write_to_yaml
2020-03-27 06:57:40,484 DEBUG    moulinette.core release - lock has been released
2020-03-27 06:57:40,484 ERROR    yunohost cli - An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.
2020-03-27 10:59:58,107 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 10:59:58,107 DEBUG    moulinette.actionsmap generate_cache - generating cache for actions map namespace 'yunohost'
2020-03-27 10:59:58,574 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 10:59:58,574 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 10:59:58,576 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 10:59:58,687 ERROR    moulinette.actionsmap process - unable to load function yunohost.tools_regen_conf
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 501, in process
    fromlist=[func_name])
  File "/usr/lib/moulinette/yunohost/tools.py", line 40, in <module>
    from moulinette.utils.filesystem import read_json, write_to_json, read_yaml, write_to_yaml
ImportError: cannot import name write_to_yaml
2020-03-27 10:59:58,688 ERROR    yunohost cli - An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.
2020-03-27 11:01:00,616 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 11:01:00,616 DEBUG    moulinette.actionsmap generate_cache - generating cache for actions map namespace 'yunohost'
2020-03-27 11:01:01,085 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 11:01:01,085 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 11:01:01,087 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 11:01:01,196 ERROR    moulinette.actionsmap process - unable to load function yunohost.tools_regen_conf
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 501, in process
    fromlist=[func_name])
  File "/usr/lib/moulinette/yunohost/tools.py", line 40, in <module>
    from moulinette.utils.filesystem import read_json, write_to_json, read_yaml, write_to_yaml
ImportError: cannot import name write_to_yaml
2020-03-27 11:01:01,197 ERROR    yunohost cli - An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.
2020-03-27 11:14:48,395 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 11:14:48,396 DEBUG    moulinette.actionsmap generate_cache - generating cache for actions map namespace 'yunohost'
2020-03-27 11:14:48,865 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 11:14:48,865 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 11:14:48,866 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 11:14:48,975 ERROR    moulinette.actionsmap process - unable to load function yunohost.tools_regen_conf
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 501, in process
    fromlist=[func_name])
  File "/usr/lib/moulinette/yunohost/tools.py", line 40, in <module>
    from moulinette.utils.filesystem import read_json, write_to_json, read_yaml, write_to_yaml
ImportError: cannot import name write_to_yaml
2020-03-27 11:14:48,976 ERROR    yunohost cli - An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.
2020-03-27 11:43:18,659 DEBUG    moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2020-03-27 11:43:18,660 DEBUG    moulinette.actionsmap generate_cache - generating cache for actions map namespace 'yunohost'
2020-03-27 11:43:19,132 DEBUG    moulinette.actionsmap __init__ - extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2020-03-27 11:43:19,132 DEBUG    moulinette.interface __init__ - initializing base actions map parser for cli
2020-03-27 11:43:19,134 DEBUG    moulinette.interface __init__ - registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2020-03-27 11:43:19,223 DEBUG    moulinette.core acquire - lock has been acquired
2020-03-27 11:43:19,241 ERROR    moulinette.actionsmap process - unable to load function yunohost.tools_regen_conf
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 501, in process
    fromlist=[func_name])
  File "/usr/lib/moulinette/yunohost/tools.py", line 40, in <module>
    from moulinette.utils.filesystem import read_json, write_to_json, read_yaml, write_to_yaml
ImportError: cannot import name write_to_yaml
2020-03-27 11:43:19,242 DEBUG    moulinette.core release - lock has been released
2020-03-27 11:43:19,242 ERROR    yunohost cli - An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.     

could this be related to the weird issue I had with installing drupal last night?

I upgraded yunohost to 3.7, i’m on debian stretch, and i have php 7.0, so to update to nextcloud 18 what i have to do?
i f i go to nextcloud admin i have the option to update to nextcloud 16.0.7

Indeed it is related…
For an unknown reason, apt was used during the install of drupal.

Hopefully your remove didn’t succeed.
Try first with

sudo update-alternatives --config php7.2

As it was installed by drupal last night.
And then run that:

sudo apt remove --dry-run php7.4*

So we’ll see without breaking anything :wink:

Also I see a Setting up yunohost (3.7.0.8) ...
Did you try to upgrade your YunoHost recently ?

Just wait for the upgrade to be in your admin panel, and run it from there.

the upgrade appeared now in admin panel, should i backup first the app before upgrade?

If you want to make a backup, do it, to have backups is never a bad idea.

backup of nextcloud via admin panel include document data or app+config only?

Everything

@brimwats : can you try to apt dist-upgrade from the command line in SSH ?

Also it looks like there’s a weird inconsistency with moulinette’s version … Maybe check the output of dpkg --list | grep moulinette, see if it’s 3.7 as expected.

Ok thanks.
One more question, should i disable yunohost onlyoffice and use nextcloud 18 onlyoffice integration?

Don’t know, I’m not using OnlyOffice.
Have a look on the forum, you’re not the only one using that feature.

sudo update-alternatives --config php7.2 update-alternatives: error: no alternatives for php7.2

I should say: I couldn’t get the graphical USB installer to work on the mini pc (it did this weird error thing where it posted 8 identical side by side windows that were like at 200x200), so I had to install debian and then yuno on top of that

following these instructions:

https://yunohost.org/#/install_on_debian

apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libtidy5 sgml-base xml-core
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  php7.4-curl php7.4-gd php7.4-mbstring php7.4-tidy php7.4-xml php7.4-zip
The following packages have been kept back:
  moulinette ssowat yunohost-admin
The following packages will be upgraded:
  libidn2-0 libpcrecpp0v5 libtidy5 php-apcu php-apcu-bc php-curl php-gd php-igbinary php-imagick php-mbstring php-pear php-redis
  php-tidy php-xml php-zip python3-httplib2
16 upgraded, 6 newly installed, 0 to remove and 3 not upgraded.
19 not fully installed or removed.
Need to get 0 B/2,380 kB of archives.
After this operation, 9,277 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Setting up yunohost (3.7.0.8) ...
Regenerating configuration, this might take a while...
Error: An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.
dpkg: error processing package yunohost (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 yunohost