Skip to content
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

Wont run on docker from a synology NAS #8

Closed
madhits opened this issue May 14, 2020 · 2 comments
Closed

Wont run on docker from a synology NAS #8

madhits opened this issue May 14, 2020 · 2 comments

Comments

@madhits
Copy link

madhits commented May 14, 2020

sudo docker run -v /opt/config:/config dfarkov/onvif2mqtt

[email protected] start /
node dist/index.js

{"level":30,"time":1589486125412,"msg":"Loading configuration. {"configPath":"/config/config.yml"}","v":1}
{"level":30,"time":1589486125493,"msg":"Validating configuration file.","v":1}
{"level":30,"time":1589486126244,"name":"Manager","msg":"Beginning initialization...","v":1}
{"level":30,"time":1589486126245,"name":"MQTT","hostname":"127.0.0.1:1883","msg":"Connecting.","v":1}

I get this output which starts on the docker and I can see it with docker ps command but it never shows up mqtt explorer and I believe it either is not loading the config or it has some prereq that is not met but it is not giving any output to explain whats going on. I have installed the node.js v8 on the synology so that should be all it needs.

@dmitrif
Copy link
Owner

dmitrif commented May 26, 2020

Works on Docker + Synology DS418+ here. It seems like it is unable to connect to MQTT, any further logs from your broker side?

@dmitrif
Copy link
Owner

dmitrif commented Jul 12, 2020

Closing as stale. Feel free to reopen.

@dmitrif dmitrif closed this as completed Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants