Troubleshooting
Symptoms, causes and fixes for the problems operators hit most often. Work through the triage order at the end if you're not sure where to start.
Install and database
Can't reach the database
- Check
DATABASE_URL(host, password,sslmode=requirefor Neon). - Neon: use the pooler URL for the app; use the direct URL for
pg_dump/psqlimports (the pooler stalls long transactions). - A local Postgres works through the standard driver; any host that isn't
*.neon.techis treated as plain Postgres.
"relation … does not exist"
Tables are created on first use. If DB_SCHEMA_READY=1 is set, those checks are skipped. Unset it, load the storefront, admin and a player page once (or run npm run db:init), then set it again.
/install redirects away
The installer counts as done once a .installed lock file exists in the project root or the database already has an admin user. To reinstall, remove .installed and point DATABASE_URL at an empty database.
The wizard can't save settings on Vercel
The filesystem is read-only. Set DATABASE_URL, JWT_SECRET, SECRET_KEY and CRON_SECRET in the Vercel dashboard, redeploy, then continue the wizard.
Neighbouring routes 404 in development
Turbopack sometimes drops routes after you add or move a route folder. touch the affected page.tsx or restart npm run dev.
Storage and uploads
Uploads fail
- No storage configured: Configuration → Add-ons → Storage must have one connection marked Active and Default.
SignatureDoesNotMatch: the stored secret key is wrong or was rotated. Re-enter it.- CORS error in the browser console: run
npx tsx scripts/setup-r2-cors.ts https://your-domain(include every origin you use, such aswww.and preview domains). - "File is too large": presigned uploads are capped at 2 GB. Host larger files elsewhere and paste the URL.
- Check the bucket end to end with
npx tsx scripts/check-storage.ts.
Images or videos don't load for members
- The bucket's public URL in the storage connection must be correct and publicly readable.
- If you changed buckets or domains, existing rows still point at the old URLs.
Playback
"Choose a plan" or the plans page appears when pressing Play
The member has no live subscription. Check Members → the member → subscription. On hold or expired members are sent to the renew page or plans.
A title isn't visible to a member
Check, in order: status is Published; available_from is empty or past (future dates show in Coming Soon only); available_until hasn't passed; the title's maturity level is within the profile's limit (Kids profiles are capped at 7); the title isn't blocked for that profile; the viewer's country isn't excluded by the title's allow/deny lists or Settings → Streaming → Allowed countries.
"No video" / the player can't start
The movie or episode has no video asset, or its URL is unreachable. Open the title in admin: the list shows "No video" for movies without a file. For series, check each episode.
"Too many people are using your account right now"
The plan's screen limit is reached. Sessions count as live while the player sends heartbeats (every ~30 s) and for 90 s after the last one. Members can sign out everywhere; admins can stop a stream from the member drawer or turn enforcement off in Settings → Streaming. Also check the plan's max_streams (new plans created in admin default to 1).
Video plays but doesn't adapt or has no seek thumbnails
It hasn't been converted to HLS. Make sure the transcode worker is running, then use Convert to HLS on the asset and watch the status.
Transcode stuck in "queued" or "failed"
- Queued: no worker is running. Start
npm run worker:transcodeon a server or container. - Processing forever: a crashed worker's job is reclaimed after 10 minutes.
- Failed: the panel shows the error. Common causes: the source URL is unreachable or already HLS, no video stream in the file, not enough disk space. Jobs retry up to 3 times; use Re-run after fixing the cause.
Subtitles missing in the player
Check the track exists on that movie or episode (not on the series), the file URL loads in a browser, and bucket CORS allows your origin.
Skip Intro or next-episode countdown don't appear
Set the intro and credits markers on the episode (seconds, or scrub in the editor).
Billing
No payment methods at checkout
A gateway must be connected and active in Configuration → Add-ons → Payments. Premium gateways also need a license entitlement or purchase code.
Paid but membership not active
Activation happens when the gateway confirms the payment on return (/api/v1/checkout/verify). Look for the transaction under Billing → Transactions. If it's pending with an offline method (bank transfer, cash), activate the member with Extend. If the gateway shows it captured but Streamix doesn't, check the gateway credentials and mode (live vs sandbox).
Members aren't moved on hold, reminders aren't sent, Top 10 is stale
The cron isn't running. Call /api/v1/cron with Authorization: Bearer <CRON_SECRET> and check the JSON; set up an hourly schedule. Without CRON_SECRET the endpoint returns 401.
Email and notifications
Emails don't arrive
- Configure Email in Add-ons and send a test from Notifications → Templates.
- Check the Delivery Log for errors.
- Verify SPF/DKIM for your sending domain.
- Marketing messages respect the member's communication settings.
Browser notifications don't appear
The member must allow notifications (bell prompt), the site must be on HTTPS, and the browser must support web push. Messages go out from the cron, so it must be running.
Licensing
A license banner or gate shows
Activate your purchase code under Configuration → License for the current domain. When moving domains, deactivate on the old one first.
A premium add-on stays locked
Your license entitlements don't cover it; enter the add-on's purchase code under Add-ons. In development builds on localhost everything is unlocked; production builds always check.
Build and deploy
Build fails
Run npx tsc --noEmit -p tsconfig.json locally; type errors fail the build. Make sure npm install ran prisma generate (postinstall).
Members are signed out after deploy
JWT_SECRET changed. Keep it stable across deploys.
Stored credentials stopped working after a move
SECRET_KEY differs from the one used to encrypt them. Restore the original value or re-enter every connection.
Triage order
- Environment:
DATABASE_URL,JWT_SECRET,SECRET_KEY,CRON_SECRET. - Database reachable and schema provisioned (
DB_SCHEMA_READYunset while testing). - Storage connection active/default and CORS set.
- Payment gateway active.
- Cron running.
- Transcode worker running (if you rely on HLS).
- Browser console and server logs for the exact error message.
© CreativeCape Solutions · creative-cape.com · support@creative-cape.com