dje4321
(Dje4321)
October 17, 2017, 4:50am
1
I enabled read-only mode on my forums and im not able to disable it.
I cant disable read-only mode via the /admin/backups because i cant login.
entering the docker image and disabling it via rails does not work either.
rails c
Discourse.disable_readonly_mode
entering the docker image and running
discourse disable_readonly
does not work either.
Anything im missing?
sorry if the bug category is not the correct category. I think this might be a bug
1 Like
tgxworld
(Alan Tan)
October 17, 2017, 5:40am
2
3 Likes
dje4321
(Dje4321)
October 17, 2017, 11:52am
3
Thanks
This command in rails did the trick
Discourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)
12 Likes
I have the same issue in the latest discourse version.
from inside the web_only container
root@forum:/var/www/discourse# discourse disable_readonly
The site is now fully operable.
root@forum:/var/www/discourse#
./launcher enter web_only
after that, I still have the “read only” banner on the main page.
So, the issue is not solved yet …
… 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.
This topic was automatically closed after 2426 days. New replies are no longer allowed.