Cómo poner un foro fuera de línea temporalmente

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.

Esto no está funcionando, ¿quizás debido a la caché? Estoy usando AWS y DigitalOcean. Los usuarios que han iniciado sesión aún pueden navegar por la instancia antigua de Discourse. ¿Puedo forzar el cierre de sesión de todos?

¿Por qué no detienes el contenedor?

Si hago ssh en el droplet, entro en /var/discourse/ y ejecuto ./launcher stop app, la salida es:

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

Pero todavía puedo navegar e interactuar con la instancia anterior de Discourse en mi otro navegador web abierto.

¿Estás seguro de que te conectaste al servidor correcto?

¿Cuál es el resultado de docker ps?

¿Estás seguro de que te conectaste al servidor correcto?

Sí, lo veo con ese nombre en el indicador de la línea de comandos.

¿Cuál es el resultado de docker ps?

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

Eso indica que no hay nada en ejecución. ¿Estás seguro de que estás administrando el servidor correcto?

Discourse almacena en caché una serie de cosas, por lo que a veces un sitio parecerá estar funcionando cuando en realidad está caído. Si el sitio aún lo muestra después de realizar una recarga forzada, es que no has iniciado sesión en el servidor correcto.

Finalmente, simplemente me rendí y retiré el subdominio del servicio público por completo, gracias.