[Support] ich777 - Gameserver Dockers


4200 posts in this topic Last Reply

Recommended Posts

Posted (edited)
7 hours ago, ich777 said:

Please check you Shre configuration for your appdata directory if it's set to Use Cache Only or Prefer if it's set to Yes or No, the containers won't work.

 

Please keep in mind if you change it, you have to invoke the Mover so that it moves the files from the Array back to the Cache.

My cache is set to prefer for appdata and I’ve confirmed that everything appdata related IS on the cache.  Any other ideas what it might be?

Edited by audioclass
Link to post
  • Replies 4.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Summary: Support Thread for ich777 Gameserver Dockers (CounterStrike: Source & ConterStrike: GO, TeamFortress 2, ArmA III,... - complete list in the second post) Application: SteamCMD Do

Just thought I'd share my experience setting up a Valheim server with this docker app from @ich777(thank you!)   You don't need to worry about Steam authentication for Valheim, the default a

Dockers Available so far:   SteamCMD DedicatedServers: CounterStrike: Source CounterStrike: Global Offensive TeamFortress 2 ArmA3 - requested by @MrSage D

Posted Images

3 hours ago, audioclass said:

My cache is set to prefer for appdata and I’ve confirmed that everything appdata related IS on the cache.  Any other ideas what it might be?

It seems like that the permissions are completely messed up, even SteamCMD can't write to it, can you reset the permissions only for this folder?

Are you familiar with the command line a little bit and where the files are located?

Link to post
49 minutes ago, ich777 said:

It seems like that the permissions are completely messed up, even SteamCMD can't write to it, can you reset the permissions only for this folder?

Are you familiar with the command line a little bit and where the files are located?


Yes I can get to them in the terminal, what exactly should I do?

Link to post
Just now, audioclass said:


Yes I can get to them in the terminal, what exactly should I do?

Do a:

chown -R 99:100 /mnt/user/appdata/conanexiles (the path is only a guess)

chmod -R 777 /mnt/user/appdata/conanexiles (the path is only a guess)

(eventually do the same to your SteamCMD directory, just in case... :) )

 

Stop the container in the first place before doing this...

After that try to start the container and see what the log says.

Link to post
Posted (edited)
15 minutes ago, ich777 said:

Do a:

chown -R 99:100 /mnt/user/appdata/conanexiles (the path is only a guess)

chmod -R 777 /mnt/user/appdata/conanexiles (the path is only a guess)

(eventually do the same to your SteamCMD directory, just in case... :) )

 

Stop the container in the first place before doing this...

After that try to start the container and see what the log says.

 

