Docs · Troubleshooting
Troubleshooting
Start with /api/health
Open /api/health and confirm ok, database status, hasSplitDbEnv / hasDatabaseUrl, and Google/Microsoft OAuth flags. Fix env via Hostinger hPanel restart when possible.
Common failures
- Configuration / sign-in error — DB unreachable or auth tables missing. Push schema (
npm run db:hostinger:push) after enabling Remote MySQL if build-time push hit EACCES. - Insufficient scopes — Re-authorize Google from Connect so Ads/GTM scopes are granted.
- Ads sync fails — Verify developer token and Ads customer IDs on the site.
- Bing missing_config — Set Microsoft client ID/secret and matching redirect URI.
- 503 after deploy — Confirm hPanel Framework is Other, entry
app.js, output./.
Local vs production DB
Local USE_SQLITE_DEV=true ignores Hostinger MySQL. Production must leave that unset and use DB_HOST=localhost on the Node host.