You are not logged in.

#1 2021-02-27 01:48:41

aestheticrice
Member
Registered: 2021-02-27
Posts: 2

Nextcloud/php-fpm unable to read/write mounted drive

Trying to set up nextcloud (after the upgrade) with nginx & php-fpm - for some reason, nextcloud refuses to read or write in my mounted drive (/mnt/storage - external digitalocean storage). Into the php-fpm service override, I have added

ReadWritePaths = /mnt/storage

and am running the installation into a subfolder of that drive, specifically

/mnt/storage/nextcloud

however it always returns

Can't create or write into the data directory /mnt/storage/nextcloud

Here's ls -la for the directory:

drwxrwx---  2 nextcloud nextcloud     4096 Feb 27 01:20 nextcloud

The directory itself is empty.
Why is nextcloud unable to write? All permissions are given and it works fine if installed into it's regular data directory, however it is completely unable to do anything in the mounted drive.
Everything worked fine before the change to have nextcloud run as a separate user, is it an issue with the user itself?

Last edited by aestheticrice (2021-02-27 01:49:19)

Offline

#2 2021-02-28 11:58:02

aestheticrice
Member
Registered: 2021-02-27
Posts: 2

Re: Nextcloud/php-fpm unable to read/write mounted drive

Never mind, after frantically looking around for several hours I realized that my /mnt/storage perms were 760 smile

Offline

Board footer

Powered by FluxBB