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 日午前 1: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:
コンテナを停止
Droplet に SSH で接続し、/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 日午前 7:44
16
何も実行されていないと表示されています。正しいサーバーを管理していることは確かですか?
pfaffman
(Jay Pfaffman)
2020 年 10 月 25 日午後 12:20
17
Discourse は多くのデータをキャッシュしているため、サイトがダウンしていても表示されているように見えることがあります。それでもサイトが表示される場合は、ハードリロードを行ってください。正しいサーバーにログインしていない可能性があります。
結局、サブドメインをパブリックサービスから完全に削除することにしました。ありがとうございました。