Disable read-only mode in Discourse from the rails console
A Discourse instance can be set in read-only mode for backups. I had used this for a global read-only maintenance. The admin session was on one of my computers which timed out after a while. In order to regain access to the Discourse instance, and being able to login as…