Print Story Finally updated hulvr.com
Software
By hulver (Mon Jun 18, 2018 at 05:06:03 PM EST) (all tags)
If there's one thing you'd think I'd have learnt over all my years working with computers.

Making things "easier" by hiding complexity always, always makes things harder in the long run.



When I started playing around with Mastodon on hulvr.com, I used docker.

I specifically wanted to avoid the installation headaches that come with something like scoop. Scoop is a nightmare to install. I dread the day I'm going to have to move husi to a new server.

Mastodon comes with a Docker image installation option. You download a few things, change a config file or two, run a few commands and there's your new instance.

Works great. Unless you miss the part in the config file where it says "uncomment this to make your database image persist".

Or something like that.

So you test it out, reboot the server, everything is still there. Off you go.

Then you come to update it. You're not really sure where all the files are that you need to back up, so you take a snapshot of the machine (VMs are good for something). You find the media files, but the database is a bit of a mystery.

Where are the physical files. Why can't you use a database program to do a dump of the database?

Then, after you type "docker-compose down" do you find out what that line you didn't uncomment in the config file is for. They really weren't kidding. You start up your instance again and it's all gone. The database is empty.

So you restore your snapshot, and start again. You dig into docker to try and find out where your physical files are, or how to connect to the database server (hint, you can't without changing some config, which requires restarting the image, which blows away your database)

You wait, you read, you learn, you try again. You do some hopeful searching and find some stack overflow questions where people are asking things like "how do I connect to a running docker instance".

Using that you manage to find a way to connect to your database "server" and make a copy of the database files. Eventually you find a way to point your database "server" at those physical files and get it to use them consistently.

You discover that "redis" isn't just like memcached, and actually mastodon needs it to be persistent as well, so you use your new found knowledge to copy its physical files as well, and put them somewhere you can actually get to without jumping through hoops.

So, finally hulvr.com is running the latest version of Mastodon. Doesn't look too different. You can download all your stuff now, and delete your own account. Toots are a bit prettier since it leaves out horrible looking urls when you post pictures etc now.

And, I have a way to keep it up to date now. Woo, and indeed, hoo.

< Look at the sky, look at the river | The cop on the corner and the burglar too >
Finally updated hulvr.com | 7 comments (7 topical, 0 hidden)
All Hail Hulver, Lord of all Husi and Hulvr by Scrymarch (4.00 / 4) #1 Mon Jun 18, 2018 at 07:33:12 PM EST


Iambic Web Certified

But if you ever need 30 of $server by debacle (4.00 / 0) #3 Tue Jun 19, 2018 at 03:05:10 PM EST
It'll be easy to set up! Assuming everyone did everything by the book, didn't sidechannel anything, and you keep everything up to date!

IF YOU HAVE TWO FIRLES THOROWNF MONEY ART SUOCIDE GIRLS STRIPPER HPW CAN YPUS :OSE?!?!?!?(elcevisides).

Scoop would be an ideal use case by hulver (4.00 / 0) #4 Tue Jun 19, 2018 at 03:50:32 PM EST
It's so complicated to set up, with inter-dependencies. Having it all in a single package would be great.

Nobody is ever going to do that though.
--
Cheese is not a hat. - clock

I thought it was more of an by hulver (2.00 / 0) #8 Thu Jun 21, 2018 at 06:09:48 AM EST
application packaging tool.

Maybe not then.
--
Cheese is not a hat. - clock

[ Parent ]
what are your thoughts on by dev trash (2.00 / 0) #5 Tue Jun 19, 2018 at 07:44:29 PM EST
RancherOS?

--
I DON'T CARE ABOUT YOUR BALLS! ->clock
Huevos or Carnitas? by debacle (2.00 / 0) #10 Thu Jun 21, 2018 at 02:30:40 PM EST


IF YOU HAVE TWO FIRLES THOROWNF MONEY ART SUOCIDE GIRLS STRIPPER HPW CAN YPUS :OSE?!?!?!?(elcevisides).

[ Parent ]
exactly by dev trash (2.00 / 0) #11 Thu Jun 21, 2018 at 08:20:47 PM EST


--
I DON'T CARE ABOUT YOUR BALLS! ->clock
[ Parent ]
Finally updated hulvr.com | 7 comments (7 topical, 0 hidden)