当 'discourse enable_readonly' 启用时,站点自动退出只读模式。

I have had trouble using that as well, both for enabling and disabling readonly mode. The last time I ended up running Discourse.enable_readonly_mode in rails.

It’s always an emergency when it happens and I haven’t investigated what the issue might be.

FWIW, in my own Ansible tooling I don’t use read-only mode, but do use Introducing Post Deployment Migration

1 个赞