Hmm, since you are upgrading from such an old version it might be wise to start from scratch on the new server instead of copying over the /var/discourse
directory.
- Do a standard install on the new server
- Manually tweak the
app.yml
if needed - Create a full backup on the old server and restore it on the new server.