Database not connected
Set your Cockroach Labs DATABASE_URL in .env — see .env.example.
Failed query: select "videos"."id", "videos"."channel_id", "videos"."title", "videos"."description", "videos"."status", "videos"."error", "videos"."provider", "videos"."bucket", "videos"."source_key", "videos"."hls_prefix", "videos"."thumbnail_key", "videos"."duration", "videos"."width", "videos"."height", "videos"."size", "videos"."is_short", "videos"."views", "videos"."language", "videos"."category", "videos"."created_at", "channels"."name", "channels"."slug", "channels"."avatar_url" from "videos" inner join "channels" on "videos"."channel_id" = "channels"."id" where "videos"."status" = $1 order by "videos"."created_at" desc limit $2 params: ready,60Error: Failed query: select "videos"."id", "videos"."channel_id", "videos"."title", "videos"."description", "videos"."status", "videos"."error", "videos"."provider", "videos"."bucket", "videos"."source_key", "videos"."hls_prefix", "videos"."thumbnail_key", "videos"."duration", "videos"."width", "videos"."height", "videos"."size", "videos"."is_short", "videos"."views", "videos"."language", "videos"."category", "videos"."created_at", "channels"."name", "channels"."slug", "channels"."avatar_url" fr
After updating .env, restart npm run dev and check /api/health.