# CentOS 6.6, no docker upgrade supported, hence no discourse rebuild

**URL:** https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070
**Category:** Support
**Created:** [11.Июль.2016 06:28:28 UTC](https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070 "2016-07-11T06:28:28Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Himanshu\_Chhangani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/himanshu_chhangani/32/40772_2.png) [@Himanshu\_Chhangani](https://meta.discourse.org/u/Himanshu_Chhangani)
#### Post date: [11.Июль.2016 06:28:28 UTC](https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070/1 "2016-07-11T06:28:28Z")

</div>

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 ??

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [11.Июль.2016 06:39:43 UTC](https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070/2 "2016-07-11T06:39:43Z")

</div>

> [@Himanshu\_Chhangani](#):
>
> is there a way out of it ??

Yes, upgrade to a supported version of Docker: either upgrade to CentOS 7, or run an Ubuntu 14.04 VM, inside which Docker 1.11 will run Just Fine.

---

<div class="post-metadata">

### Author: ![Himanshu\_Chhangani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/himanshu_chhangani/32/40772_2.png) [@Himanshu\_Chhangani](https://meta.discourse.org/u/Himanshu_Chhangani)
#### Post date: [11.Июль.2016 07:46:13 UTC](https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070/3 "2016-07-11T07:46:13Z")

</div>

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..!

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [11.Июль.2016 21:58:09 UTC](https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070/4 "2016-07-11T21:58:09Z")

</div>

> [@Himanshu\_Chhangani](#):
>
> 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.

---

<div class="post-metadata">

### Author: ![Himanshu\_Chhangani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/himanshu_chhangani/32/40772_2.png) [@Himanshu\_Chhangani](https://meta.discourse.org/u/Himanshu_Chhangani)
#### Post date: [12.Июль.2016 06:41:20 UTC](https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070/5 "2016-07-12T06:41:20Z")

</div>

please explain this..

> [@mpalmer](#):
>
> copying over the discourse install directory

I did not understand this part .  
as if like copying all the contents of /var/discourse to other instance ?  
no sqlite backup restore needed ?

Ps: There are some innovative policies in my company which restrict me to use only centos :X …!

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [12.Июль.2016 07:51:48 UTC](https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070/6 "2016-07-12T07:51:48Z")

</div>

> [@Himanshu\_Chhangani](#):
>
> as if like copying all the contents of /var/discourse to other instance ?

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.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [08.Июнь.2024 12:45:32 UTC](https://meta.discourse.org/t/centos-6-6-no-docker-upgrade-supported-hence-no-discourse-rebuild/47070/7 "2024-06-08T12:45:32Z")

</div>

Эта тема была автоматически закрыта через 2889 дней. Новые ответы больше не принимаются.
