Database issues migrating form old version 20150822141540

That’s Discourse v1.4.0.beta10. In theory restoring that backup on latest should work. I’ve successfully tested it with every major version since v1.1.

Are you trying to restore that backup on a standard install? Can you post the full log output? I suspect there that there’s another error before the one you posted.