Git Product home page Git Product logo

Comments (9)

xirixiz avatar xirixiz commented on July 1, 2024 1

I`ll fix this issue Today... Cheers

from dsmr-reader-docker.

ualex73 avatar ualex73 commented on July 1, 2024 1

I fixed it in my fork already:
https://github.com/ualex73/dsmr-reader-docker/blob/master/rootfs/supervisord.conf

Don't forget the restart option, otherwise the WebGUI will stop the MQTT process, but it will not start automatically.

from dsmr-reader-docker.

xirixiz avatar xirixiz commented on July 1, 2024 1

Thanks for your help ualex73! Copied your version of supervisord.

from dsmr-reader-docker.

ualex73 avatar ualex73 commented on July 1, 2024 1

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

from dsmr-reader-docker.

Baseje avatar Baseje commented on July 1, 2024

It also didnt work on my installation!

from dsmr-reader-docker.

Baseje avatar Baseje commented on July 1, 2024

How to update this file, i tried to recreate my docker container by the new image and restore my database but no result :(

from dsmr-reader-docker.

ualex73 avatar ualex73 commented on July 1, 2024

@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

from dsmr-reader-docker.

Baseje avatar Baseje commented on July 1, 2024

from dsmr-reader-docker.

Baseje avatar Baseje commented on July 1, 2024

from dsmr-reader-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.