Hello,
I searched in the settings but I cannot find a way to temporarily disable a forum (such as to disable it for upgrades/changes/etc.). Where would I find such an option?
I want to disable logins that are not administrators and have it show as offline should anyone attempt to sign in.
Thanks
In the backup area, press the “enable read only mode” button.
In that section I only see:
Enable read only mode while taking a backup
There doesn’t seem to be a more ‘permanent’ version. Also if read only would be the only way, can I disable logins as well?
Got it thank you! Was looking in the Backup Settings instead.
Also, in the event I wish to disable log ins or take the forum completely offline is this possible?
Stephen
(Stephen)
2019 年7 月 20 日 01:41
6
If you don’t want anyone to access it change your a record and add it to your hosts.
DiscoWebmaster:
disable log ins
You can disable logins via your site settings, or re-rerun the setup wizard which will also allow you to make your site login required.
frold
2019 年10 月 25 日 11:07
8
If you want to disable it totally.
Eg with a msg like “The forum is temporary down due to maintenance”
As I need to move from server 1 (vultr) to server 2 (digitalocean)
and in that case also from url.tld to forum.url.tld
how do I do that?
pfaffman
(Jay Pfaffman)
2019 年10 月 25 日 11:18
9
I usually just put the old site in read only mode while making the transition to the new site.
Stephen:
修改你的 A 记录
这不起作用,可能是由于缓存?我使用的是 AWS 和 DigitalOcean。已登录的用户仍然可以浏览旧的 Discourse 实例。我可以强制所有人退出登录吗?
Stephen:
停止容器
如果我通过 SSH 登录到 Droplet,进入 /var/discourse/ 目录,然后运行 ./launcher stop app,它会输出:
+ /usr/bin/docker stop -t 10 app
app
但我仍然可以在其他打开的网页浏览器中导航并与旧的 Discourse 实例进行交互。
您确定已连接到正确的服务器了吗?
是的,我在命令行提示符中看到了它的名称。
docker ps 的结果是什么?
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
riking
(Kane York)
2020 年10 月 25 日 07:44
16
这显示没有任何进程在运行。你确定你正在管理正确的服务器吗?
pfaffman
(Jay Pfaffman)
2020 年10 月 25 日 12:20
17
Discourse 会缓存大量内容,因此有时网站看似正常显示,但实际上已宕机。如果刷新后网站仍显示正常,说明你并未登录到正确的服务器。
我最终只好放弃,彻底将该子域名从公共服务中移除,谢谢。