Я установил Discourse на свой сервер, и он работал долгое время без каких-либо проблем. Однако после последнего обновления все учётные записи пользователей, включая административные, перестали входить в систему.
Спустя некоторое время я заподозрил, что проблема в плагинах, поэтому удалил все плагины и выполнил команду ./launcher rebuild app, чтобы запустить чистую версию без модификаций, но это не помогло. В текущей ситуации сайт, похоже, работает только в режиме чтения, и никакие действия, кроме просмотра тем, невозможны.
При любой попытке отправки формы входа появляется следующее сообщение, и мы не понимаем, что оно означает:
Наш сайт находится по адресу https://discuss.stickyricelove.com. Мы являемся некоммерческой организацией, которая занимается образованием и продвижением сексуального просвещения в Гонконге, помогая подросткам разобраться в их вопросах и сомнениях.
It looks like one of your plugins is not compatible with the current version of Discourse. I suggest removing all third party (non-official) plugins and rebuilding.
Do you have this behind cloudflare or anything like that? @sam do you see anything in the pictured JS console errors that would indicate what is the issue?
We have consider that issue too, therefore a month ago we completely disabled all Cloudflare features, will also consider moving out Cloudflare since it brings enough troubles for us.
Will there be any override that I can force my current session as an admin? In that way I can get into the backend and see what’s the log telling
I manage a small discourse forum for an opensource project and we have something that looks like the same problem. The error is exactly the same with google chrome, but is different with firefox : the login dialog works normally, the page is refreshed but it does not log me in (screenshots bellow).
It’s a dedicated host, and it doesn’t change much if I rebuild with beta, previous beta, or “tests-passed”. We don’t use cloudfare, but it’s behind a nginx reverse proxy (nothing too fancy). The discourse container is http, but nginx serves it in https through the reverse proxy, if that makes any difference.
I would appreciate any idea if there is something I can try.
Hello. I tried to run it without the nginx reverse proxy and it did not resolve the issue. Will run a reinstall tomorrow except if anyone think about something that could help by that time.
I noticed that by default, the launcher rebuild script was checking out the “tests-passed” version. Is it a bit dangerous ? should it be beta ? When I update from the admin web screen, it update to the most recent beta instead ?
I had to launch a rebuild before the problem appeared because the host ip from inside the container changed. The host is also my mailserver, and the mail config was in app.yml.
Is it possible that with the rebuild, I updated to a version that somehow corrupted the config ? (I launched the rebuild around 11/02/2016 07:00 PM if that’s any help).