http 500 at picture upload (after adding Volume)
-
Looks bad :/. Anyone with the same problem?
-
For a start, not sure why you have moved the app data directory to the hetzner volume AND also have the same added as a volume mounted into the app, I guess you can remove the volume mount.
However since the app startup script will ensure ownership of files, and according to the error messages, this is not supported by CIFS setup of the Hetzner storage box, I am afraid mastodon, and a lot of other apps will not support moving the data directory to that volume.
What you can do is, to have the main data directory on the local ext4 disk and then have to see how one can make use of volumes for the mastodon media cache (just like the S3 support)
-
-
@nebulon said in http 500 at picture upload (after adding Volume):
For a start, not sure why you have moved the app data directory to the hetzner volume AND also have the same added as a volume mounted into the app, I guess you can remove the volume mount.
I thought better twice than mounted in the wrong place. But I have now removed the /media/ mount again.
However since the app startup script will ensure ownership of files, and according to the error messages, this is not supported by CIFS setup of the Hetzner storage box, I am afraid mastodon, and a lot of other apps will not support moving the data directory to that volume.
What you can do is, to have the main data directory on the local ext4 disk and then have to see how one can make use of volumes for the mastodon media cache (just like the S3 support)
mmh. But not as easy as I had hoped.
Then I guess I'll have a go with s3 instead of CIFS mount..... -
-
@nebulon said in http 500 at picture upload (after adding Volume):
I think so yes, there is a thread about this at https://forum.cloudron.io/topic/8141/http-500-at-picture-upload-after-adding-volume/2
That's the wrong link (it points to this same self thread).
This is the thread with the most relevant posts. It starts out being about how great Minio is, but you can of course connect to any S3 service.
Here is my post in that thread with what worked for me using Scaleway Object Storage:
-
-
@jdaviescoates oh thanks for the correction.
-
-
@johannesjom generally the permissions are basically everyone can do everything on hetzner cifs storage, in this particular case the changing of permissions from the app startup script fails. So apps which do not require this, will likely work just fine.