The user Himanshu_Chhangani is unable to upgrade their Discourse instance on CentOS 6.6 due to Docker version incompatibility, as Docker 1.8.x is not supported. mpalmer suggests upgrading to a supported OS like CentOS 7 or Ubuntu 14.04. Himanshu_Chhangani explains the difficulty of upgrading on EC2 and the company’s restriction to CentOS. mpalmer recommends spinning up a new instance with a supported OS and copying the /var/discourse directory, which includes the database and container configurations. fefrei confirms that copying the entire /var/discourse directory, including the shared folder, is sufficient for migration without needing a separate SQLite backup.
I tried to update my discourse community, via UI.
up gradation failed, so I got to know that i can rebuild app and that will restore the discourse.!
but,
my base OS is centos 6.6 (EC2 instance), and there docker version 1.8.x is not supported. (OS updating is a pain..!)
but discourse says i must update the docker in order to rebuild discourse app.
This is highly frustrating..!
is there a way out of it ??
I am on Ec2 instance , and updating centos 6.6 to 7.0 isnt same as updating ubuntu..!
only fresh installs are supported, so you see, I am now with a broken site, whose backup restore i’ll have to run via CLI…!
why there are no checks before upgrading, whether OS will support this update end to end or not..!
Our installation instructions recommend using Ubuntu 14.04. We make sure everything works fine on our recommended platform. If you go off-script, we assume you’re capable of understanding the consequences and handling whatever roadblocks might come up.
Given you’re on EC2, it’s a matter of a couple of minutes to spin up a new instance running a supported OS, and copying over the discourse install directory to get you back up and running again.
Yes, as the database lives in this directory as well. After confirming that the container is stopped, simply copying all of this (including the container definitions and the shared directory) should allow you to rebuild on a different machine.