Error is persisting after this :(

---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
---Update Server---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
"@sSteamCmdForcePlatformType" = "windows"
[0m
Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
ERROR! Failed to install app '443030' (Disk write failure)

---Prepare Server---
---Looking for config files---
-----------------------------------------------------------
---Something went wrong can't find folder 'ConanSandbox'---
--------------Putting Server into sleep mode---------------

 

I checked access after with stat:

 

root@Serenity:/mnt/user/appdata# stat steamcmd
  File: steamcmd
  Size: 100             Blocks: 0          IO Block: 4096   directory
Device: 32h/50d Inode: 13510798885729765  Links: 1
Access: (0777/drwxrwxrwx)  Uid: (   99/  nobody)   Gid: (  100/   users)
Access: 2021-06-07 22:48:32.915992336 -0400
Modify: 2021-06-08 12:00:26.725914370 -0400
Change: 2021-06-08 12:00:26.725914370 -0400
 Birth: -

root@Serenity:/mnt/user/appdata# stat conanexiles
  File: conanexiles
  Size: 0               Blocks: 0          IO Block: 4096   directory
Device: 32h/50d Inode: 13510798885729766  Links: 1
Access: (0777/drwxrwxrwx)  Uid: (   99/  nobody)   Gid: (  100/   users)
Access: 2021-06-07 22:48:32.915992336 -0400
Modify: 2021-06-07 22:48:32.915992336 -0400
Change: 2021-06-08 12:00:24.142910874 -0400
 Birth: -

 

 

Edit:  The weird part is that the container MADE these folders successfully, and was able to download/extract all of the info to steamcmd folder without trouble.  I'm lost haha.

Edited by audioclass
Link to post
6 minutes ago, audioclass said:

Edit:  The weird part is that the container MADE these folders successfully, and was able to download/extract all of the info to steamcmd folder without trouble.  I'm lost haha.

Is your Cache actually called cache?

What are the path mappings in the template, are they matching or pointing to the right direction (usually I use /mnt/cache/... in my containers instead of /mnt/user/... because some games won't work with /mnt/user/...).

Link to post
Posted (edited)
10 minutes ago, ich777 said:

Is your Cache actually called cache?

What are the path mappings in the template, are they matching or pointing to the right direction (usually I use /mnt/cache/... in my containers instead of /mnt/user/... because some games won't work with /mnt/user/...).

 

Yes, the path /mnt/cache/appdata/conanexiles exists, as does the /mnt/user/appdata/conanexiles.  I have tried both just in case.  Here is a screencap of the docker settings screen.  I believe it is mostly default aside from having swapped the /serverdata/serverfiles/ path back and forth between /mnt/user and /mnt/cache during this troubleshooting process.

 

Sorry if the image is huge, 4k monitor:

 

Edit: Also, if it is worth mentioning, the rest of my containers are working alright(nextcloud, mariadb, sonarr radarr etc.), updating fine and such.  And, my valheim server worked fine in the past, but has the same symptoms as this conanexiles container now.

 

Edit 2: I also just noticed I appended / to the end of conanexiles, but not steamcmd.  I tried removing this just in case that was somehow causing problems but the issue persists.

 

 

Capture.JPG

Edited by audioclass
Link to post
2 minutes ago, audioclass said:

Also, if it is worth mentioning, the rest of my containers are working alright(nextcloud, mariadb, sonarr radarr etc.), updating fine and such.  And, my valheim server worked fine in the past, but has the same symptoms as this conanexiles container now.

Are there any important save files on there? Have you tried already to wipe the containers, including the game directories in your appdata (Valheim has also a automatic backup function so that you can extract the save files from there) and download a fresh copy from the CA App?

 

This is really strange and I've never experienced anything like that... :/

Link to post

Yes, I have tried removing the containers, and completely deleting the associated folders (steamcmd, valheim(after grabbing a backup) and conanexiles) before grabbing a fresh container from CA.  Sadly even this seems to have no effect.  Is it an issue with my appdata folder itself perhaps?  I'd prefer not to wipe that out if possible, but it is seeming more and more likely :(

Link to post
Just now, ich777 said:

May I ask why you run the container Privileged?

 

Oh, that was only done because of this issue.  I tried running as privileged just in case that was the cause, but as you can see, it wasn't 🤣

Link to post

Hey

I just tried making an 1.17 minecraft server with the minecraftbasicserver docker.
 

I am getting the following error:
 

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)

 

My older server (1.16.5) still works fine. It is using a different port aswell.

 

It seems the error is related to the java version in the folder. It is a fresh install so nothing from my old server.

 

Am i doing something wrong?

Link to post

@audioclass & @tianyun123lo Valve has actually broken SteamCMD on Linux: Github Issue

 

We'll have to wait until a new version of SteamCMD is realesed or you create the directory "steamapps" manually in the game directory (that is created in your appdata folder for the specific game you want to install) after it failed one time and start the container again, this should fix the issue temporarily too.

Link to post
On 6/8/2021 at 7:36 PM, Sundur said:

It seems the error is related to the java version in the folder. It is a fresh install so nothing from my old server.

 

Am i doing something wrong?

Try the following:

  1. Stop the container
  2. Go to your game directory and delete the Runtime folder
  3. Go in the template and click on "Show more..."
  4. Change the Entry "Runtime Name" to: 'jre16' (without quotes)
  5. Click on Apply
Link to post
On 6/8/2021 at 7:47 PM, ich777 said:

Try the following:

  1. Stop the container
  2. Go to your game directory and delete the Runtime folder
  3. Go in the template and click on "Show more..."
  4. Change the Entry "Runtime Name" to: 'jre16' (without quotes)
  5. Click on Apply

 

Thanks for replying :)

 

I tried what you suggested but i still get the error.

 

It's a little different:

Error: LinkageError occurred while loading main class net.minecraft.server.Main
        java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0

 


I also tried jre 15

 

Then the error looks like this:

Error: LinkageError occurred while loading main class net.minecraft.server.Main
        java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 59.0

 

Link to post
14 minutes ago, Sundur said:

Thanks for replying :)

 

I tried what you suggested but i still get the error.

Sorry seen now that you actually need JRE16, pushed an update of the container, do the following:

  1. Stop the container
  2. Delete the runtime folder once again
  3. Force an update from the container
  4. Go in the template and click on "Show more..."
  5. Change the Entry "Runtime Name" to: 'jre16' (without quotes)
  6. Click on Apply

grafik.thumb.png.536910d2f57ece337c4f1568d07d19bf.png

  • Like 1
  • Thanks 1
Link to post
30 minutes ago, ich777 said:

@audioclass & @tianyun123lo Valve has actually broken SteamCMD on Linux: Github Issue

 

We'll have to wait until a new version of SteamCMD is realesed or you create the directory "steamapps" manually in the game directory (that is created in your appdata folder for the specific game you want to install) after it failed one time and start the container again, this should fix the issue temporarily too.

 

This worked, I stopped the container, added the steamapps directory to the gameserver's appdata folder, restarted and everything seems to be coming online.

Link to post
3 minutes ago, ich777 said:

Sorry seen now that you actually need JRE16, pushed an update of the container, do the following:

  1. Stop the container
  2. Delete the runtime folder once again
  3. Force an update from the container
  4. Go in the template and click on "Show more..."
  5. Change the Entry "Runtime Name" to: 'jre16' (without quotes)
  6. Click on Apply

grafik.thumb.png.536910d2f57ece337c4f1568d07d19bf.png

 

Thank you again

 

It is working now after updating the docker and following your instructions :)

