-
Notifications
You must be signed in to change notification settings - Fork 194
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
New mosquitto version breaks monitor functionality #400
Comments
Same problem, saw that when running "gdb --args /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf", it shows |
Downgrading from 2.0.13-0mosquitto1~buster1 version back to 1.5.7-1+deb10u1 brings back functionality for monitor. |
Can you elaborate on the steps needed? Because I couldn't install an earlier package neither on buster nor bullseye |
I am using RPi Zero and it did the trick. Instead of this (as explained in instructions) : I did this: or install each separately with adding "=1.5.7-1+deb10u1" at the end. |
Thanks for the note, everyone. I'll look into this. |
Same issue...did a clean install on a Rasp Pi Zero W with Bullseye and pulled Mosquito from the main Pi repository (v2.0.11) and everything works fine again. |
Yes, the problem seems installing the repo. |
oh chuff is that so? I've just wasted an hour then! Downgraded to Buster from Bullseye and got same error - should have just not installed the repo it seems. @andrewjfreyer could the docs be updated? Thanks!! |
Hello,
This is what I get:
Unpacking mosquitto (2.0.13-0mosquitto1
buster1) ...buster2) ...Setting up libwebsockets18:armhf (4.2.1-0mosquitto1
Setting up mosquitto (2.0.13-0mosquitto1~buster1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/mosquitto.service → /lib/systemd/system/mosquitto.service.
Job for mosquitto.service failed because a fatal signal was delivered to the control process.
See "systemctl status mosquitto.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mosquitto, action "start" failed.
● mosquitto.service - Mosquitto MQTT Broker
Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Sun 2021-11-14 09:06:28 CET; 180ms ago
Docs: man:mosquitto.conf(5)
man:mosquitto(8)
Process: 5178 ExecStartPre=/bin/mkdir -m 740 -p /var/log/mosquitto (code=exited, status=0/SUCCESS)
Process: 5181 ExecStartPre=/bin/chown mosquitto /var/log/mosquitto (code=exited, status=0/SUCCESS)
Process: 5183 ExecStartPre=/bin/mkdir -m 740 -p /run/mosquitto (code=exited, status=0/SUCCESS)
Process: 5187 ExecStartPre=/bin/chown mosquitto /run/mosquitto (code=exited, status=0/SUCCESS)
Process: 5188 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=killed, signal=ILL)
Main PID: 5188 (code=killed, signal=ILL)
Nov 14 09:06:28 raspberrypi systemd[1]: mosquitto.service: Service RestartSec=100ms expired, scheduling restart.
Nov 14 09:06:28 raspberrypi systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 1.
Nov 14 09:06:28 raspberrypi systemd[1]: Stopped Mosquitto MQTT Broker.
dpkg: error processing package mosquitto (--configure):
installed mosquitto package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (241-7~deb10u8+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpt2+rpi1) ...
Errors were encountered while processing:
mosquitto
E: Sub-process /usr/bin/dpkg returned an error code (1)
The text was updated successfully, but these errors were encountered: