gcgarner / IOTstack

docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.5k stars 578 forks source link

Mosquitto pwfile #195

Open BorisHruby opened 4 years ago

BorisHruby commented 4 years ago

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.

Slyke commented 3 years ago

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

Paraphraser commented 3 years ago

@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?