Guide docker
Fix a 502 Bad Gateway in Nginx Proxy Manager, with a checklist that finds the cause
For Nginx Proxy Manager users seeing a 502Result You find why NPM cannot reach your app, and the proxy host works again.
Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands
Guide docker
For Nginx Proxy Manager users seeing a 502Result You find why NPM cannot reach your app, and the proxy host works again.
Guide docker
For Unraid users whose Docker stoppedResult You know what filled your cache or docker.img, and it stays fixed.
Guide docker
For Docker Compose users with a databaseResult Your app waits for a database that is ready, and does not crash on start.
Guide docker
For Docker Compose usersResult You see what Docker will really run before anything starts.
Guide docker
For Beginners with a spare Ubuntu machineResult Pi-hole blocks ads for every device on your network.
4 steps · 4 min read
Read the guide: Install Pi-hole on Ubuntu, with the script or with Docker ComposeGuide docker
For Docker users with data in volumesResult A Docker volume is backed up to a file and restored when you need it.
10 steps · 5 min read
Read the guide: Back up and restore a Docker volume with one throwaway containerGuide docker
For Unraid users with the Tailscale pluginResult A container gets its own name and HTTPS address on your tailnet.
Guide docker
For Jellyfin users in Docker with an Intel CPUResult Jellyfin transcodes on the Intel iGPU and the CPU stays quiet.
6 steps · 4 min read
Read the guide: Let Jellyfin in Docker use your Intel iGPU for transcodingGuide docker
For Docker Compose usersResult docker ps shows the truth and you see why a container is unhealthy.
Guide docker
For Docker users with a chatty containerResult Docker logs rotate and stop filling your disk.
9 steps · 8 min read
Read the guide: Stop Docker logs from filling your disk with log rotationGuide docker
For Docker Compose users with passwords in the fileResult Passwords live outside your compose file and out of git.
11 steps · 9 min read
Read the guide: Keep passwords out of your Docker Compose fileGuide docker
For Prowlarr usersResult Indexers sync to Sonarr and Radarr after you check four settings.
Guide docker
For Docker users with a full diskResult You find the container that fills your disk and cap its log size.
6 steps · 4 min read
Read the guide: Stop Docker container logs from eating your diskGuide docker
For Sonarr and Radarr users on DockerResult You can see whether imports are hardlinked and fix it when they are copied.
jordi@brewed-bits:~$
I run Sonarr, Radarr and Prowlarr on my Unraid server. Each of them can search indexers, and before Prowlarr existed that meant every indexer lived in two or three places.…
jordi@brewed-bits:~$
This advanced tmux guide builds on the beginners series with a modular config covering vi-style copy mode, clipboard integration, and a functional status bar. It dives into layouts, workspace scripts, formats, popups, menus, plugins like tmux-resurrect, and SSH workflows including nested tmux sessions, all tested against tmux 3.8.
jordi@brewed-bits:~$
I like a home server with a closed router. A Cloudflare Tunnel makes that possible for a website on Unraid: a small container on the server calls out to Cloudflare,…
jordi@brewed-bits:~$
A complete walk through Unraid settings: shares, Mover, parity, Docker, VMs, power, security, backups and notifications.
jordi@brewed-bits:~$
Set up favonia/cloudflare-ddns on Unraid: a limited API token kept in a file, a hardened container, and a DNS record that follows your home IP.
jordi@brewed-bits:~$
Install degoog from Unraid Community Applications, reach it over Tailscale, change themes and see how it compares with SearXNG and 4get.
jordi@brewed-bits:~$
When Nginx Proxy Manager shows a 502 Bad Gateway, the fault is almost never in NPM itself. NPM answered you and then could not get a usable reply from the…
jordi@brewed-bits:~$
When Docker stops on an Unraid server because the cache is full, the cure depends on what is actually full: the pool or docker.img. I would look before I delete…
jordi@brewed-bits:~$
A service falls over at night, and by morning all you have is a hunch. The answer is nearly always in the systemd journal, and journalctl can find it in…
jordi@brewed-bits:~$
Bazarr fetches subtitles for what Sonarr and Radarr download. Installing it is the short part. If it is not running yet, start with the setup guide in the Bazarr wiki…
jordi@brewed-bits:~$
A website that will not load, mail that never arrives, a domain that does not work yet: I want to know what DNS says, and dig tells me. This is…
jordi@brewed-bits:~$
A backup is only worth something if you can get the data back, and most people find out whether they can on the worst day. I run Duplicati on my…
jordi@brewed-bits:~$
When a file copy to my server feels slow, I want to know whether the network or the disks are to blame. iperf3 answers that in about ten seconds, and…
jordi@brewed-bits:~$
I run a lot of my Unraid containers on Tailscale, and I think the per-container switch is one of the nicest things Unraid added. Each container gets its own name…
jordi@brewed-bits:~$
If you run Sonarr and Radarr, you have probably pasted the same indexer API key into both. Then a key changed, and you pasted it again. I would stop doing…
jordi@brewed-bits:~$
Sonarr, Radarr, Prowlarr, Bazarr, SABnzbd and qBittorrent all run on my Unraid server, and the worst failure in that whole stack is the one that looks like success. Episodes get…
jordi@brewed-bits:~$
My blog runs on WordPress, so this is a routine I care about: before any update I make a copy of the database and the files, and I make sure…
jordi@brewed-bits:~$
I run Home Assistant as a Docker container on my Unraid server, and that matters for backups: the official docs treat Home Assistant OS and the container differently, and most…
jordi@brewed-bits:~$
Shelfmark is the search box in front of my book library. It is a self-hosted web interface where you look up a book or an audiobook, pick a release, and…
jordi@brewed-bits:~$
Monitor your favourite websites, containers and home server from one nextDash dashboard, with checks every few minutes and an alert on your phone when something stops answering.
jordi@brewed-bits:~$
I use Tailscale for most things on my server, and the part I reach for most often is tailscale serve. One command gives a web app that only listens on…
jordi@brewed-bits:~$
A terminal that keeps running after you close it is the whole pitch of tmux, and it takes about twenty minutes to learn the part you need. This is the…
jordi@brewed-bits:~$
Follow one request from Seerr through Sonarr, Radarr, Prowlarr and your download client to Jellyfin, and learn which link to check when something never shows up.
jordi@brewed-bits:~$
Run your own photo library on Unraid with Immich in Docker Compose, turn on automatic upload from your iPhone, reach it on the road through Tailscale, and back up the database too.
jordi@brewed-bits:~$
Stop forwarding DNS to a big public resolver: run AdGuard Home with Unbound so your own server does the lookups while AdGuard keeps filtering and logging.
jordi@brewed-bits:~$
Find out why a Tailscale device drops off the tailnet when its node key expires, how to turn expiry off for servers, and how auth keys and tags fit in.
jordi@brewed-bits:~$
Put Claude Code on a small Ubuntu VM on your Unraid server, run it in tmux and reach it over Tailscale, so the session keeps going when your MacBook lid closes.
jordi@brewed-bits:~$
Replace password logins with SSH keys and a ~/.ssh/config file, so ssh nas is all you type, and avoid the one trap that locks you out of your own server.
jordi@brewed-bits:~$
Send the DNS of every device on your tailnet through your own AdGuard Home with Tailscale split DNS, so your filter follows your phone, and check that it works.
jordi@brewed-bits:~$
Make Sonarr and Radarr refuse Dolby Vision releases and stop automatic upgrades, so players without Dolby Vision support never show blown-out colours.
jordi@brewed-bits:~$
Let Jellyfin on Unraid transcode with Intel Quick Sync and nothing else, with no quiet fallback to the CPU, and see what the i5-1235U can and cannot do.
jordi@brewed-bits:~$
Put a VPS on your tailnet, move SSH and admin panels onto Tailscale, and leave only ports 80 and 443 open so the websites stay public and everything else is private.
jordi@brewed-bits:~$
Replace a cron job with a systemd timer, so you can ask the machine when the job runs next and what it said the last time.
jordi@brewed-bits:~$
Use your always-on Unraid server as a Tailscale exit node, so your traffic leaves through your home connection on hotel Wi-Fi, and see which parts the docs leave out.
jordi@brewed-bits:~$
Make an app container wait until its database is really ready, not just started, with a healthcheck and depends_on in Docker Compose.
jordi@brewed-bits:~$
Narrow a new tailnet where every device reaches every container: tag the containers, write one grant for the port you use, and let Tailscale test the policy first.
jordi@brewed-bits:~$
Validate a Docker Compose file and see what Docker will really run with docker compose config, before you start anything and without changing your system.
jordi@brewed-bits:~$
Name every Sonarr series folder with its TVDB id, like Series Name (2018) [tvdbid-79168], so Jellyfin stops matching the wrong show, and fix the folders you already have.
jordi@brewed-bits:~$
Back up your Unraid appdata with Duplicati, encrypted on your side, to a provider in Europe, and prove the backup works with a test restore.
jordi@brewed-bits:~$
Install Pi-hole v6 on an Ubuntu machine as a network-wide ad blocker, either with the official script or with Docker Compose.
jordi@brewed-bits:~$
Manage your Unraid server from anywhere with Tailscale and key-only SSH, then delete the port forwards on your router, with no open ports.
jordi@brewed-bits:~$
When Sonarr or Radarr never grabs the release you expected, run an interactive search first: it tells you exactly why each release was skipped.
jordi@brewed-bits:~$
Keep your Mac apps in a Brewfile with brew bundle, so a new or reset MacBook is one command away from your full setup.
jordi@brewed-bits:~$
Back up a named Docker volume with one throwaway container and tar, then restore it to prove the backup works.
jordi@brewed-bits:~$
Let git bisect find the commit that broke your code with a binary search, and let git bisect run do the testing for you.
jordi@brewed-bits:~$
Give one Docker container its own address, name and HTTPS certificate on your tailnet with Unraid's built-in Tailscale option, without exposing the whole server.
jordi@brewed-bits:~$
Hand Jellyfin's transcoding in Docker to your Intel iGPU, so the CPU stays quiet when two people press play at once.
jordi@brewed-bits:~$
Fix slow Sonarr and Radarr imports and a disk that fills up twice as fast: set up hardlinks so imports are instant and seeding costs no extra space.
jordi@brewed-bits:~$
Add a healthcheck to a Docker Compose service so docker ps tells the truth, and learn where to look when a container says unhealthy.
jordi@brewed-bits:~$
Learn what Remote Path Mappings in Sonarr and Radarr really do, the few cases that need one, and the fix for everything else.
jordi@brewed-bits:~$
Stop one chatty container from filling your disk: set Docker log rotation in a Compose file or daemon.json, and avoid the catch that trips people up.
jordi@brewed-bits:~$
Move passwords out of your Docker Compose file with an .env file, env_file or secrets, and check that it really worked.
jordi@brewed-bits:~$
Work through Radarr's "Import failed, path does not exist or is not accessible" error in a fixed order, checking the path before the permissions.
Nothing in this filter yet.