Skip to content

Mosquitto : failed to save /mosquitto/data/mosquitto.db.new for writing #237

@reba0

Description

@reba0

Wrong user in Volumes directory : default User instead of "1883"

LOG Output
today at 01:41 2021-01-12T22:11:01: Error saving in-memory database, unable to open /mosquitto/data/mosquitto.db.new for writing.
today at 01:41 2021-01-12T22:11:01: Error: Invalid argument.

pi@raspi-test:~/IOTstack/volumes $ ls -al
insgesamt 24
drwxr-xr-x 5 pi pi 4096 Jan 12 16:17 mosquitto
.templates is a directoryfix.sh
copied directoryfix.sh to /IOTSTACK/
copied service.yml to IOTSTACK/Services/mosquitto

executeted the direcotory fix

pi@raspi-test:~/IOTstack/volumes $ ls -al
drwxr-xr-x 5 1883 1883 4096 Jan 12 16:17 mosquitto

working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions