Error message in Nextcloud logs

Hi All,

I am running Nextcloud 23.0 and I notice in the logs the following error message periodically appear.

Error core Exception: Failed to remove item from trashbin

/var/www/html/nextcloud/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php - line 65:

OCA\GroupFolders\Trash\TrashBackend->expire()

/var/www/html/nextcloud/lib/private/BackgroundJob/Job.php - line 51:

OCA\GroupFolders\BackgroundJob\ExpireGroupVersions->run()

/var/www/html/nextcloud/lib/private/BackgroundJob/TimedJob.php - line 58:

OC\BackgroundJob\Job->execute()

/var/www/html/nextcloud/cron.php - line 128:

OC\BackgroundJob\TimedJob->execute()

The server is running Rocky Linux 8.5 with the Apache web server and MariaDB. PHP version is 8.0. Maybe some kind of permissions problem but I’m not sure what.

I will be grateful for any suggestions.

Regards Bill

Hi All,

I seem to have solved this myself. There was a discrepancy between the database and the actual files in the the group folders trash, which i think may have been causing the problem. I used occ groupfolders:scan and it looks like the problem has gone away.