bilde.png.5042c037254cf8b8c688727cc1f84df0.png

Link to post
1 minute ago, Sundur said:

 

Thank you again

 

It is working now after updating the docker and following your instructions :)

Have to say sorry, wasn't aware that Minecraft 1.17 needs Java16. :)

Also change the template that Java16 is selected by default for no installations, should take a few hours to update in the CA App. :)

Thank you for the report, much appreciated!

Link to post

Hey,

 

I downloaded the 7dtd Docker and getting following failure:

 

The Cache Drive is set to "Only".

ErrorWarningSystemArrayLogin


---Checking if UID: 99 matches user---
---Checking if GID: 100 matches user---
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
SteamCMD not found!
steamcmd.sh
linux32/steamcmd
linux32/steamerrorreporter
linux32/libstdc++.so.6
linux32/crashhandler.so
---Update SteamCMD---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".

[ 0%] Checking for available update...
[----] Downloading update (0 of 53,895 KB)...
[ 0%] Downloading update (566 of 53,895 KB)...
[ 1%] Downloading update (3,101 of 53,895 KB)...
[ 5%] Downloading update (5,496 of 53,895 KB)...
[ 10%] Downloading update (7,429 of 53,895 KB)...
[ 13%] Downloading update (9,250 of 53,895 KB)...
[ 17%] Downloading update (11,095 of 53,895 KB)...
[ 20%] Downloading update (12,881 of 53,895 KB)...
[ 23%] Downloading update (14,775 of 53,895 KB)...
[ 27%] Downloading update (16,592 of 53,895 KB)...
[ 30%] Downloading update (18,433 of 53,895 KB)...
[ 34%] Downloading update (20,428 of 53,895 KB)...
[ 37%] Downloading update (22,357 of 53,895 KB)...
[ 41%] Downloading update (24,104 of 53,895 KB)...
[ 44%] Downloading update (25,805 of 53,895 KB)...
[ 47%] Downloading update (27,566 of 53,895 KB)...
[ 51%] Downloading update (29,238 of 53,895 KB)...
[ 54%] Downloading update (30,959 of 53,895 KB)...
[ 57%] Downloading update (32,958 of 53,895 KB)...
[ 61%] Downloading update (34,504 of 53,895 KB)...
[ 64%] Downloading update (35,806 of 53,895 KB)...
[ 66%] Downloading update (36,632 of 53,895 KB)...
[ 67%] Downloading update (37,609 of 53,895 KB)...
[ 69%] Downloading update (38,593 of 53,895 KB)...
[ 71%] Downloading update (39,505 of 53,895 KB)...
[ 73%] Downloading update (40,357 of 53,895 KB)...
[ 74%] Downloading update (41,386 of 53,895 KB)...
[ 76%] Downloading update (42,273 of 53,895 KB)...
[ 78%] Downloading update (43,169 of 53,895 KB)...
[ 80%] Downloading update (44,166 of 53,895 KB)...
[ 81%] Downloading update (45,000 of 53,895 KB)...
[ 83%] Downloading update (45,910 of 53,895 KB)...
[ 85%] Downloading update (46,926 of 53,895 KB)...
[ 87%] Downloading update (47,809 of 53,895 KB)...
[ 88%] Downloading update (48,646 of 53,895 KB)...
[ 90%] Downloading update (49,613 of 53,895 KB)...
[ 92%] Downloading update (50,543 of 53,895 KB)...
[ 93%] Downloading update (51,311 of 53,895 KB)...
[ 95%] Downloading update (52,187 of 53,895 KB)...
[ 96%] Downloading update (53,077 of 53,895 KB)...
[ 98%] Downloading update (53,828 of 53,895 KB)...
[ 99%] Downloading update (53,895 of 53,895 KB)...
[100%] Download Complete.
[----] Applying update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching...
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
/tmp/dumps insufficient permissions - delete and recreate
[ 0%] Checking for available updates...
[----] Verifying installation...
[ 0%] Downloading update...
[ 0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user '' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
---Validating installation---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user '' to Steam Public ...
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user '' to Steam Public ...
Logged in OK
Waiting for user info...OK
ERROR! Failed to install app '294420' (Disk write failure)

---Prepare Server---
grep: /serverdata/serverfiles/serverconfig.xml: No such file or directory
---Creating SaveGameFolder config ---
sed: can't read /serverdata/serverfiles/serverconfig.xml: No such file or directory
---Savegame location found---
grep: /serverdata/serverfiles/serverconfig.xml: No such file or directory
---Creating UserDataFolder config ---
sed: can't read /serverdata/serverfiles/serverconfig.xml: No such file or directory
---UserDataFolder location found---
---Server ready---
---Start Server---
/opt/scripts/start-server.sh: line 100: /serverdata/serverfiles/7DaysToDieServer.x86_64: No such file or directory
---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user '' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
---Validating installation---
Waiting for user info...OK
---Update Server---
---Validating installation---

Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user '' to Steam Public ...
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user '' to Steam Public ...
Session terminated, killing shell... ...killed.

 

I tryed a lot of things.. (Username was delete in this log):(

Link to post
8 minutes ago, Suriniya said:

I tryed a lot of things.. (Username was delete in this log):(

Please read this post:

Valve broke SteamCMD and there is a workaround in that post.

 

Link to post
On 7/23/2020 at 1:13 PM, ich777 said:

This is too complicated. Tried it with Farming Simulator 16, first of all there is no Linux server, only Windows, second you need to install the game by hand (also very complicated because if it works you need to open up a virtual webvnc viewer and enter there the key) and lastly you need an extra license for the Server itself.

 

Sorry to bump an old post but I came across this post on the GIANTs forum and wondered if it would make the process any easier?  would love to see FS(19) added :)

Link to post

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.