[Support] ich777 - Gameserver Dockers


Recommended Posts

4 hours ago, dubbz1316 said:

Is it possible to set a Satisfactory server to a specific build #? All I find is a way to specify branch.

I'm not to sure of that's even possible...

I only know that you can download specific depots from Steam but the container was never designed to do that.

 

For what do you need this or better speaking what did you set on the clients to download a specifice version from the game?

Link to comment
On 1/29/2022 at 10:42 PM, Vitor Ventura said:

can you create a rfactor2 server?

This game is a complete mess, not only requires it you to download at least one mod, you have to manually import the mod to the game and afterwards you have to manually create a event and then you are actually able to play on the dedicated server.

The next thing is that this game is meant to run on Windows and not on Linux and it is a bit slow when creating a server on Linux through WINE.

I don't think that I will continue to create a server for this game.

Link to comment

@ich777

Is it possible to forward the content of masterLog.0 to the containers logs? It took me some time to find this error message in the file:

Quote

Error: LinkageError occurred while loading main class net.minecraft.bundler.Main

        java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0

 

Finally it meant to change the container setting from jre16 to jre17.

 

PS: Only for completeness if others face the same problem:

 

GUI error:

Quote

There is no screen to be attached matching Minecraft.

 

Logs:

Quote

Terminated

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

---Checking for 'runtime' folder---

---'runtime' folder found---

---Checking if Runtime is installed---

---Runtime found---

---Checking for Minecraft Server executable ---

---Minecraft v1.18.1 is Up-To-Date!---

---Preparing Server---

---Checking for 'server.properties'---

---'server.properties' found...

---Checking for old logs---

---Starting Server---

---Minecraft v1.18.1 is Up-To-Date!---

---Preparing Server---

---Checking for 'server.properties'---

---'server.properties' found...

---Checking for old logs---

---Starting Server---

---Waiting for logs, please stand by...---

---Waiting for logs, please stand by...---

[11:43:01] [Server thread/INFO]: Stopping server

[11:43:01] [Server thread/INFO]: Saving players

[11:43:01] [Server thread/INFO]: Saving worlds

[11:43:01] [Server thread/INFO]: Saving chunks for level 'ServerLevel[World]'/minecraft:overworld

[11:43:03] [Server thread/INFO]: Saving chunks for level 'ServerLevel[World]'/minecraft:the_nether

