Hello,
I get an error in the log every hour that seems to reference groupfolders.
Using Nextcloud 16.0.5 and groupfolders 4.1.4
Here is the error that recurs every hour in the logs:
[core] Error: OCP\Files\NotPermittedException: at <>
0. /var/www/vhosts/mysiteurl.com/httpdocs/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php line 71
OC\Files\Node\File->delete()
1. /var/www/vhosts/mysiteurl.com/httpdocs/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php line 57
OCA\GroupFolders\Versions\GroupVersionsExpireManager->expireFolder({id: 2,mount_poi ... e})
2. /var/www/vhosts/mysiteurl.com/httpdocs/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php line 40
OCA\GroupFolders\Versions\GroupVersionsExpireManager->expireAll()
3. /var/www/vhosts/mysiteurl.com/httpdocs/lib/private/BackgroundJob/Job.php line 61
OCA\GroupFolders\BackgroundJob\ExpireGroupVersions->run(null)
4. /var/www/vhosts/mysiteurl.com/httpdocs/lib/private/BackgroundJob/TimedJob.php line 55
OC\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
5. /var/www/vhosts/mysiteurl.com/httpdocs/cron.php line 123
OC\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})
I have tried removing and re-installing groupfolders and that did not resolve the issue.
How can I fix this?
Thanks,
Ari
For the first line in your log, I wonder if this is happening when one of your users attempts to delete a file/folder? I’ve noticed on my end that some users assigned to a group folder (even though they have all the permissions) are still unable to delete files/folders. And upon inspecting the logs, I see something similar to what you’ve posted.
Interesting.
in our case, it occurs exactly at the bottom of every hour, 24x7.
But if you are getting a similar error then it sounds like this is not an isolated problem.
[core] Error: OCP\Files\NotPermittedException: at <>
/var/www/nextcloud/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php line 71
OC\Files\Node\File->delete()
/var/www/nextcloud/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php line 57
OCA\GroupFolders\Versions\GroupVersionsExpireManager->expireFolder({id: 6,mount_poi … e})
/var/www/nextcloud/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php line 40
OCA\GroupFolders\Versions\GroupVersionsExpireManager->expireAll()
/var/www/nextcloud/lib/private/BackgroundJob/Job.php line 61
OCA\GroupFolders\BackgroundJob\ExpireGroupVersions->run(null)
/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php line 55
OC\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
/var/www/nextcloud/cron.php line 124
OC\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})