You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for the docker image states that the volume for persistence should be configured so that a local repository (/etc/docker/mqtt/data) points to /mosquitto/data.
When running the container, one of the logs is
1570539362: Saving in-memory database to /mosquitto/datamosquitto.db.
There is a slash (/) missing in the code which concatenates the directory /mosquitto/data to the persistence file mosquitto.db.
This also means that running the container with the advertised configuration does not work (the persistence file is not created). My current workaround is to add an extra volume mapping /etc/docker/mqtt:/mosquitto which enables the container to create that file.
The text was updated successfully, but these errors were encountered:
The documentation for the docker image states that the volume for persistence should be configured so that a local repository (
/etc/docker/mqtt/data
) points to/mosquitto/data
.When running the container, one of the logs is
There is a slash (
/
) missing in the code which concatenates the directory/mosquitto/data
to the persistence filemosquitto.db
.This also means that running the container with the advertised configuration does not work (the persistence file is not created). My current workaround is to add an extra volume mapping
/etc/docker/mqtt:/mosquitto
which enables the container to create that file.The text was updated successfully, but these errors were encountered: