Hi, I'm having some trouble configuring my funkwhale instance to use external S3-compatible storage (mine is actually a DigitalOcean space). When I enable external storage (I have all my media mirrored on both the local file system and on the external space, so I can switch back and forth to troubleshoot) web requests for music (the ones to https://cool.enbies.online/api/v1/listen/[some identifier]
) return a 502 bad gateway, which makes me think that the nginx config is wrong somehow.
Though since I'm unfamiliar with journalctl, I'm having trouble finding relevant error logs. I'd expect nginx logs to tell me which proxied request failed, but the only nginx logs I can find (with journalctl -u nginx*
) are the startup/shutdown/reload notices.
Some details:
- I'm using a non-docker setup
- Cover art is getting served from the external storage
- Songs uploaded while the instance is configured for external storage is uploaded correctly
- Because songs get uploaded (and serve their cover art) correctly while the instance is set to use external storage, I'm convinced that all my
AWS_
env vars are all correct
One thing is that I noticed that the external storages docs seems a little out of date. Where the docs page says to edit /etc/nginx/sites-available/funkwhale.template
, I instead modified ansible/playbook.yml
to add the field funkwhale_external_storage_enabled: true
and performed a reconfigure. So it's likely I'm missing something else.
Thanks in advance