Mastodon friends, I need help! I have been able to migrate my Peertube over to my new hosting but Peertube fails to move files to object storage after uploading them. I've tried everything I can think of. If anyone knows anything about Peertube and wants to help, DM me!

More on this. I saw this error today:

database locale is incompatible with operating system

I'm using an LXC container version of Ubuntu 24.04 and I imported the database by literally moving /var/lib/postgresql from the old server to the new one.

The old server was on Ubuntu 22.04 and near as I can tell the locale was en_US.UTF-8 or something like that

@gardiner_bryant If you have an sql dump, you might be able to see the expected locales.

Then you can compare with installed locales:

locale -a

If you don't see an expected list of locales, you might be able to use "locale-gen [list of locales]" and "dpkg-reconfigure locales" to get things working.

I would expect to see at least this list:

C
C.utf8
en_US.utf8
POSIX

Since peertube is based in France, perhaps there would need to be fr_FR.utf8 as well? But that seems unlikely.

@gardiner_bryant

Boosting, please update (edit) toot if you figure it out. 🖖

@gardiner_bryant maybe @homegrown might know

@jahtnamas @gardiner_bryant

Unfortunately I use managed hosting so I don't have access to these files 😞

You might want to try asking on the forum https://framacolibri.org/c/peertube/38 as that has helped me with PeerTube technical issues in the past.

I wonder if @paige might be able to help as he runs a hosting company for PeerTube instances?

Could ask the PeerTube lead dev @Chocobozzz if they're not too busy?

PeerTube

Here, we talk about PeerTube, both the decentralized video hosting network, and the on free/libre software it’s based on.

Framacolibri
@gardiner_bryant I haven't set one up yet, so I don't know for sure, but my first guess would be that the queues are not running.

@kboyd when I check the logs it says "Cannot create move to object storage for <video name>: job creation may have failed or there may be pending transcoding jobs for this video"

But the transcoding completed successfully, at least according to the job queue.

@gardiner_bryant
If you rerun the move to object storage do you get the same error?

@gardiner_bryant my instance has been having the exact same issue completely out of the blue as of a few weeks ago, with no changes to PeerTube nor my object storage whatsoever 🤔

I haven’t had much of a chance to take a look yet, but I’ll look at it tonight and let you know if I find anything that might be helpful.

@[email protected] ​Do you see any errors? have you used this S3 before? The main issue I had when something like that happened was a CORS issue. What S3 are you using?
Gardiner Bryant (@[email protected])

1.87K Posts, 176 Following, 4.59K Followers · President of @[email protected], FOSS fan, CSS/Web app nerd, Linux zealot, Steam Deck gamer, man of faith, #Mainer, Co-host of @[email protected] Known for The Bryant Review, my Peertube/YouTube channel (@[email protected]) and my video games

Mastodon
@[email protected] ​OH! How did you migrate? I hit this issue with castopod! When you do a dump you don't just dump the DB. The db itself I guess has meta data. Like the locales issue you're hitting. Do you have migration docs? I'd definitely reach out to Peertube about it and ask. If it's not in docs then we should get the socs updated. If it's a new bug gotta get that fixed. But this definitely sounds familiar to me, although for a different app.
Gardiner Bryant (@[email protected])

1.87K Posts, 176 Following, 4.59K Followers · President of @[email protected], FOSS fan, CSS/Web app nerd, Linux zealot, Steam Deck gamer, man of faith, #Mainer, Co-host of @[email protected] Known for The Bryant Review, my Peertube/YouTube channel (@[email protected]) and my video games

Mastodon