Hello,
I am new to this, but I have been running a dedicated Xonotic server since 0.8.2 on a ClearOS 7 box (CentOS) and it's time for an update.
This is the output for the only way I was able to confirm that my 1st build, in my 1st container on my 1st project on my new NethServer 7 box (CentOS) for Xonotic 0.8.6 could be possible.
Following the RPM based system instructions and doing some research, I was able to achieve partial success by placing the following at the end of my Dockerfile:
The problem remains that I think that compiling did not go as planned, because the files in the container have mostly longer than 30 characters in the names.
I was able to start the container, but I had the this error when attempting to start the server from inside and outside the container and I was unable to find a similar to the client file structure.
Please advice and thanks in advance,
J.
PS.
I added the full output of Dockerfile.
AFAIK I am left with only a few minor warnings resulting in a successful build.
EDIT:
It seems that version 0.8.6 requires a glibc version that is not available for NethServer 7 (CentOS) and this cannot be updated without compromising your system stability.
I am new to this, but I have been running a dedicated Xonotic server since 0.8.2 on a ClearOS 7 box (CentOS) and it's time for an update.
This is the output for the only way I was able to confirm that my 1st build, in my 1st container on my 1st project on my new NethServer 7 box (CentOS) for Xonotic 0.8.6 could be possible.
Following the RPM based system instructions and doing some research, I was able to achieve partial success by placing the following at the end of my Dockerfile:
Code:
# Run a dedicated server
RUN ./all run dedicated
Code:
Game is Xonotic using base gamedir data
gamename for server filtering: Xonotic
Xonotic Linux dedicated, buildstring: v20140513-1377-g26923fa0 Jan 21 2024 release
Current nice level is below the soft limit - cannot use niceness
Loaded library "libd0_blind_id.so.0"
Loaded library "libd0_rijndael.so.0"
Loaded library "libcurl.so.4"
Skeletal animation uses SSE code path
execing quake.rc
execing default.cfg
execing xonotic-common.cfg
execing xonotic-client.cfg
Warning: Could not expand $vid_width
Warning: Could not expand $vid_height
Warning: Could not expand $vid_pixelheight
Warning: Could not expand $vid_desktopfullscreen
execing sRGB-disable.cfg
execing binds-xonotic.cfg
execing effects-normal.cfg
execing crosshairs.cfg
execing gamemodes-client.cfg
execing notifications.cfg
execing _hud_common.cfg
execing _hud_descriptions.cfg
execing hud_luma.cfg
execing xonotic-server.cfg
execing testing.cfg
execing balance-xonotic.cfg
execing bal-wep-xonotic.cfg
execing physicsX.cfg
execing turrets.cfg
execing vehicles.cfg
execing gamemodes-server.cfg
execing ctfscoring-samual.cfg
execing mutators.cfg
execing randomitems-xonotic.cfg
execing monsters.cfg
execing minigames.cfg
execing physics.cfg
execing cdtracks.cfg
execing commands.cfg
Warning: Could not expand $qport in alias _if_dedicated
execing help.cfg
couldn't exec config.cfg
"maxplayers" set to "16"
execing data/campaign.cfg
execing config_update.cfg
execing font-xolonium.cfg
Warning: Could not expand $con_textsize
Warning: Could not expand $con_notifysize
Warning: Could not expand $con_chatsize
Warning: Could not expand $scr_loadingscreen_barheight
Warning: Could not expand $scr_infobar_height
This command only works on clients: cl_cmd hud scoreboard_columns_set
execing autoexec/empty.cfg
execing autoexec.cfg
Loaded public key key_0.d0pk (fingerprint: Xon//KssdlzGkFKdnnN4sgg8H+koTbBn5JTi37BAW1Q=)
Loaded public key key_1.d0pk (fingerprint: XHub/MCjSOklCBU4ADlHX3+EcTjC0xhJ6odguyTvGp0=)
Generated private ID key_0.d0pk (public key fingerprint: lBiYIo+tuwB1g0jY0qBkZj3qjwEu4TCt6lgpURuEh8U=)
Saved unsigned key to key_0.d0si
Signature generation in progress...
execing post-config.cfg
SpawnServer: _init/_init
Server listening on address 0.0.0.0:26000
Server listening on address [0:0:0:0:0:0:0:0]:26000
server: program loaded (crc 57413, size 6534K)
server VM warning: 12 of 16383 bytes available, will truncate 21 byte string "INFO_ITEM_WEAPON_DROP"
s221567: ce_startsolid:721: IFNOT GLOBAL48507, statement 221579
s221568: ce_startsolid:721: STORE_F GLOBAL48526, GLOBAL48508
s221569: ce_startsolid:721: STORE_ENT GLOBAL48507, GLOBAL48508
s221570: ce_startsolid:721: FIELD_ENT GLOBAL48507, .enemy (=.enemy), GLOBAL48527
s221571: ce_startsolid:721: FIELD_S GLOBAL48508, .registered_id (=.registered_id), GLOBAL10
s221572: ce_startsolid:721: STORE_S GLOBAL48525, GLOBAL4
s221573: ce_startsolid:721: STORE_S GLOBAL27168, GLOBAL7
s221574: ce_startsolid:721: CALL3 strcat (=strcat())
ce_startsolid:721 : _static_Registry_check_Notifications_1 : statement 11
./ecs/systems/sv_physics.qc:721 : __static_init_1 : statement 274
:632 : __spawnfunc___init_dedicated_server : statement 35
:216 : StartFrame : statement 10
Server spawned.
execing server.cfg
You have started a dedicated server but have not created
any server.cfg in your config directory.
If you are seeing this when just trying to play Xonotic
(not host a server), try the other executables.
For information on how to set up a dedicated server,
look at the files in the server/ subdirectory of your
Xonotic install.
Quitting shortly.
Maplist contains no usable maps! Resetting it to default map list.
Switching to map bromine
menu: unknown program name
SpawnServer: bromine
Server listening on address 0.0.0.0:26000
Server listening on address [0:0:0:0:0:0:0:0]:26000
server: program loaded (crc 57413, size 6534K)
server VM warning: 12 of 16383 bytes available, will truncate 21 byte string "INFO_ITEM_WEAPON_DROP"
s221567: ce_startsolid:721: IFNOT GLOBAL48507, statement 221579
s221568: ce_startsolid:721: STORE_F GLOBAL48526, GLOBAL48508
s221569: ce_startsolid:721: STORE_ENT GLOBAL48507, GLOBAL48508
s221570: ce_startsolid:721: FIELD_ENT GLOBAL48507, .enemy (=.enemy), GLOBAL48527
s221571: ce_startsolid:721: FIELD_S GLOBAL48508, .registered_id (=.registered_id), GLOBAL10
s221572: ce_startsolid:721: STORE_S GLOBAL48525, GLOBAL4
s221573: ce_startsolid:721: STORE_S GLOBAL27168, GLOBAL7
s221574: ce_startsolid:721: CALL3 strcat (=strcat())
ce_startsolid:721 : _static_Registry_check_Notifications_1 : statement 11
./ecs/systems/sv_physics.qc:721 : __static_init_1 : statement 274
:834 : __spawnfunc_worldspawn : statement 146
:216 : StartFrame : statement 10
Server spawned.
Dedicated server requires server.cfg in your config directory, quitting.
Player stats writing failed: -2
Invalid response from keygen server:
The problem remains that I think that compiling did not go as planned, because the files in the container have mostly longer than 30 characters in the names.
Code:
# Update and compile Xonotic
RUN ./all each git clean -n -d
RUN ./all update -l best
RUN ./all compile -r -0
Code:
# ls -la
total 193840
drwxr-xr-x 1 root root 4096 Jan 21 18:36 .
drwxr-xr-x 1 root root 108 Jan 21 18:35 ..
-rw-r--r-- 1 root root 8696599 Aug 15 13:45 afterslime-5d4623929a2288fb8e0caa91e64e30275d5fe26f-f6171455ac2ea3a087415aecb6dc8ad72e22fd23.pk3
-rw-r--r-- 1 root root 5141107 Oct 22 2022 atelier-ad25de9fc4f26b4ca26da98effe1ac67708a06c0-0d88a619386c4fff95e6aaa55a4bfeae5d10b507.pk3
-rw-r--r-- 1 root root 3888526 May 31 2023 boil-e947e74d5be804a2047f8affbdb8b5d572da9eae-7cd472629b0fabeb2218405091afe6a774dc9bec.pk3
-rw-r--r-- 1 root root 5751369 May 31 2023 bromine-c1a99787e1b8dcebfc5cca901a31795b1a0711d1-9813e725da66c82024abddf1f1edf30d9f3c15ff.pk3
-rw-r--r-- 1 root root 22322917 Oct 11 2019 catharsis-ffda85a4c0919448c581dde84972a52483eb3184-2d7a20f25748dff9bc77cd1304434927d6a6bc51.pk3
-rw-r--r-- 1 root root 8184407 Oct 12 2019 courtfun-2b86fb7f4223a60d98c3847a9db941513789416b-dff9ba4fb55ae99d92afd0f938a87ad4ed05344e.pk3
-rw-r--r-- 1 root root 8827098 May 31 2023 dance-1283e426d7eb62c1dbaf560ca39b9c152e25c12b-eb92b32e513506c5601e7ca5a79af5d7597f2dc0.pk3
-rw-r--r-- 1 root root 4401990 Jun 7 2023 darkzone-c4b9580a6f52e4acf93f59ed9b0f745a761cce54-ea607bdc6469f1b8bc63926edb92ffa4adcc1417.pk3
-rw-r--r-- 1 root root 11706679 Jun 7 2023 erbium-be4734d0d3d4e5a2036e1b52b99f7899970f940c-16b5cc3de859c8c96bdbcb63007a49fa69ec9447.pk3
-rw-r--r-- 1 root root 4256323 Aug 15 13:54 finalrage-e574cc15b69f1e36ccb10f57be5ed11607c6bd36-45350cd3079c7aa7d15c31b33869a2f916eddf53.pk3
drwxr-xr-x 3 root root 54 Jan 21 18:22 font-dejavu.pk3dir
drwxr-xr-x 3 root root 47 Jan 21 18:22 font-nimbussansl.pk3dir
drwxr-xr-x 3 root root 27 Jan 21 18:22 font-unifont.pk3dir
drwxr-xr-x 3 root root 44 Jan 21 18:22 font-xolonium.pk3dir
-rw-r--r-- 1 root root 4300253 Dec 23 2021 fuse-80fe037f8b566b2a7642686a0d88b78a0da50f94-75bbcb07b27970101c2effabf7087497be6fed60.pk3
-rw-r--r-- 1 root root 9284416 May 31 2023 geoplanetary-f99232f8fc79c6146a8492fea22464b1442d1200-0e523399994a41d6d0d7a8e405e8b231f3dc7f92.pk3
-rw-r--r-- 1 root root 55 Jan 21 18:22 .gitignore
-rw-r--r-- 1 root root 5328587 Jun 7 2023 glowplant-f4213e4bbc5eb5cdc36449bb14d537701d8b5c5f-bb499ae726b4fd7e9d5c9868e72edce24644c1cf.pk3
-rw-r--r-- 1 root root 6502350 May 31 2023 go-80c9e0d6836a3e8819c950fba2b7057dd30f66f8-3c3e926b97509a7a801dc61494c821ab8bc769f3.pk3
-rw-r--r-- 1 root root 963675 May 31 2023 _hudsetup-0497847be79e01a8cd13ddeed1ee3752ab7bf256-3ecd1f9717987ba4f9e9f1864198acbbfd910f8a.pk3
-rw-r--r-- 1 root root 13984740 Jun 1 2023 implosion-5548282f9f55e33beb88ae2f42a4c947cfbde3eb-204c47f925550846774b3a4f59c94485322f8c4f.pk3
-rw-r--r-- 1 root root 1917837 Jun 7 2023 leave_em_behind-ee82e34486308539736c837ecb5a37c6b1dc34ae-b842f9a60c5e9c9277c63a351bb425da05b77da6.pk3
-rw-r--r-- 1 root root 1134687 Jun 7 2023 nexballarena-8bb6c1c1a7345aff08ecc39ddf66407150788d21-4f2c9621b1b794bc003f9300f91ade6843610317.pk3
-rw-r--r-- 1 root root 2777877 Jun 7 2023 opium-a7fb1513790443cc0095299f5f161ca810108bcd-08490569e1a83e4f7c1f93813823face3db616fd.pk3
-rw-r--r-- 1 root root 4281170 Jul 2 2023 runningman-cf6c4b8779c8d21c02409b7e66efdf878c280840-d47579683fad9017f59a77e8e4066d84599ef14c.pk3
-rw-r--r-- 1 root root 9395506 Jun 1 2023 runningmanctf-0254c3e9e6e58d21f943553ddcecd060d5474f2e-ec071498aa0390f217c9248538cbcfaee0cf233a.pk3
-rw-r--r-- 1 root root 5911952 Mar 19 2022 silentsiege-7f41ba1806adebf245ab8b39a5ff2db26ea4e7e6-d85e06f68ddd2958d75f35dc2ab1eff72be1a973.pk3
-rw-r--r-- 1 root root 6769821 Jan 10 2023 solarium-b16edbf122b33768813629ebd7826920d4f59849-c07c39fb6b2e5d2643d8baf1b6662e0932b676f3.pk3
-rw-r--r-- 1 root root 5105257 Jun 25 2022 space-elevator-abae97ebd4f1375d405104bad5b756d39981361f-2bec44fa20b2cc84a7a1057af60317b9ab5923a2.pk3
-rw-r--r-- 1 root root 4289881 Aug 17 10:52 stormkeep-97f4b0c20a12daa5b5d14e052e8b1466d5b1dcec-e8389de88dd25a7f991f3773c0a11c63e9522723.pk3
-rw-r--r-- 1 root root 5784893 Jun 7 2023 techassault-6ca48353b482f55cba7e7aaa6e9d7f89b59055f0-7cbb136bc92851d6e844675c8e375425b5a75fa6.pk3
-rw-r--r-- 1 root root 3221123 Dec 23 16:00 trident-045ddbf07801be2850e74ff0b1e7d2e712fe13ba-f51ac8bec1e79d2dc576d1c73c09fdfdff935ad8.pk3
-rw-r--r-- 1 root root 10256916 Jun 1 2023 vorix-2b7044016f9cec1a1dfa4bf79ec0000f9d0759b0-d61de96ac3140b88f61e6ede6792dece65337cd9.pk3
-rw-r--r-- 1 root root 3056304 Jun 2 2023 warfare-74fff6f67c3f4fb58c0cbb4c43e840c8cf67bb76-bdfdbed6d7a7c9b5054dfd1d9d6510257b05aff9.pk3
drwxr-xr-x 1 root root 187 Jan 21 18:34 xonotic-data.pk3dir
drwxr-xr-x 1 root root 26 Jan 21 18:30 xonotic-maps.pk3dir
drwxr-xr-x 1 root root 26 Jan 21 18:26 xonotic-music.pk3dir
-rw-r--r-- 1 root root 10961986 Feb 9 2019 xoylent-719ef6eeb4557948d55beba9fa44cd5622366339-afb7cd09bd6751ad75b788a1ddc6176c005d4fe0.pk3
I was able to start the container, but I had the this error when attempting to start the server from inside and outside the container and I was unable to find a similar to the client file structure.
Code:
# ./xonotic-linux64-dedicated
-bash: ./xonotic-linux64-dedicated: No such file or directory
Code:
# docker run -it xonotic-server:0.8.6
/usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:290: starting container process caused "exec: \"/opt/xonotic/0.8.6/xonotic-linux64-dedicated\": stat /opt/xonotic/0.8.6/xonotic-linux64-dedicated: no such file or directory".
Code:
# ls -la
lrwxrwxrwx 1 root root 20 Jan 21 17:07 xonotic-linux-dedicated.sh -> xonotic-linux-sdl.sh
Code:
# docker ps -l
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9ca49a346778 xonotic-server:0.8.6 "/opt/xonotic/..." 2 minutes ago Created 26000/udp ecstatic_feynman
Please advice and thanks in advance,
J.
PS.
I added the full output of Dockerfile.
AFAIK I am left with only a few minor warnings resulting in a successful build.
EDIT:
It seems that version 0.8.6 requires a glibc version that is not available for NethServer 7 (CentOS) and this cannot be updated without compromising your system stability.