Something weird going on with the viewer today. For some reason the last plate showing is just before 11am today. I download every 30 minutes. Downloader is working as intended and shows plates being downloaded.
Restart and reboot doesn't seem to change anything.
11am is midnight GMT so I'm suspecting another time issue.
And just like that seems to have started working again.
View attachment 75829
I have hits during that time on the openalpr website, but even a manual download doesn't make them appear in viewer.
Go for it! Just like tech did with a guide - worked out well.Ok so I worked it out and the fix was simple. All of the data was there, it was just out of order. Clicking the sort by local time button put everything back into the correct order. Beyond me what I did to suddenly have data appearing out of order. I suspected I had accidentally clicked on one of the other sort by buttons but everything else was in the right order, just that patch of time was missing and in another part of the table. Hey @Gymratz I don't want to steal your thunder here. Would you mind if I set up a new troubleshooting thread to compile the fixes to any issues that pop up in the one place? There's a bunch of good info in the existing threads but I would like to put it into a single post to help others.
I'm not sure where to start in making this a service / moving it into a DLL
Run AI Tool as a Windows Service"
For AITool to be able to run as Windows service a third-party program is required – NSSM (or Non-Sucking Service Manager).
As the DQAI Windows version doesn't support autostart yet, the DQAI Docker version is required for the following (otherwise AI Tool will be running as a service, but DQAI won't be started). You can find the install guide for DQAI Docker in the 'deprecated CMD Version (v0.1 - v0.6)' spoiler.
Please follow these steps:
1. Download NSSM from here: Direct Download or open Download Page
2. Extract it to a folder on your hard drive
3. Open an administrative command prompt
3.1 Win 10: press the Search button, Win7: open the Start menu
3.2 Type in cmd
3.3 Right click on Command Prompt and select Run as administrator
View attachment 44815
3.4 Click Yes on the prompt
View attachment 44816
4. Within the CMD navigate to where you have extracted NSSM (eg. cd / press enter, cd nssm-2.24-101-g897c7ad press enter, cd win32 press enter)
View attachment 44817
5. In CMD now type nssm.exe install AITool and press enter
View attachment 44818
6. You will be presented with the NSSM GUI. You need to:
6.1 Browse to the AITool path and double click on the AITool.exe
6.2 Ensure the startup directory is auto-filled with the path to the AITool.exe folder
6.3 Ensure the Service name is correct
View attachment 44819
6.4 Click on Details and fill out Display name and description (for example AITool in both)
View attachment 44820
6.5 Click on Log On and select This account and enter your Windows username and password (password needs to be entered twice in the correct boxes)
View attachment 44821
6.6 Press Install service. If you get a success press OK an reboot your Windows PC.
View attachment 44822
7. After reboot check services and ensure the AITool service is running
View attachment 44823
8. Without manually running AITool, generate some valid alerts and ensure they are being sent to your mobile/tablet device.
Many thanks to MnM for testing and describing this solution!
Don't know why
Not sure why this is?
Does not appear to affect functionality.
My plates are being imported
In theory, should be able to use SSMS to back-up on previous server and restore onto new server.Hey @Gymratz I'm going to be building a new server and migrating my data over, things I plan on doing:
Backup LPR tables on the current server
Install SQL Server on new server and restore LPR tables
Install OpenAPLR, configure the settings and restore the database files
I assume I won't have to compile a new LPR downloader/viewer since the settings are the same, but I will still install Visual Studio for future updates.
Does this sound like I'm missing anything?
What I notice in yours is that you have entries for every minute, except for 9:57am - which is when the import likely happened (then the one after they were dupes). Why it doesn't show the entry for 9:57, I'm unsure. My guess, there's an error in the code right before the part that saves the success log - perhaps your archival or alerting had an error, causing it to dump out of that function before it logged the success. The entire "UploadStream" function is wrapped in a try - so any errors would just continue - and the line that saves that success count is at the end of that function.I am trying to understand I just did a new install. When My plates are being imported it does not show correctly on downloader even though they have been imported.. Not sure why this is?
View attachment 76169