this post was submitted on 23 Jun 2023
7 points (100.0% liked)

Main - Lemmy.tf

128 readers
12 users here now

founded 1 year ago
MODERATORS
 

So Lemmy 0.18.0 dropped today and I immediately jumped on the bandwagon and updated. That was a mistake. I did the update during my lunch hour, quickly checked to make sure everything was up (it was, at the time) and came back a few hours later to everything imploding.

As far as I can tell, things broke after the DB migrations occurred. Pict-rs was suddenly dumping stack traces on any attempt to load an image, and then at some point the DB itself fell over and started spewing duplicate key errors in an endless loop.

I wound up fiddling with container versions in docker-compose.yml until finding a fix that restored the instance. We are downgraded back to the previous pict-rs release (0.3.1), while Lemmy and Lemmy-UI are both at 0.18.0. I'm still trying to figure out what exactly went wrong so I can submit a bug report on Github.

Going forward, I will plan updates more carefully. We will have planned maintenance windows posted at least a few days in advance, and I may look into migrating the instance to my Kubernetes cluster so we can do a rolling deployment, and leave the existing pods up until everything is passing checks. In the meantime, I'm spinning up a sandbox Lemmy instance and will use that to validate upgrades before hitting this instance.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago

Glad it all took place while I was busy. But well done on getting us upgraded.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I missed out on a whole afternoon of memes! next time you should at least have it play and endless rickroll loop on the error page if things go sideways

load more comments
view more: next ›