Jump to content

[Support] ich777 - Gameserver Dockers


Recommended Posts

I can't seem to resolve an issue with getting the Icarus server back up. I haven't ran the container in a few months. Then yesterday, updated and haven't been able to get it functioning since.

 

Initially after an update I checked the logs to ensure it got the server up, but it appears to loop the start up sequence and annoyingly closes the log or console window(s) a few seconds after they're opened. This is what seems to cause the loop to happen again.

 

I've tried re-pulling the image to no avail.

I've tried a fresh install of the Icarus server to a new location, also to no avail. I have given over an hour and a half for the initial start up process to complete, but seems to stall at various stages (each time giving it at least fifteen minutes after the initial start). Restarting the container seems to cause it to pick up and continue.

 

On repeat fresh install, first stops at the following (waited for two hours):
 

Downloading https://web.archive.org/web/20210414165612/https://download.visualstudio.microsoft.com/download/pr/85d47aa9-69ae-4162-8300-e6b7e4bf3cf3/52B196BBE9016488C735E7B41805B651261FFA5D7AA86EB6A1D0095BE83687B2/VC_redist.x64.exe to /serverdata/.cache/winetricks/ucrtbase2019

 

Post container restart I see the following in the log:

---Starting Xvfb server---
---Server ready---
---Start Server---
tail: cannot open '/serverdata/serverfiles/Icarus/Saved/Logs/Icarus.log' for reading: No such file or directory
tail: no files remaining
tail: invalid PID: ‘’
/opt/scripts/start-watchdog.sh: line 6: kill: `': not a pid or valid job spec

 

There is also an error I noticed during the first fresh install about not having permissions to run a script.

 

Any assistance is appreciated as well!

IcarusServer_log.txt

Edited by UnInfamous
Link to comment
8 hours ago, Xcal1bur said:

Although, Mine uses .exe for the files but I did find this for linux.  Just would need this docker to support lua for barotrauma for linux.  heh

I read a bit through that and it seems like a bit complicated for Linux users because you still need to install the files manually and at least that's not that easily possible in the container, I would recommend that you stick with Windows.

Link to comment
9 hours ago, UnInfamous said:

I can't seem to resolve an issue with getting the Icarus server back up. I haven't ran the container in a few months. Then yesterday, updated and haven't been able to get it functioning since.

For an existing installation stop the container, remove the "WINE" directory and the "runtimes" file (if you don't have that file then obviously not) in the main directory for Icarus and it should work again.
I updated the WINE version a month ago which in your case prevented the container from starting.

 

I also pushed a update for new installations so that it should work right OOB again, they changed something how the installation is done which needed a little update.

Link to comment
9 hours ago, ich777 said:

I read a bit through that and it seems like a bit complicated for Linux users because you still need to install the files manually and at least that's not that easily possible in the container, I would recommend that you stick with Windows.

Yeah I'm fine with installing manually as I have to do the same thing with windows.  Its not a good system they built but I want it to be easy to stop and start using a docker.  Is there a way to customize the docker to run a different .sh file as configured in the config/settings?  That's all that would be needed.  Then I can just update the files when a patch comes out manually with ftp.

Link to comment
37 minutes ago, OldeFortran said:

I run docker with server CounterStrike 1.6 and try to connect it from local network. In console on client I see "STEAM validation rejected". Can I play without STEAM accaunt?

I think you have to add:

-insecure

to the GAME_PARAMS, but I'm not 100% sure if that will work for Gold Source games.

 

However this is a game specific question and I only give support when something is not working in terms of the Docker container, please try to ask you favorite search engine with something like: How to disable VAC Counter Strike 1.6 dedicated server

  • Thanks 1
Link to comment
2 hours ago, Xcal1bur said:

Is there a way to customize the docker to run a different .sh file as configured in the config/settings?

I've updated the container so that it now supports this, please pull the Docker update first (force update on the Docker page with Advanced View enabled).

 

Simply create a variable in the template that has the Key: GAME_START_SCRIPT and as the Value you have to define the name from the script eg: startScript.sh (if it's in a subdirectory you have to do it like that: subfolder/startScript.sh) :

grafik.png.fff6db30c188085ae0b621fab42780df.png

 

If the container won't start after that please send me the start script so that I can see what is going on in your start script.

Link to comment
3 hours ago, ich777 said:

I think you have to add:

-insecure

to the GAME_PARAMS, but I'm not 100% sure if that will work for Gold Source games.

 

However this is a game specific question and I only give support when something is not working in terms of the Docker container, please try to ask you favorite search engine with something like: How to disable VAC Counter Strike 1.6 dedicated server

unfortunately it didn’t help, like other commands that disable VAC. But in log I see some error's. Сould they be the cause?

 

Console initialized.
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/serverdata/.steam/sdk32/steamclient.so
with error:
/serverdata/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
07/15 21:58:39 Init: Installing breakpad exception handler for appid(10)/version(9907)/tid(79)
Could not find steamerrorreporter binary. Any minidumps will be uploaded in-processProtocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 23:25:09 Dec  9 2023 (9907)
STEAM Auth Server
Server IP address 172.17.0.6:27015
couldn't exec maps/de_dust_load.cfg
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 3 milliseconds to initialize
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197960265728
dlopen failed trying to load:
/serverdata/.steam/sdk32/steamclient.so
with error:
/serverdata/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197960265728

couldn't exec listip.cfg
couldn't exec banned.cfg
Connection to Steam servers successful.
   VAC secure mode is activated.
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.

 

Link to comment
1 hour ago, OldeFortran said:

But in log I see some error's. Сould they be the cause?

Nope, I just tried it and everything working as expected:

grafik.thumb.png.08dd00a0cf33107cae36fde62383aa25.png

 

 

Something is misconfigure over on your machine since your container still says that VAC mode is enabled, you have to set it like this in the template:
grafik.png.00b7867c5aad54168e9c819cf2329ec3.png

 

 

After that it will look like:

grafik.thumb.png.505be6b333586eb6063be9e6a64df5a1.png

Link to comment
2 hours ago, ich777 said:

I've updated the container so that it now supports this, please pull the Docker update first (force update on the Docker page with Advanced View enabled).

 

Simply create a variable in the template that has the Key: GAME_START_SCRIPT and as the Value you have to define the name from the script eg: startScript.sh (if it's in a subdirectory you have to do it like that: subfolder/startScript.sh) :

grafik.png.fff6db30c188085ae0b621fab42780df.png

 

If the container won't start after that please send me the start script so that I can see what is going on in your start script.

is there a way to stop it autoupdating on start up? It seems to be looping instead of running the executable.  I have also removed the game start script to see if it would run and it doesn't.  Didn't try a fresh install so I could try that next.

Link to comment
24 minutes ago, Xcal1bur said:

It seems to be looping instead of running the executable. 

Then your script is most likely not working properly. The loop is actually a restart from the container.

 

Can you please post your script otherwise I won‘t be able to understand what‘s going on.

Please also stop the container and post the log output.

Link to comment

[FIveM]

I have gotten FiveM installed and running, I am able to join the session and everything. However, I am running into issues installing new resources!

 

I have added the files to the appdata/fivem/resources/ and I have edited the server.cfg to either start or ensure the resources. I am hit with "couldn't find resource" error. Even when adding the file location as resource/vMenu/ or whatever the case may be it still cannot find the resource!

 I attempted to execute the permissions.cfg for vMenu by placing it in the root directory next to the server.cfg, but I am given the error that it cannot even find that! I have gone through dozens of tutorials, followed them all to the letter, but I cannot get this to work!

 

Any help on this matter would be greatly appreciated.

Link to comment
8 hours ago, Cain532 said:

 I attempted to execute the permissions.cfg for vMenu by placing it in the root directory next to the server.cfg, but I am given the error that it cannot even find that! I have gone through dozens of tutorials, followed them all to the letter, but I cannot get this to work!

When the container doesn't even find the data then it most likely the case that something with your share settings is wrong.

 

I assume you are using /mnt/cache/appdata/... in the Docker template for the for the Game files correct? If that is the case please go to your Share settings and check what Primary storage is set and what Mover action is set.

The Primary storage should be set to Cache and the Mover action should be set to none or even better Array -> Cache

 

If the Mover action is set to move the files to the Array that's the cause of the issue, appdata (at least in my opinion) should always stay on the Cache since this has the benefit that writes and reads are faster than from the Array and the contents are not spread over multiple disks.

What you should do if the Move action is set to move the data from the Cache to the Array is:

  1. Change the setting in the Share setting to move data from the Array -> Cache
  2. Stop all your containers
  3. Invoke the Mover (so that it can move all your data back on the Cache
  4. Start the containers again

 

If that is not the case and on your system the Mover actions is set to stay on the Cache then I can't help since this is a really game specific question and I only can give support when the application inside the container isn't working.

  • Like 1
Link to comment

Alright, so my appdata is located on /mnt/disk1/appdata/ I do not have the option to select any sort of mover ( I don't have parity setup on this server, not sure if that is what causes this issue or not)
 

image.png.fc290026b072be69ac721090d808f802.png

 

I don't have any secondary storage setup, everything I have is running from primary storage in an array (4 total disks)

Is there something inside the container I can edit to alter where it is pointing some of these calls? I don't want to risk losing ALL the data I have on this server, I presently don't have the ability to make any sort of hard backup

AXfhTuV.png

Link to comment
3 hours ago, Cain532 said:

Alright, so my appdata is located on /mnt/disk1/appdata/ I do not have the option to select any sort of mover ( I don't have parity setup on this server, not sure if that is what causes this issue or not)

Then I really can't help, this is a really game specific question and I never modded a FiveM server.

 

The container is working for many people with mods but I can only give support for basic things if the container isn't working or starting properly.

  • Like 1
Link to comment

I understand, I appreciate your time. I am working on setting this server up with txadmin. While I disagree that this is a 'game specific question' I fully appreciate that you have a lot of these questions and requests to get through. I hope that someone who has gotten fivem with resources working here will respond and assist!

Link to comment
1 minute ago, Cain532 said:

I am working on setting this server up with txadmin.

If you want to use txAdmin simply remove the server.cfg from that variable (as described in the variable) :

grafik.thumb.png.3d53a24b99adc7974c68c1307cb6c0e0.png

 

And create a port variable like so:

grafik.png.6a9c440edebc36279149cdd0f450f4c8.png

 

 

2 minutes ago, Cain532 said:

While I disagree that this is a 'game specific question' I fully appreciate that you have a lot of these questions and requests to get through. I hope that someone who has gotten fivem with resources working here will respond and assist!

I think some folks on the FiveM forums are actually using my container, maybe they can help, at least I got a few stars lately again on GitHub.

From what I know there is also another container out there, maybe that would work better.

  • Thanks 1
Link to comment

Thanks! I actually did manage to get txadmin started up, I am at the phase (and headache) of getting the mariadb portion set up (this is MOST DEFINITELY a game specific problem so I will not bother you with that, especially since I've seen you have helped others on it already, I don't want to waste any more of your time!) 

 

I will head to the fivem forum and see if I can find anyone. Thank you again~!

Link to comment

I would like to hopefully help a little bit here for anyone else running into similar issues as me.

 

Following ich777's instructions and enabling txAdmin, once you begin the setup, make sure that you have already downloaded mariadb (official or otherwise)

 

in txAdmin when it asks for the database password, it is ACTUALLY asking for the root password. I would suggest setting this manually so that you can use it when asked for it in the advanced settings of txAdmin.

 

I had issues finding the database on UNRAID, so instead of using it in Bridge Mode, I set it to Host mode.

 

 I am still playing with things, but if this at least gets someone a little closer to solving their issue, I am happy to contribute!

  • Like 1
Link to comment

I'm trying to diagnose an issue and hoping there may be a way to see if there is a miss-config somewhere with unraid or the way these dockers are working,

 

Now I have tried this with a copy of previous data and a copy of new data and re-installed but for the life of me I cant figure out what to test next.

 

As it stands I have run connection tests by downloading 2tb worth of data using a filezilla docker with no issues at all (no drops, re-tries etc for the 10min i watched it FIlezillla was downloading at ~300mbps and overall downloaded a large volume of data)

 

Now the fun part, WHen I installed the game server there was a bunch of issues which looked abit odd (re-downloading, unable to find public IP and reverting to local etc) just odd things. Now I had an issue which I wanted to switch over to this server running Palworld and it would connect, but after a few min would kick me saying connection was lost (This was via direct local network connection not even via my ISP)

 

Would there be some info or way to test why this specific docker is having such a hard time staying connected vs my other one which is running with no issues (apart from running out of ram :) ) 

 

Is there an issue with this docker if there is more than 1 nic or something else which would cause it to go online/offline regularly which would not impact others? I can also both hold a solid ping to the server and from the server to google so the pysical connection isnt breaking. The Firewall is also set (as part of my testing) for all outbound access 

 

steamcmd has been disconnected from steam with result 3 (No Connection)
 Update state (0x61) downloading, progress: 83.23 (2410055957 / 2895735061)
 Update state (0x61) downloading, progress: 83.23 (2410055957 / 2895735061)
 Update state (0x61) downloading, progress: 83.23 (2410055957 / 2895735061)
 Update state (0x61) downloading, progress: 83.23 (2410055957 / 2895735061)
 Update state (0x61) downloading, progress: 84.24 (2439416085 / 2895735061)
 Update state (0x61) downloading, progress: 85.94 (2488712912 / 2895735061)
 Update state (0x61) downloading, progress: 87.83 (2543238864 / 2895735061)
 Update state (0x61) downloading, progress: 89.86 (2602140480 / 2895735061)
 Update state (0x61) downloading, progress: 93.48 (2706991434 / 2895735061)
 Update state (0x61) downloading, progress: 96.31 (2788780309 / 2895735061)
 Update state (0x61) downloading, progress: 98.23 (2844354837 / 2895735061)
 Update state (0x61) downloading, progress: 99.24 (2873714965 / 2895735061)
 Update state (0x61) downloading, progress: 99.24 (2873714965 / 2895735061)
 Update state (0x61) downloading, progress: 99.31 (2875812117 / 2895735061)
 Update state (0x61) downloading, progress: 99.31 (2875812117 / 2895735061)
 Update state (0x61) downloading, progress: 99.31 (2875812117 / 2895735061)
 Update state (0x61) downloading, progress: 99.42 (2878957845 / 2895735061)
 Update state (0x61) downloading, progress: 99.60 (2884200725 / 2895735061)
 Update state (0x61) downloading, progress: 99.78 (2889443605 / 2895735061)
 Update state (0x61) downloading, progress: 99.78 (2889443605 / 2895735061)
 Update state (0x61) downloading, progress: 99.78 (2889443605 / 2895735061)
 Update state (0x61) downloading, progress: 99.82 (2890492181 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)
 Update state (0x61) downloading, progress: 99.89 (2892589333 / 2895735061)

steamcmd has been disconnected from steam with result 3 (No Connection)

 

Also what is the propper process for moving game files (Palworld in this example) from one server to another? SHould a direct copy paste while the server is offline be ok or do I need to do any permission changes?

Link to comment
On 7/15/2024 at 2:56 PM, ich777 said:

Then your script is most likely not working properly. The loop is actually a restart from the container.

 

Can you please post your script otherwise I won‘t be able to understand what‘s going on.

Please also stop the container and post the log output.

Ok, SO I got everything running so far and It doesn't seem to be loading the mods.  I remove the GAME thing you added as it just loops when I point to the dedicatedserver.exe that LUA made.  But Maybe it runs it anyways?

The LUA FOR BAROTRAUMA for LINUX adds this dedicatedserver.exe and in it has

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/linux64"
./DedicatedServer

So now you point the mods to the main directory in the config_player which I have as

 

          <package
        path="/mnt/disk1/barotrauma.local/share/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2970628943/filelist.xml" />
      <!--Lua For Barotrauma LINUX-->

Link to comment
9 minutes ago, Xcal1bur said:

I remove the GAME thing you added as it just loops when I point to the dedicatedserver.exe that LUA made. 

Again, this is a Linux server a .exe file won‘t work at all.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...