dje4321
(Dje4321)
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
tgxworld
(Alan Tan)
2
「いいね!」 3
dje4321
(Dje4321)
3
Thanks
This command in rails did the trick
Discourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)
「いいね!」 12
最新の Discourse バージョンでも同じ問題が発生しています。
- web_only コンテナ内から
root@forum:/var/www/discourse# discourse disable_readonly
The site is now fully operable.
root@forum:/var/www/discourse#
-
./launcher enter web_only
-
その後、メインページに「読み取り専用」バナーが表示されたままです。
したがって、問題はまだ解決していません…
…わかりました。これでレールcコマンドライン情報で解決できました。
しかし、いずれにしても、これは改善されるべきです。たとえば、読み取り専用モードでもUXから管理操作を許可するトークン付きの特別なログインURLを用意するなどです。
このトピックは2426日後に自動的に閉じられました。新しい返信は許可されなくなりました。