Cannot start service coturn and management server keeps restarting with nil pointer error #1629

Closed
opened 2025-11-20 06:03:46 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @4Gettt25 on GitHub (Feb 15, 2025).

Bug Report

Steps to reproduce the behavior:

Run docker-compose up -d
Observe the error related to the coturn service

Expected behavior
The coturn service should start without issues.

Are you using NetBird Cloud?
Self-Hosted

NetBird version
latest

Error Output:

$ docker-compose restart
Restarting artifacts_management_1 ... done
Restarting artifacts_relay_1 ... done
Restarting artifacts_coturn_1 ... error
Restarting artifacts_dashboard_1 ... done
Restarting artifacts_signal_1 ... done

ERROR: for artifacts_coturn_1 Cannot restart container 21cf06e4250bc83bc57a2af7f947cba2595444c50b4d3fe05bb19f7d07c792b0: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/kernel/domainname: permission denied: unknown

Additional Information
Running this on an Ubuntu 22-04 LXC
I am using cloudflare as my certresolver with traefik

_artifacts-signal-1_logs.txt

_artifacts-relay-1_logs.txt

_artifacts-management-1_logs.txt

Originally created by @4Gettt25 on GitHub (Feb 15, 2025). Bug Report Steps to reproduce the behavior: Run docker-compose up -d Observe the error related to the coturn service Expected behavior The coturn service should start without issues. Are you using NetBird Cloud? Self-Hosted NetBird version latest Error Output: $ docker-compose restart Restarting artifacts_management_1 ... done Restarting artifacts_relay_1 ... done Restarting artifacts_coturn_1 ... error Restarting artifacts_dashboard_1 ... done Restarting artifacts_signal_1 ... done ERROR: for artifacts_coturn_1 Cannot restart container 21cf06e4250bc83bc57a2af7f947cba2595444c50b4d3fe05bb19f7d07c792b0: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/kernel/domainname: permission denied: unknown Additional Information Running this on an Ubuntu 22-04 LXC I am using cloudflare as my certresolver with traefik [_artifacts-signal-1_logs.txt](https://github.com/user-attachments/files/18812889/_artifacts-signal-1_logs.txt) [_artifacts-relay-1_logs.txt](https://github.com/user-attachments/files/18812891/_artifacts-relay-1_logs.txt) [_artifacts-management-1_logs.txt](https://github.com/user-attachments/files/18812892/_artifacts-management-1_logs.txt)
saavagebueno added the triage-needed label 2025-11-20 06:03:46 -05:00
Author
Owner

@4Gettt25 commented on GitHub (Feb 16, 2025):

I checked again today and realized that I had mistakenly left domainname set in Coturn, which was causing the initial issue. However, I’m still encountering a problem with the management container, as it continues to crash with the following error:

`panic: runtime error: invalid memory address or nil pointer dereference

2025-02-17T00:17:06.603214399Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x161a3fe]`

@4Gettt25 commented on GitHub (Feb 16, 2025): I checked again today and realized that I had mistakenly left domainname set in Coturn, which was causing the initial issue. However, I’m still encountering a problem with the management container, as it continues to crash with the following error: `panic: runtime error: invalid memory address or nil pointer dereference 2025-02-17T00:17:06.603214399Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x161a3fe]`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1629