Failed to update Discourse new version

Hi guys, I’m new to building a community with Discourse and was told to update the latest Discourse version in SSH. I’ve checked and followed the instruction at How do I manually update Discourse and Docker image to latest?.

But when I execute

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

it says my container/.yml doesn’t exist

Any suggestions will be appreciate!

Hi @William_Gary :slight_smile:

Did you follow the standard install or some other method to create your Discourse instance? There’s a chance your app.yml is called something else (eg. if you have a two-container set-up).

Hi @JammyDodger
Yeah, I did follow the standard install.
when I do

docker version

It says this and it looks like somehow I got two containers.


Is there a way to get rid of one of them?

You need to run as user root.

Do a

sudo su -

Before the cd command

3 Likes

@pfaffman Yeah, you’re right, and thank you so much, Jay!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.