djdd87 / SynoAI

A Synology Surveillance Station notification system utilising DeepStack AI
GNU General Public License v3.0
208 stars 24 forks source link

Synoai stops #200

Closed Petran54 closed 12 months ago

Petran54 commented 12 months ago

Hello,

For a while now, my synoai in Docker on the Synology NAS has started restarting at frequent intervals.

Been using codeproject-ai-server but switched to Deepstack with no difference.

Docker is rebooted and re-introduced by Synoai, Deepstack and ai-server.

Not good when things go wrong without you immediately knowing and you have no surveillance.

What could be wrong? Looks like something with logging. Maybe when it has to delete older capture than 14 days?

Sincerely Peter Sweden

Log (Last ät top)

Synoai_log.txt

djdd87 commented 12 months ago

The error looks like it's around the formatting of the deletion info messages. I've had a few problems since accepting a few pull requests, so I've reverted the PRs. I've also added an error handler around the task as well so it'll log an error instead of taking down the entire app. Let me know how you get on now.

Petran54 commented 12 months ago

Downloaded and installed. Now it runs without stopping. Seeing two warnings and an error in api calls to Deepstack. Don't know how to interpret it and if it's wrong on my end. Just quickly switched from ai server to Deepstack.

image

... and last

image
Petran54 commented 12 months ago

More api-error but the app still running.

I change to ai-server to see ...

image
djdd87 commented 12 months ago

The failed to call API warning is because you haven't set up the docker image properly. You need to enable vision detection, please see the trouble shooting section in the readme.

Petran54 commented 12 months ago

Ok, I see ... now with ai-server all is up and running.

Thank you!

//Peter

image