Manually Update Discourse and Docker Using Rebuild Command

Yesterday, I discovered that NetDivo Forum was running on an outdated discourse installation which can only be updated manually via the command line.

To update discourse, you are expected to ssh into your server using your favorite ssh client and run this :

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

Unfortunately, after running “git pull”, I encountered the error message below :

fatal : unable to access’: Peer reports incompatible or unsupported protocol version.

I fixed it by running “yum update” command

After running the rebuild command, I was alerted that the docker is outdated. Hence, I updated it and re-run the rebuild command.

How To Update Docker?

One way to do that is via the Docker script here (it will warn about an existing install but should upgrade ok):

wget -qO- | sh

After updating docker, you can exit your ssh client, ssh into the server again and run this again :

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

update discourse via ssh vps hosting


If no issues, your discourse installation will be updated to the latest and you will be able to confirm this via your admin dashboard.

You can follow discussion on how to manually update discourse to the latest via the official discourse forum.

NB :

If you get “Device “docker0” does not exist” error after rebuilding the app, run “service docker start” command

Please Share :

Written by Jide Ogunsanya

Pro Nigerian Blogger, Digital Marketer and Web designer. I help business owners to grow their businesses online. You can join my Facebook Group here.

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy. Your email address is required but will not be published. No keyword stuffing in the name field and commenting from blah blah blah makes no sense. Thank You.

  • Millionaire Reveals How You Can Make Millions Doing What You LoveRead More
  • Free Ebook Explains How To Design WebsiteDownload Now
  • We can help you ship items from Amazon USA to NigeriaMore Info
  • Do you want to ask some questions?Click To Ask
ssh vps putty client for windows pc

How To Access Garanntor Virtual Private Server (VPS) Via SSH

N-Power Build News Update – Registration Postponed!