Server maintenance this weekend (1 Viewer)

nope - i use AWS S3 for backup storage and SES for mail delivery, and i use cloudflare R2 for object storage and caching and the like. i'll probably consolidate it all on cloudflare at some point. but the server the site is hosted on is itself is a VM on an ESXi server in OVH
even though i have been working with computers since i first got a full time job, there's still a real retro encabulator vibe for me off this.
I racked up many, many posts there and did my penance moderating some of the music forums for a while. I have no desire to go back there.
Aren't boards moderators kinda like if the Stanford Prison Experiment never ended?

Not you, I mean. Just all the other guys.
I'm a mod on boards. It's not well known that all Irish discussion forums collaborate, which means I get to see all your details on thumped too.
Urrrgg what a mare. For the benefit of future me -

When I set up the new server it turned out it couldn’t establish an ssh connection with the old server (and viceversa) as the version running on the old server was so out of date. Upgrading it wasn't really an option due to the risk of making shit worse, and i really didn't want to lose the ability to connect from here as well... So, while i was connected i made some changes to the config (added some newer cipher settings and the like) so that the new server could establish a connection and restarted the SSH process. That worked, and I was able to transfer the mastodon server overnight.

In the meantime, the SSH connection to the old server from here dropped and I discovered yesterday morning that i couldn't reconnect... or rather it would reconnect and then immediately drop the connection. I thought maybe a reboot would help (it didn't)… ssh -v still indicated key exchange problems and the like. Not a problem - all i needed to do was undo the cipher changes that I'd made and...… yeah, now I'd no access to do that.

Normally at this point you'd just walk to the actual server and sort it out, but that's not really an option since the server in question is sitting in a datacentre in Roubaix, which I'm sure is lovely at this time of year but not very practical for getting to in a hurry. To get access back I had to put the server into rescue mode, which is the equivalent of booting a broken machine up from a live CD or whatever. Did this, got SSH access back and... where are my files?

Long story short, I had to figure out what filesystem had to be mounted (/dev/sda5 as it happens) to get access to the hypervisor OS files which for some reason are stored in tar files within tar files (took me about an hour to figure that one out), extracted /etc/ssh/ folder, undid the change i'd made the night before, replaced the tar file, almost modified the wrong files a couple of times in the process, then crossed my fingers and rebooted.

I can now SSH from the old to the new server again which means we're still on for 10pm Saturday night for the big move.
it me



Users who are viewing this thread

So far there's no one here
Old Thread: Hello . There have been no replies in this thread for 365 days.
Content in this thread may no longer be relevant.
Perhaps it would be better to start a new thread instead.

21 Day Calendar

Lau (Unplugged)
The Sugar Club
8 Leeson Street Lower, Saint Kevin's, Dublin 2, D02 ET97, Ireland


Support and upgrade your account

Upgrade your account now to disable all ads...

Upgrade now

Latest threads

Latest Activity