netbirdio / addon-netbird

NetBird Home Assistant Add-on
MIT License
17 stars 3 forks source link

Can't install netbird addon on Home ASsistant: #105

Closed DriedPlumber closed 3 months ago

DriedPlumber commented 3 months ago

Home Assistant

Core: 2024.5.4 Supervisor: 2024.05.1 Operating System: 12.3 Frontend: 20240501.1

When I try to install addon from NetBird Home Assistant Add-ons, I get next message:

Failed to install add-on The command '/bin/bash -o pipefail -c apk add --no-cache nftables=1.0.9-r1' returned a non-zero code: 1

I'm trying to install v0.27.8 Previous version worked without problem...

Is there any solution to this problme?

Thx a lot for any info!

lfarkas commented 3 months ago

thanks. fixed in the latest version.

DriedPlumber commented 3 months ago

Thank you for your time!

I just tried one more time and I get same error, I'm not able to update addon in home assistant: In logs I can see next message:

2024-05-24T00:36:04+02:00 WARN management/client/grpc.go:162: disconnected from the Management service but will retry silently. Reason: rpc error: code = Unknown desc = account not found: index lookup failed

Even if the addon is stoped, logs keep coming which is strange....it looks like addon is not stoped

image

image

lfarkas commented 3 months ago

you should have to check ie update the update (settings/addon/ check for update clock icon.

mlsmaycon commented 3 months ago

@DriedPlumber it seems like your management system is outdated. Can you confirm if you are running a self-hosted version or cloud hosted?

DriedPlumber commented 3 months ago

@mlsmaycon I'm running Home Assistant on raspberry 4 and it is a Home Assistant Operating system. I tried to reset, reboot, uninstall, reinstall but I'm not able to update netbird addon or to install it after I uninstalled it. I always get /bin/bash -o pipefail error.

I'm going to uninstall this addon and I will go via tailscape road. This never happened to me with any addon that I used with Home Assistant. Netbird addon Version 27.7 worked without any problem and after I tried to update netbird everything went down. Most surprising thing to me is that even I stopped netbird addon I still receive logs...

My homeassistant is up to date!

Last night I uninstalled netbird from my home assistant and today I will destroy my VPC on digitalocean with netbird as I was not able to fix this issue.

I tried to install tailscape in home assistant and everything works great. So I will move myself to headscape today.

Thx for your time people

mlsmaycon commented 3 months ago

Hi @DriedPlumber so you were using self-hosted netbird. There was an issue fixed with the server version 0.27.8. The cloud version was updated and it should happen there.

The problem was caused when you deleted a peer from the system, and the peer didn't receive a proper response from the server, causing endless retries. Upgrading should fix it if you still want to validate it with NetBird.

DriedPlumber commented 3 months ago

Yes, I want to keep using netbird....I started to love it....

I will try again today when I get back from work and I will post results here.

Thank you very much for your time and effort mlsmaycon!

mlsmaycon commented 3 months ago

That's great, please check the upgrade docs here:

If you followed the advanced guide: https://docs.netbird.io/selfhosted/selfhosted-guide#upgrade If you followed the quick start guide: https://docs.netbird.io/selfhosted/selfhosted-quickstart#upgrade

DriedPlumber commented 3 months ago

I went home to try and everything is OK now. Netbird 2.7.9 is installed without any issues! image Thank you!

mlsmaycon commented 3 months ago

That's awesome!! Thanks for the feedback.