IOTstack icon indicating copy to clipboard operation
IOTstack copied to clipboard

Mosquitto pwfile

Open BorisHruby opened this issue 5 years ago • 2 comments

Hi guys,

I've just found out there is a wrong path in mosquitto.conf file for enabling passwords. There stands:

password_file /mosquitto/pwfile/pwfile

As this didn't work for me I looked inside into the container and saw the pwfile sitting in the config folder not pwfile folder. I don't know why is the pwfile folder there and mapped to local pwfile folder. I suppose the pwfile should sit in this folder.

If I changed the path to:

password_file /mosquitto/config/pwfile

everything runs smoothly again.

BorisHruby avatar Jun 22 '20 17:06 BorisHruby

Thanks for pointing this out! Will have a fix in the mix shortly. Do note that this project is dormant and an active one has been created at: https://github.com/SensorsIot/IOTstack

Slyke avatar Aug 05 '20 16:08 Slyke

@Slyke - your comment makes me slightly twitchy. This isn't as straightforward as the original post makes it seem (and the discussion was moved to the new repo at the time).

Please see SensorsIot/IOTstack/issues/82.

I think the problem would go away if you applied SensorsIot/IOTstack/pull/73. The doco, the terminal script to get a shell into the container, and the template would then all be aligned.

Thoughts?

Paraphraser avatar Aug 07 '20 05:08 Paraphraser