Or I could get dressed and go down to Envie and keep Nick company while he works. Get some exercise bicycling! Have coffee and power available for this task! Have someone to bite if it gets difficult!
I ended up taking a shower and the backup was done when I got out, about 45 minutes after I started it. Also the Rez soundtrack just came to the end of the actual gameplay and is getting into the end credits music. Guess I'll do the next few steps while still around the house.
Hooray, the copy of Git on the server doesn't wanna talk to Github "Permission denied (publickey)". There are a lot of hits for that so hopefully it should be easy to fix.
Building the new Docker image. Nap time!
Or meditation time, I've been slack on that lately.
Step 29/38 : COPY --chown=mastodon:mastodon . /opt/mastodon
ERROR: Service 'streaming' failed to build: Unknown flag: chown
let's try docker-compose build --no-cache and see what happens
drat, no dice
> docker image prune -a
cleaned up almost five gigs of old images, and seems to have erased the one I was building as well. Starting the build again, cross your fingers for me!
Yay, that worked. Built! Now where's my notes for the next step...
>docker-compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true web rails db:migrate
uh yeah this sure looks like it's gonna take a while.
fff, outta space partway through
cleared some up, resumed, hope it all gets done
I suspect I'm gonna be seeing stuff like this for a while yet.
hahaha and seconds after tooting that it finished that particular migration task!
There are many more to do on the journey between 2.4.4 and 3.0.1.
...and it ran out of disc space AGAIN, right after I decided that if it did I would resize the droplet.
Which of course takes its own chunk of time. "Up to one minute per gig of data used". Which would be up to 80min. I'm gonna set a timer.
Oh good it finished early.
Starting the first migration again.
Blaagh, a migration is failing to execute and I'm worrying it's because an earlier migration only went halfway or something. Restoring from my old snapshot. START AGAIN.
build, doing the pre-deployment database migrations.
ugh, it broke on the same pre-deployment migration as before. Weird that this migration ran fine on my local copy.
https://github.com/tootsuite/mastodon/pull/12095 seems to be a related commit, let's see what happens if I revert that one change... nnnope!
Off to the Discord, where Garg was awake and is looking into it.
Pre-deployment migrations: COMPLETE.
Post-deployment migrations: COMPLETE.
Dragon Style is up again!
@egypturnash *continues to cross fingers for things working*
@egypturnash *sends positive waves if wanted*
welp. that's quite an odyssey there :( claws crossed that the next attempt won't fail
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!