Not able to write on mounted volume
-
I tried to use a mounted volume to keep the Cloudron installation itself slim, but as soon as I move the sqlite db and ebooks to that volume and adjust the path in calibre, it says
DB is not Writeable
.This is easily reproducable, if you jump on a terminal and try to write anything on the mount as the
cloudron
-user (which also runs the app), you get apermission denied
, if you do the same as root, it works. How would I go about to give the mount write permission for the cloudron user? -
Are you able to just
chown
the mount dir or does that error out in a read-only fs? -
@murgero no, have already tried that, but the owner isn't changeable
root@xxx:/media# ls -la total 8 drwxr-xr-x 1 root root 4096 Dec 7 20:57 . drwxr-xr-x 1 root root 4096 Dec 7 20:57 .. drwxr-xr-x 2 1001 1001 0 Dec 8 08:52 Ebook
-
@msbt I think I had something similar but in my case was ablr to fix by changing ownership of relevant folders files using the File Manager for the Volume.
-
@jdaviescoates ah I didn't know you could access the volumes via the filemanager. I however am getting a 404 when trying to open that up, like
GET https://my.cloudron.com/api/v1/volumes/id/files/ [HTTP/2 404 Not Found 192ms]
-
@msbt I've only ever done it via the GUI in by clicking on the little folder icons in Volumes
-
@jdaviescoates and this works for you? Also getting the same 404 error when I click the folder icon
-
@msbt yes, clicking on those icons works for me