Nextcloud upgrade 31.0.11~ynh1 to version 32.0.5~ynh1 fails

What app is this about, and its version: Nextcloud, 31.0.11~ynh1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Raspberry Pi 3, 4+

Describe your issue

The nextcloud upgrade to 32.0.5~yh1 failed - the only ERROR message was ''Failed to upgrade nextcloud: An error occurred inside the app upgrade script".

How can I find out more? I tried both the upgrade via the admin ui as well as via the command line.

Share relevant logs or error messages

https://paste.yunohost.org/raw/ekuzicibok

Ok, solved the issue - the upgrade now succeded.

I don’t know excately, what was the cause - the following two aspects were changed by me:

  1. Did NOT enable maintenance mode in advance the upgrade
  2. Fixed an inactive and incomplete ldap-config (by deleting it)

I guess the second aspect did the trick, but I am not sure.

I have the same problem. So I started the update with the yunhost terminal.

I received this error:

Warnung: Failed to update sources : YunoHost konnte die Ressource 'main' (https://download.nextcloud.com/server/releases/nextcloud-32.0.5.tar.bz2) für nextcloud herunterladen, aber die Ressource stimmt mit der erwarteten Checksum nicht überein. Dies könnte entweder bedeuten, dass Ihr Server einfach ein vorübergehendes Netzwerkproblem hatte ODER dass der Upstream-Betreuer (oder ein schädlicher/arglistiger Akteur) die Ressource auf eine bestimmte Art verändert hat und dass die YunoHost-Paketierer das App-Manifest untersuchen und so aktualisieren müssen, dass es diese Veränderung berücksichtigt.
    Erwartete sha256-Prüfsumme: 8dd0bc8f8e2d262edad11197d4a07af799b51fe872ee2d9259ffa19b43e543ad
    Heruntergeladene sha256-Prüfsumme: 74a098047d700e8374c9dcbfb62870cee0507b5cf22f3c70015759c76ab5a6da
    Heruntergeladene Dateigrösse: 263M

So it seems there is (was) a problem with the checksum from the files of the nextcloud resource. May this was also your problem - if then, I may have luck and it will work the other day.

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