The user dje4321 is unable to disable read-only mode on their Discourse forum, even after attempting commands via the Docker image and Rails console. tgxworld explains that read-only mode can be triggered by different keys in PostgreSQL, referencing the relevant code. dje4321 resolves the issue using Discourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY) in the Rails console. Thomas_Rother confirms the same problem and notes that while discourse disable_readonly works, the read-only banner persists. Thomas_Rother suggests improving the UX by allowing admin access via a special login URL with a token, even in read-only mode.
… ok, I could solve this now with the rails c commandline info.
But anyway, this should be improved: for example there could be a special login url with a token to allow admin operations from the UX even in readyonly mode.