Unable to run on docker (rasp Pi 5) - Mosquitto failing to start/load issue
So I have just tried to install grafolean as it looks very interesting and I'm keen on getting some netflow from OPNSense monitoring working off device. I thought I'd try it on my pi5 (with NVME SSD)
Steps To Reproduce Steps to reproduce the behavior:
- Downloaded the pi docker compose file (https://raw.githubusercontent.com/grafolean/grafolean/feature/multi-arch/install/docker-compose.yml)
- Edited the .env file to include the PI's host IP address (internal LAN IP) also tried internal DNS hostname. and set the http port to 8088 as 80 and 8080 is in use already.
- Issued docker compose pull
- Issued docker compose up (not in daemon mode yet)
- Tried to access the web interface http://
:8088 and nothing, waited a while, still nothing.
Noticed in the console that mosquitto was failing, reporting an error and then stopping...
mosquitto | 1726675136: Error: Unable to load auth plugin "/usr/local/lib/go-auth.so". mosquitto | 1726675136: Load error: /usr/local/lib/go-auth.so: ELF load command alignment not page-aligned mosquitto exited with code 1
This repeats (I uess it keeps restarting mosquitto) I presume thats the problem, but I am unsure how to fix it. There were further errors from grafolean sayng mosquitto
grafolean | nginx: [emerg] host not found in upstream "mosquitto" in /etc/nginx/grafolean.http.conf:35
Software versions:
- Docker version 20.10.24+dfsg1, build 297e128
- docker-compose version 1.29.2, build unknown
- Grafolean Version v0.5.0-rc.2-multiarch-2
Additional context I do already have a mosquitto instance for MQTT / Zigbee / Homeassistant running in other docker containers on the Pi... I dont know if that is relevant or not??!
Hi, just wanted to get back to you on this. I only ever ran Grafolean on RPi 4, not 5, and that was quite some time ago. I'm not sure what the difference is between the two and would need to look it up - but I'm currently a bit busy with other things and it would will take some time before I can dive into this. Hopefully I can look into it by the end of the next week, but I can't promise.
That said, you can try easily if grafolean/mosquitto:v0.1.5-rc.3 runs on your RPi5 if you are willing to stop the other mosquitto for a minute.
If you figure something out by then, please do share.
Hi thanks for the reply - and don’t worry, no rush, I know exactly how everything gets in the way of stuff like this!The pi5 is not very different from the 4 (architecturally) just faster and with NVME onboard really…. I have plenty of pi4’s too and other x86 systems I could try it on, but I also don’t have much time to play around with it, it looks really good from the stuff I have seen so I’m keen to get it going at some point, but absolutely no rush or worries if you can’t do anything about it!I’m away this weekend but I will try and see if stopping the other docker makes any difference sometime next week!Regards, and thanks for getting back to me!PhilSent from my iPhoneOn 20 Sep 2024, at 22:00, grafolean @.***> wrote: Hi, just wanted to get back to you on this. I only ever ran Grafolean on RPi 4, not 5, and that was quite some time ago. I'm not sure what the difference is between the two and would need to look it up - but I'm currently a bit busy with other things and it would will take some time before I can dive into this. Hopefully I can look into it by the end of the next week, but I can't promise. That said, you can try easily if grafolean/mosquitto:v0.1.5-rc.3 runs on your RPi5 if you are willing to stop the other mosquitto for a minute. If you figure something out by then, please do share.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>