For those interested to hear more about the upgrade of Toots.nu: When going from...
Jens Ljungkvist @jens@toots.nu
For those interested to hear more about the upgrade of Toots.nu:
When going from such an old version you are required to update your database through all point versions to get all the changes needed if you want to keep your database intact. You can’t just export everything, install the latest and move in.
So for the last days I had setup a separate server where I could practice these steps, work on a backup copy of the database and make sure things went smoothly. I had also constructed a script to help me through all the upgrade steps in order to hit all point release between 4.0.2 and 4.7.3.
When I started yesterday evening I had some initial issues getting the temporary webpage up to greet anyone who came knocking during the freeze. Then I froze the server, made a backup of the database and transferred it to a fresh new machine.
Then I had multiple issues with my host server turning off the guest server while loading the backup into the database. This happened twice after about 1 hour and 40 minutes. So that was a time consuming issue. I resolved it by restarting host server and updating the host software.
Then I started the database load again and went to bed becuase it was well after 3 AM at that point. This morning I saw it had completed, so I ran some check, took a snapshot and started my upgrade script. It ran for a good half hour and everything came back fine.
After that I did some post checks, updated some parts that hadn’t been completed by the script and the started pointing toots.nu to the new server and downloaded new certificates.
Then I brought the Mastodon services up one by one and also made necessary change to the web server and proxy. I did have a permissions issue with web assets but after some digging I found those issues and resolved them.
During this time the server was available via the app, just not via the web interface.
So since 10 AM we are on 4.7.3.
Thanks to everyone who reached out during the years urging me to upgrade and to all of you who has come with positivity. :blobheartcat: