PeerTube 9.0: What's New and How to Upgrade Safely
PeerTube has always had one honest limitation: everything ran in a single process. For a club, a school or a small community, that was fine. For a public broadcaster, a university or a company putting all its internal video on it, one process was the ceiling.
PeerTube 9.0, released by Framasoft on December 3, removes it. Here's what changes, who actually needs the new scaling features, and the upgrade notes that can catch you out, including one date you should put in your calendar.
The Headline: Horizontal Scalability
PeerTube can now run secondary nodes next to the main process, on the same server or on remote ones, to take most of the HTTP traffic off the primary. It can also send the heaviest database work, such as video listings and search, to PostgreSQL read replicas.
In practice, that means you scale PeerTube the way you scale most web apps: add workers and read replicas when traffic grows, instead of buying an ever bigger single server. The project has a dedicated horizontal scalability guide.
Do you need it? Probably not yet, and that's fine. A single node still handles most instances comfortably. Multi-node starts to make sense when the web interface slows down under load, or when you're planning for events that bring traffic spikes. The rest of this release is useful to everyone.
Everything Else Worth Knowing
| Feature | Why it matters |
|---|---|
| Object storage for avatars, thumbnails, storyboards, torrents and uploads | Almost nothing big needs to live on the server's disk anymore |
| Video file lifecycle management | Automatically prune files by rules such as "no views for 6 months" |
| Rebuilt audit log | Logs almost every user action, stored in the database, with a filterable admin page |
| Password confirmation for sensitive admin actions | A stolen session alone can't install plugins or change roles |
| AI usage and commercial content labels | Creators can declare AI-generated or sponsored videos, and viewers can filter them |
| SEO improvements | Server-rendered content for crawlers and split sitemaps for large instances |
There's more, including 2FA for LDAP-style login plugins, translatable instance pages and Podcasting 2.0 chapters in podcast feeds.
Upgrade Before December 15
This is the date to remember. The release notes say 9.0 contains security fixes, from low to high severity, that will be disclosed on Tuesday, December 15. Once the details are public, unpatched instances become easier targets. Plan to be on 9.0 before then.
What Can Catch You Out When Upgrading
Node.js versions. PeerTube 9.0 supports Node.js 22.22 or later in the 22 line, or Node.js 24. Check before you upgrade, not after it fails.
Object storage needs configuring first. If you already use object storage, 9.0 adds new sections (avatars, thumbnails, storyboards, torrents, uploads, staging, cache and redundancy). The release notes say you must set their bucket name, prefix and base URL before running 9.0. You can move existing local files afterwards with the project's file-moving script.
Update the NGINX configuration. The NGINX template changed to support horizontal scaling. The upgrade documentation explains what to update.
Admins will be asked for their password. Sensitive actions now require it, through the web UI and the REST API. If you automate admin tasks through the API, test them. The check can be disabled with security.password_confirmation.enabled, but think twice before you do.
Plugin authors: no more in-process state. With several processes, a request can land on any node. Plugins must not keep data in memory between requests.
From 9.0 onward, upgrades check signatures. The upgrade script verifies the release's GPG signature with a new PeerTube release key. For now a failed check is only a warning, but you can already make it mandatory with PEERTUBE_UPGRADE_SIGNATURE_CHECK=require, which will become the default later.
A Note on Storage Costs
Video is the most storage-hungry thing most organizations self-host. With 9.0, nearly everything can live in S3-compatible object storage, and lifecycle rules can delete files nobody watches. Together, that's the difference between a disk that fills up every few months and costs that grow with actual use. Elestio Object Storage is one option: S3-compatible buckets at $0.02 per GB per month, with no fees for data going out, which matters for a video platform.
Running It on Elestio
PeerTube on Elestio starts at $11/month for the VM, with SSL, backups, monitoring and updates handled. Before a major upgrade like this one, use the Clone button to test 9.0 on a copy of your instance first. If you're new to PeerTube, start with our PeerTube self-hosting guide.
Troubleshooting
PeerTube won't start after the upgrade. Check the Node.js version first, then the logs for configuration errors in the new object storage sections.
New uploads fail with object storage enabled. The new uploads and staging sections aren't configured, or their base URL doesn't match the address the bucket's files are served from.
Admin API scripts suddenly return errors. They hit the new password confirmation. Update the scripts to confirm the password, or adjust the rate limit settings for it.
A plugin behaves strangely with secondary nodes. It probably keeps state in memory. Run a single node until the plugin is updated.
The upgrade script warns about a signature. Read it carefully. For now it's a warning, but it could mean the release isn't the official one.
Thanks for reading ❤️ See you in the next one 👋