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

Running on Alpine Linux => crashed #3003

Open
Nick4-1 opened this issue Feb 14, 2024 · 2 comments
Open

Running on Alpine Linux => crashed #3003

Nick4-1 opened this issue Feb 14, 2024 · 2 comments

Comments

@Nick4-1
Copy link

Nick4-1 commented Feb 14, 2024

I'm trying to install on an LXC with Alpine Linux, switching from Debian.
I just started using Alpine so go easy on me pls.

Whatever I do, I cannot get it running.
Any help is highly appreciated!

@Nick4-1
Copy link
Author

Nick4-1 commented Feb 16, 2024

I think I've nailed it down.
The mosquitto.pid file cannot be written due to the directory not existing.
I created it with
sudo mkdir /var/run/mosquitto/ && sudo chown mosquitto: /var/run/mosquitto
when I restart the mosquitto service, this works.
After rebooting though, the pid file cannot be written because the '/var/run/mosquitto/' folder is being deleted every time.

1 similar comment
@Nick4-1
Copy link
Author

Nick4-1 commented Feb 18, 2024

I think I've nailed it down.
The mosquitto.pid file cannot be written due to the directory not existing.
I created it with
sudo mkdir /var/run/mosquitto/ && sudo chown mosquitto: /var/run/mosquitto
when I restart the mosquitto service, this works.
After rebooting though, the pid file cannot be written because the '/var/run/mosquitto/' folder is being deleted every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant