dje4321
(Dje4321)
17 أكتوبر 2017، 4:50ص
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)
17 أكتوبر 2017، 5:40ص
2
3 إعجابات
dje4321
(Dje4321)
17 أكتوبر 2017، 11:52ص
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
بعد ذلك، لا يزال لدي لافتة “للقراءة فقط” على الصفحة الرئيسية.
لذلك، لم يتم حل المشكلة بعد…
“[quote="Dje4321, post:3, topic:72242, username:dje4321"]\nDiscourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)\n[/quote]\n\n… حسنًا ، يمكنني حل هذا الآن بمعلومات سطر أوامر rails c.\nولكن على أي حال ، يجب تحسين هذا: على سبيل المثال ، يمكن أن يكون هناك عنوان URL خاص لتسجيل الدخول برمز مميز للسماح بعمليات المسؤول من واجهة المستخدم حتى في وضع القراءة فقط.”
تم إغلاق هذا الموضوع تلقائيًا بعد 2426 يومًا. لم يعد الرد على المواضيع الجديدة مسموحًا به.