Problem with update of server selfhost and change of signal port #445

Open
opened 2025-11-20 05:11:27 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @Fantu on GitHub (Sep 13, 2023).

Hi, some days ago I installed selfhost server following https://docs.netbird.io/selfhosted/selfhosted-guide
seems done correctly and I also changed coturn range adding "TURN_MAX_PORT=50999" to setup.env and seems was ok
today I must change signal port from 10000 to 11000 and I also tried to update to latest version (from 0.23.0 to 0.23.1)
I not found an howto related to update and I know few things about docker, I tried to update repo, add "NETBIRD_SIGNAL_PORT=11000" to previous setup.env and redone container. netbird seems working and data was maintained but signal port was not changed even if after configure in management.json seems wrote correctly 11000

the exact procedure I did was:

# disable and remove container (FWIK)
docker-compose down
# save setup.env
cp setup.env /root/
# clean repository (I'm not sure if needed and correct)
cd ..
git reset --hard
git clean -f -d -X
# update repository to latest version
git fetch origin
LATEST_TAG=$(basename $(curl -fs -o/dev/null -w %{redirect_url} https://github.com/netbirdio/netbird/releases/latest))
git fetch --tags
git checkout tags/$LATEST_TAG
cd infrastructure_files
# recopy setup file
cp /root/setup.env .
# checked if there was changes to parameters from previous installed version: https://github.com/netbirdio/netbird/commits/v0.23.1/infrastructure_files/setup.env.example
# did configure
./configure.sh
# here I checked management.json and seems signal port is correctly 11000
# generate and start container
docker-compose up -d

now checking netbird is working and data mantained but signal port is still 10000 looking "docker ps"

docker ps
CONTAINER ID   IMAGE                          COMMAND                  CREATED          STATUS          PORTS                                                                      NAMES
57e4b8c384a5   netbirdio/management:latest    "/go/bin/netbird-mgmâ¦"   16 minutes ago   Up 16 minutes   0.0.0.0:33073->443/tcp, :::33073->443/tcp                                  infrastructure_files_management_1
ee85cc11a930   wiretrustee/dashboard:latest   "/usr/bin/supervisorâ¦"   16 minutes ago   Up 16 minutes   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp   infrastructure_files_dashboard_1
6014132672a5   coturn/coturn                  "docker-entrypoint.sâ¦"   16 minutes ago   Up 16 minutes                                                                              infrastructure_files_coturn_1
dcbc9bb3861a   netbirdio/signal:latest        "/go/bin/netbird-sigâ¦"   16 minutes ago   Up 16 minutes   0.0.0.0:10000->80/tcp, :::10000->80/tcp                                    infrastructure_files_signal_1

can someone please tell me if the update procedure I did is correct or wrong? if wrong can tell me the correct (and I think is good add to documentation)
about signal port not changed to 11000 in the signal container is related to a bug or something I did wrong?

thanks for any reply and sorry for my bad english

Originally created by @Fantu on GitHub (Sep 13, 2023). Hi, some days ago I installed selfhost server following https://docs.netbird.io/selfhosted/selfhosted-guide seems done correctly and I also changed coturn range adding "TURN_MAX_PORT=50999" to setup.env and seems was ok today I must change signal port from 10000 to 11000 and I also tried to update to latest version (from 0.23.0 to 0.23.1) I not found an howto related to update and I know few things about docker, I tried to update repo, add "NETBIRD_SIGNAL_PORT=11000" to previous setup.env and redone container. netbird seems working and data was maintained but signal port was not changed even if after configure in management.json seems wrote correctly 11000 the exact procedure I did was: ``` # disable and remove container (FWIK) docker-compose down # save setup.env cp setup.env /root/ # clean repository (I'm not sure if needed and correct) cd .. git reset --hard git clean -f -d -X # update repository to latest version git fetch origin LATEST_TAG=$(basename $(curl -fs -o/dev/null -w %{redirect_url} https://github.com/netbirdio/netbird/releases/latest)) git fetch --tags git checkout tags/$LATEST_TAG cd infrastructure_files # recopy setup file cp /root/setup.env . # checked if there was changes to parameters from previous installed version: https://github.com/netbirdio/netbird/commits/v0.23.1/infrastructure_files/setup.env.example # did configure ./configure.sh # here I checked management.json and seems signal port is correctly 11000 # generate and start container docker-compose up -d ``` now checking netbird is working and data mantained but signal port is still 10000 looking "docker ps" ``` docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 57e4b8c384a5 netbirdio/management:latest "/go/bin/netbird-mgmâ¦" 16 minutes ago Up 16 minutes 0.0.0.0:33073->443/tcp, :::33073->443/tcp infrastructure_files_management_1 ee85cc11a930 wiretrustee/dashboard:latest "/usr/bin/supervisorâ¦" 16 minutes ago Up 16 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp infrastructure_files_dashboard_1 6014132672a5 coturn/coturn "docker-entrypoint.sâ¦" 16 minutes ago Up 16 minutes infrastructure_files_coturn_1 dcbc9bb3861a netbirdio/signal:latest "/go/bin/netbird-sigâ¦" 16 minutes ago Up 16 minutes 0.0.0.0:10000->80/tcp, :::10000->80/tcp infrastructure_files_signal_1 ``` can someone please tell me if the update procedure I did is correct or wrong? if wrong can tell me the correct (and I think is good add to documentation) about signal port not changed to 11000 in the signal container is related to a bug or something I did wrong? thanks for any reply and sorry for my bad english
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#445