Accidentally made site read only, how do I disable?



I actived the function read only on the discourse forum, but i logged out and now, i can’t able to reconnect to the forum.
What is it the solution please ?


Found this via searches.

So basically, executing this in rails console:


will get you out of readonly mode, and then you can login.

Moral of the story? Don’t log out after activating readonly mode.


how to log in rails console ? i installed ruby-railties



Yup this should’ve done it. Do you have access to your site login now?


all is good thanx my brother

(Régis Hanol) #7