Netbird crashing on sturtup on Truenas Scale

Describe the problem
Netbird works fine until truenas is turned off or rebooted. After this app shows exclamation mark and “crashed”. If i start it manually it works fine again

To Reproduce
Turn off or reboot Truenas

Are you using NetBird Cloud?

No

NetBird version

0.5.9.* tried 6 different versions

Is any other VPN software installed?

no

Netbird installed via yml
services:
netbird:
cap_add:
- NET_ADMIN
- SYS_ADMIN
- SYS_RESOURCE
container_name: netbird
environment:
- NB_SETUP_KEY=
hostname:
image: netbirdio/netbird:latest
network_mode: host
volumes:
- netbird-client:/var/lib/netbird
volumes:
netbird-client:
name: netbird-client

Would you be able to show any logs from the crash/truenas?

Not trying to usurp the thread, but I have the exact same thing happen on 6 different TrueNAS servers. I am using the cloud version of Netbird. I cannot seem to get logs from Docker because the container is in a crashed state, but I do have boot logs from one of the TrueNAS machines.

These logs don’t contain any netbird logs, so nothing I can seem to do with them at the moment.

You are missing environment variable ‘- NB_MANAGEMENT_URL=’

try this config

name: netbird
services:
  netbird:
    cap_add:
      - NET_ADMIN
    environment:
      - NB_SETUP_KEY=xxxxx
      - NB_MANAGEMENT_URL=https://netbird.whatever.com
    image: netbirdio/netbird:latest
    volumes:
      - netbird-client:/etc/netbird
volumes:
  netbird-client:
    external: True
    name: netbird-client
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.