Network manager nmcli in docker

1
Ik draai P1monitor in een docker op een RPi4B.

Dit draait al een hele tijd stabiel maar ik zie wel een critical error in de logging:

2025-05-03 13:17:10,588 - P1EthernetConfig - CRITICAL - Main: fatal message : nmcli_lib.get_connection_UUID_by_device : failed. Command /usr/bin/sudo nmcli -t connection show message: nmcli_lib.run_os_process : process failed unexpected. Command /usr/bin/sudo nmcli -t connection show message: cmd failed on command /usr/bin/sudo nmcli -t connection show

Dit komt volgens mij doordat networkmanager niet is geinstalleerd in de docker image. Kan ik deze op een of andere manier installeren of kan hij toegevoegd worden aan de docker image?

Ik vind critical errors niet prettig...

Re: Network manager nmcli in docker

2
Heb je in de netwerk settings misschien gegevens ingevoerd? Ik zie die foutmelding nl niet in mijn containers.
Ook al lukt het om je om nmcli te installeren, wat overigens zinloos is, de kans is groot dat het weer een andere foutmelding oplevert omdat er geen netwerk settings gedaan kunnen worden in een container.
Running P1Monitor container in a K3S kubernetes cluster

Re: Network manager nmcli in docker

3
Intelwolf schreef: 21 mei 2025 13:23 Heb je in de netwerk settings misschien gegevens ingevoerd? Ik zie die foutmelding nl niet in mijn containers.
Ook al lukt het om je om nmcli te installeren, wat overigens zinloos is, de kans is groot dat het weer een andere foutmelding oplevert omdat er geen netwerk settings gedaan kunnen worden in een container.
Nee ik heb daar niets staan (zie bijlage).

Ik heb zojuist geupdate naar laatste versie (3.0.1) en issue is er nog steeds...

Heb je nog ideeen?
Bijlagen

Re: Network manager nmcli in docker

6
Volgens mij alleen maar bij startup:
cat P1EthernetConfig.log | grep -i critical

2025-05-03 13:16:39,209 - P1EthernetConfig - CRITICAL - Main: fatal message : nmcli_lib.get_connection_UUID_by_device : failed. Command /usr/bin/sudo nmcli -t connection show message: nmcli_lib.run_os_process : process failed unexpected. Command /usr/bin/sudo nmcli -t connection show message: cmd failed on command /usr/bin/sudo nmcli -t connection show

2025-05-03 13:16:43,713 - P1EthernetConfig - CRITICAL - Main: fatal message : nmcli_lib.get_connection_UUID_by_device : failed. Command /usr/bin/sudo nmcli -t connection show message: nmcli_lib.run_os_process : process failed unexpected. Command /usr/bin/sudo nmcli -t connection show message: cmd failed on command /usr/bin/sudo nmcli -t connection show

2025-05-03 13:17:10,588 - P1EthernetConfig - CRITICAL - Main: fatal message : nmcli_lib.get_connection_UUID_by_device : failed. Command /usr/bin/sudo nmcli -t connection show message: nmcli_lib.run_os_process : process failed unexpected. Command /usr/bin/sudo nmcli -t connection show message: cmd failed on command /usr/bin/sudo nmcli -t connection show