Mise à jour de Nextcloud 15.0.14 à 18.0.2 impossible

~# yunohost app upgrade nextcloud
Info : Mise à jour de l’application nextcloud …
Info : […] > Loading installation settings…
Info : [+…] > Ensuring downward compatibility…
Info : [#+++++++…] > Backing up the app before upgrading (may take a while)…
Attention : 21850 [WARN] /home/yunohost.app/nextcloud/data will not be saved, because ‘BACKUP_CORE_ONLY’ is set.
Info : [########++…] > Upgrading dependencies…
Attention : E: Les paquets doivent être enlevés mais la désinstallation est désactivée.
Attention : Unable to install dependencies
Attention : [ERR] Upgrade failed.
Info : ‘/tmp/owncloud_post_migration.sh’ wasn’t deleted because it doesn’t exist.

Sorry but… not…

I have to go out 15 min for a course, if you have other ideas, don’t hesitate

Bon, j’abandonne pour ce soir.

Ce n’est pas bien grave, mais j’aimerai comprendre où ça bloque car les logs ne semblent pas explicite dans mon cas personnel.

Si quelqu’un passe par là, n’hésitez pas (j’ai une image de mon serveur réalisé aujourd’hui que je peux mettre en place, donc c’est confort niveau test :wink: ).

Looks to me like the same issue in Can't install nextcloud on a preinstalled debian due to dependencies of packages

Check apt policy php7.3-acpu, I expect you’ll see a “-30000” somewhere at the end … Not sure what’s happening, it sounds like it’s some setting set on the upstream repo to prevent people from installing this package because a bug was found …

1 Like

~# apt update
Atteint:1 http://forge.yunohost.org/debian stretch InRelease
Atteint:2 http://security.debian.org stretch/updates InRelease
Ign:3 http://ftp.debian.org/debian stretch InRelease
Réception de:4 http://ftp.debian.org/debian stretch-updates InRelease [91,0 kB]
Atteint:5 https://packages.sury.org/php stretch InRelease
Atteint:6 http://ftp.debian.org/debian stretch Release
91,0 ko réceptionnés en 0s (133 ko/s)
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
All packages are up to date.

~# apt install php-apcu
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
php-apcu is already the newest version (5.1.8+4.0.11-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

~# apt policy php-acpu
N: Impossible de trouver le paquet php-acpu

php-apcu

~# apt policy php-apcu
php-apcu:
Installé : 5.1.8+4.0.11-1
Candidat : 5.1.8+4.0.11-1
Table de version :
5.1.18+4.0.11-1+0~20191219.13+debian9~1.gbpa99079 995
995 Index of /php/ stretch/main amd64 Packages
*** 5.1.8+4.0.11-1 30000
500 Index of /debian stretch/main amd64 Packages
100 /var/lib/dpkg/status

Par conséquent, à votre avis, quelle solution s’offre à moi pour réussir cette importante mise à jour ? Attendre une correction du problème via les mises à jour ?

Merci par avance :wink:

Hi,

I just re-installed from scratch my server and I have the same issue than @Sango during Nextcloud install.

Impossible d’installer nextcloud: Une erreur est survenue dans le script d’installation de l’application

I’m on a fresh install, up to date, one user, first app install, no other app.

Weird!!

1 Like

Oups!
Sorry, my issue is not the same:

2020-04-05 12:34:08,738: WARNING - /usr/share/yunohost/helpers.d/logging: line 11: args_array: readonly variable

And install passed on the second time.
Sorry for the disturb!

I guess nothing new if you update now ?

I’m not sure it’s related to this package, since it looks like you already do have this package installed…

You can however try that branch that fix that dependence to that non existing package.

But to upgrade to this branch will also upgrade to the current testing of nextcloud_ynh.

If you dare, try this:

sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/fix_dependencies
1 Like

My server is in production :wink:
If i upgrade with this branch, can i then go back to the stable branch ?

It should automatically go back (or rather: propose an update) as soon as there’s a new commit in stable (because of the way our app catalog works)

1 Like

Bonjour,

Je viens de lancer l’upgrade et voici les logs de la mise à jour, car la mises à jour indique “succès” (mais le serveur renvoie une erreur quand j’essaie de m’y connecter, on dirait une erreur du genre “j’utilise encore php7.0 ou un truc du genre opcache ?”) :

Résumé

~# yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/fix_dependencies
Info : Mise à jour de l’application nextcloud …
Info : […] > Loading installation settings…
Info : [+…] > Ensuring downward compatibility…
Info : [#+++++++…] > Backing up the app before upgrading (may take a while)…
Attention : 6158 [WARN] /home/yunohost.app/nextcloud/data will not be saved, because ‘BACKUP_CORE_ONLY’ is set.
Info : [########++…] > Upgrading dependencies…
Info : [##########+…] > Upgrading nginx web server configuration…
Info : The service nginx has correctly started.
Info : [###########…] > Making sure dedicated system user exists…
Info : [###########+…] > Upgrading php-fpm configuration…
Info : [############…] > Upgrading nextcloud…
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Info : Upgrade to nextcloud 16.0.0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Info : ‘/tmp/tmp.UphYDmSThT’ wasn’t deleted because it doesn’t exist.
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : Starting …
Attention : 0/0 [>---------------------------] 0% Starting …
Attention : 0/0 [>---------------------------] 0%PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Info : Upgrade to nextcloud 17.0.0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Info : ‘/tmp/tmp.1XlydWDvar’ wasn’t deleted because it doesn’t exist.
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : Starting …
Attention : 0/0 [>---------------------------] 0%PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Info : Upgrade to nextcloud 18.0.0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Info : ‘/tmp/tmp.aGNljaPeJr’ wasn’t deleted because it doesn’t exist.
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : Starting …
Attention : 0/0 [>---------------------------] 0%PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : warning: commands will be executed using /bin/sh
Info : Upgrade to nextcloud 18.0.3
Attention : job 9 at Mon Apr 6 07:47:00 2020
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Info : ‘/tmp/tmp.fw5FFtxeuv’ wasn’t deleted because it doesn’t exist.
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Info : [############+++…] > Reconfiguring nextcloud…
Attention : [WARN] File /var/www/nextcloud/config/config.php has been manually modified since the installation or last upgrade. So it has been duplicated in /home/yunohost.conf/backup//var/www/nextcloud/config/config.php.backup.20200406.073741
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : Les fichiers /home/yunohost.conf/backup//var/www/nextcloud/config/config.php.backup.20200406.073741 et /var/www/nextcloud/config/config.php sont identiques
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : 2020-04-06 07:37:44 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.2 [15921] -> “v1.2.tar.gz” [1]
Info : [###############+…] > Updating multimedia directories…
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Attention : [WARN] Note that if you’ve installed some third-parties Nextcloud applications, they are probably disabled and you’ll have to manually enable them again.
Info : [################+…] > Upgrading logrotate configuration…
Info : [#################+…] > Reconfiguring fail2ban…
Attention : /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated… Instead, you should use the new helpers ‘ynh_permission_{create,urls,update,delete}’ and the ‘visitors’ group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism.
Info : [##################+.] > Upgrading SSOwat configuration…
Attention : Le groupe ‘visitors’ a déjà l’autorisation ‘nextcloud.main’ activée
Attention : Cette autorisation est actuellement accordée à tous les utilisateurs en plus des autres groupes. Vous voudrez probablement soit supprimer l’autorisation ‘all_users’, soit supprimer les autres groupes auxquels il est actuellement autorisé.
Attention : L’autorisation n’a pas été mise à jour car les demandes d’ajout/suppression correspondent déjà à l’état actuel.
Attention : /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated… Instead, you should use the new helpers ‘ynh_permission_{create,urls,update,delete}’ and the ‘visitors’ group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism.
Info : [###################.] > Reloading nginx web server…
Succès ! nextcloud mis à jour
Succès ! Mise à jour terminée

Mais désormais, je n’ai plus accès au serveur !

"Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log."

Voici les logs :

Résumé

020-04-06 07:37:43,596: DEBUG - + local USER=nextcloud
2020-04-06 07:37:43,597: DEBUG - + shift 1
2020-04-06 07:37:43,597: DEBUG - ++ whoami
2020-04-06 07:37:43,597: DEBUG - + [[ nextcloud = root ]]
2020-04-06 07:37:43,597: DEBUG - + sudo -u nextcloud php7.3 occ --no-interaction --no-ansi background:cron
2020-04-06 07:37:43,697: WARNING - PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2020-04-06 07:37:43,999: DEBUG - Set mode for background jobs to ‘cron’
2020-04-06 07:37:43,999: DEBUG - + ynh_replace_string --match_string=GROUP --replace_string=nextcloud --target_file=…/hooks/post_user_create
2020-04-06 07:37:44,000: DEBUG - + local legacy_args=mrf
2020-04-06 07:37:44,000: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-04-06 07:37:44,000: DEBUG - + declare -Ar args_array
2020-04-06 07:37:44,000: DEBUG - + local match_string
2020-04-06 07:37:44,000: DEBUG - + local replace_string
2020-04-06 07:37:44,000: DEBUG - + local target_file
2020-04-06 07:37:44,001: DEBUG - + ynh_handle_getopts_args --match_string=GROUP --replace_string=nextcloud --target_file=…/hooks/post_user_create
2020-04-06 07:37:44,001: DEBUG - + set +x
2020-04-06 07:37:44,001: DEBUG - + local delimit=@
2020-04-06 07:37:44,001: DEBUG - + match_string=GROUP
2020-04-06 07:37:44,001: DEBUG - + replace_string=nextcloud
2020-04-06 07:37:44,001: DEBUG - + sudo sed --in-place s@GROUP@nextcloud@g …/hooks/post_user_create
2020-04-06 07:37:44,102: DEBUG - + ynh_script_progression ‘–message=Updating multimedia directories…’ --weight=6
2020-04-06 07:37:44,102: DEBUG - + set +x
2020-04-06 07:37:44,102: DEBUG - + set +x
2020-04-06 07:37:44,102: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:37:44,103: DEBUG - + set +x
2020-04-06 07:37:44,103: DEBUG - + echo ‘[###############+…] > Updating multimedia directories…’
2020-04-06 07:37:44,103: DEBUG - + set -x
2020-04-06 07:37:44,103: DEBUG - + ynh_multimedia_build_main_dir
2020-04-06 07:37:44,103: DEBUG - + local ynh_media_release=v1.2
2020-04-06 07:37:44,104: DEBUG - + local checksum=806a827ba1902d6911095602a9221181
2020-04-06 07:37:44,104: DEBUG - + wget -nv https://github.com/YunoHost-Apps/yunohost.multimedia/archive/v1.2.tar.gz
2020-04-06 07:37:44,805: DEBUG - + echo ‘806a827ba1902d6911095602a9221181 v1.2.tar.gz’
2020-04-06 07:37:44,805: WARNING - 2020-04-06 07:37:44 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.2 [15921] -> “v1.2.tar.gz” [1]
2020-04-06 07:37:44,806: INFO - [###############+…] > Updating multimedia directories…
2020-04-06 07:37:44,806: DEBUG - + md5sum -c --status
2020-04-06 07:37:44,806: DEBUG - + ynh_package_is_installed acl
2020-04-06 07:37:44,806: DEBUG - + local legacy_args=p
2020-04-06 07:37:44,807: DEBUG - + args_array=([p]=package=)
2020-04-06 07:37:44,807: DEBUG - + declare -Ar args_array
2020-04-06 07:37:44,807: DEBUG - + local package
2020-04-06 07:37:44,807: DEBUG - + ynh_handle_getopts_args acl
2020-04-06 07:37:44,807: DEBUG - + set +x
2020-04-06 07:37:44,807: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:37:44,808: DEBUG - + set +x
2020-04-06 07:37:44,808: DEBUG - + ynh_wait_dpkg_free
2020-04-06 07:37:44,808: DEBUG - + local try
2020-04-06 07:37:44,808: DEBUG - ++ seq 1 17
2020-04-06 07:37:44,808: DEBUG - + for try in seq 1 17
2020-04-06 07:37:44,808: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-04-06 07:37:45,009: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-04-06 07:37:45,009: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-04-06 07:37:45,010: DEBUG - + read dpkg_file
2020-04-06 07:37:45,010: DEBUG - + echo ‘’
2020-04-06 07:37:45,010: DEBUG - + grep -Pq ‘^[[:digit:]]+$’
2020-04-06 07:37:45,010: DEBUG - + read dpkg_file
2020-04-06 07:37:45,010: DEBUG - + return 0
2020-04-06 07:37:45,010: DEBUG - + dpkg-query -W -f ‘${Status}’ acl
2020-04-06 07:37:45,011: DEBUG - + grep -c ‘ok installed’
2020-04-06 07:37:45,011: DEBUG - + mkdir yunohost.multimedia-master
2020-04-06 07:37:45,011: DEBUG - + tar -xf v1.2.tar.gz -C yunohost.multimedia-master --strip-components 1
2020-04-06 07:37:45,111: DEBUG - + ./yunohost.multimedia-master/script/ynh_media_build.sh
2020-04-06 07:37:47,817: DEBUG - hook: /etc/yunohost/hooks.d/post_user_create/50-ynh_media
2020-04-06 07:37:48,118: DEBUG - hook: /etc/yunohost/hooks.d/post_user_delete/50-ynh_media
2020-04-06 07:37:48,219: DEBUG - + exec_occ app:enable files_external
2020-04-06 07:37:48,219: DEBUG - + cd /var/www/nextcloud
2020-04-06 07:37:48,219: DEBUG - + exec_as nextcloud php7.3 occ --no-interaction --no-ansi app:enable files_external
2020-04-06 07:37:48,220: DEBUG - + local USER=nextcloud
2020-04-06 07:37:48,220: DEBUG - + shift 1
2020-04-06 07:37:48,220: DEBUG - ++ whoami
2020-04-06 07:37:48,220: DEBUG - + [[ nextcloud = root ]]
2020-04-06 07:37:48,220: DEBUG - + sudo -u nextcloud php7.3 occ --no-interaction --no-ansi app:enable files_external
2020-04-06 07:37:48,321: WARNING - PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2020-04-06 07:37:48,922: DEBUG - files_external enabled
2020-04-06 07:37:48,922: DEBUG - + create_external_storage ‘/home/yunohost.multimedia/$user’ Multimedia
2020-04-06 07:37:48,923: DEBUG - + local ‘datadir=/home/yunohost.multimedia/$user’
2020-04-06 07:37:48,923: DEBUG - + local mount_name=Multimedia
2020-04-06 07:37:48,923: DEBUG - ++ exec_occ files_external:create --output=json Multimedia local null::null -c ‘datadir=/home/yunohost.multimedia/$user’
2020-04-06 07:37:48,923: DEBUG - ++ cd /var/www/nextcloud
2020-04-06 07:37:48,923: DEBUG - ++ exec_as nextcloud php7.3 occ --no-interaction --no-ansi files_external:create --output=json Multimedia local null::null -c ‘datadir=/home/yunohost.multimedia/$user’
2020-04-06 07:37:48,924: DEBUG - ++ local USER=nextcloud
2020-04-06 07:37:48,924: DEBUG - ++ shift 1
2020-04-06 07:37:48,924: DEBUG - +++ whoami
2020-04-06 07:37:48,924: DEBUG - ++ [[ nextcloud = root ]]
2020-04-06 07:37:48,924: DEBUG - ++ sudo -u nextcloud php7.3 occ --no-interaction --no-ansi files_external:create --output=json Multimedia local null::null -c ‘datadir=/home/yunohost.multimedia/$user’
2020-04-06 07:37:49,025: WARNING - PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2020-04-06 07:37:49,626: DEBUG - + local mount_id=17
2020-04-06 07:37:49,626: DEBUG - + [[ 17 =~ ^[0-9]+$ ]]
2020-04-06 07:37:49,627: DEBUG - + exec_occ files_external:option 17 enable_sharing true
2020-04-06 07:37:49,627: DEBUG - + cd /var/www/nextcloud
2020-04-06 07:37:49,627: DEBUG - + exec_as nextcloud php7.3 occ --no-interaction --no-ansi files_external:option 17 enable_sharing true
2020-04-06 07:37:49,627: DEBUG - + local USER=nextcloud
2020-04-06 07:37:49,627: DEBUG - + shift 1
2020-04-06 07:37:49,627: DEBUG - ++ whoami
2020-04-06 07:37:49,628: DEBUG - + [[ nextcloud = root ]]
2020-04-06 07:37:49,628: DEBUG - + sudo -u nextcloud php7.3 occ --no-interaction --no-ansi files_external:option 17 enable_sharing true
2020-04-06 07:37:49,728: WARNING - PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2020-04-06 07:37:50,129: DEBUG - + create_external_storage /home/yunohost.multimedia/share ‘Shared multimedia’
2020-04-06 07:37:50,130: WARNING - PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2020-04-06 07:37:50,130: DEBUG - + local datadir=/home/yunohost.multimedia/share
2020-04-06 07:37:50,130: DEBUG - + local ‘mount_name=Shared multimedia’
2020-04-06 07:37:50,130: DEBUG - ++ exec_occ files_external:create --output=json ‘Shared multimedia’ local null::null -c datadir=/home/yunohost.multimedia/share
2020-04-06 07:37:50,130: DEBUG - ++ cd /var/www/nextcloud
2020-04-06 07:37:50,131: DEBUG - ++ exec_as nextcloud php7.3 occ --no-interaction --no-ansi files_external:create --output=json ‘Shared multimedia’ local null::null -c datadir=/home/yunohost.multimedia/share
2020-04-06 07:37:50,131: DEBUG - ++ local USER=nextcloud
2020-04-06 07:37:50,131: DEBUG - ++ shift 1
2020-04-06 07:37:50,131: DEBUG - +++ whoami
2020-04-06 07:37:50,131: DEBUG - ++ [[ nextcloud = root ]]
2020-04-06 07:37:50,131: DEBUG - ++ sudo -u nextcloud php7.3 occ --no-interaction --no-ansi files_external:create --output=json ‘Shared multimedia’ local null::null -c datadir=/home/yunohost.multimedia/share
2020-04-06 07:37:50,632: DEBUG - + local mount_id=18
2020-04-06 07:37:50,633: DEBUG - + [[ 18 =~ ^[0-9]+$ ]]
2020-04-06 07:37:50,633: DEBUG - + exec_occ files_external:option 18 enable_sharing true
2020-04-06 07:37:50,633: DEBUG - + cd /var/www/nextcloud
2020-04-06 07:37:50,633: DEBUG - + exec_as nextcloud php7.3 occ --no-interaction --no-ansi files_external:option 18 enable_sharing true
2020-04-06 07:37:50,633: DEBUG - + local USER=nextcloud
2020-04-06 07:37:50,634: DEBUG - + shift 1
2020-04-06 07:37:50,634: DEBUG - ++ whoami
2020-04-06 07:37:50,634: DEBUG - + [[ nextcloud = root ]]
2020-04-06 07:37:50,634: DEBUG - + sudo -u nextcloud php7.3 occ --no-interaction --no-ansi files_external:option 18 enable_sharing true
2020-04-06 07:37:50,734: WARNING - PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib/php/20180731/apc.so (/usr/lib/php/20180731/apc.so: undefined symbol: apc_iterator_obj_init), /usr/lib/php/20180731/apc.so.so (/usr/lib/php/20180731/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2020-04-06 07:37:51,035: DEBUG - + ynh_multimedia_addaccess nextcloud
2020-04-06 07:37:51,036: DEBUG - + local user_name=nextcloud
2020-04-06 07:37:51,036: DEBUG - + groupadd -f multimedia
2020-04-06 07:37:51,036: DEBUG - + usermod -a -G multimedia nextcloud
2020-04-06 07:37:51,136: DEBUG - + chown -R nextcloud: /var/www/nextcloud /home/yunohost.app/nextcloud/data
2020-04-06 07:37:51,738: DEBUG - + find /var/www/nextcloud/ -type f -print0
2020-04-06 07:37:51,738: DEBUG - + xargs -0 chmod 0644
2020-04-06 07:37:51,838: DEBUG - + find /var/www/nextcloud/ -type d -print0
2020-04-06 07:37:51,839: DEBUG - + xargs -0 chmod 0755
2020-04-06 07:37:51,939: DEBUG - + xargs -0 chmod 0640
2020-04-06 07:37:51,951: DEBUG - + find /home/yunohost.app/nextcloud/data/ -type f -print0
2020-04-06 07:37:52,752: DEBUG - + find /home/yunohost.app/nextcloud/data/ -type d -print0
2020-04-06 07:37:52,753: DEBUG - + xargs -0 chmod 0750
2020-04-06 07:37:53,053: DEBUG - + chmod 640 /var/www/nextcloud/config/config.php
2020-04-06 07:37:53,054: WARNING - e[93me[1m[WARN]e[0m Note that if you’ve installed some third-parties Nextcloud applications, they are probably disabled and you’ll have to manually enable them again.
2020-04-06 07:37:53,054: DEBUG - + chmod 755 /home/yunohost.app
2020-04-06 07:37:53,055: DEBUG - + ‘[’ UPGRADE_APP == UPGRADE_APP ‘]’
2020-04-06 07:37:53,055: DEBUG - + ynh_print_warn ‘–message=Note that if you’’‘ve installed some third-parties Nextcloud applications, they are probably disabled and you’’‘ll have to manually enable them again.’
2020-04-06 07:37:53,055: DEBUG - + local legacy_args=m
2020-04-06 07:37:53,055: DEBUG - + args_array=([m]=message=)
2020-04-06 07:37:53,055: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,055: DEBUG - + local message
2020-04-06 07:37:53,060: DEBUG - + ynh_handle_getopts_args ‘–message=Note that if you’’‘ve installed some third-parties Nextcloud applications, they are probably disabled and you’’‘ll have to manually enable them again.’
2020-04-06 07:37:53,060: DEBUG - + set +x
2020-04-06 07:37:53,060: DEBUG - + ynh_print_log ‘\e[93m\e[1m[WARN]\e[0m Note that if you’’‘ve installed some third-parties Nextcloud applications, they are probably disabled and you’’‘ll have to manually enable them again.’
2020-04-06 07:37:53,060: DEBUG - + echo -e ‘\e[93m\e[1m[WARN]\e[0m Note that if you’’‘ve installed some third-parties Nextcloud applications, they are probably disabled and you’’‘ll have to manually enable them again.’
2020-04-06 07:37:53,061: DEBUG - + ynh_script_progression ‘–message=Upgrading logrotate configuration…’
2020-04-06 07:37:53,061: DEBUG - + set +x
2020-04-06 07:37:53,061: DEBUG - + set +x
2020-04-06 07:37:53,061: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:37:53,061: DEBUG - + set +x
2020-04-06 07:37:53,061: DEBUG - + echo ‘[################+…] > Upgrading logrotate configuration…’
2020-04-06 07:37:53,062: DEBUG - + set -x
2020-04-06 07:37:53,062: DEBUG - + ynh_use_logrotate --non-append
2020-04-06 07:37:53,062: DEBUG - + local legacy_args=lnuya
2020-04-06 07:37:53,062: DEBUG - + args_array=([l]=logfile= [n]=nonappend [u]=specific_user= [y]=non [a]=append)
2020-04-06 07:37:53,062: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,062: DEBUG - + local logfile
2020-04-06 07:37:53,062: DEBUG - + local nonappend
2020-04-06 07:37:53,063: DEBUG - + local specific_user
2020-04-06 07:37:53,063: DEBUG - + ynh_handle_getopts_args --non-append
2020-04-06 07:37:53,063: DEBUG - + set +x
2020-04-06 07:37:53,063: DEBUG - + local logfile=
2020-04-06 07:37:53,063: DEBUG - + local nonappend=0
2020-04-06 07:37:53,064: DEBUG - + local specific_user=
2020-04-06 07:37:53,064: DEBUG - + ‘[’ 1 -gt 0 ‘]’
2020-04-06 07:37:53,064: DEBUG - + ‘[’ --non-append == --non-append ‘]’
2020-04-06 07:37:53,064: DEBUG - + nonappend=1
2020-04-06 07:37:53,064: DEBUG - + shift
2020-04-06 07:37:53,064: DEBUG - + ‘[’ 0 -gt 0 ‘]’
2020-04-06 07:37:53,064: DEBUG - + local ‘customtee=tee -a’
2020-04-06 07:37:53,065: DEBUG - + ‘[’ 1 -eq 1 ‘]’
2020-04-06 07:37:53,065: DEBUG - + customtee=tee
2020-04-06 07:37:53,065: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-04-06 07:37:53,065: DEBUG - + logfile=’/var/log/nextcloud/.log’
2020-04-06 07:37:53,065: DEBUG - + local su_directive=
2020-04-06 07:37:53,066: DEBUG - + [[ -n ‘’ ]]
2020-04-06 07:37:53,071: DEBUG - + cat
2020-04-06 07:37:53,071: DEBUG - ++ dirname '/var/log/nextcloud/
.log’
2020-04-06 07:37:53,072: DEBUG - + sudo mkdir -p /var/log/nextcloud
2020-04-06 07:37:53,072: DEBUG - + sudo tee /etc/logrotate.d/nextcloud
2020-04-06 07:37:53,072: DEBUG - + cat nextcloud-logrotate
2020-04-06 07:37:53,072: DEBUG - + ynh_script_progression ‘–message=Reconfiguring fail2ban…’ --weight=7
2020-04-06 07:37:53,072: DEBUG - + set +x
2020-04-06 07:37:53,072: DEBUG - + set +x
2020-04-06 07:37:53,173: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:37:53,173: INFO - [################+…] > Upgrading logrotate configuration…
2020-04-06 07:37:53,174: DEBUG - + set +x
2020-04-06 07:37:53,174: INFO - [#################+…] > Reconfiguring fail2ban…
2020-04-06 07:37:53,174: DEBUG - + echo ‘[#################+…] > Reconfiguring fail2ban…’
2020-04-06 07:37:53,174: DEBUG - + set -x
2020-04-06 07:37:53,174: DEBUG - + ynh_add_fail2ban_config --logpath=/home/yunohost.app/nextcloud/data/nextcloud.log ‘–failregex=^.Login failed: ‘’’.’’’ (Remote IP: ‘’’’’’.$’ --max_retry=5
2020-04-06 07:37:53,175: DEBUG - + local legacy_args=lrmptv
2020-04-06 07:37:53,175: DEBUG - + args_array=([l]=logpath= [r]=failregex= [m]=max_retry= [p]=ports= [t]=use_template [v]=others_var=)
2020-04-06 07:37:53,175: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,175: DEBUG - + local logpath
2020-04-06 07:37:53,175: DEBUG - + local failregex
2020-04-06 07:37:53,176: DEBUG - + local max_retry
2020-04-06 07:37:53,176: DEBUG - + local ports
2020-04-06 07:37:53,176: DEBUG - + local others_var
2020-04-06 07:37:53,176: DEBUG - + local use_template
2020-04-06 07:37:53,176: DEBUG - + ynh_handle_getopts_args --logpath=/home/yunohost.app/nextcloud/data/nextcloud.log ‘–failregex=^.Login failed: ‘’’.’’’ (Remote IP: ‘’’’’’.
$’ --max_retry=5
2020-04-06 07:37:53,179: DEBUG - + set +x
2020-04-06 07:37:53,179: DEBUG - + use_template=0
2020-04-06 07:37:53,180: DEBUG - + max_retry=5
2020-04-06 07:37:53,180: DEBUG - + ports=http,https
2020-04-06 07:37:53,180: DEBUG - + finalfail2banjailconf=/etc/fail2ban/jail.d/nextcloud.conf
2020-04-06 07:37:53,180: DEBUG - + finalfail2banfilterconf=/etc/fail2ban/filter.d/nextcloud.conf
2020-04-06 07:37:53,180: DEBUG - + ynh_backup_if_checksum_is_different /etc/fail2ban/jail.d/nextcloud.conf
2020-04-06 07:37:53,181: DEBUG - + local legacy_args=f
2020-04-06 07:37:53,181: DEBUG - + args_array=([f]=file=)
2020-04-06 07:37:53,181: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,181: DEBUG - + local file
2020-04-06 07:37:53,181: DEBUG - + ynh_handle_getopts_args /etc/fail2ban/jail.d/nextcloud.conf
2020-04-06 07:37:53,181: DEBUG - + set +x
2020-04-06 07:37:53,182: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:37:53,182: DEBUG - + set +x
2020-04-06 07:37:53,182: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_jail.d_nextcloud.conf
2020-04-06 07:37:53,182: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=checksum__etc_fail2ban_jail.d_nextcloud.conf
2020-04-06 07:37:53,182: DEBUG - ++ local legacy_args=ak
2020-04-06 07:37:53,182: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-04-06 07:37:53,183: DEBUG - ++ declare -Ar args_array
2020-04-06 07:37:53,183: DEBUG - ++ local app
2020-04-06 07:37:53,183: DEBUG - ++ local key
2020-04-06 07:37:53,184: DEBUG - ++ ynh_handle_getopts_args --app=nextcloud --key=checksum__etc_fail2ban_jail.d_nextcloud.conf
2020-04-06 07:37:53,184: DEBUG - ++ set +x
2020-04-06 07:37:53,184: DEBUG - ++ ynh_app_setting get nextcloud checksum__etc_fail2ban_jail.d_nextcloud.conf
2020-04-06 07:37:53,185: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-04-06 07:37:53,185: DEBUG - ++ ACTION=get
2020-04-06 07:37:53,185: DEBUG - ++ APP=nextcloud
2020-04-06 07:37:53,185: DEBUG - ++ KEY=checksum__etc_fail2ban_jail.d_nextcloud.conf
2020-04-06 07:37:53,185: DEBUG - ++ VALUE=
2020-04-06 07:37:53,185: DEBUG - ++ python2.7 -
2020-04-06 07:37:53,286: DEBUG - ++ [[ checksum__etc_fail2ban_jail.d_nextcloud.conf =~ ^(unprotected|skipped)_ ]]
2020-04-06 07:37:53,286: DEBUG - + local checksum_value=2137dddd597f9f72c2eda6556c32a34c
2020-04-06 07:37:53,286: DEBUG - + backup_file_checksum=
2020-04-06 07:37:53,287: DEBUG - + ‘[’ -n 2137dddd597f9f72c2eda6556c32a34c ‘]’
2020-04-06 07:37:53,287: DEBUG - + ‘[’ -e /etc/fail2ban/jail.d/nextcloud.conf ‘]’
2020-04-06 07:37:53,287: DEBUG - + echo ‘2137dddd597f9f72c2eda6556c32a34c /etc/fail2ban/jail.d/nextcloud.conf’
2020-04-06 07:37:53,287: DEBUG - + sudo md5sum -c --status
2020-04-06 07:37:53,287: DEBUG - + ynh_backup_if_checksum_is_different /etc/fail2ban/filter.d/nextcloud.conf
2020-04-06 07:37:53,287: DEBUG - + local legacy_args=f
2020-04-06 07:37:53,287: DEBUG - + args_array=([f]=file=)
2020-04-06 07:37:53,288: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,288: DEBUG - + local file
2020-04-06 07:37:53,288: DEBUG - + ynh_handle_getopts_args /etc/fail2ban/filter.d/nextcloud.conf
2020-04-06 07:37:53,288: DEBUG - + set +x
2020-04-06 07:37:53,288: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:37:53,288: DEBUG - + set +x
2020-04-06 07:37:53,293: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_filter.d_nextcloud.conf
2020-04-06 07:37:53,293: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=checksum__etc_fail2ban_filter.d_nextcloud.conf
2020-04-06 07:37:53,293: DEBUG - ++ local legacy_args=ak
2020-04-06 07:37:53,294: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-04-06 07:37:53,294: DEBUG - ++ declare -Ar args_array
2020-04-06 07:37:53,294: DEBUG - ++ local app
2020-04-06 07:37:53,294: DEBUG - ++ local key
2020-04-06 07:37:53,294: DEBUG - ++ ynh_handle_getopts_args --app=nextcloud --key=checksum__etc_fail2ban_filter.d_nextcloud.conf
2020-04-06 07:37:53,294: DEBUG - ++ set +x
2020-04-06 07:37:53,294: DEBUG - ++ ynh_app_setting get nextcloud checksum__etc_fail2ban_filter.d_nextcloud.conf
2020-04-06 07:37:53,295: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-04-06 07:37:53,295: DEBUG - ++ ACTION=get
2020-04-06 07:37:53,295: DEBUG - ++ APP=nextcloud
2020-04-06 07:37:53,295: DEBUG - ++ KEY=checksum__etc_fail2ban_filter.d_nextcloud.conf
2020-04-06 07:37:53,295: DEBUG - ++ VALUE=
2020-04-06 07:37:53,295: DEBUG - ++ python2.7 -
2020-04-06 07:37:53,396: DEBUG - ++ [[ checksum__etc_fail2ban_filter.d_nextcloud.conf =~ ^(unprotected|skipped)_ ]]
2020-04-06 07:37:53,396: DEBUG - + local checksum_value=0fa0eb8879f98423efed36e2abd3536f
2020-04-06 07:37:53,396: DEBUG - + backup_file_checksum=
2020-04-06 07:37:53,396: DEBUG - + ‘[’ -n 0fa0eb8879f98423efed36e2abd3536f ‘]’
2020-04-06 07:37:53,396: DEBUG - + ‘[’ -e /etc/fail2ban/filter.d/nextcloud.conf ‘]’
2020-04-06 07:37:53,397: DEBUG - + echo ‘0fa0eb8879f98423efed36e2abd3536f /etc/fail2ban/filter.d/nextcloud.conf’
2020-04-06 07:37:53,397: DEBUG - + sudo md5sum -c --status
2020-04-06 07:37:53,397: DEBUG - + ‘[’ 0 -eq 1 ‘]’
2020-04-06 07:37:53,397: DEBUG - + test -n /home/yunohost.app/nextcloud/data/nextcloud.log
2020-04-06 07:37:53,397: DEBUG - + test -n ‘^.Login failed: ‘’’.’’’ (Remote IP: ‘’’’’’.$’
2020-04-06 07:37:53,397: DEBUG - + tee /etc/fail2ban/jail.d/nextcloud.conf
2020-04-06 07:37:53,398: DEBUG - [nextcloud]
2020-04-06 07:37:53,398: DEBUG - enabled = true
2020-04-06 07:37:53,398: DEBUG - port = http,https
2020-04-06 07:37:53,398: DEBUG - filter = nextcloud
2020-04-06 07:37:53,398: DEBUG - logpath = /home/yunohost.app/nextcloud/data/nextcloud.log
2020-04-06 07:37:53,399: DEBUG - maxretry = 5
2020-04-06 07:37:53,399: DEBUG - + tee /etc/fail2ban/filter.d/nextcloud.conf
2020-04-06 07:37:53,399: DEBUG - [INCLUDES]
2020-04-06 07:37:53,399: DEBUG - before = common.conf
2020-04-06 07:37:53,399: DEBUG - [Definition]
2020-04-06 07:37:53,399: DEBUG - failregex = ^.Login failed: '.’ (Remote IP: ‘’.
$
2020-04-06 07:37:53,399: DEBUG - ignoreregex =
2020-04-06 07:37:53,400: DEBUG - + ynh_store_file_checksum /etc/fail2ban/jail.d/nextcloud.conf
2020-04-06 07:37:53,400: DEBUG - + local legacy_args=f
2020-04-06 07:37:53,400: DEBUG - + args_array=([f]=file=)
2020-04-06 07:37:53,400: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,400: DEBUG - + local file
2020-04-06 07:37:53,400: DEBUG - + ynh_handle_getopts_args /etc/fail2ban/jail.d/nextcloud.conf
2020-04-06 07:37:53,400: DEBUG - + set +x
2020-04-06 07:37:53,401: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:37:53,401: DEBUG - + set +x
2020-04-06 07:37:53,401: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_jail.d_nextcloud.conf
2020-04-06 07:37:53,501: DEBUG - ++ sudo md5sum /etc/fail2ban/jail.d/nextcloud.conf
2020-04-06 07:37:53,502: DEBUG - ++ cut ‘-d ’ -f1
2020-04-06 07:37:53,502: DEBUG - + ynh_app_setting_set --app=nextcloud --key=checksum__etc_fail2ban_jail.d_nextcloud.conf --value=2137dddd597f9f72c2eda6556c32a34c
2020-04-06 07:37:53,502: DEBUG - + local legacy_args=akv
2020-04-06 07:37:53,502: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-06 07:37:53,503: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,503: DEBUG - + local app
2020-04-06 07:37:53,503: DEBUG - + local key
2020-04-06 07:37:53,503: DEBUG - + local value
2020-04-06 07:37:53,503: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=checksum__etc_fail2ban_jail.d_nextcloud.conf --value=2137dddd597f9f72c2eda6556c32a34c
2020-04-06 07:37:53,504: DEBUG - + set +x
2020-04-06 07:37:53,504: DEBUG - + ynh_app_setting set nextcloud checksum__etc_fail2ban_jail.d_nextcloud.conf 2137dddd597f9f72c2eda6556c32a34c
2020-04-06 07:37:53,504: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-06 07:37:53,504: DEBUG - + ACTION=set
2020-04-06 07:37:53,504: DEBUG - + APP=nextcloud
2020-04-06 07:37:53,504: DEBUG - + KEY=checksum__etc_fail2ban_jail.d_nextcloud.conf
2020-04-06 07:37:53,505: DEBUG - + VALUE=2137dddd597f9f72c2eda6556c32a34c
2020-04-06 07:37:53,505: DEBUG - + python2.7 -
2020-04-06 07:37:53,605: DEBUG - + [[ checksum__etc_fail2ban_jail.d_nextcloud.conf =~ ^(unprotected|skipped)_ ]]
2020-04-06 07:37:53,605: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-04-06 07:37:53,606: DEBUG - + unset backup_file_checksum
2020-04-06 07:37:53,606: DEBUG - + ynh_store_file_checksum /etc/fail2ban/filter.d/nextcloud.conf
2020-04-06 07:37:53,606: DEBUG - + local legacy_args=f
2020-04-06 07:37:53,606: DEBUG - + args_array=([f]=file=)
2020-04-06 07:37:53,606: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,606: DEBUG - + local file
2020-04-06 07:37:53,607: DEBUG - + ynh_handle_getopts_args /etc/fail2ban/filter.d/nextcloud.conf
2020-04-06 07:37:53,607: DEBUG - + set +x
2020-04-06 07:37:53,607: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:37:53,607: DEBUG - + set +x
2020-04-06 07:37:53,607: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_filter.d_nextcloud.conf
2020-04-06 07:37:53,607: DEBUG - ++ sudo md5sum /etc/fail2ban/filter.d/nextcloud.conf
2020-04-06 07:37:53,608: DEBUG - ++ cut ‘-d ’ -f1
2020-04-06 07:37:53,608: DEBUG - + ynh_app_setting_set --app=nextcloud --key=checksum__etc_fail2ban_filter.d_nextcloud.conf --value=0fa0eb8879f98423efed36e2abd3536f
2020-04-06 07:37:53,608: DEBUG - + local legacy_args=akv
2020-04-06 07:37:53,608: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-06 07:37:53,608: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,608: DEBUG - + local app
2020-04-06 07:37:53,608: DEBUG - + local key
2020-04-06 07:37:53,609: DEBUG - + local value
2020-04-06 07:37:53,609: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=checksum__etc_fail2ban_filter.d_nextcloud.conf --value=0fa0eb8879f98423efed36e2abd3536f
2020-04-06 07:37:53,609: DEBUG - + set +x
2020-04-06 07:37:53,609: DEBUG - + ynh_app_setting set nextcloud checksum__etc_fail2ban_filter.d_nextcloud.conf 0fa0eb8879f98423efed36e2abd3536f
2020-04-06 07:37:53,609: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-06 07:37:53,609: DEBUG - + ACTION=set
2020-04-06 07:37:53,609: DEBUG - + APP=nextcloud
2020-04-06 07:37:53,610: DEBUG - + KEY=checksum__etc_fail2ban_filter.d_nextcloud.conf
2020-04-06 07:37:53,610: DEBUG - + VALUE=0fa0eb8879f98423efed36e2abd3536f
2020-04-06 07:37:53,610: DEBUG - + python2.7 -
2020-04-06 07:37:53,710: DEBUG - + [[ checksum__etc_fail2ban_filter.d_nextcloud.conf =~ ^(unprotected|skipped)_ ]]
2020-04-06 07:37:53,711: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-04-06 07:37:53,711: DEBUG - + unset backup_file_checksum
2020-04-06 07:37:53,711: DEBUG - + ynh_systemd_action --service_name=fail2ban --action=reload
2020-04-06 07:37:53,711: DEBUG - + local legacy_args=nalpte
2020-04-06 07:37:53,711: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-04-06 07:37:53,711: DEBUG - + declare -Ar args_array
2020-04-06 07:37:53,712: DEBUG - + local service_name
2020-04-06 07:37:53,712: DEBUG - + local action
2020-04-06 07:37:53,712: DEBUG - + local line_match
2020-04-06 07:37:53,712: DEBUG - + local length
2020-04-06 07:37:53,712: DEBUG - + local log_path
2020-04-06 07:37:53,713: DEBUG - + local timeout
2020-04-06 07:37:53,713: DEBUG - + ynh_handle_getopts_args --service_name=fail2ban --action=reload
2020-04-06 07:37:53,713: DEBUG - + set +x
2020-04-06 07:37:53,813: DEBUG - + local service_name=fail2ban
2020-04-06 07:37:53,814: DEBUG - + local action=reload
2020-04-06 07:37:53,814: DEBUG - + local log_path=/var/log/fail2ban/fail2ban.log
2020-04-06 07:37:53,814: DEBUG - + local length=20
2020-04-06 07:37:53,814: DEBUG - + local timeout=300
2020-04-06 07:37:53,814: DEBUG - + [[ -n ‘’ ]]
2020-04-06 07:37:53,814: DEBUG - + ‘[’ reload == reload ‘]’
2020-04-06 07:37:53,815: DEBUG - + action=reload-or-restart
2020-04-06 07:37:53,815: DEBUG - + systemctl reload-or-restart fail2ban
2020-04-06 07:38:01,329: DEBUG - + [[ -n ‘’ ]]
2020-04-06 07:38:01,329: DEBUG - ++ grep ‘WARNING.nextcloud.
2020-04-06 07:38:01,329: DEBUG - ++ journalctl -u fail2ban
2020-04-06 07:38:01,329: DEBUG - ++ tail -n50
2020-04-06 07:38:01,330: DEBUG - + local fail2ban_error=
2020-04-06 07:38:01,330: DEBUG - + [[ -n ‘’ ]]
2020-04-06 07:38:01,330: DEBUG - + ynh_script_progression ‘–message=Upgrading SSOwat configuration…’ --weight=2
2020-04-06 07:38:01,330: DEBUG - + set +x
2020-04-06 07:38:01,330: DEBUG - + set +x
2020-04-06 07:38:01,330: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:38:01,330: DEBUG - + set +x
2020-04-06 07:38:01,331: DEBUG - + echo ‘[##################+.] > Upgrading SSOwat configuration…’
2020-04-06 07:38:01,331: DEBUG - + set -x
2020-04-06 07:38:01,331: DEBUG - + ynh_app_setting_set --app=nextcloud --key=unprotected_uris --value=/
2020-04-06 07:38:01,331: DEBUG - + local legacy_args=akv
2020-04-06 07:38:01,331: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-06 07:38:01,331: DEBUG - + declare -Ar args_array
2020-04-06 07:38:01,331: DEBUG - + local app
2020-04-06 07:38:01,332: DEBUG - + local key
2020-04-06 07:38:01,332: DEBUG - + local value
2020-04-06 07:38:01,332: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=unprotected_uris --value=/
2020-04-06 07:38:01,332: DEBUG - + set +x
2020-04-06 07:38:01,332: DEBUG - + ynh_app_setting set nextcloud unprotected_uris /
2020-04-06 07:38:01,332: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-06 07:38:01,332: DEBUG - + ACTION=set
2020-04-06 07:38:01,333: DEBUG - + APP=nextcloud
2020-04-06 07:38:01,333: DEBUG - + KEY=unprotected_uris
2020-04-06 07:38:01,333: DEBUG - + VALUE=/
2020-04-06 07:38:01,333: DEBUG - + python2.7 -
2020-04-06 07:38:01,433: DEBUG - + [[ unprotected_uris =~ ^(unprotected|skipped)_ ]]
2020-04-06 07:38:01,434: WARNING - /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated… Instead, you should use the new helpers ‘ynh_permission_{create,urls,update,delete}’ and the ‘visitors’ group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism.
2020-04-06 07:38:01,434: INFO - [##################+.] > Upgrading SSOwat configuration…
2020-04-06 07:38:01,434: DEBUG - + [[ set == \s\e\t ]]
2020-04-06 07:38:01,434: DEBUG - + [[ / == / ]]
2020-04-06 07:38:01,435: DEBUG - + ynh_permission_update --permission main --add visitors
2020-04-06 07:38:01,435: DEBUG - + args_array=([p]=permission= [a]=add= [r]=remove=)
2020-04-06 07:38:01,435: DEBUG - + declare -Ar args_array
2020-04-06 07:38:01,435: DEBUG - + local permission
2020-04-06 07:38:01,435: DEBUG - + local add
2020-04-06 07:38:01,435: DEBUG - + local remove
2020-04-06 07:38:01,436: DEBUG - + ynh_handle_getopts_args --permission main --add visitors
2020-04-06 07:38:01,436: DEBUG - + set +x
2020-04-06 07:38:01,436: DEBUG - + [[ -n visitors ]]
2020-04-06 07:38:01,436: DEBUG - + add=’–add visitors’
2020-04-06 07:38:01,436: DEBUG - + [[ -n ‘’ ]]
2020-04-06 07:38:01,436: DEBUG - + yunohost user permission update nextcloud.main --add visitors
2020-04-06 07:38:01,737: DEBUG - allowed:
2020-04-06 07:38:01,737: WARNING - Le groupe ‘visitors’ a déjà l’autorisation ‘nextcloud.main’ activée
2020-04-06 07:38:01,738: DEBUG - - visitors
2020-04-06 07:38:01,738: WARNING - Cette autorisation est actuellement accordée à tous les utilisateurs en plus des autres groupes. Vous voudrez probablement soit supprimer l’autorisation ‘all_users’, soit supprimer les autres groupes auxquels il est actuellement autorisé.
2020-04-06 07:38:01,738: DEBUG - - all_users
2020-04-06 07:38:01,738: WARNING - L’autorisation n’a pas été mise à jour car les demandes d’ajout/suppression correspondent déjà à l’état actuel.
2020-04-06 07:38:01,738: DEBUG - corresponding_users:
2020-04-06 07:38:01,739: DEBUG - - sarah
2020-04-06 07:38:01,739: DEBUG - - kirby
2020-04-06 07:38:01,739: DEBUG - - audreyplessis
2020-04-06 07:38:01,739: DEBUG - - audrey
2020-04-06 07:38:01,739: DEBUG - - fveron
2020-04-06 07:38:01,739: DEBUG - - nadine
2020-04-06 07:38:01,739: DEBUG - - aplessis
2020-04-06 07:38:01,740: DEBUG - - michel
2020-04-06 07:38:01,740: DEBUG - url: /
2020-04-06 07:38:01,740: DEBUG - ++ sed ‘s/[.-]/%&/g’
2020-04-06 07:38:01,740: DEBUG - + ynh_app_setting_set --app=nextcloud --key=skipped_regex ‘–value=www%.svtux%.fr/%.well%-known/.
2020-04-06 07:38:01,740: DEBUG - + local legacy_args=akv
2020-04-06 07:38:01,740: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-06 07:38:01,740: DEBUG - + declare -Ar args_array
2020-04-06 07:38:01,741: DEBUG - + local app
2020-04-06 07:38:01,741: DEBUG - + local key
2020-04-06 07:38:01,741: DEBUG - + local value
2020-04-06 07:38:01,741: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=skipped_regex '–value=www%.svtux%.fr/%.well%-known/.

2020-04-06 07:38:01,741: DEBUG - + set +x
2020-04-06 07:38:01,842: DEBUG - + ynh_app_setting set nextcloud skipped_regex ‘www%.svtux%.fr/%.well%-known/.
2020-04-06 07:38:01,842: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-06 07:38:01,842: DEBUG - + ACTION=set
2020-04-06 07:38:01,842: DEBUG - + APP=nextcloud
2020-04-06 07:38:01,842: DEBUG - + KEY=skipped_regex
2020-04-06 07:38:01,843: DEBUG - + VALUE='www%.svtux%.fr/%.well%-known/.

2020-04-06 07:38:01,843: DEBUG - + python2.7 -
2020-04-06 07:38:01,943: DEBUG - + [[ skipped_regex =~ ^(unprotected|skipped)_ ]]
2020-04-06 07:38:01,943: WARNING - /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated… Instead, you should use the new helpers ‘ynh_permission_{create,urls,update,delete}’ and the ‘visitors’ group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism.
2020-04-06 07:38:01,944: DEBUG - + [[ set == \s\e\t ]]
2020-04-06 07:38:01,944: DEBUG - + [[ www%.svtux%.fr/%.well%-known/.* == / ]]
2020-04-06 07:38:01,944: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-06 07:38:01,944: DEBUG - + ynh_script_progression ‘–message=Reloading nginx web server…’
2020-04-06 07:38:01,944: DEBUG - + set +x
2020-04-06 07:38:01,945: DEBUG - + set +x
2020-04-06 07:38:01,945: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:38:01,945: DEBUG - + set +x
2020-04-06 07:38:01,945: DEBUG - + echo ‘[###################.] > Reloading nginx web server…’
2020-04-06 07:38:01,945: DEBUG - + set -x
2020-04-06 07:38:01,945: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-04-06 07:38:01,945: DEBUG - + local legacy_args=nalpte
2020-04-06 07:38:01,946: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-04-06 07:38:01,946: DEBUG - + declare -Ar args_array
2020-04-06 07:38:01,946: DEBUG - + local service_name
2020-04-06 07:38:01,946: DEBUG - + local action
2020-04-06 07:38:01,946: DEBUG - + local line_match
2020-04-06 07:38:01,946: DEBUG - + local length
2020-04-06 07:38:01,946: DEBUG - + local log_path
2020-04-06 07:38:01,947: DEBUG - + local timeout
2020-04-06 07:38:01,947: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2020-04-06 07:38:01,947: DEBUG - + set +x
2020-04-06 07:38:01,947: DEBUG - + local service_name=nginx
2020-04-06 07:38:01,947: DEBUG - + local action=reload
2020-04-06 07:38:01,947: DEBUG - + local log_path=/var/log/nginx/nginx.log
2020-04-06 07:38:01,948: DEBUG - + local length=20
2020-04-06 07:38:01,948: DEBUG - + local timeout=300
2020-04-06 07:38:01,948: DEBUG - + [[ -n ‘’ ]]
2020-04-06 07:38:01,948: DEBUG - + ‘[’ reload == reload ‘]’
2020-04-06 07:38:01,948: DEBUG - + action=reload-or-restart
2020-04-06 07:38:01,948: DEBUG - + systemctl reload-or-restart nginx
2020-04-06 07:38:02,049: DEBUG - + [[ -n ‘’ ]]
2020-04-06 07:38:02,049: DEBUG - + ‘[’ 0 -eq 1 ‘]’
2020-04-06 07:38:02,049: DEBUG - + ynh_script_progression ‘–message=Upgrade of nextcloud completed’ --last
2020-04-06 07:38:02,049: DEBUG - + set +x
2020-04-06 07:38:02,050: DEBUG - + set +x
2020-04-06 07:38:02,050: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-04-06 07:38:02,050: DEBUG - + set +x
2020-04-06 07:38:02,050: DEBUG - + echo ‘[####################] > Upgrade of nextcloud completed’
2020-04-06 07:38:02,050: DEBUG - + set -x
2020-04-06 07:38:02,050: DEBUG - + ynh_exit_properly
2020-04-06 07:38:02,050: DEBUG - + local exit_code=0
2020-04-06 07:38:02,051: DEBUG - + ‘[’ 0 -eq 0 ‘]’
2020-04-06 07:38:02,051: DEBUG - + exit 0
2020-04-06 07:38:02,051: INFO - [###################.] > Reloading nginx web server…
2020-04-06 07:38:02,061: DEBUG - Checking that required services are up and running…
2020-04-06 07:38:02,312: SUCCESS - nextcloud mis à jour
2020-04-06 07:38:02,312: DEBUG - No default hook for action ‘post_app_upgrade’ in /usr/share/yunohost/hooks/
2020-04-06 07:38:02,313: DEBUG - No custom hook for action ‘post_app_upgrade’ in /etc/yunohost/hooks.d/

Si cela peut aider, voici la dernière ligne de mon /home/yunohost.app/nextcloud/data/nextcloud.log :

Résumé

{“reqId”:“XkIbEnDex1gs0XmcPHFk”,“level”:3,“time”:“2020-04-06T07:10:21+00:00”,“remoteAddr”:“172.16.0.22”,“user”:"–",“app”:“remote”,“method”:“GET”,“url”:"/nextcloud/status.php",“message”:{“Exception”:“OC\HintException”,“Message”:“Memcache \OC\Memcache\APCu not available for local cache”,“Code”:0,“Trace”:[{“file”:"/var/www/nextcloud/lib/private/Server.php",“line”:625,“function”:"__construct",“class”:“OC\Memcache\Factory”,“type”:"->",“args”:[“ca841169596506164c70ca2ea1c3d48e”,{“class”:“OC\Log”},"\OC\Memcache\APCu","\OC\Memcache\APCu","\OC\Memcache\Redis"]},{“file”:"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php",“line”:118,“function”:“OC\{closure}”,“class”:“OC\Server”,“type”:"->",“args”:["*** sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/lib/private/ServerContainer.php",“line”:125,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:"->",“args”:[“OC\Memcache\Factory”]},{“file”:"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",“line”:162,“function”:“query”,“class”:“OC\ServerContainer”,“type”:"->",“args”:[“OC\Memcache\Factory”]},{“file”:"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php",“line”:114,“function”:“OC\AppFramework\Utility\{closure}”,“class”:“OC\AppFramework\Utility\SimpleContainer”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/lib/private/ServerContainer.php",“line”:125,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:"->",“args”:[“MemCacheFactory”]},{“file”:"/var/www/nextcloud/lib/private/Server.php",“line”:1645,“function”:“query”,“class”:“OC\ServerContainer”,“type”:"->",“args”:[“MemCacheFactory”]},{“file”:"/var/www/nextcloud/lib/private/Server.php",“line”:805,“function”:“getMemCacheFactory”,“class”:“OC\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php",“line”:118,“function”:“OC\{closure}”,“class”:“OC\Server”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/lib/private/ServerContainer.php",“line”:125,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:"->",“args”:[“OC\App\AppManager”]},{“file”:"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",“line”:162,“function”:“query”,“class”:“OC\ServerContainer”,“type”:"->",“args”:[“OC\App\AppManager”]},{“file”:"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php",“line”:114,“function”:“OC\AppFramework\Utility\{closure}”,“class”:“OC\AppFramework\Utility\SimpleContainer”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/nextcloud/lib/private/ServerContainer.php",“line”:125,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:"->",“args”:[“AppManager”]},{“file”:"/var/www/nextcloud/lib/private/Server.php",“line”:1835,“function”:“query”,“class”:“OC\ServerContainer”,“type”:"->",“args”:[“AppManager”]},{“file”:"/var/www/nextcloud/lib/private/legacy/app.php",“line”:347,“function”:“getAppManager”,“class”:“OC\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/nextcloud/lib/private/legacy/app.php",“line”:114,“function”:“getEnabledApps”,“class”:“OC_App”,“type”:"::",“args”:[]},{“file”:"/var/www/nextcloud/lib/base.php",“line”:645,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[[“session”]]},{“file”:"/var/www/nextcloud/lib/base.php",“line”:1089,“function”:“init”,“class”:“OC”,“type”:"::",“args”:[]},{“file”:"/var/www/nextcloud/status.php",“line”:38,“args”:["/var/www/nextcloud/lib/base.php"],“function”:“require_once”}],“File”:"/var/www/nextcloud/lib/private/Memcache/Factory.php",“Line”:98,“Hint”:“Is the matching PHP module installed and enabled?”,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Linux) mirall/2.5.1git (Nextcloud)”,“version”:“18.0.3.0”}

Clearly the package php-apcu is the problem…

Nextcloud complains about Memcache, memcache is supposed to do the same kind of thing (maybe a solution ?)

And you have that recurrent error “PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’” into your upgrade log…

1 Like

It goes beyond my skills!

If I am guided, please try it out :wink:

What if I relaunch the update to see?

sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh

ou

sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/fix_dependencies

I don’t think it would change anything.

I was trying to reproduce, hoping to find something relevant. But actually that package php-apcu is here since a very long time in nextcloud.

And so I don’t…
Maybe you can try to install php-memcache, according to the doc one or the other is ok.