unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices
GNU General Public License v3.0
3.89k stars 416 forks source link

Error installing homebridge #237

Closed martinschki closed 2 years ago

martinschki commented 3 years ago

Hello,

I'm getting the following errors when installing homebridge on my UDM Pro. What am I missing please? Thank you .... Copying blob d0536b6ae09d done Copying blob d043f03d482b done Copying config 6610603e9a done Writing manifest to image destination Storing signatures WARNING: The same type, major and minor should not be used for multiple devices. WARNING: The same type, major and minor should not be used for multiple devices. WARNING: The same type, major and minor should not be used for multiple devices. WARNING: The same type, major and minor should not be used for multiple devices. WARNING: The same type, major and minor should not be used for multiple devices. WARNING: The same type, major and minor should not be used for multiple devices. WARNING: The same type, major and minor should not be used for multiple devices. ERRO[0072] CNI network "homebridge" not found Error: error configuring network namespace for container 4ba2016f69efdb3da6c60ed0232319b9034bee7742dbccb9b533f549ec579417: CNI network "homebridge" not found

sundar2012 commented 3 years ago

did you confirm all the supporting files are where they need to be with the right permissions?

try running all this

curl -L https://raw.githubusercontent.com/boostchicken/udm-utilities/master/container-common/on_boot.d/05-container-common.sh -o /mnt/data/on_boot.d/05-container-common.sh; chmod a+x /mnt/data/on_boot.d/05-container-common.sh; /mnt/data/on_boot.d/05-container-common.sh; curl -L https://raw.githubusercontent.com/boostchicken/udm-utilities/master/cni-plugins/05-install-cni-plugins.sh -o /mnt/data/on_boot.d/05-install-cni-plugins.sh; chmod a+x /mnt/data/on_boot.d/05-install-cni-plugins.sh; /mnt/data/on_boot.d/05-install-cni-plugins.sh; curl -L https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/01-podman-update.sh -o /mnt/data/on_boot.d/01-podman-update.sh; chmod a+x /mnt/data/on_boot.d/01-podman-update.sh; curl -L https://raw.githubusercontent.com/boostchicken/udm-utilities/master/homebridge/on_boot.d/25-homebridge.sh -o /mnt/data/on_boot.d/25-homebridge.sh; chmod a+x /mnt/data/on_boot.d/25-homebridge.sh; curl -L https://raw.githubusercontent.com/boostchicken/udm-utilities/master/homebridge/cni/90-homebridge.conflist -o /mnt/data/podman/cni/90-homebridge.conflist chmod a+x /mnt/data/podman/cni/90-homebridge.conflist'

martinschki commented 3 years ago

Thank you! For the weirdest reason when copy/pasting the 90-homebridge.conflist content to the file into the console using vim as described in the readme of homebridge, it swallows the first line and some characters from the second line I can reproduce that... go figure...

working now - thank you!

martinschki commented 3 years ago

Well, I do have another question. Actually two:

anyone please??

sundar2012 commented 3 years ago

I have the same issue with homebridge and the firewall. I have to reboot the whole damn thing. However, when I reboot, homebridge does run. I would rm your 25-homebridge.sh file and then repush it directly using the script above.

martinschki commented 3 years ago

Is this firewall thing already reported or should I open a new one?

sundar2012 commented 2 years ago

Maybe close this and open a new one?