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
Mosquitto not working anymore after Synology update #2866
Comments
From the error message But anyway this message means the is still a different process listening to the port 1883, which docker would like to bind for the Mosquitto broker. Not sure, which tools are installed in the NAS and if you are able to log into it. Easiest way to find out the process would be using a My best guess would be something went wrong with the docker update/config. I have seen problems with containers not really being stopped (reboot should fix that). Or problems with different docker installation existing at the same time (as there are most times different ways to install docker). |
Any update on this? I have the same issue on my Synology DS918+ running DSM 7.2.1 Update 3. |
@Sir-Bacon, I'm not familiar with synology in general but if you run If it happens to be "docker-proxy", there should be another process in docker occupying the port; If you are able to run docker commands from cli, then you can try Did mosquitto update in this process as well, by any chanse? I have a hunch that it's going to be a mosqutto (stopped or started), that is listening on it, but with a bad configuration.
@AlbertHoevenaars problem is probably due to the fact just I would also reorder the config to look more like:
given that some options are listener specific thus can start the "default listener", which is not what you want to do here. |
@Daedaluz : Thanks for the help. I run the command, check the screenshot below. There is no Docker active on port 1883. It is listed as nginx. |
What on earth is a nginx doing on port 1883?! |
now, how does your mosquitto config look like? |
persistence true |
Can you try the config file i provided previously? 192.168.2.31 is not available inside the container |
Yep, that worked! Thanks so much! |
just keep that one under the listener part. |
I did. Thanks again! |
After updating my Synology NAS DS1019+ last week, Mosquitto will not start anymore. Before the update Mosquitto was working (within Docker) without any problem. The message I get is "driver failed programming external connectivity on endpoint mosquitto (178c4e06e5edb9aad649bc2789e5ce7c160fd2b85daaae5b599cebd22a0950a6): Error starting userland proxy: listen tcp4 0.0.0.0:1883: bind: address already in use"
my mosquitto.conf file holds:
allow_anonymous false
listener 1883 192.168.2.160
persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
password_file /mosquitto/config/password_file
No log file is created. By the way I have never seen something in the log directory.
How to solve this problem and get Mosquitto working again?
The text was updated successfully, but these errors were encountered: