nextcloud_ynh
nextcloud_ynh copied to clipboard
Upgrade from 22.2.10~ynh1 to 24.0.4~ynh1 failed
Every info that is requested is contained in the log
maybe php8.0-apcu
or php8.0-memcache
are missing...
2022-09-07 14:42:38,761: DEBUG - OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
maybe
php8.0-apcu
orphp8.0-memcache
are missing...
Is there something I can do?
after running yunohost tools regen-conf nsswitch --force
, I tried again to upgrade. It is still failing. Here is the log
Similar issue : here is the log link
+1 from 21.0.3~ynh1 logs
ça bug systematiquement entre la 22 et la 23
2022-10-03 18:24:43,107: DEBUG - + sudo -u nextcloud php8.0 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode --off
2022-10-03 18:24:43,280: WARNING - 0/0 [>---------------------------] 0%Nextcloud or one of the apps require upgrade - only a limited number of commands are available
2022-10-03 18:24:43,281: WARNING - You may use your browser or the occ upgrade command to do the upgrade
2022-10-03 18:24:43,290: DEBUG - Maintenance mode disabled
2022-10-03 18:24:43,299: DEBUG - + exec_occ upgrade
2022-10-03 18:24:43,299: DEBUG - + '[' 22 = last ']'
2022-10-03 18:24:43,300: DEBUG - + '[' 22 -ge 15 ']'
2022-10-03 18:24:43,300: DEBUG - + NEXTCLOUD_PHP_VERSION=8.0
2022-10-03 18:24:43,300: DEBUG - + cd /var/www/nextcloud
2022-10-03 18:24:43,301: DEBUG - + ynh_exec_as nextcloud php8.0 --define apc.enable_cli=1 occ --no-interaction --no-ansi upgrade
2022-10-03 18:24:43,301: DEBUG - + local user=nextcloud
2022-10-03 18:24:43,301: DEBUG - + shift 1
2022-10-03 18:24:43,302: DEBUG - ++ whoami
2022-10-03 18:24:43,305: DEBUG - + [[ nextcloud = root ]]
2022-10-03 18:24:43,305: DEBUG - + sudo -u nextcloud php8.0 --define apc.enable_cli=1 occ --no-interaction --no-ansi upgrade
2022-10-03 18:24:43,474: WARNING - Nextcloud or one of the apps require upgrade - only a limited number of commands are available
2022-10-03 18:24:43,474: WARNING - You may use your browser or the occ upgrade command to do the upgrade
2022-10-03 18:24:43,485: DEBUG - Setting log level to debug
2022-10-03 18:24:43,485: DEBUG - Turned on maintenance mode
2022-10-03 18:24:43,486: DEBUG - Exception: Updates between multiple major versions and downgrades are unsupported.
2022-10-03 18:24:43,486: DEBUG - Update failed
2022-10-03 18:24:43,487: DEBUG - Maintenance mode is kept active
2022-10-03 18:24:43,487: DEBUG - Resetting log level
2022-10-03 18:24:43,495: DEBUG - + '[' 5 -eq 3 ']'
2022-10-03 18:24:43,496: DEBUG - + ynh_die '--message=Unable to upgrade Nextcloud'
2022-10-03 18:24:43,529: WARNING - Unable to upgrade Nextcloud
j'ai essayé de desactiver toute les apps qui ne sont pas native mais ça ne passe tjrs pas
est-ce qu'il y a moyen d'upgrader une seul version a la fois ?
Comme spécifié par @alexAubin just en dessous, c'est une autre problème. J'ai donc supprimé mon post pour limiter la confusion.
(ce n'est pas le même problème, si ce n'est que c'est l'upgrade de 22 à 24 qui échoue, mais le symptome est complètement différent ...)
The update still fails upgrading to version 24.0.7~ynh1
, log here
fulltextsearch app seems to be the culprit. Try to deactivate it and upgrade again
Thanks for the suggestion, @ericgaspar, but unfortunately the upgrade still fails.
Try to deactivate it and upgrade again
I did it, and the upgrade still fails: here is the log
Strange, the logs keep talking about updating fulltextsearch...