./launcher rebuild app commande introuvable

Les mises à jour via l’interface web sont désactivées tant que vous n’avez pas exécuté la dernière image.

Pour ce faire, connectez-vous à votre serveur via SSH et exécutez :

    cd /var/discourse
    git pull
    ./launcher rebuild app

J’obtiens l’écran ci-dessus lorsque j’essaie de procéder à une mise à jour depuis le tableau de bord.

Mon installation semble se trouver dans var/www/discourse.

J’ai exécuté un git pull dans le dossier discourse, mais je ne sais pas comment reconstruire correctement l’application. Il s’agit d’une installation Docker ; toute indication serait grandement appréciée, merci.

1 « J'aime »

Can you share the exact commands you’re running, and the output you’re seeing (feel free to redact IP addresses/hostnames if you prefer)? /var/www/discourse sounds like you’re inside the docker container, rather that on your server.

You should be doing something like:

ssh user@forum.example.com
cd /var/discourse
git pull
sudo ./launcher rebuild app
4 « J'aime »

You’re somehow connecting inside the container. You should probably connect to port 22 and maybe you’re connecting to port 2222; older installations had an ssh port exposed for the container.

1 « J'aime »

I’m using Vultr and I just log into my account and open the console window. My command line shows root@vultr-app. is their a way to log out of the app?

1 « J'aime »

I think i’m there I used an exit command now my folder structure looks right. Update is now rebuilding thanks for the help.

5 « J'aime »

Aha! So apparently it leaves the console running and you forgot that you’d entered the container (with ./launcher enter app).

1 « J'aime »

Yes that’s exactly what happened

C Robert Christensen (Bob)

3 « J'aime »