-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
MQTT support needs upgrade #26
Comments
It also didnt work on my installation! |
I`ll fix this issue Today... Cheers |
I fixed it in my fork already: Don't forget the restart option, otherwise the WebGUI will stop the MQTT process, but it will not start automatically. |
Thanks for your help ualex73! Copied your version of supervisord. |
How to update this file, i tried to recreate my docker container by the new image and restore my database but no result :( |
@Baseje : what type of error are you getting? Also if you do a "ps -ef | grep dsmr_" what do you see? My output looks like: |
I didn’t receive an error.
When I enter the command in mij DSMR container I receive;
root 26 22 0 09:01 ? 00:00:00 /usr/bin/python3 /usr/local/bin/gunicorn dsmrreader.wsgi --user dsmr --timeout 60 --max-requests 500 --bind unix:/var/tmp/gunicorn--dsmr_webinterface.socket --pid /var/tmp/gunicorn--dsmr_webinterface.pid
dsmr 27 22 0 09:01 ? 00:00:19 python3 -u /home/dsmr/app/manage.py dsmr_datalogger
dsmr 28 22 2 09:01 ? 00:00:50 python3 -u /home/dsmr/app/manage.py dsmr_backend
dsmr 37 26 0 09:01 ? 00:00:04 /usr/bin/python3 /usr/local/bin/gunicorn dsmrreader.wsgi --user dsmr --timeout 60 --max-requests 500 --bind unix:/var/tmp/gunicorn--dsmr_webinterface.socket --pid /var/tmp/gunicorn--dsmr_webinterface.pid
root 45 39 0 09:43 pts/0 00:00:00 grep dsmr_
Van: Alexander <notifications@github.com>
Verzonden: woensdag 8 augustus 2018 11:08
Aan: xirixiz/dsmr-reader-docker <dsmr-reader-docker@noreply.github.com>
CC: Bas Jongeneel <Bas@Jongeneel.IT>; Mention <mention@noreply.github.com>
Onderwerp: Re: [xirixiz/dsmr-reader-docker] MQTT support needs upgrade (#26)
@Baseje<https://github.com/Baseje> : what type of error are you getting?
Also if you do a "ps -ef | grep dsmr_" what do you see?
My output looks like:
ps -ef | grep dsmr_ | grep -v timeout
dsmr 6528 6516 1 aug07 ? 00:11:21 python3 -u /home/dsmr/app/manage.py dsmr_mqtt
dsmr 6530 6516 8 aug07 ? 01:00:18 python3 -u /home/dsmr/app/manage.py dsmr_datalogger
dsmr 6533 6516 6 aug07 ? 00:42:50 python3 -u /home/dsmr/app/manage.py dsmr_backend
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#26 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AjSBjg_U6aioh9H0Xg0W_NUucJKRmvI9ks5uOqpjgaJpZM4Vw3Qh>.
|
Ok, the dsmr_mqtt isn't running ... Can you compare inside the Docker the file "/etc/supervisor/conf.d/supervisord.conf" with the following one: You should see the additional section: |
I’ve copied it, it looks like it work!
Thanks!
Van: Alexander <notifications@github.com>
Verzonden: woensdag 8 augustus 2018 11:58
Aan: xirixiz/dsmr-reader-docker <dsmr-reader-docker@noreply.github.com>
CC: Bas Jongeneel <Bas@Jongeneel.IT>; Mention <mention@noreply.github.com>
Onderwerp: Re: [xirixiz/dsmr-reader-docker] MQTT support needs upgrade (#26)
Ok, the dsmr_mqtt isn't running ...
Can you compare inside the Docker the file "/etc/supervisor/conf.d/supervisord.conf" with the following one:
https://github.com/xirixiz/dsmr-reader-docker/blob/master/app/supervisord.conf
You should see the additional section:
[program:dsmr_mqtt]
command=/usr/bin/nice -n 15 python3 -u /home/dsmr/app/manage.py dsmr_mqtt
pidfile=/var/tmp/dsmrreader--%(program_name)s.pid
user=dsmr
group=dsmr
autostart=true
autorestart=true
startsecs=1
startretries=100
stopwaitsecs=5
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#26 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AjSBjjhX9MGvLQUIUe8fjYxFFaZc1e88ks5uOrY3gaJpZM4Vw3Qh>.
|
With the update to 1.23, MQTT doesn't work anymore. it needs an update
But, it doesn't work in your Docker version. Which command / directories do I need for updating the supervisor?
The text was updated successfully, but these errors were encountered: