Erreur MAJ / Update Error - Nextcloud 29.0.5 > 32.0.7

What app is this about, and its version: Nextcloud 29.0.5~ynh1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: VPS bought online

Describe your issue

Hello guys / Salut tout le monde,

My Nexcloud update from 29.0.5 to 32.0.7 failed twice. I don’t know what to do and how to read log. Can someone help ? Thanks in advance.

La mise à jour de Nextcloud 29.0.5 vers 32.0.7 a échoué deux fois. Je ne sais pas quoi faire, ni ne sait lire le log. Quelqu’un peux m’aider ? Merci d’avance.

Share relevant logs or error messages

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

1 Like

Hello, bonjour,

English :

It appears that the Nextcloud breezedark app needs to be updated, or disabled if it is no longer compatible or not yet compatible, before updating Nextcloud.

Failed to upgrade nextcloud: An error occurred inside the app upgrade script : The following apps are not (yet?) compatible with Nextcloud 32. You should make sure to upgrade the app, or disable it, or wait for it to become compatible before running this upgrade : breezedark

Français :

Visiblement l’application breezedark de Nextcloud doit être mise à jour, ou bien la désactiver si elle n’est plus ou pas encore compatible, avant de faire la montée de version de Nextcloud.

Échec de la mise à jour de Nextcloud : une erreur s’est produite dans le script de mise à jour de l’application : les applications suivantes ne sont pas (encore ?) compatibles avec Nextcloud 32. Vous devez veiller à mettre à jour l’application, à la désactiver ou à attendre qu’elle devienne compatible avant de lancer cette mise à jour : breezedark

ppr

:united_kingdom:

You’re moving from version 29.0.5 to version 32.0.7, you didn’t update between those two versions?

You can disable « breezedark » through your Nextcloud instance

Or to disable « breezedark » on command line

yunohost app shell nextcloud
php occ app:disable breezedark
Type "Exit" to quit

:france:

Vous passez de la version 29.0.5 à la version 32.0.7, vous n’avez pas effectué de mise à jour entre ces deux versions ?

Vous pouvez désactiver « breezedark » via votre instance Nextcloud.

Ou désactiver « breezedark » en ligne de commande

yunohost app shell nextcloud
php occ app:disable breezedark
Tapez "Exit" pour quitter

:united_kingdom: My bad:

  • Log was easier to read than what I thought
  • Yes I should have updated between 29 and 32 (may the problem comes from here ?), but I was less focussed on that service these last months as long as it was working for my needs…

BUT:

  • I disabled BreezeDark from the NC instance, tried to relaunch the update. The update failed because apparently Mail app wasn’t compatible too. At least I know what to do on it now.
  • And now I’ve got the following problem:

” Error: Your data directory is invalid. Ensure that the data directory contains a “.ocdata” file at its root.”

I’m unable to use the service. What’s the next mooves ? Thanks again.

:france: Autant pour moi :

  • Le journal d’erreurs était plus facile à lire que prévu.
  • Oui j’aurais dû faire la mise à jour entre 29 et 32 (le problème vient peut-être de là ?), mais je me suis moins concentré sur ce service ces derniers mois, car il fonctionnait tel quel pour mes besoins…

MAIS:

  • j’ai désactivé BreezeDark dans l’instance NC et j’ai tenté de relancer la mise à jour. Celle-ci a échoué, car l’application Mail n’était apparemment pas compatible non plus. Au moins je vois qu’il faudra sans doutes la désactiver aussi.
  • Et maintenant, j’ai le problème suivant :

Erreur: Votre répertoire des données n’est pas valide. Assurez-vous que le répertoire de données contient un fichier “.ocdata” à sa racine. “

Le service est donc HS. Quelles sont les prochaines étapes pour résoudre ça ? Merci encore.

hi
please share the new logfile of the failed update

Vous pouvez essayer ceci :

yunohost app shell nextcloud

Afficher les mises à jour disponibles, il y en a.

php occ app:update --showonly

Et mettre à jour toutes les applications.

php occ app:update --all

The log of the last update trial:

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

I also have the log of a nextcloud uninstalling that I haven’t ask…

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

That may be linked to the fact I tried a restore (via the admin panel) when I saw app was down. it failed saying Nexcloud was already installed:

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

Try

yunohost app shell nextcloud

php occ setupchecks

Then :

php occ maintenance:repair --include-expensive

php occ setupchecks

Bonsoir @BABs
Que renvoie ls -la /home/yunohost.app/nextcloud/data ?

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