Skip to content

mosquito problems #506

@the1gofer

Description

@the1gofer

I created a password file, and had clients connected, but at some point the container restarted and now I'm getting the following error.

from docker container ps:
b244a6ac0577 iotstack_mosquitto "/docker-entrypoint.…" 6 minutes ago Restarting (13) 19 seconds ago mosquitto

from the logs:

2022-02-23T16:13:02.280538764Z 2022-02-23T16:13:02: mosquitto version 2.0.14 starting
2022-02-23T16:13:02.280594059Z 2022-02-23T16:13:02: Config loaded from /mosquitto/config/mosquitto.conf.
2022-02-23T16:13:02.280616355Z 2022-02-23T16:13:02: Error: Unable to open pwfile "enabled".
2022-02-23T16:13:02.280635799Z 2022-02-23T16:13:02: Error opening password file "enabled".

I found an article that said this was probably becuase the pwfile has the wrong owner,
-rw-r--r-- 1 1883 1883 364 Feb 21 09:00 pwfile

id -nu 1 says the owner is doemon.

any suggestions how to fix?

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