Unable to login as admin after enabling read only mode

You don’t have to edit anything. Just ssh into your discourse server and do the following:

cd /var/discourse
./launcher enter app
rails c
Discourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)

8 Likes