Install guide
Install PodSovereign
From a fresh server to your first show. You'll need a machine you can run commands on, and a podcast to move or start.
What you need
- A server running Ubuntu Server 22.04 or newer, or Debian. A home server, a virtual machine or a rented VPS all work.
- Root access (the installer runs with
sudo). - A web address for your feeds, such as
podcasts.example.com, and a way to reach the server from the internet (see Make it public). - Optional: a storage provider such as Cloudflare R2 for media, and an email service (Resend or SMTP) for ownership checks and notices.
Install
-
Run the installer
Paste this into a terminal on the server:
curl -fsSL https://raw.githubusercontent.com/rgblack316/podsovereign/main/install.sh | sudo bashIt installs Docker if needed, downloads PodSovereign to
/opt/podsovereign, asks for your web address, port and (optionally) a Cloudflare Tunnel token, generates a database password and starts everything. -
Open the site and create the first account
Browse to the address you gave, or
http://127.0.0.1:8080/on the server itself. The first account you create becomes the admin. -
Set up your site
Open Site settings and set:
- The site's name, logo and favicon
- The web address your feeds will use
- Where media is stored: this server, Cloudflare R2 or another S3-compatible provider
- Email, through Resend or an SMTP server, so ownership checks can send codes
- Whether people can sign up, or only an admin can add accounts
-
Move a show here, or start a new one
Choose Import a show and paste your current feed address. Prove the show is yours with a tag in the feed or a code emailed to its owner. Nothing is saved or copied until you do. Or choose Start a new show and publish from scratch.
For an imported show, the Overview tab walks you through the rest: media copied, a 301 redirect set up at your old host, then Podping.
Unattended install
Give the answers up front and it never prompts:
curl -fsSL https://raw.githubusercontent.com/rgblack316/podsovereign/main/install.sh \
| sudo PODSOVEREIGN_NONINTERACTIVE=1 \
PODSOVEREIGN_URL=https://podcasts.example.com \
PODSOVEREIGN_TUNNEL_TOKEN=eyJ... bash
Make it public
PodSovereign listens only on 127.0.0.1 (port 8080 by default), so nothing is exposed until you choose how.
- Cloudflare Tunnel. Paste a tunnel token when the installer asks and Docker runs it for you. In Cloudflare, point the tunnel's public hostname at
http://app:8080. - Any reverse proxy on the same machine, such as Caddy or nginx.
Each show's feed lives at https://<your web address>/<show>/feed.xml, with media under /<show>/media/ or at your storage provider's address.
Update
Updating keeps all your shows and settings. It shows what's new, backs up the database (the last 10 backups are kept), downloads the new version, rebuilds and restarts.
cd /opt/podsovereign && sudo ./update.sh
Prefer a button? Open Site settings → Software updates to see what's new on GitHub and click Update now.
| Option | What it does |
|---|---|
--check | Only show what's new |
--yes | Don't ask for confirmation |
--no-backup | Skip the database backup |
--force | Rebuild even if nothing changed |
If the app doesn't come back, the script prints the exact commands to return to the previous version. Installs from before the rename to PodSovereign live in /opt/feedhost; use that folder instead.
Backups and restore
A backup is the database: shows, episodes, tags, accounts and settings. Media files stay in your media storage, so back up /opt/podsovereign/data too if media lives on the server.
- Download now: Site settings → Backups → Download a backup now.
- Automatic: daily or weekly, by email, to a storage bucket, or both. Use a separate private bucket, and set a passphrase (at least 12 characters) to encrypt.
To restore (this replaces what's in the database now):
cd /opt/podsovereign
gunzip -c backup.sql.gz | sudo docker compose exec -T db psql -U feedhost -d feedhost
sudo docker compose restart app
/opt/podsovereign/.env and /opt/podsovereign/data/secret.key. Saved passwords and API keys are encrypted with that key, so without it you'd need to enter them again after a restore.Day to day
Run these in /opt/podsovereign:
| Follow the log | sudo docker compose logs -f app |
| Restart | sudo docker compose restart app |
| Stop / start | sudo docker compose down / sudo docker compose up -d |
| Status | sudo docker compose ps |
Forgot your password?
Passwords can't be looked up, only replaced. On the server:
cd /opt/podsovereign && sudo docker compose exec app node --import tsx src/cli/reset-password.ts
It prints a new random password and signs that account out everywhere. Sign in with it, then choose your own under Account.
Found a problem?
Tried a storage provider that doesn't work? Cloudflare R2 is in production use; Backblaze B2, Amazon S3, Wasabi, DigitalOcean Spaces, Bunny and other S3-compatible services are built but not yet tested with real accounts. Please open an issue or send a pull request.
More detail lives in the server README, including settings and the Cloudflare Tunnel guide.