nextcloud_ynh icon indicating copy to clipboard operation
nextcloud_ynh copied to clipboard

Upgrade from 22.2.10~ynh1 to 24.0.4~ynh1 failed

Open xplosionmind opened this issue 1 year ago • 9 comments

Every info that is requested is contained in the log

xplosionmind avatar Sep 07 '22 14:09 xplosionmind

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?)

ericgaspar avatar Sep 07 '22 14:09 ericgaspar

maybe php8.0-apcu or php8.0-memcache are missing...

Is there something I can do?

xplosionmind avatar Sep 07 '22 15:09 xplosionmind

after running yunohost tools regen-conf nsswitch --force, I tried again to upgrade. It is still failing. Here is the log

xplosionmind avatar Sep 08 '22 05:09 xplosionmind

Similar issue : here is the log link

medalkiller avatar Sep 26 '22 10:09 medalkiller

+1 from 21.0.3~ynh1 logs

bachy avatar Oct 03 '22 10:10 bachy

ç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

bachy avatar Oct 03 '22 16:10 bachy

est-ce qu'il y a moyen d'upgrader une seul version a la fois ?

bachy avatar Oct 03 '22 16:10 bachy

Comme spécifié par @alexAubin just en dessous, c'est une autre problème. J'ai donc supprimé mon post pour limiter la confusion.

mateMathieu avatar Oct 11 '22 17:10 mateMathieu

(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 ...)

alexAubin avatar Oct 11 '22 17:10 alexAubin

The update still fails upgrading to version 24.0.7~ynh1, log here

xplosionmind avatar Nov 08 '22 10:11 xplosionmind

fulltextsearch app seems to be the culprit. Try to deactivate it and upgrade again

ericgaspar avatar Nov 08 '22 11:11 ericgaspar

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

xplosionmind avatar Nov 09 '22 08:11 xplosionmind

Strange, the logs keep talking about updating fulltextsearch...

ericgaspar avatar Nov 09 '22 09:11 ericgaspar