User not able to move or delete files - RESOLVED

EDIT: I took the cowards way out and just recreated the user and deleted the old one as they didn’t have too many files to copy over or a complicated configuration!

Hello all,

Nextcloud version (eg, 20.0.5): 20.0.8
Operating system and version (eg, Ubuntu 20.04): Linux 5.9.0-0.bpo.5-amd64 x86_64
Apache or nginx version (eg, Apache 2.4.25): I don't know but its newly set up
PHP version (eg, 7.4): 7.4.14

The issue you are facing:
I have a user that is unable to perform file actions such as adding or deleting files. This Nextcloud installation is running using Docker on OpenMedia Vault 5. The only thing that i think may have caused this is that I have been adding and deleting files from the command line (ssh) in their directory. Maybe I have messed up something somehow here but I’m not sure.

Thank you for Nextcloud, I love it!

Nick.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:
Try to create or move a file in the web gui. Files can be moved in the desktop client but this is not synced to Nextcloud

The output of your Nextcloud log in Admin > Logging:

Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-07T01:42:27+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_161104.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-07T01:42:27+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-07T01:42:27+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_161104.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-07T01:42:27+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-07T01:41:15+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_161104.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-07T01:41:15+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-07T01:41:15+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_161104.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-07T01:41:15+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-06T19:59:34+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_160853.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-06T19:59:34+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-06T19:59:33+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_161104.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-06T19:59:33+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-06T19:59:33+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_160853.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-06T19:59:33+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-06T19:59:33+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_161104.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-06T19:59:33+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-06T19:57:54+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_161104.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-06T19:57:54+0000
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2021-03-06T19:57:54+0000
Error	PHP	Error: fopen(/data/kit/files/Photos/20210209_161104.mp4): failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#355	
2021-03-06T19:57:54+0000
Warning	core	Login failed: 'kit' (Remote IP: '192.168.1.1')	
2021-03-06T18:21:20+0000
Warning	core	Login failed: 'kit' (Remote IP: '192.168.1.1')	
2021-03-06T18:21:19+0000
Warning	no app in context	Login failed: cat.duggan@btinternet.com (Remote IP: 194.37.96.187)	
2021-03-06T18:20:20+0000
Warning	core	Login failed: 'kit' (Remote IP: '194.37.96.187')	
2021-03-06T18:20:20+0000
Warning	no app in context	Login failed: cat.duggan@btinternet.com (Remote IP: 194.37.96.187)	
2021-03-06T18:19:21+0000
Warning	core	Login failed: 'kit' (Remote IP: '194.37.96.187')	
2021-03-06T18:19:21+0000
Warning	appstoreFetcher	Could not connect to appstore: cURL error 28: Failed to connect to apps.nextcloud.com port 443: Operation timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)	
2021-03-01T15:00:34+0000
Info	updater	\OC\Updater::resetLogLevel: Reset log level to Warning(2)	
2021-02-26T23:51:28+0000
Info	updater	\OC\Updater::maintenanceActive: Maintenance mode is kept active	
2021-02-26T23:51:28+0000
Info	updater	\OC\Updater::updateEnd: Update successful	
2021-02-26T23:51:28+0000
Info	updater	\OC\Updater::finishedCheckCodeIntegrity: Finished code integrity check	
2021-02-26T23:51:28+0000
Info	updater	\OC\Updater::startCheckCodeIntegrity: Starting code integrity check...	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::info: Repair info: Repaired DAV group shares	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Repair DAV shares	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Remove old dashboard app config data	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Check encryption key format	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Keep legacy encryption enabled	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Reset generated avatar flag	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Clear access cache of projects	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::info: Repair info: No need to remove link shares.	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Remove potentially over exposing share links	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Add background job to cleanup login flow v2 tokens	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Cleanup invalid photocache files for carddav	
2021-02-26T23:51:16+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:16+0000
Info	updater	\OC\Repair::step: Repair step: Queue a one-time job to cleanup old backups of the updater	
2021-02-26T23:51:15+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:15+0000
Info	updater	\OC\Repair::step: Repair step: Add preview background cleanup job	
2021-02-26T23:51:15+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:15+0000
Info	updater	\OC\Repair::step: Repair step: Clear every generated avatar on major updates	
2021-02-26T23:51:15+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:15+0000
Info	updater	\OC\Repair::info: Repair info: JS cache cleared	
2021-02-26T23:51:15+0000
Info	no app in context	Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:15+0000
Info	updater	\OC\Repair::info: Repair info: SCSS cache cleared	
2021-02-26T23:51:13+0000
Info	no app in context	Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:51:13+0000
Debug	scss_cacher	SCSSCacher::resetCache Locking removed	
2021-02-26T23:51:13+0000
Debug	scss_cacher	SCSSCacher::resetCache css cache cleared!	
2021-02-26T23:51:13+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "photos.page.index" as such route does not exist.	
2021-02-26T23:51:10+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "forms.page.index" as such route does not exist.	
2021-02-26T23:51:10+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "files.view.index" as such route does not exist.	
2021-02-26T23:51:10+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "dashboard.dashboard.index" as such route does not exist.	
2021-02-26T23:51:10+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "contacts.page.index" as such route does not exist.	
2021-02-26T23:51:10+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "calendar.view.index" as such route does not exist.	
2021-02-26T23:51:10+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "activity.Activities.showList" as such route does not exist.	
2021-02-26T23:51:10+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "photos.page.index" as such route does not exist.	
2021-02-26T23:51:09+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "forms.page.index" as such route does not exist.	
2021-02-26T23:51:09+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "files.view.index" as such route does not exist.	
2021-02-26T23:51:09+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "dashboard.dashboard.index" as such route does not exist.	
2021-02-26T23:51:09+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "contacts.page.index" as such route does not exist.	
2021-02-26T23:51:09+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "calendar.view.index" as such route does not exist.	
2021-02-26T23:51:09+0000
Info	no app in context	Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "activity.Activities.showList" as such route does not exist.	
2021-02-26T23:51:09+0000
Debug	scss_cacher	SCSSCacher::resetCache Lock acquired	
2021-02-26T23:50:54+0000
Debug	scss_cacher	SCSSCacher::resetCache	
2021-02-26T23:50:54+0000
Info	updater	\OC\Repair::info: Repair info: Image cache cleared	
2021-02-26T23:50:54+0000
Info	no app in context	Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:50:54+0000
Info	updater	\OC\Repair::step: Repair step: Clear frontend caches	
2021-02-26T23:50:54+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:50:54+0000
Info	updater	\OC\Repair::step: Repair step: Add log rotate job	
2021-02-26T23:50:54+0000
Info	no app in context	Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used	
2021-02-26T23:50:54+0000
Info	updater	\OC\Repair::step: Repair step: Install new core bundle components

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

I can't find that!

The output of your Apache/nginx/system log in /var/log/____:

I can't find that either