-
Notifications
You must be signed in to change notification settings - Fork 309
Mosquitto can't change password instructions not correct #273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Starting position:
Although I've just shown it to be working, you're not alone in scratching your head about this whole topic (no pun intended). See also this gist. I started out with nothing working, and now I can't replicate the fault. It confuses the heck out of me. If you think the doco needs to be improved then the quickest way to make it happen is to prepare a Pull Request. There's a guide at this gist. Hope this helps! |
Thank you for the thorough explanation !!! I was about to open an Issue myself regarding this... this part made the difference for me: $ sudo chown -R 1883:1883 ./volumes/mosquitto somehow this was not automatically done :-) Thank you again |
@Londoneye02 if you want an in-depth discussion of the problems with Mosquitto, I've opened this issue on their repo. You'll notice there's not a whole lot of response and I don't know what to make of that. Maybe I gave them too much info. In theory IOTstack "solves" this problem by running directoryfix.sh. Under old menu this was copied from the .templates directory to the services directory and executed there towards the end of the menu run. The script is still in the new menu template but I'm beginning to suspect it isn't being run by the new menu. However, if it is being run by both menus then it follows that it not being run on your system is some difference on your system which either prevented it from being run or prevented it from taking effect. I can't speculate as to which. As you'll see from the issue I referenced above, I think the presence of a directoryfix.sh is pretty much the signature of a non-well-behaved container. Containers that are well-behaved self repair. NodeRed is a good example. If you erase its directory in volumes then bring up the stack, docker-compose will create everything defined in its |
Well and truly out of date. Self-repair guarantees null password file on first launch or if the file ever goes walkabout. Doco explains add/delete passwords. |
Hi
Thanks
C
The text was updated successfully, but these errors were encountered: