Comments (2)
Way late to the party on this one, but as I've just been dealing with the same problem I can at least explain why I think it's happening so others might find it more quickly.
The current Docker image for emoncms (as of 22/12/2021) just runs Apache. It doesn't handle the additional processes required to read data from MQTT and push it into emoncms.
It's unclear to me whether scripts/phpmqtt_input.php should be used to do this job, or if scripts/services/emoncms_mqtt/emoncms_mqtt.php is more correct (they're almost, but not quite, identical). I assumed the first and added supervisord to the emoncms Docker image to start both that and Apache.
Unfortunately that's not quite sufficient as the script currently fails unless Redis is available. If you're already using it then you might be all good anyhow, but I'd suggest that Redis shouldn't really be a requirement unless you need emoncms to publish data back to MQTT (which is not something I need it to do).
from emoncms-docker.
MQTT broker has to be run separately, enabling MQTT in this image means enabling mQTT protocol support and indicating where to find the broker instance with MQTT_HOST
from emoncms-docker.
Related Issues (20)
- Mod rewrite missing when mounting www
- Docker Hub not up to date HOT 3
- docker ENV port MySQL port is not present in settings.php
- Sending data to docker emoncms from openevse HOT 2
- use of deprecated Links in docker-compose file
- Database: Connection Refused HOT 1
- fatal: Remote branch python3 not found in upstream origin HOT 3
- Volume for local dev environment point the wrong place HOT 1
- EmonCMS' dockerised Web service fails when starting up HOT 2
- emoncms access HOT 6
- Restore function not working
- Fixing quick start HOT 1
- Setup CI to automate pushes to docker-hub
- Permissions Error
- few changes for running the container rpi4 HOT 3
- What branch is the most active/recent? HOT 6
- Outdated quickstart instructions
- Multiple errors on image update HOT 1
- docker image for a complete emoncms installation HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emoncms-docker.