Wie man ein Forum vorübergehend offline schaltet

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?

If you don’t want anyone to access it change your a record and add it to your hosts.

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.

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?

I usually just put the old site in read only mode while making the transition to the new site.

Das funktioniert nicht, vielleicht wegen Caching? Ich nutze AWS und DigitalOcean. Benutzer, die eingeloggt sind, können die alte Discourse-Instanz weiterhin durchsuchen. Kann ich alle Benutzer zwingend ausloggen?

Warum stoppen Sie den Container nicht?

Wenn ich per SSH auf den Droplet zugreife, in das Verzeichnis /var/discourse/ wechsle und ./launcher stop app ausführe, wird Folgendes ausgegeben:

+ /usr/bin/docker stop -t 10 app
app

Dennoch kann ich in meinem anderen geöffneten Webbrowser weiterhin die alte Discourse-Instanz aufrufen und damit interagieren.

Bist du dir sicher, dass du dich mit dem richtigen Server verbunden hast?

Was ist das Ergebnis von docker ps?

Bist du sicher, dass du mit dem richtigen Server verbunden bist?

Ja, ich sehe ihn im Befehlszeilen-Prompt.

Was ist das Ergebnis von docker ps?

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

Das besagt, dass nichts läuft. Bist du sicher, dass du den richtigen Server verwaltest?

Discourse cacht eine Menge Dinge, sodass eine Website manchmal angezeigt wird, obwohl sie eigentlich offline ist. Wenn die Seite nach einem harten Neuladen immer noch erscheint, sind Sie nicht mit dem richtigen Server verbunden.

Ich habe schließlich einfach aufgegeben und die Subdomain vollständig aus dem öffentlichen Dienst genommen. Danke.