-
-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime error: invalid memory address or nil pointer dereference #3184
Comments
Hi @coreyh503, can you try running a more recent version? |
Thank you. I'll try that. I though I was using the most recent version. I would keep retrieving it using the "latest" value but I guess it didn't work. I'm somewhat new to all this. I'll see if that produces a better result. |
@coreyh503 you might need to follow some steps before upgrading since you might still be using a file store. |
After backup, see docs:https://docs.netbird.io/selfhosted/selfhosted-guide#backup You first need to update to the 0.28.0 version and then you can upgrade to the latest version. |
What is the latest version of the management service so I know what to look for? |
I installed the latest version and still the same error. This has been a nightmare. I've been screwing around with this stuff for 3 weeks. I'm going to look for another VPN product. |
Can you share the whole log with the panic? All right. Good luck |
When starting docker-compose I check the logs to see if Netbird is running correctly and get this runtime error.
docker-compose logs -f
Attaching to netbird-management
netbird-management | panic: runtime error: invalid memory address or nil pointer dereference
netbird-management | [signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x12d42f9]
Steps to reproduce the behavior:
docker-compose up -d
docker-compose logs -f
Also, when running netstat there is nothing listening on port 443.
I'm running Netbird using a Ubuntu server in the cloud.
NetBird version 0.24.3 and Docker-compose 1.29.2.
This is my correct management.json file that I have changed over and over.
{
"server": {
"proto": "https",
"port": 443,
"grpc_port": 33073,
"domain": "netbird.domain.com",
"log_level": "debug"
},
"store": {
"type": "sqlite",
"sqlite": {
"db_path": "/var/lib/netbird/netbird.db"
},
"encryption_key": "change-me-to-a-unique-strong-key",
"data_dir": "/var/lib/netbird"
},
"auth": {
"type": "none"
}
}
I will be glad to provide any additional information needed.
The text was updated successfully, but these errors were encountered: