scubamuc
scubamuc
> really nice one @scubamuc ! I think this should be added as an alternative in our wiki. WDTY @kyrofa ? @pachulo wiki entry... - [SCUBA's self-hosted Nextcloud-snap server](https://github.com/scubamuc/scubamuc.github.io/blob/scubamuc/Readme.md#31-nextcloud-snap-export--import)
i'm not sure if your issue is a nextcloud-snap issue... you could try disabling file locking and see if that works for you... edit config.php, disable file lock: `sudo nano...
see here https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/files_locking_transactional.html edit config.php, disable file lock: `sudo nano /var/snap/nextcloud/current/nextcloud/config/config.php`
that should do it, but please note, since this is not a nextcloud-snap issue and i'm not a nextcloud supporter, this a personal suggestion! please close issue when done
please show permissions for external storage
permissions for data must be root only `sudo chown -R root:root /media/nextcloud/data` see [here](https://github.com/nextcloud-snap/nextcloud-snap/issues/2169)
please see notes in the last section of [Nextcloud and Collabora behind HAProxy](https://github.com/nextcloud-snap/nextcloud-snap/wiki/Nextcloud-and-Collabora-behind-HAProxy/79ac69592512ba23f3bf24e175684cb8fd362bc2)
check Nextcloud-snap disk usage: `sudo du -hs /var/snap/nextcloud/common/nextcloud/data` find and list 5 largest files in nextcloud-snap directory: `sudo find /var/snap/nextcloud/common/nextcloud/data -type f -printf "%s\t%p\n" | sort -n | tail -5...
see here https://github.com/nextcloud-snap/nextcloud-snap/issues/2159
external app permissions for data directory --> _this is only possible as root_ or 'one-time at user creation' access --> _consider using `skeleton`_