Wow so I figured it out what the issue was, thanks so much @PeteJ and everybody else who helped debug this. Originally, I was on 5.9.9.19 and the settings shown in post 933 did NOT work for me.
I then UPGRADED TO 5.9.9.44, adjusted my settings to post980, and it started working. So I downgraded back to 5.9.9.19 (last version available to my lifetime license, SMH), using these settings, same as post980 and it still works!
So, full set of instructions to my brethren struggling with this in this thread. Install the docker container via the website instructions, make sure you update the API key in the web interface.
You can run an MD5 check on the migrations.sql and schema.sql if you wish, mine matched the repository exactly but still gave me errors.
If you get this error
5/1/2025, 1:21:28 PM [ERROR] Error processing request: error: there is no unique or exclusion constraint matching the ON CONFLICT specification
Then run these commands in your docker (the db one, not the app one):
psql -d postgres -U postgres -f /docker-entrypoint-initdb.d/schema.sql
psql -d postgres -U postgres -f /docker-entrypoint-initdb.d/migrations.sql
which may then result in logs like these:
5/1/2025, 3:00:12 PM [ERROR] Error processing request: error: null value in column "plate_number" of relation "plate_reads" violates not-null constraint
Then make sure your AI Configuration, under AI settings in BlueIris are set to this, and it worked for me! Whew...
I then UPGRADED TO 5.9.9.44, adjusted my settings to post980, and it started working. So I downgraded back to 5.9.9.19 (last version available to my lifetime license, SMH), using these settings, same as post980 and it still works!
So, full set of instructions to my brethren struggling with this in this thread. Install the docker container via the website instructions, make sure you update the API key in the web interface.
You can run an MD5 check on the migrations.sql and schema.sql if you wish, mine matched the repository exactly but still gave me errors.
If you get this error
5/1/2025, 1:21:28 PM [ERROR] Error processing request: error: there is no unique or exclusion constraint matching the ON CONFLICT specification
Then run these commands in your docker (the db one, not the app one):
psql -d postgres -U postgres -f /docker-entrypoint-initdb.d/schema.sql
psql -d postgres -U postgres -f /docker-entrypoint-initdb.d/migrations.sql
which may then result in logs like these:
5/1/2025, 3:00:12 PM [ERROR] Error processing request: error: null value in column "plate_number" of relation "plate_reads" violates not-null constraint
Then make sure your AI Configuration, under AI settings in BlueIris are set to this, and it worked for me! Whew...