Hey folks,
I'm working on setting up Funkwhale with Infomaniak (https://docs.infomaniak.cloud/documentation/04.object-storage/010.s3/), an S3-compatible storage provider. I'm using the multi-container docker setup on a Hetzner cloud server, but with swag (https://docs.linuxserver.io/general/swag) instead of the default nginx setup.
I've followed all the instructions here (https://docs.funkwhale.audio/admin/external-storages.html), so the relevant part of my .env
file looks like:
AWS_ACCESS_KEY_ID={my_id}
AWS_SECRET_ACCESS_KEY={my_key}
AWS_STORAGE_BUCKET_NAME={my-bucket}
AWS_S3_ENDPOINT_URL=https://s3.pub1.infomaniak.cloud/{my URL}
but whenever I try to upload a file, I get this error in the funkwhale_api container:
botocore.exceptions.ClientError: An error occurred (InvalidBucketName) when calling the PutObject operation: The specified bucket is not valid.
And a 500 error on the frontend when posting to {my URL}/api/v1/uploads/
I've dug pretty deep and at every log level my container name is the same, so I don't think this error is actually what's going on. I've also tried setting the container to public and using AWS_DEFAULT_ACL=public
with the same results.
I'd love any advice or help this, I'm getting pretty out of my depth 😅 . Let me know if any more information would be helpful.