I do have "unless-stopped" in my compose file. Not sure if that has to be "always", and I need to somehow get docker desktop started as a service.
On another note, I got some recognized plates with it running, but they aren't going into the database and the logs show the error:
'[ERROR]Error processing request: error: null value in column "id" of relation "plate_reads" violates not-null constraint'
Not sure what's going on there. I am using the blueiris rest macro as shown in the guide.
...edit: I just ran the update script after reading the troubleshooting section in the docs. Hopefully that gets the plates flowing to the database... nope still alerts still not going to the database. There are more logs that may help with troubleshooting:
Code:
[INFO]POST /api/plate-reads
9/10/2025, 1:00:19 PM
[INFO]Received plate read data: [object Object]
9/10/2025, 1:00:19 PM
[INFO]Database connection established
9/10/2025, 1:00:19 PM
[INFO][FileStorage] Successfully saved image
9/10/2025, 1:00:19 PM
[ERROR]Error processing request: error: null value in column "id" of relation "plate_reads" violates not-null constraint
9/10/2025, 1:00:19 PM