Manually Update Discourse and Docker Using Rebuild Command

Yesterday, I discovered that Ogbongeblog Planet 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 https://github.com/discourse/discourse_docker.git/’: 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- https://get.docker.com/ | 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.

Please Share :

See also :   AWS Free Tier : How To Check Usage, Limits and Expiry Date

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.

  • We can help you buy items from Amazon USA and ship 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!