./launcher rebuild app 命令未找到

通过 Web UI 进行的升级在运行最新镜像之前将被禁用。

为此,请使用 SSH 登录到您的服务器并运行:

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

我在尝试从仪表板进行更新时看到了上述提示。

我的安装似乎位于 var/www/discourse

我已在 discourse 文件夹中运行了 git pull,但不知道如何正确重建应用。这是一个 Docker 安装;任何指导都将不胜感激,谢谢。

1 个赞

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 个赞

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 个赞

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 个赞

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 个赞

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

1 个赞

Yes that’s exactly what happened

C Robert Christensen (Bob)

3 个赞