Skip to content
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

Linux Snap Installation package does not include mosquitto #3197

Closed
vphatfla opened this issue Jan 7, 2025 · 3 comments
Closed

Linux Snap Installation package does not include mosquitto #3197

vphatfla opened this issue Jan 7, 2025 · 3 comments
Labels
Type: Question A query or clarification.

Comments

@vphatfla
Copy link

vphatfla commented Jan 7, 2025

Snap Installation Package include everything but no mosquitto, is this intentional?

System Specs:

Window 11, WSL2

What I did:

sudo snap install mosquitto

Result/Observation:

mosquitto.ctrl@    mosquitto.pub@     mosquitto.sub@     mosquitto_pub@     mosquitto_sub@
mosquitto.passwd@  mosquitto.rr@      mosquitto_passwd@  mosquitto_rr@

Notes:

  • Everything works correctly, such as pub/sub. However, I can not run mosquitto.
sudo: mosquitto: command not found
  • according to the documentation, I should have a binary called mosquitto that I can run. Am I missing something?
@github-actions github-actions bot added the Status: Available No one has claimed responsibility for resolving this issue. label Jan 7, 2025
@ralight ralight added Type: Question A query or clarification. and removed Status: Available No one has claimed responsibility for resolving this issue. labels Jan 8, 2025
@ralight
Copy link
Contributor

ralight commented Jan 8, 2025

The snap installs mosquitto as a service which you can start/stop with e.g. snap start mosquitto. There are some details on the configuration requirements at https://mosquitto.org/documentation/using-the-snap/

@vphatfla
Copy link
Author

vphatfla commented Jan 8, 2025

Thank you for the reply! Yes it makes sense now. It's not very obvious since you can run mosquitto_sub or mosquitto_pub without snap, but you need to use snap to start/stop the service.
@ralight can we put the note somewhere in the documentation?

ralight added a commit that referenced this issue Jan 20, 2025
@ralight
Copy link
Contributor

ralight commented Jan 20, 2025

Good idea, I've added a few more details to the documentation page.

@ralight ralight closed this as completed Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question A query or clarification.
Projects
None yet
Development

No branches or pull requests

2 participants