Bug#928110:
tag 927152 pending tag 928110 pending thanks Hi, https://salsa.debian.org/games-team/teeworlds/merge_requests/1/diffs Not yet uploaded, I will do it later, excepted if someone is faster :-). Best, Dylan
Bug#928110: Teeworlds server fails to start because of missing directory
Hello, This issue was fixed in the 0.7.3 release. > issue reported in https://github.com/teeworlds/teeworlds/issues/1643 and > fixed in > https://github.com/teeworlds/teeworlds/commit/e117ee0ef1c329f3559fcfb64bd9b33e6adb82d2
Bug#928110: Teeworlds server fails to start because of missing directory
Package: teeworlds-server Version: 0.7.2-3 I installed teeworlds-server on a fresh installation of buster and followed the instructions in the README: # adduser --force-badname _teeworlds # systemctl enable teeworlds-server # systemctl start teeworlds-server However, the teeworlds server failed to start: Apr 28 12:28:21 teeworlds systemd[1]: Started Teeworlds multiplayer server. Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][engine]: running on unix-linux-amd64 Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][engine]: arch is little endian Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][storage]: couldn't open storage.cfg Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][storage]: using standard paths Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][storage]: added path '$USERDIR' ('/home/_teeworlds/.local/share/teeworlds') Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][storage]: added path '$DATADIR' ('/usr/share/games/teeworlds/data') Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][storage]: added path '$CURRENTDIR' ('/') Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][storage]: added path '$APPDIR' ('/usr/games') Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][storage]: unable to create save directory Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][storage]: initialisation failed Apr 28 12:28:21 teeworlds teeworlds[3990]: [2019-04-28 12:28:21][kernel]: ERROR: couldn't register interface storage. null pointer given Apr 28 12:28:21 teeworlds systemd[1]: teeworlds-server.service: Succeeded. The problem is that the "/home/_teeworlds/.local/share/teeworlds" directory does not exist. Creating it fixed the issue: # su - _teeworlds -c 'mkdir -p /home/_teeworlds/.local/share/teeworlds' Apr 28 12:37:23 teeworlds systemd[1]: Started Teeworlds multiplayer server. Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][engine]: running on unix-linux-amd64 Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][engine]: arch is little endian Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][storage]: couldn't open storage.cfg Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][storage]: using standard paths Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][storage]: added path '$USERDIR' ('/home/_teeworlds/.local/share/teeworlds') Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][storage]: added path '$DATADIR' ('/usr/share/games/teeworlds/data') Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][storage]: added path '$CURRENTDIR' ('/') Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][storage]: added path '$APPDIR' ('/usr/games') Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][console]: failed to open 'autoexec.cfg' Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are a Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][console]: executing '/etc/teeworlds/server.cfg' Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][Console]: No such command: sv_rcon_ban_time. Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][Console]: No such command: sv_spectator_slots. Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][server]: starting... Apr 28 12:37:23 teeworlds teeworlds[4018]: [2019-04-28 12:37:23][datafile]: loading. filename='maps/ctf5.map' ... This directory either needs to be created automatically, or additional instructions should be added to the README. Thanks, Baptiste