Versions-Folder of __groupfolders isn't cleared automatically

Hey, because I couldn’t find a solution anywhere I hope someone can help me with that one :slight_smile:

Nextcloud version: 27.1.4
Operating system and version: Debian 10.13
Nginx version : 1.24.0
PHP version: 8.2.13

The issue you are facing:
The versions-folder of “groupfolders” isn’t cleared automatically. (data/__groupfolders/versions)

Is this the first time you’ve seen this error? (Y/N):
Yes but I only noticed it, because my server is running out of space.

Steps to replicate it:
It’s happening automatically, but you can force the error with executing the OCC command
groupfolders:expire

Output errors in nextcloud.log:
OC\User\NoUserException: Backends provided no user object
(Output once/twice in an hour)

I wrote following line for the version-deletion in my config.php:
‘versions_retention_obligation’ => ‘auto’,

Besides this, the NC is working just fine.
I don’t need a permanent solution, as I don’t use the versioning feature. I’m also going to deactivate the app after fixing this.
My main goal is just to free the disk space, so any ideas on how to remove the version files are also welcome :slight_smile:

There is already a long thread about it and an issue in the bugtracker.

You could have find it with the search function. Always search for the error in log output :wink:

Much luck,
ernolf

1 Like

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