Error "FOREIGN KEY constraint failed" #203
|
I have spent several hours trying to troubleshoot this and I've had no luck. I'm running a fresh install on TrueNAS scale through the Dockge app. I copied over the .yaml edited the necessary fields and got the container up just fine. I get all the integrations set up and get green lights on everything. I set up the root folders without any issues. But, every time I try to add something I get the same Error. last few logs before the error {"timestamp":"2026-03-10T08:54:01.082Z","level":"debug","message":"TMDB request successful","correlationId":"ccf98fd7-4b9b-4651-add5-1a602adc75bc","service":"tmdb-proxy","endpoint":"tv/246"} {"timestamp":"2026-03-10T08:54:01.082Z","level":"debug","message":"Request completed","correlationId":"ccf98fd7-4b9b-4651-add5-1a602adc75bc","method":"GET","path":"/api/tmdb/tv/246","status":200,"durationMs":0} {"timestamp":"2026-03-10T08:54:01.083Z","level":"debug","message":"Request completed","correlationId":"797b36d2-a9d7-4194-a6af-166471a5a056","method":"GET","path":"/api/root-folders","status":200,"durationMs":5} {"timestamp":"2026-03-10T08:54:02.725Z","level":"debug","message":"Incoming request","correlationId":"18bd5256-5dac-4795-8109-4feda1dd97e5","method":"POST","path":"/api/library/series"} {"timestamp":"2026-03-10T08:54:02.958Z","level":"error","message":"[API] Error adding series","error":{"message":"FOREIGN KEY constraint failed","name":"SqliteError"}} let me know what other info is needed, I'll share it as needed. this is my first discussion post so I don't really know everything that is needed. thanks for the help! |
Replies: 3 comments 6 replies
|
I asked this same question in the Discord chat yesterday evening, but we couldn't make sense of it then either. Glad I'm not the only one experiencing the issue. |
|
This issue is caused by the trailing |
|
@keonramses I don't have trailing |
The previous latest tag was pointed to a broken dev build. I have updated it now to a stable build, please repull. If you already went through with the Auth setup, then I recommend switching to the dev build, which has newer features and more optimizations.
ghcr.io/moldytaint/cinephage:dev