angristan / docker-pleroma

Docker image for the Pleroma federated social network
https://git.pleroma.social/pleroma/pleroma/
MIT License
351 stars 77 forks source link

No Admin FE settings: "You must enable configurable_from_database in your config file" #83

Open arctos-digital opened 1 year ago

arctos-digital commented 1 year ago

There are no admin settings in Admin FE. "Request failed with status code 400 - You must enable configurable_from_database in your config file."

Pleroma's own documentation on this is incredibly unclear, and I'm even more lost with containerization. Can I set this in config-override.exs? Is this something I need to do through docker exec?

Seems like admin settings shouldn't be anywhere near this difficult to use and I'm missing something obvious.

nouryxd commented 1 year ago

I fixed the error by adding config :pleroma, configurable_from_database: true on line 31 in the config.exs here:

https://github.com/angristan/docker-pleroma/blob/8fb03c885ca1e457350ea5e77f40bbd529785651/config.exs#L31C1-L31C1

Just for reference: I found the hint here https://docs.soapbox.pub/backend/configuration/howto_database_config/#migration-to-database-config

I don't know if it's the proper way, but it works for me