Nextcloud 25 : répertoire fichiers indisponible -> bug gestion des quotas en 32-bits

Mon serveur YunoHost

Matériel: Raspberry Pi à la maison + SSD
J’ai accès à mon serveur : En SSH

Description du problème

Depuis 48h je n’arrive plus à accéder à mon répertoire des fichiers sous Nextcloud, il n’affiche pas de fichier et dit Ce répertoire est indisponible, merci de consulter les journaux ou de contacter votre administrateur.
Idem pour certains sous répertoires.
La synchronisation via le client ne fonctionne pas non plus.

La vue “récent” et la vue “partagés” fonctionnent, les fichiers sont accessibles.

J’ai cette erreur dans les journaux:

[webdav] Erreur: TypeError: OCA\DAV\Connector\Sabre\FilesPlugin::OCA\DAV\Connector\Sabre\{closure}(): Return value must be of type ?int, float returned at <<closure>>

J’ai fait un file scan via occ, ça n’a rien changé en apparence.

On dirait une variante de ça : Nextcloud : impossible d'accéder à la corbeille - #4 by ljf
Sauf que je ne comprends pas quel est le problème précis dans ce cas.

Que faire ?

Merci :slight_smile:

Après avoir mis à jour quelques applications (avec par conséquent quelques minutes de passages en mode maintenance) j’ai beaucoup d’erreurs [no app in context] Info: Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "photos.page.index" as such route does not exist. at <<closure>>) (avec d’autres messages du type “something.page.index” pour chaque application &co).


[en]
After upgrading a few app (with a few minutes of maintenance mode as a results), I have now a lot of [no app in context] Info: Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "photos.page.index" as such route does not exist. at <<closure>>) errors (with other “something.page.index” stuff, for every app).

:up:
Any idea ? :smiley:

This seems to be linked with 32 support (being dropped completely in the next version 26) : [stable25] fix NC25 for 32-bit by szaimen · Pull Request #34905 · nextcloud/server · GitHub
Deprecation of 32-bit support ends completely with Nextcloud 26 - 🚧 Installation - Nextcloud community

It only will be fixed with 25.0.2… but we can’t upgrade on 32 bit systems : https://github.com/YunoHost-Apps/nextcloud_ynh/pull/517#issuecomment-1345338065

edit: I submitted a PR to solve this, it is now in testing.

The fix is not complete apparently, I still have the issue.
The problem is that the Quota value is limited to something around 2GB, anything above does not work because it’s managed as an integer number that is too small (I guess).

Here how to fix it : [stable25] fix NC25 for 32-bit by szaimen · Pull Request #34905 · nextcloud/server · GitHub

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