[11:43:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[World]'/minecraft:the_end

[11:43:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (World): All chunks are saved

[11:43:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved

[11:43:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved

[11:43:07] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved

Terminated

 

Link to comment
2 hours ago, mgutt said:

Is it possible to forward the content of masterLog.0 to the containers logs? It took me some time to find this error message in the file:

Currently the container does it this way, if the server finds a log file in .../log/latest.log then that file will be forwarded to the container log, since some mod servers doesn't create that file

If the container doesn't find the file .../log/latest.log then it will forward the contents of masterLog.0

Link to comment
4 hours ago, ich777 said:

This game is a complete mess, not only requires it you to download at least one mod, you have to manually import the mod to the game and afterwards you have to manually create a event and then you are actually able to play on the dedicated server.

The next thing is that this game is meant to run on Windows and not on Linux and it is a bit slow when creating a server on Linux through WINE.

I don't think that I will continue to create a server for this game.

 

Ok, no problem.

Thanks

Link to comment
On 1/31/2021 at 5:01 AM, Fresh said:

sorry to dig this up, but I have similiar issues with the gmod docker.

 

Can anyone help ?

 

tcmalloc: large alloc 4286971904 bytes == (nil) @ 
Failed to load keyvalues file cfg/mount.cfg!
tcmalloc: large alloc 4286971904 bytes == (nil) @ 
Couldn't load shader dll: game_shader_generic_garrysmod_srv.soConVarRef mat_dxlevel doesn't point to an existing ConVar
Game_srv.so loaded for "Garry's Mod"
Setting breakpad minidump AppID = 4000
tcmalloc: large alloc 4286971904 bytes == (nil) @ 
---------------
Paths:
--- ENGINECORE ---
"/serverdata/serverfiles/bin/" "EXECUTABLE_PATH" 
"/serverdata/serverfiles/" "BASE_PATH" 
"/serverdata/serverfiles/garrysmod/bin/" "GAMEBIN" 
"/serverdata/serverfiles/garrysmod/" "LOGDIR" 
--- GMODCORE ---
"/serverdata/serverfiles/garrysmod/workshop/" "GAME" 
"/serverdata/serverfiles/garrysmod/workshop/" "workshop" 
"/serverdata/serverfiles/garrysmod/workshop/" "thirdparty" 
"/serverdata/serverfiles/garrysmod/garrysmod.vpk" "MOD" (VPK)
"/serverdata/serverfiles/garrysmod/garrysmod.vpk" "GAME" (VPK)
"/serverdata/serverfiles/garrysmod/garrysmod.vpk" "garrysmod" (VPK)
"/serverdata/serverfiles/garrysmod/overrides/" "MOD" 
"/serverdata/serverfiles/garrysmod/overrides/" "GAME" 
"/serverdata/serverfiles/garrysmod/overrides/" "garrysmod" 
"/serverdata/serverfiles/garrysmod/" "MOD" 
"/serverdata/serverfiles/garrysmod/" "MOD_WRITE" 
"/serverdata/serverfiles/garrysmod/" "DEFAULT_WRITE_PATH" 
"/serverdata/serverfiles/garrysmod/" "GAME" 
"/serverdata/serverfiles/garrysmod/" "GAME_WRITE" 
"/serverdata/serverfiles/garrysmod/" "garrysmod" 
--- SOURCESDK ---
"/serverdata/serverfiles/sourceengine/hl2_misc.vpk" "GAME" (VPK)
"/serverdata/serverfiles/sourceengine/hl2_sound_misc.vpk" "GAME" (VPK)
"/serverdata/serverfiles/sourceengine/hl2_sound_vo_english.vpk" "GAME" (VPK)
"/serverdata/serverfiles/sourceengine/hl2_textures.vpk" "GAME" (VPK)
"/serverdata/serverfiles/sourceengine/" "GAME" 
"/serverdata/serverfiles/platform/platform_misc.vpk" "GAME" (VPK)
"/serverdata/serverfiles/platform/" "GAME" 
--- DOWNLOADS ---
"/serverdata/serverfiles/garrysmod/download/" "GAME" 
"/serverdata/serverfiles/garrysmod/download/" "DOWNLOAD" 
--- FALLBACKS ---
"/serverdata/serverfiles/garrysmod/fallbacks.vpk" "GAME" (VPK)
"/serverdata/serverfiles/garrysmod/fallbacks/" "GAME" 
LOAD FROM FILE FAILED resource/serverevents.res
LOAD FROM FILE FAILED resource/serverevents.res

LOAD FROM FILE FAILED resource/serverevents.res

[ERROR] 37 Segmentation fault

 

im facing the exact same issue - using pterodactyl wings / panel.

 

all works fine, i can run minecraft, ark, sinusbot, teamspeak etc.

but garrysmod makes me cry.

 

facing the resource/serverevents.res issue

 

my wings compose is:

https://pastebin.com/wqPQbMCx

 

as i said, all other works fine, ark, minecraft, sinusbot, teamspeak etc.

 

any have a solution for this?

i mounted the files to my share to easly access it - works like a charme but garrysmod is like a diva... pls help, spend 3 days for this alrdy xd :)

 

no help so far on pterodactyl discord so im asking here, maybe someone have the same issue and got fixed it and can explain, user FRESH just said it was magical fixed :( 

 

checked the serverevents.res content - all as is shoud, checked permissions etc etc.

all other container "pterodactyl EGGS" - works so far

 

 

my config.yml 

https://pastebin.com/YsZEAC3N

 

edited IP / Website with XXXXXX

 

Edited by Encore
Link to comment
8 minutes ago, Encore said:

im facing the exact same issue - using pterodactyl wings / panel.

I'm really not familiar with Pterodactyl.

 

Please read on on the following pages of the thread from the post that you've linked, the user reported that it works without Pterodactyl and after he tries to install it fresh it doesn't work but after again starting over it started to work again.

Keep also in mind that this is a game that needs the real path (/mnt/cache/...) to the files and not the FUSE path (/mnt/user/...).

 

Read the next few posts:

 

Are you using my container or from someone else?

  • Thanks 1
Link to comment
7 minutes ago, ich777 said:

I'm really not familiar with Pterodactyl.

 

Please read on on the following pages of the thread from the post that you've linked, the user reported that it works without Pterodactyl and after he tries to install it fresh it doesn't work but after again starting over it started to work again.

Keep also in mind that this is a game that needs the real path (/mnt/cache/...) to the files and not the FUSE path (/mnt/user/...).

 

Read the next few posts:

 

Are you using my container or from someone else?

tested both, your container (facing same issue in pterodactyl) ---- on unraid self it works as container----

and the pterodactyl egg

 

my goal is to have access to the files via the share

so i can easly adjust something, make backup and protected by array

all other games works with the fuse path,

any possibility to change just the garrysmod path to /mnt/cache?

 

or shoud i move the whole mount to this path?

i can give it a try

 

Link to comment
8 minutes ago, Encore said:

any possibility to change just the garrysmod path to /mnt/cache?

Where is your game located? If it's located in your appdata directory? If yes make sure that your appdata directory is set to Use Cache "Only" or "Prefer".

 

9 minutes ago, Encore said:

tested both, your container (facing same issue in pterodactyl) ---- on unraid self it works as container----

So without Pterodactyl it works fine?

 

10 minutes ago, Encore said:

so i can easly adjust something, make backup and protected by array

Do you have the files on the array? Then make sure that your share where the gamefiles are in are not spread across multiple disks by setting the share to only use for example disk1 or whatever disk you want and in the template change the path to the according disk like: '/mnt/disk1/...'

Link to comment
11 minutes ago, ich777 said:

Where is your game located? If it's located in your appdata directory? If yes make sure that your appdata directory is set to Use Cache "Only" or "Prefer".

 

So without Pterodactyl it works fine?

 

Do you have the files on the array? Then make sure that your share where the gamefiles are in are not spread across multiple disks by setting the share to only use for example disk1 or whatever disk you want and in the template change the path to the according disk like: '/mnt/disk1/...'

my games are located at /mnt/user/pterodactyl-ng/wings     

i created in unraid a share for this (pterodactyl-ng)

and set to prefer mode

 

 

yes without pterodactyl - via unraid docker - it works

 

maybe i have misspelled.

the files are on the cache drive (prefer cache = yes ) and have set to use 1 disk after another for array stuff.

 

so u think if i change the mounts of pterodactyl to use the /mnt/cache/ XYZ instead /mnt/user/ XYZ 

shoud work?

 

i can give it a try hope i dont destroy anything haha

Link to comment

if i set the mount to the cache location, will the mover move them in case cache is full?

 

 

so i changed the paths in docker compose , compose down compose up

 

and changed config.yml 

 

system:
  root_directory: /mnt/cache/pterodactyl-node/wings/
  log_directory: /mnt/cache/pterodactyl-node/wings/logs
  data: /mnt/cache/pterodactyl-node/wings/volumes
  archive_directory: /mnt/cache/pterodactyl-node/wings/archives
  backup_directory: /mnt/cache/pterodactyl-node/wings/backups

 

to use cache instead user

i will try.

im facing permission issues now with my teamspeak container etc.

 

i think i need to run the permission fix of unraid, right?

Edited by Encore
Link to comment
10 minutes ago, ich777 said:

Yep, some games like GarrysMod and TeamFortress2 need the real path and not the FUSE path.

IT WORKS IT WORKS IT WORKS!!!!!!!!!!!!!

 

Assigned anonymous gameserver Steam ID [A-1:3804776457(19505)].
VAC secure mode is activated.

 

wuhuuuuuu

 

 

but maybe dumb question,

 

can i still access the files over the share path if i use the real path instead fuse path?

 

im bit lazy and access the files over the smb share is lot easier instead use always the cli for private use xd 

 

  • Like 1
Link to comment
1 minute ago, Encore said:

IT WORKS IT WORKS IT WORKS!!!!!!!!!!!!!

Nice.

 

1 minute ago, Encore said:

can i still access the files over the share path if i use the real path instead fuse path?

You can edit files from both /mnt/user/... and /mnt/cache/... only some games need the real path and it's okay if you access it through SMB that actually uses /mnt/user/...

 

11 minutes ago, Encore said:

im facing permission issues now with my teamspeak container etc.

I can't imagine why this should give you issues.

 

11 minutes ago, Encore said:

if i set the mount to the cache location, will the mover move them in case cache is full?

Yes, if it's set to prefer, but then the game servers will not work properly anymore because you've now force the container to write to the Cache.

But please don't set your Cache to Yes because then nothing will work properly anymore

  • Like 1
Link to comment
9 minutes ago, ich777 said:

Nice.

 

You can edit files from both /mnt/user/... and /mnt/cache/... only some games need the real path and it's okay if you access it through SMB that actually uses /mnt/user/...

 

I can't imagine why this should give you issues.

 

Yes, if it's set to prefer, but then the game servers will not work properly anymore because you've now force the container to write to the Cache.

But please don't set your Cache to Yes because then nothing will work properly anymore

dont know how to use multiquote xd

 

You can edit files from both /mnt/user/... and /mnt/cache/... only some games need the real path and it's okay if you access it through SMB that actually uses /mnt/user/...

 

-- nice!

I can't imagine why this should give you issues.

-- im facing permission denied for my other containers - entrypoint.sh 

i will try to fix permissions, fresh created garrysmod container works fine

 

Yes, if it's set to prefer, but then the game servers will not work properly anymore because you've now force the container to write to the Cache.

But please don't set your Cache to Yes because then nothing will work properly anymore

 

- so the best is to use cache only on the pterodactyl share, right?

in case i move the server to another host system i can simply make a copy of the directorys , move them to other host and use the compose file i used before, right?

 

TY A LOT! 😃

 

 

 

if anybody facing th e same problem:

 

my compose file is :

 

version: '3.8'

services:
  wings:
    image: ghcr.io/pterodactyl/wings:latest
    restart: always
    networks:
      - wings0
    ports:
      - "8181:8080"
      - "2022:2022"
    tty: true
    environment:
      TZ: "Europe/Berlin"
      WINGS_UID: 988
      WINGS_GID: 988
      WINGS_USERNAME: pterodactyl
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"
      - "/var/lib/docker/containers/:/var/lib/docker/containers"
      - "/mnt/cache/pterodactyl-node/wings/:/etc/pterodactyl"
      - "/mnt/cache/pterodactyl-node/wings/:/mnt/cache/pterodactyl-node/wings"
      - "/mnt/cache/pterodactyl-node/wings/:/var/log/pterodactyl"
      - "/tmp/pterodactyl/:/tmp/pterodactyl"
      - "/etc/ssl/certs:/etc/ssl/certs:ro"
      # you may need /srv/daemon-data if you are upgrading from an old daemon
      #- "/srv/daemon-data/:/srv/daemon-data/"
      # Required for ssl if you use let's encrypt. uncomment to use.
      #- "/etc/letsencrypt/:/etc/letsencrypt/"

networks:
  wings0:
    name: wings0
    driver: bridge
    ipam:
      config:
        - subnet: "172.21.0.0/16"
    driver_opts:
      com.docker.network.bridge.name: wings0

 

and my config.yml is (JUST THE SYSTEM PART (mounts):

 

system:
  root_directory: /mnt/cache/pterodactyl-node/wings/
  log_directory: /mnt/cache/pterodactyl-node/wings/logs
  data: /mnt/cache/pterodactyl-node/wings/volumes
  archive_directory: /mnt/cache/pterodactyl-node/wings/archives
  backup_directory: /mnt/cache/pterodactyl-node/wings/backups

 

dont use /mnt/user ...  as ich777 said 😃 for garrysmod/tf with pterodactyl

Edited by Encore
Link to comment
5 minutes ago, Encore said:

-- im facing permission denied for my other containers - entrypoint.sh 

Maybe that's related to Docker Compose but only a guess.. :D

 

6 minutes ago, Encore said:

- so the best is to use cache only on the pterodactyl share, right?

Yep, or the real disk path if you have it on the Array.

 

7 minutes ago, Encore said:

if anybody facing th e same problem:

?

Link to comment
Just now, ich777 said:

Maybe that's related to Docker Compose but only a guess.. :D

 

Yep, or the real disk path if you have it on the Array.

 

?

 

no i used the permission fix tool of unraid, they set the .sh files to 666 after i give them 755 the container works 

 

i prefer to use the cache, bcs if i use the array, they will spin 24/7 - energy costs in germany is very high (nearly 40ct / kwh at moment 

 

the "if anybody facing the same problem" is just a little write out of the fix

 

for lazy ppl like me :D❤️ 

 

and btw. sry for some typos, not my native language :D

Link to comment
3 minutes ago, Encore said:

and btw. sry for some typos, not my native language :D

Mine either. :)

 

3 minutes ago, Encore said:

no i used the permission fix tool of unraid, they set the .sh files to 666 after i give them 755 the container works 

Interesting...

 

Many greetings from Austria and have fun. ;)

  • Thanks 1
Link to comment

@ich777I see you answered the question in the pinned posts but I'm still a bit confused on setting up multiple docker containers to run multiple valheim servers.  The issue I'm having is I don't have the options under apps to add the container a second time.  How do add the second docker container?
I know this is probably a LUL question and noobish but I'm a noob so . . .   
Thx for all you do.  

Edited by Kirball
Link to comment
25 minutes ago, Kirball said:

The issue I'm having is I don't have the options under apps to add the container a second time.  How do add the second docker container?

Go to Apps -> Settings (on the bottom left) -> Set "Allow install of second instance" to "Yes" -> Click "Apply"

  • Thanks 1
Link to comment
On 3/2/2021 at 5:02 PM, ich777 said:

Yes, but you do this with the Variable in the 'Show More Settings' section of the Template.

 

Keep in mind that for every container the Game Port itself has to be set in the GAME_PORT variable like mentioned above.

 

 

This is the way you would do it (this is tested and working btw):

grafik.thumb.png.a3e4e22653cc2a5543daed533a251f69.png

 

 

When I try to create the docker container using these steps It just gets stuck.  It appears as though it's setting up the server but just kind of stops.  Also how can I create a server without a password?  I think maybe deleting the password field is causing my problem so I'm trying again on adding a second server.

Edited by Kirball
Link to comment
4 hours ago, Kirball said:

Also how can I create a server without a password?

For Valheim that's not possible only with a mod server from what I know.

 

4 hours ago, Kirball said:

I think maybe deleting the password field is causing my problem so I'm trying again on adding a second server.

Yes, Valheim by default needs a password that is at least 6 characters (without special characters).

 

4 hours ago, Kirball said:

 

When I try to create the docker container using these steps It just gets stuck.  It appears as though it's setting up the server but just kind of stops.

Do you have a log from this? This is very unlikely to happen.

Link to comment
1 hour ago, ich777 said:

For Valheim that's not possible only with a mod server from what I know.

 

Yes, Valheim by default needs a password that is at least 6 characters (without special characters).

 

Do you have a log from this? This is very unlikely to happen.

So, it appears that something got hung up during installation I've already deleted and rebuilt.  I deleted the password field in the container settings which was dumb because now it has a password and I don't know what it is.  LUL.  I'm kind of just a do stuff and see what happens.  I learn the most when I have to fix my mess ups.  Always had that approach to learning.  I think I have everything figured out now I was really just hoping for a way to go public no password to have an open server for kicks to see what happened.  If anyone knows how to make that happen I'm down for stumbling my way through figuring it out.

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.