-
Notifications
You must be signed in to change notification settings - Fork 631
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
Teeworlds Server fails to start (Linux) #1643
Comments
Seems the path "/home/teeworlds/.local/share/teeworlds" doesn't exist or you don't have write access. |
ok thanks, "/home/teeworlds/.local/share/teeworlds" was missing. That fixed the issue for me. Nothing interesting is in this folder except master.cfg teeworlds@FisicoSrv1:~/.local/share/teeworlds$ ls |
It uses it to save stuff like configs, demos, dumps etc. But Teeworlds should create the folder the folder in case it's missing. |
@Fisico You can also set the folder to any other writable path in context to the program with |
fixed by e117ee0 |
I compiled the latest source on my Linux Server(Ubuntu 16.04.5 LTS | Linux 4.4.0-138-generic).
I can’t start the server cause it always fails with "[5be8123c][kernel]: ERROR: couldn't register interface storage. null pointer given"
Storage.ctf and "/data/maps" with maps is in the server directory.
Permissions should be ok cause i have the same problem with the root user.
teeworlds@FisicoSrv1:~/teeworlds/build/x86_64/release$ ./teeworlds_srv -f serverconfig.cfg
[5be8123c][engine]: running on unix-linux-amd64
[5be8123c][engine]: arch is little endian
[5be8123c][storage]: added path '$USERDIR' ('/home/teeworlds/.local/share/teeworlds')
[5be8123c][storage]: added path '$DATADIR' ('data')
[5be8123c][storage]: added path '$CURRENTDIR' ('/home/teeworlds/teeworlds/build/x86_64/release')
[5be8123c][storage]: added path '$APPDIR' ('.')
[5be8123c][storage]: unable to create save directory
[5be8123c][storage]: initialisation failed
[5be8123c][kernel]: ERROR: couldn't register interface storage. null pointer given
teeworlds@FisicoSrv1:~/teeworlds/build/x86_64/release$ ls
1on1.cfg 3on3ctf.cfg 5on5ctf.cfg lms.cfg serverconfig.cfg sur.cfg tlms.cfg
2on2ctf.cfg 4on4ctf.cfg data objs storage.cfg teeworlds_srv
The text was updated successfully, but these errors were encountered: