Ubuntu 16.04 LTS - upgrade or migrate?

I was debating upgrading my 14.04 install, but was’t sure if I should. However, when I updated docker, it broke my discourse setup.

I attempted to upgrade using the script from the notes How do I manually update Discourse and Docker image to latest?

wget -qO- https://get.docker.com/ | sh

Error!

/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:297: copying bootstrap data to pipe caused \"write init-p: broken pipe\"": unknown.
Your Docker installation is not working correctly

See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam

I noticed on Docker’s website the minimum verison was Ubuntu 16.04.

I attempted to downgrade docker back to what I had (17.05.0~ce-0~ubuntu-trusty), but couldn’t get it to work with this command:

sudo apt-get install docker-ce=17.05.0~ce-0~ubuntu-trusty docker-ce-cli=17.05.0~ce-0~ubuntu-trusty containerd.io

Everyone seems to recommend a fresh install, but I don’t know how to do that with my limited experience with Digital Ocean/Ubuntu … and all the steps it seems to require.

So in my final attempt I updated Ubuntu 14.04 to 16.04 and everything worked again with Docker.

do-release-upgrade

Note: I backed up everything after updating my Discourse install, before I attempted to install system updates.