Posted on: 2019-06-07 15:16:27.000Well, I managed to migrate the entire OSY 2.0 forum, but it wasn’t easy!
Backing up the database (a single MySQL command) and copying over the files via FTP was straightforward enough. But there were tons of error messages and many posts were completely blank! Oh no!
Turns out that the version of PHPBB I was running (3.0.5) was incompatible with the latest PHP7. I tried downgrading to PHP5, but that just made things worse??? I had to nuke PHP5 from orbit, just to be sure. The real fix would be upgrading PHPBB to the latest version, 3.2.7. I figured, hey, how hard could that be? And it’s always a good idea to be on the latest version, in case some new security hole is discovered in an old PHPBB and the script kiddies start nuking old sites.
But YOU CAN’T UPGRADE straight from PHPBB 3.0.5 to 3.2.7. It blows everything up. There are database upgrade scripts that simply don’t work if you have an older version.
I ended up having to do the following, based on the testimony of another user who went through this hell:
- upgrade PHPBB 3.0.5 to 3.0.14
- upgrade 3.0.14 to 3.1.12
- upgrade 3.1.12 to 3.2.7
This involved three separate upgrades, each of which involved deleting and replacing most of the files via FTP and running a database upgrade script, then deleting the /install/ directory.
Anyway, in the end it worked, although the board looks somewhat different now. A weird bonus is that it formats and flows properly on mobile devices, something the Ars forums can never do because they forked an old PHPBB 3.0.x version years ago and can never merge it back because oh my god I would not want to do that work on a forum the size of Ars, like, ever. You could not pay me enough.
Anyway, I plan to migrate jeremyreimer.com to my new server early next week, either Monday or Tuesday evening. Hopefully there will be no downtime as I’ll keep the old server up during the time it will take to update everyone’s DNS caches. You may have to log in again.
But the smam will survive forever! Muahahahaha!