[Support] ich777 - Gameserver Dockers


Recommended Posts

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 comment
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 comment
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 comment

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 comment

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 comment

@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.

  • Like 1
Link to comment
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 comment
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 comment
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 comment
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.

  • Like 1
Link to comment
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

  • Like 1
Link to comment
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!

  • Like 1
Link to comment

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 comment
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 comment
9 hours ago, RedSpider said:

 

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 :)

I don't own FarmingSimulator19 and from what I know you need a extra License to get this to work and also it runs really unstable (at least what I know from FarmingSimulator18 when I tried it back then) with WINE.

Link to comment
23 hours ago, ich777 said:

@audioclass & @tianyun123loValve 实际上已经在 Linux 上破坏了 SteamCMD:Github 问题

 

我们将不得不等到新版本的 SteamCMD 发布,或者您在游戏目录中手动创建目录“steamapps”(该目录在您要安装的特定游戏的 appdata 文件夹中创建)失败一次并且再次启动容器,这也应该暂时解决问题。

Thank you for your guidance. It has run successfully, but there are new problems. How can we solve them123.png.df4d51097e520b23f3e23539cfc6867b.png

Link to comment

I have used a few of your docker containers and I'm extremely grateful for the work you've done.  Recently I've been hosting a '7 Days to Die' server, and I'm wondering if it's possible to disable auto-updating or to manually switch to the beta branch?  I want to try modded but I need to revert to a slightly older version for this, I'm curious if this is possible.

Link to comment
2 hours ago, tianyun123lo said:

Thank you for your guidance. It has run successfully, but there are new problems. How can we solve them

This is just a Warning and can be ignored the message "Setting breakpad minidump AppID = 346110" is actually the message that the server is started and waiting for connections.

 

1 hour ago, nickl said:

I'm wondering if it's possible to disable auto-updating or to manually switch to the beta branch?

Yes, I have appended this text to the GAME_ID description in the template (if you pull a new one from the CA App):

grafik.png.c6b2d28e9d95c07cb7dfa7c750e62149.png

  • Like 1
Link to comment
5 hours ago, ich777 said:

This is just a Warning and can be ignored the message "Setting breakpad minidump AppID = 346110" is actually the message that the server is started and waiting for connections.

 

Yes, I have appended this text to the GAME_ID description in the template (if you pull a new one from the CA App):

grafik.png.c6b2d28e9d95c07cb7dfa7c750e62149.png

Thank you. Last question, which file is the server configuration file to modify

Link to comment

@audioclass, @tianyun123lo & @Suriniya Valve fixed SteamCMD and installations from game server containers work now flawlessly again when installing games from scratch without the disk write error. :)

To update SteamCMD restart one container and it will update SteamCMD.

 

4 hours ago, tianyun123lo said:

Thank you. Last question, which file is the server configuration file to modify

Please look here: Click

You can append it to the GAME_PARAMS in the Docker template or you can edit the server configuration itself that is located at (the screenshot is from that site that I've linked - in your case you have to choose the Linux paths):

grafik.png.5c8c1ca8abae19dbc2d4c9c7328c05ee.png

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.