Repository navigation
Troubleshooting
A growing list of common breakages and fixes. This page is an index: genuinely cross-cutting issues (stack won't start, ports, reachability, real-time sync, deployment, performance, data) are documented here in full. Per-integration issues live on that integration's own page — this page links to them. If your problem isn't here, open an issue with reproduction steps.
Container names: the commands below use a new install's names (
tiedenwerk-db,tiedenwerk-webapp, …). An install from before the rename to Tiedenwerk keepskinboard-db,kinboard-webappand so on, and that's fine; use those instead.docker psshows which you have.
The compose.yml from the rename on moves an older one-file install's data
from its kinboard-* volumes into the tiedenwerk-* ones, once, at the first
start. It refuses, and changes nothing, in three cases, and the log line
(docker compose logs init db webapp) says which:
-
"both hold data": the new and the old volume both have data and
nothing says which is meant, for example after an older file was started
again following the move. The line shows each side's size and when it last
changed: look at both before you remove anything, because removing a
volume deletes it for good. To move the old one (again), remove the new
volume (
docker volume rm tiedenwerk-db, or the one named); to keep the new one, remove the old volume. -
"a PostgreSQL is still running on the old database": another stack on
this machine still runs on
kinboard-db(or on the same folder). Stop it (docker pslists every container), then start again. Two stacks on one database would each write over the other. - "not enough free space for the copy": the old data stays until you remove it, so the disk needs room for a second copy; the line says how much. Free some space and start again.
-
"older than 1.50" (from
init): the file needs a newer image than the tag you set. LeaveTIEDENWERK_TAGunset, or set a newer one.
The old data is never deleted: after a finished move it is in a folder
moved-to-tiedenwerk/ inside each old volume. The way back to an older file
is in UPGRADING.md ("The one-file install: new names").
npm 10 and npm 11 disagree about how a lockfile records a transitively-nested dependency, and npm ci refuses to install rather than guessing. Tiedenwerk's lockfile is generated with npm 11; run npm ci with npm 10 (which is what Node 20 bundles) and you get:
npm error `npm ci` can only install packages when your package.json and
npm error package-lock.json ... are in sync.
npm error Missing: @swc/helpers@0.5.23 from lock file
The lockfile is not stale — regenerating it with npm 11 reproduces it byte for byte. It's the npm version that's wrong.
The repo pins the package manager in webapp/package.json:
"packageManager": "npm@11.19.0"Activate it with Corepack, which ships with Node:
cd webapp
corepack enable npm # the explicit `npm` matters — plain `corepack enable` only shims yarn/pnpm
npm ciOr install it directly if you'd rather not use Corepack:
npm install -g npm@11.19.0This is also worth doing if you develop on more than one machine (a Windows laptop and a Linux box, say): mismatched npm versions rewrite parts of the lockfile on every install, producing diff noise that has nothing to do with your change.
Before 1.18, ./start.sh ran .env as a shell script, so a value with spaces needed quotes there, though Docker Compose itself reads it fine either way. A line like
COMPOSE_FILES=-f docker-compose.yml -f docker-compose.diun.yml
made bash try to run docker-compose.yml as a command. Put the value in double quotes:
COMPOSE_FILES="-f docker-compose.yml -f docker-compose.diun.yml"
From 1.18 ./start.sh reads .env the way Compose does, and both lines work. Nothing in .env is run as a command any more.
webapp/docker/.env holds the install's passwords and keys. Tiedenwerk's own scripts never delete it. On OpenMediaVault 8 the Compose plugin does, when it manages the git folder: its Compose Files shared folder contains webapp/docker and it has a file called docker (what Import names it). It then replaces .env with a link to its own copy each time it applies its compose settings, and Delete on that file removes .env and stops Tiedenwerk. Compose UIs → A git install and the Compose plugin has the details. Stop the plugin managing that folder (delete its file while Tiedenwerk is stopped, and choose a Compose Files folder outside the git folder) before you put .env back, or it goes again.
With a copy (.env.keep, .env.before-fix, a backup): copy it back to webapp/docker/.env and ./start.sh up.
Without one, a new .env has new passwords, and the existing database refuses them (kinboard-db-init keeps waiting, then password authentication failed for user "supabase_admin"). Your data is fine. Plain ./setup.sh stops here and says so; --new-passwords makes the new .env anyway. Then give the database its new password before starting the rest:
cd /path/to/kinboard && ./setup.sh --new-passwords
cd webapp/docker
docker compose -f docker-compose.yml up -d db
until docker exec kinboard-db pg_isready -q; do sleep 2; done
P=$(grep -E '^POSTGRES_PASSWORD=' .env | tail -n1 | cut -d= -f2- | tr -d '"')
docker exec -i kinboard-db psql -U supabase_admin -d postgres -v ON_ERROR_STOP=1 -v pw="$P" <<'SQL'
ALTER ROLE supabase_admin WITH PASSWORD :'pw';
ALTER ROLE postgres WITH PASSWORD :'pw';
ALTER ROLE authenticator WITH PASSWORD :'pw';
SQL
./start.sh upThe three ALTER ROLE lines print ALTER ROLE. The database container accepts this without a password because it comes from inside it. Put back what else your old .env had: COMPOSE_FILES for the automatic update or Traefik, WEBAPP_PORT and DATA_DIR if you had changed them (before the up -d db line, for DATA_DIR). Devices stay signed in. Push notifications need turning on again on each device, because the push keys are new. Then keep a copy of .env somewhere outside the Tiedenwerk folder.
The script uses bash 4-isms (associative arrays, [[ ... ]]). macOS ships bash 3.2 by default. Install via Homebrew:
brew install bashThen re-run with the new shell:
/usr/local/bin/bash ./setup.shYou pull, you restart, everything comes up clean — and Settings still shows the old version.
Check what compose actually resolved:
docker compose $COMPOSE_FILES config | grep -A1 "^ webapp:"Since 1.15 docker-compose.yml runs the published image (image: ghcr.io/svenger87/tiedenwerk:...) on its own. If you see image: kinboard-webapp:local and a build: section instead, docker-compose.build.yml is in your COMPOSE_FILES, and compose is building the webapp from the source checkout in that directory. A checkout that hasn't been git pulled rebuilds the version it was already on, so the upgrade appears to do nothing. Drop that file from COMPOSE_FILES to run the published image again.
If you genuinely want to build from source, that's fine — just git pull --ff-only origin main first, or you will rebuild the version you already have.
Also check TIEDENWERK_TAG in .env (or KINBOARD_TAG, its old name, which still works until 2.0): a pinned version (TIEDENWERK_TAG=1.14.0) stays where it is however often you pull.
Most common cause: you ran docker compose up -d against the base compose file but you actually need the Traefik override loaded too (the base file has no Traefik labels). Either:
docker compose -f docker-compose.yml -f docker-compose.traefik.yml up -dOr use the helper:
export COMPOSE_FILES="-f docker-compose.yml -f docker-compose.traefik.yml"
./start.sh upIf you're hitting Tiedenwerk directly (no Traefik), check that WEBAPP_PORT in .env matches the URL you're using.
PostgREST's login role (authenticator) ships with an empty password in the Supabase Postgres image and needs aligning to POSTGRES_PASSWORD. The one-shot db-init service does that before rest starts, so a plain docker compose up -d works. If you see this, check docker logs tiedenwerk-db-init: it must end with authenticator password aligned. A POSTGRES_PASSWORD changed in .env after the database was created is the usual cause — the database keeps the password it was created with.
The webapp keeps uploaded files in ${DATA_DIR}/storage/files/, mounted into the container at /var/lib/storage. An image from 1.15 on running with an older docker-compose.yml (typically an install that Watchtower updates without a git pull) has no such mount: existing pictures still load through the old storage container, but every upload answers 503. git pull, then cd webapp/docker && ./start.sh up (or docker compose ... up -d --remove-orphans). See UPGRADING.md.
An overlay of yours (docker-compose.override.yml, an old docker-compose.traefik.yml, …) still adds labels or settings to kong, storage, realtime, auth or imgproxy. Those services were removed from docker-compose.yml in 1.15, so the overlay's block is now a service with no image. Delete those blocks and run ./start.sh up again. Until you do, the install stays on the version it was on, untouched.
crypto.randomUUID only exists in a secure context (HTTPS, or http://localhost). On a plain-HTTP LAN address (e.g. http://192.168.1.50:3001) it's undefined, which used to crash the setup wizard's People step. Fixed in current images (a safeRandomUUID() fallback). To resolve: update to the latest image, or — the better long-term fix for push notifications and PWA install too — serve Tiedenwerk over HTTPS (Traefik + Let's Encrypt; see Self-hosting).
Every device talks to Tiedenwerk at the address it opened it from, so this is a reachability problem, not a setting: the phone has to reach the server on WEBAPP_PORT (3001). Check that you're opening http://<server-LAN-IP>:3001 and not localhost, and that no firewall on the server blocks the port. Under WSL, see Windows (WSL) as a host.
An old API_EXTERNAL_URL=http://localhost:8100 in .env is not the cause any more: since 1.15 nothing reads it.
Either:
- The DB volume bind path changed when you upgraded to the templated
docker-compose.yml. CheckDATA_DIRin.envmatches your existing data path. - Cookies are stale. Clear cookies for the site (specifically the
family-storecookie) and rejoin via/join.
- Check that both devices are connected to the same family — Settings → top of page → join code matches
- Open the browser dev tools → Network and look for the request to
/api/realtime. It is a long-lived Server-Sent Events stream (typeeventsource) that should stay open. If it keeps failing, check the webapp's log (docker logs tiedenwerk-webapp), and if you're behind a reverse proxy, make sure it doesn't buffer responses or cut long-lived connections short. - If the stream is open but nothing arrives when you edit on the other device, see Architecture → Real-time invalidation. Reloading the page always fetches the current data.
Per-integration issues are documented on each integration's own page:
- Google Calendar — redirect URI mismatch, "Reconnect" banner, no calendars listed: Google-Calendar → Troubleshooting
- CalDAV — authentication failed, wrong server URL, self-signed certificates, a calendar that stopped updating: CalDAV → Troubleshooting
- Home Assistant — connection failed, CORS, mixed content, token revocation: Home-Assistant → Troubleshooting
- Bring! — login failed, sync issues: Bring → Troubleshooting
- Cameras — black tile, auth dialogs, WebRTC ICE failures: Cameras → Troubleshooting
Test notification doesn't arrive, iOS push not working, subscription issues: Notifications → Troubleshooting
- The desktop app (can't find or reach the server, "isn't the server you connected to", crashes, Copy log): Desktop-App → When something goes wrong
- Hand-built kiosk: Edge doesn't auto-launch, on-screen keyboard, Task Scheduler error codes: Kiosk-Windows-11-Mele-4C → Troubleshooting
- Hand-built kiosk: presence sensor no data / watchdog reconnecting: Presence-Sensor → Troubleshooting
With docker-compose.build.yml in COMPOSE_FILES, ./start.sh up builds the image, and the build runs next build, which type-checks. A type error in a change of your own surfaces there. Run npx tsc --noEmit from webapp/ first.
Until 1.18 the auto-update overlay (docker-compose.diun.yml) built its webhook on your machine at the first up, from Dockerfile.webhook. That build needs Alpine's package mirrors and a Docker that can build, and not every one can: on one OpenMediaVault host, dockerd itself crashed during the build's RUN apk add (a segfault in its network setup for the build step), so the webhook never existed and nothing ever updated.
From 1.18 nothing is built: the webhook is published as ghcr.io/svenger87/tiedenwerk-webhook and pulled under your TIEDENWERK_TAG, like the webapp. Update the checkout and start again:
cd /path/to/kinboard
git pull --ff-only origin main
cd webapp/docker
./start.sh upA broken Docker build no longer matters for this. If ./start.sh up says it can't fetch the webhook image and runs another one instead ("so the webhook runs …"), that is fine: the version you run (or pin, TIEDENWERK_TAG=1.17.0, say) has no webhook image of its own yet, and the webhook moves to its own once there is one. Only "the auto-update (webhook and Diun) is left as it is" means there is no webhook: no image could be fetched at all, so check that this machine reaches ghcr.io and run it again. If you had added docker-compose.webhook-build.yml to COMPOSE_FILES, take it out: that file is the way to build the webhook on purpose.
If the webapp container was recreated with only the base compose file (a docker compose up typed without your overlays), Traefik dropped the route. Restart with all overlays, or with ./start.sh up, which reads COMPOSE_FILES from .env:
cd webapp/docker
docker compose -f docker-compose.yml -f docker-compose.traefik.yml -f docker-compose.override.yml up -d --no-deps webapp- First load fetches a lot of state (events for the next month, todos, shopping items, weather, HA entity states, etc.). Subsequent loads are cached. If chronically slow, profile via the browser dev tools.
- The Mele 4C runs Tiedenwerk fine. Cheaper boxes (Raspberry Pi 4 with browser kiosk) may struggle — the bottleneck is Chromium's React runtime, not the network.
Set Edge to start with limited tab discarding via Group Policy:
HKLM\SOFTWARE\Policies\Microsoft\Edge
AutomaticFullscreenAllowedForUrls = ["[*.]your-tiedenwerk-domain"] (REG_MULTI_SZ)
Or simpler: schedule a daily Edge restart at 03:00 via a separate scheduled task that kills Edge and re-launches it.
Almost always a cookie issue, not actual data loss. Verify the family-store cookie still points at the right family ID:
// browser console
document.cookieIf the cookie is missing, you'll be on /join and creating a new family looks like data loss. The original family's data is still in the DB; rejoin with the original code.
pg_dump: error: query failed: ERROR: permission denied for table feature_flags
pg_dump: detail: Query was: LOCK TABLE _realtime.feature_flags IN ACCESS SHARE MODE
You're dumping as postgres, which is not a superuser in the Supabase
image — supabase_admin is. Some schemas belong to supabase_admin (on an
install that ran the old realtime container, _realtime is one of them), and
pg_dump takes an ACCESS SHARE lock on every table, so it aborts on the
first one postgres doesn't own. Dump as supabase_admin instead:
docker exec tiedenwerk-db pg_dump -U supabase_admin -F c postgres > /backups/tiedenwerk.pgdumpThe same applies to pg_dumpall.
Check any backups taken since your last upgrade. The failure is quiet: the dump aborts, but the redirect has already created the file, leaving a couple of hundred bytes that looks like a backup until you need it.
pg_restore: error: input file does not appear to be a valid archive
If the dump was taken with docker exec -t, that's the cause. -F c is a
binary format and -t allocates a TTY, which rewrites line endings in the
stream and corrupts the archive. The damage is invisible by size — a mangled
dump comes out larger than a correct one, so it passes every "is the file
plausible" check.
Drop the -t. Use -i only when you actually need to pipe something in, as
pg_restore does:
docker exec -i tiedenwerk-db pg_restore -l < /backups/tiedenwerk.pgdump | headThat prints a table of contents for a good dump and errors on a bad one, and is worth running on every backup — it catches both this and the permission failure above.
# Capture the state for an issue report
cd webapp/docker
./start.sh status > /tmp/tiedenwerk-status.txt
docker logs tiedenwerk-webapp --tail 200 > /tmp/tiedenwerk-webapp.log
docker logs tiedenwerk-rest --tail 100 > /tmp/tiedenwerk-rest.log
# File an issue with all three attachedTiedenwerk on GitHub · Sponsor · Buy me a coffee · Report a bug · Free to self-host, AGPL-3.0
Getting started
Operations
Integrations
AI assistants
- Overview & quick start
- Connecting
- What they can do
- Permissions & safety
- Troubleshooting
- Self-hosting notes
Desktop app and wall screens
- Desktop app
- Wall screen
- Reference build (BOM + frame)
- LD2410 presence sensor
- Hand-built kiosk: Windows 11
- Hand-built kiosk: Linux
Built-in features
- Dashboard
- Calendar
- Shopping
- Recipes & meal planning
- Tasks & todos
- Notes
- Messages
- Timers
- Photos
- News
- Birthdays
- School schedule
- Smart home & energy
- Screensaver
- Layouts
- People & devices
- Recycle bin
- Creatures & rewards
- Festivals & seasons
- Notifications
- Themes
Plugins (per-family on/off)
Contributing