Upgrading installation from 2016

AI-generated summary

The discussion revolves around upgrading a Discourse installation from 2016 to a modern Docker-based setup. davidtinker seeks advice on migrating an old source-based installation, which was built from the master branch in January 2016, to a new machine. Johani recommends backing up the old installation, setting up a new staging server using the official Docker guide, and restoring the backup there. davidtinker confirms the version was from early 2016 and later reports that the suggested approach worked successfully, expressing appreciation for the support and a commitment to keeping the new installation updated. davidtinker

We have a Discourse installation built from sources in 2016 and we need to move it to a different machine. Is an upgrade to modern Discourse running in docker possible? If it isn’t I am going to try get that version working but am running into assorted problems.

Hey David, welcome to Meta :wave:

What version is the old installation running on?

If it’s a very old version, then I would recommend taking a backup, creating a new staging server following the official guide, and then restoring the backup there. If everything works as expected, then you’re all set and you can create a new production server following the same guide and then restore the backup there.

If not, please feel free to post any issues you encounter and we’ll try to help :+1:

Thanks. It’s whatever was on master when it was installed. I will try your suggestion.

# git log
commit 65e808b26d6195b8dcc75d9c51e19b09a01891a6
Author: Sam <sam.saffron@gmail.com>
Date:   Tue Jan 12 15:49:05 2016 +1100

    FEATURE: go to inbox after archiving a message

Wow that actually worked! Nice work guys! Will try to keep the new installation a bit more up-to-date :slight_smile: