-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URIs in the config files should be validated as URIs #396
Comments
Please include your |
I uploaded settings.json and triggers.json as .log in previous because git is saying it doesn't support .json upload, and I've also copied the code for both below. I didn't use the docker-compose.yaml, but used Unraid 'add container' with the elements defined below. Appreciate your thoughts, thanks settings.json
triggers.json
|
This is almost certainly a mount/path problem with unraid. Can you connect directly to the trigger container with a console and do an Another thing to do is put a file in the mount folder then start up the container. It will output log messages telling you how many files it finds in the mount location that are waiting to be processed. |
There should be a lot more log output than what you pasted in, e.g. there's no log message showing the
Try doing an |
shows up there too... you mentioned .conf first... is there is a difference here? I did try a file extension change a while back to see what effect that would have. But it reacted the same. it would seem it's getting stuck at local storage. Crap, I'm on kid duty, have to come back to this later. Thanks for your help. |
Nah I just typo'ed and corrected myself. There should be a ton more logs showing up, at the very least failure messages saying it can't read/find that file. I'm not sure what else to suggest unfortunately. I don't have access to unraid/have never used it. |
Last question before I throw in the towel for now... the next step in the log is "creating local storage folders." I'm looking into the read/write permissions in the root appdata/deepstack-trigger folder. The /config path is read-write to the subfolder, but I'm not so sure that the root for the container is write-able. Can you tell me more about that step? Does it have a container path associated with it? What does it create? |
It attempts to create three folders in
|
@mattiapsu Can you update your unraid setup to point to the I added some additional error handling and logging to the local storage folder creation step. It might be that something is going wrong there and it's just killing the whole system. If so the changes I made will at least spit out the error. |
I have an idea! Can you try disabling MQTT? Just set |
And if that fixes it, try enabling it again and changing the |
Ok, change your Docker tagged image to |
Success, it was simply the http reference in MQTT uri. Thanks for troubleshooting with me, sorry for the stupid overlook. Now time to dig in. |
Sweet! Glad we got it figured out. I reopened this for eventual improvement to the config file parsing. There should be a check that the URI is properly formatted rather than just assuming that's the case and passing it off to the MQTT library for use (which apparently causes everything to just stop). |
Describe the bug
I copy a test image to the aiinput folder, but it appears that processing is not happening.
Log entries
Trigger log
Deepstack log
Installation details
Additional context
I had followed some other guides to install deepstack including from command line in Unraid. I deleted those containers and images by Unraid GUI prior to using the method above.
In order to test the system I am just copying an image into the aiinput folder and monitoring the logs for action. I'm using a cat picture posted in example setup. I have Blue Iris setup but have not automated the picture load.
If I go to my deepstack URL:port, it says deepstack is activated.
The text was updated successfully, but these errors were encountered: