[Support] ich777 - Gameserver Dockers


Recommended Posts

5 hours ago, camryn1242 said:

When trying to set up the minecraft server I ran the example:

I assume you are not running the container on Unraid or do you?

 

5 hours ago, camryn1242 said:

---'runtime' folder found---
---Checking if Runtime is installed---
---Downloading and installing Basic Runtime---

It seems that you've stopped the container once while it was still downloading the runtime, could that be the case?

 

Please delete the runtime folder and restart the container and see if that fixes the issue.

Link to comment
8 hours ago, evilmoonkey said:

I can confirm carbon is still installed on the server as well in my appdata folder at minimum so not sure what's missiing and why its stating its not found etc. 

Please update the container, this should now be fixed. :)

Link to comment
On 4/10/2024 at 1:01 AM, ich777 said:

I assume you are not running the container on Unraid or do you?

 

It seems that you've stopped the container once while it was still downloading the runtime, could that be the case?

 

Please delete the runtime folder and restart the container and see if that fixes the issue.


I am running Ubuntu 22.04

Your suggestion worked but whenever I ran it again I continue to get this error:

---EULA not found please stand by...---
grep: /serverdata/serverfiles/eula.txt: No such file or directory
---Waiting for logs, please stand by...---
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
        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)
Terminated

So I had tried manually creating a eula.txt in the path and I still get the same error. I double checked that Java was installed and it was. I am not too sure what this means

Link to comment
27 minutes ago, ich777 said:

Can you please share your docker run command since it seems like some permissions are off and the container is running into multiple race conditions which then ultimately lead to a crash.

I just ran the example from the site:


docker run --name MinecraftBasicServer -d \ -p 25565:25565 -p 9011:8080 \ --env 'RUNTIME_NAME=basicjre' \ --env 'JAR_NAME=server' \ --env 'GAME_V=latest' \ --env 'GAME_PORT=25565' \ --env 'XMX_SIZE=1024' \ --env 'XMS_SIZE=1024' \ --env 'ACCEPT_EULA=true' \ --env 'UID=99' \ --env 'GID=100' \ --volume /mnt/user/appdata/minecraftbasicserver:/serverdata/serverfiles \ ich777/minecraftbasicserver

Link to comment
53 minutes ago, camryn1242 said:

--env 'UID=99' \ --env 'GID=100'

I think those are the problematic values, are you sure that this UID and GID exist on your system and that they are accessible for Docker? These values are usually for Unraid.

On Debian based systems you have a default UID 1000 and GID 1000

Link to comment
15 minutes ago, ich777 said:

On Debian based systems you have a default UID 1000 and GID 1000

You were right on this part. I changed those to 1000 and I am still getting the same errors. I have tried restarting the container and even removing the container and reinstalling it?
 

Link to comment
2 hours ago, camryn1242 said:

You were right on this part. I changed those to 1000 and I am still getting the same errors. I have tried restarting the container and even removing the container and reinstalling it?

I‘m not 100% sure what‘s going on on your system but it‘s working fine on Unraid.

I can only thing of a permission issue or some similar kind of issue?

Is your Distribution and also Docker up to date?

Link to comment

Just like to thank you again @ich777 The issues I was having with not being able to join my own wreckfest server was due to to a nat/loopback issue.

 

Once I changed the nat acceleration to disabled on my router I was FINALLY able to join my own server. It was also causing me issues trying to access my nextcloud instance from my vms, as well as not letting me access one of my smb folders from one of my vm's as well.

 

I didnt know one router setting could cause so much headaches......

Screenshot from 2024-04-16 17-38-07.png

  • Like 1
Link to comment

hi

 

Just made a fresh install on Unraid. But cannot see the server showing up in the server list on Project Zomboid (public = true). I've tried to enter the server with my exdternal IP and port. Fail connection.

 

i've tried reaching the local ip on my brower, with port. Nothing

 

here are my logs. Any help welcome

 

LOG  : General     , 1713344186350> 39,936,852> MOVABLES: E face defined more than once for group: (Low Hedge) sheet = f_bushes_2
LOG  : General     , 1713344186350> 39,936,852> MOVABLES: S face defined more than once for group: (Low Hedge) sheet = f_bushes_2
LOG  : General     , 1713344186350> 39,936,852> MOVABLES: E face defined more than once for group: (Tall Hedge) sheet = f_bushes_2
LOG  : General     , 1713344186350> 39,936,852> MOVABLES: S face defined more than once for group: (Tall Hedge) sheet = f_bushes_2
LOG  : General     , 1713344186350> 39,936,852> MOVABLES: N face defined more than once for group: (Low Corner Hedge) sheet = f_bushes_2
LOG  : General     , 1713344186350> 39,936,852> MOVABLES: S face defined more than once for group: (Low Corner Hedge) sheet = f_bushes_2
LOG  : General     , 1713344186350> 39,936,852> MOVABLES: N face defined more than once for group: (Tall Corner Hedge) sheet = f_bushes_2
LOG  : General     , 1713344186350> 39,936,852> MOVABLES: S face defined more than once for group: (Tall Corner Hedge) sheet = f_bushes_2
LOG  : General     , 1713344186351> 39,936,852> tiledef: loading /serverdata/serverfiles/media/tiledefinitions_apcom.tiles
LOG  : General     , 1713344186352> 39,936,853> tiledef: loading /serverdata/serverfiles/media/tiledefinitions_overlays.tiles
LOG  : General     , 1713344186358> 39,936,859> tiledef: loading /serverdata/serverfiles/media/tiledefinitions_noiseworks.patch.tiles
LOG  : General     , 1713344186362> 39,936,864> MOVABLES: E face defined more than once for group: (Bar Wall Bar) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186363> 39,936,864> MOVABLES: S face defined more than once for group: (Bar Wall Bar) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186363> 39,936,864> MOVABLES: E face defined more than once for group: (Left Bar Wall Bar) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186363> 39,936,864> MOVABLES: S face defined more than once for group: (Left Bar Wall Bar) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186363> 39,936,864> MOVABLES: E face defined more than once for group: (Right Bar Wall Bar) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186363> 39,936,864> MOVABLES: S face defined more than once for group: (Right Bar Wall Bar) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186363> 39,936,864> MOVABLES: E face defined more than once for group: (Bar Tap Antique) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186363> 39,936,864> MOVABLES: Object has too many faces defined for group: (Bar Counter) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186363> 39,936,865> MOVABLES: Object has too many faces defined for group: (Bar Corner Counter) sheet = location_restaurant_bar_01
LOG  : General     , 1713344186369> 39,936,871> MOVABLES: Object has only one face defined for group: (Streetname Sign) sheet = street_decoration_01
LOG  : General     , 1713344186370> 39,936,871> MOVABLES: Not all members have a valid face defined for group: (Streetname Sign) sheet = street_decoration_01
LOG  : General     , 1713344186390> 39,936,892> Loading Recorded Media:/serverdata/serverfiles/Zomboid/Saves/Multiplayer/servertest/recorded_media.bin
LOG  : General     , 1713344186420> 39,936,921> Saving Recorded Media:/serverdata/serverfiles/Zomboid/Saves/Multiplayer/servertest/recorded_media.bin
LOG  : General     , 1713344186517> 39,937,018> scriptmanager = zombie.radio.scripting.RadioScriptManager@1e98b788, isNewGame = false
LOG  : General     , 1713344186517> 39,937,018> name = Automated Emergency Broadcast System, freq = 94800, cat = Emergency, uuid = EMRG-711984
LOG  : General     , 1713344186518> 39,937,019> Radio Loading channels...
LOG  : General     , 1713344186518> 39,937,020> Loading GlobalModData:/serverdata/serverfiles/Zomboid/Saves/Multiplayer/servertest/global_mod_data.bin
LOG  : General     , 1713344186528> 39,937,030> WorldDictionary: Checking dictionary...
LOG  : General     , 1713344186536> 39,937,037> Loading WorldDictionary:/serverdata/serverfiles/Zomboid/Saves/Multiplayer/servertest/WorldDictionary.bin
LOG  : General     , 1713344186683> 39,937,184> IsoMetaGrid.Create: finished loading in 0.819 seconds
LOG  : General     , 1713344186691> 39,937,193> Calculate weather front strength = 0.6563815
LOG  : General     , 1713344186695> 39,937,196> Calculate weather front strength = 0.59830695
LOG  : General     , 1713344186697> 39,937,199> Calculate weather front strength = 0.57753146
LOG  : General     , 1713344186699> 39,937,200> Calculate weather front strength = 0.13856383
LOG  : General     , 1713344186700> 39,937,202> Calculate weather front strength = 0.9246793
LOG  : General     , 1713344186702> 39,937,203> Calculate weather front strength = 0.09449867
LOG  : General     , 1713344186703> 39,937,204> Calculate weather front strength = 0.4057076
LOG  : General     , 1713344186703> 39,937,205> Calculate weather front strength = 0.24940713
LOG  : General     , 1713344186704> 39,937,206> Calculate weather front strength = 0.63669544
LOG  : General     , 1713344186705> 39,937,207> Calculate weather front strength = 0.5161727
LOG  : Lua         , 1713344186708> 39,937,209> Loading: media/maps/Muldraugh, KY/objects.lua
LOG  : General     , 1713344186858> 39,937,359> ERROR: Mannequin zone missing properties in media/maps/Muldraugh, KY/objects.lua at 13583,1299,0
LOG  : General     , 1713344187356> 39,937,858> loading 18906 zones from map_zone.bin
LOG  : General     , 1713344187440> 39,937,942> Max #ZONES on one chunk is 11
LOG  : General     , 1713344187517> 39,938,019> reanimate: loaded 0 zombies
LOG  : Network     , 1713344187555> 39,938,057> Initialising RakNet...
LOG  : Network     , 1713344187555> 39,938,057> [17-04-24 01:56:27.555] > ZNet: [-> CZombienet: RakNetPeerInterface_Init
LOG  : Network     , 1713344187555> 39,938,057> [17-04-24 01:56:27.555] > ZNet: [-> CZombienet: RakNetPeerInterface_SetMaximumIncomingConnections
LOG  : Network     , 1713344187555> 39,938,057> [17-04-24 01:56:27.555] > ZNet: [-> CZombienet: RakNetPeerInterface_SetServerPort
LOG  : Network     , 1713344187759> 39,938,260> [17-04-24 01:56:27.758] > ZNet: [-> CZombienet: RakNetPeerInterface_SetIncomingPassword
LOG  : Network     , 1713344187759> 39,938,260> [17-04-24 01:56:27.759] > ZNet: [-> CZombienet: RakNetPeerInterface_SetOccasionalPing
LOG  : Network     , 1713344187759> 39,938,261> [17-04-24 01:56:27.759] > ZNet: [-> CZombienet: RakNetPeerInterface_Startup
LOG  : Network     , 1713344187759> 39,938,261> [17-04-24 01:56:27.759] > ZNet: Startup version 41.78.16
LOG  : Network     , 1713344187759> 39,938,261> [17-04-24 01:56:27.759] > ZNet: Zomboid Steam Server started, ports 16262 and 16261 must be open on the router
LOG  : Network     , 1713344187770> 39,938,271> [17-04-24 01:56:27.770] > ZNet: SRakNet -> SZombienet: OnRakPeerStartup
LOG  : Network     , 1713344187770> 39,938,272> [17-04-24 01:56:27.770] > ZNet: OnRakPeerStartup
LOG  : Network     , 1713344187780> 39,938,282> [17-04-24 01:56:27.780] > ZNet: GetRakPeerInterface GetSockets receives 2 sockets
LOG  : Network     , 1713344187780> 39,938,282> [17-04-24 01:56:27.780] > ZNet: SZombienet -> SSteamSDK: InitRelayNetworkAccess
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
LOG  : Network     , 1713344187781> 39,938,283> [17-04-24 01:56:27.781] > ZNet: SZombienet -> SRakNet: SetSocketLayerOverride this
LOG  : Network     , 1713344187781> 39,938,283> RakNet.Startup() return code: 0 (0 means success)
LOG  : Network     , 1713344187783> 39,938,284> *** SERVER STARTED ****
LOG  : Network     , 1713344187783> 39,938,284> *** Steam is enabled
LOG  : Network     , 1713344187783> 39,938,285> Server is listening on port 16261 (for Steam connection) and port 16262 (for UDPRakNet connection)
LOG  : Network     , 1713344187783> 39,938,285> Clients should use 16261 port for connections
LOG  : General     , 1713344187783> 39,938,285> LuaNet: Initializing...
LOG  : General     , 1713344187783> 39,938,285> LuaNet: Registering server listener...
LOG  : General     , 1713344187783> 39,938,285> LuaNet: Initialization [DONE], triggering events for 'LuaNet.onInitAdd'.
LOG  : Network     , 1713344187784> 39,938,285> DISCORD: token not configured
LOG  : Network     , 1713344187784> 39,938,285> *** DISCORD DISABLED ****
LOG  : General     , 1713344187784> 39,938,285> ##########
Server Steam ID 90197149233696796
##########
LOG  : Multiplayer , 1713344187792> 39,938,294> [MPStatistics] mem usage notification threshold=8,160,437,760
LOG  : General     , 1713344187795> 39,938,297> RCON: listening on port 27015
LOG  : Network     , 1713344188186> 39,938,687> [17-04-24 01:56:28.186] > ZNet: SSteamSDK -> SZombienet: OnPolicyResponse
LOG  : Network     , 1713344188186> 39,938,687> [17-04-24 01:56:28.186] > ZNet: OnPolicyResponse
LOG  : Network     , 1713344188186> 39,938,687> [17-04-24 01:56:28.186] > ZNet: SZombienet -> SSteamSDK: BSecure
LOG  : Network     , 1713344188186> 39,938,688> [17-04-24 01:56:28.186] > ZNet: Zomboid Server is VAC Secure
LOG  : General     , 1713344787645> 40,538,147> SaveAll took 59.475075 ms
LOG  : General     , 1713344787646> 40,538,148> reanimate: saved 0 zombies
LOG  : General     , 1713344787655> 40,538,157> Saving GlobalModData
LOG  : General     , 1713344787656> 40,538,158> Saving finish
LOG  : General     , 1713344787656> 40,538,158> Saving took 70.806695 ms
LOG  : General     , 1713345387703> 41,138,205> SaveAll took 20.266487 ms
LOG  : General     , 1713345387703> 41,138,205> reanimate: saved 0 zombies
LOG  : General     , 1713345387709> 41,138,210> Saving GlobalModData
LOG  : General     , 1713345387710> 41,138,211> Saving finish
LOG  : General     , 1713345387710> 41,138,211> Saving took 26.841157 ms

Edited by Maitresinh
Link to comment
19 minutes ago, Maitresinh said:

I've tried to enter the server with my exdternal IP and port.

Have you yet tried to only enter your local IP?

 

19 minutes ago, Maitresinh said:

Fail connection.

Are you sure that your NAT Reflection is working properly? If it is not working properly this would prevent you from connecting from your LAN to the server.

Have you yet tried to connect to your server from outside your LAN to your server via the WAN IP/PORT?

 

Please also check your port forwarding if you've forwarded all ports which are listed in the Docker template with the appropriate protocol.

Link to comment

@ich777 Do you know if the zomboid server is shut down using the `quit` command in the console? 

Asking because I'm experiencing zombie respawning in my base after restarting the server after pressing the "stop" button on my container UI

A few links with similiar related problems:
https://theindiestone.com/forums/index.php?/topic/50007-4166-mp-server-restart-triggers-zombie-respawn-event/
https://theindiestone.com/forums/index.php?/topic/45483-4165-multiplayer-zombies-respawn-on-server-reboot/
 - In this last link the user says: 

Quote

"Someone in PZ Discord suggested that this may have happened if the server was closed with Ctrl-C instead of `quit`. Ctrl-C is indeed the way I've been shutting the server.

 

If this is indeed it, PZ really should react to SIGINT gracefully. Closing software via Ctrl-C is standard."

Though, still a bit weird that zombies would respawn in buildings that were already cleared, while all dead zombies are still on the ground as before.


Please let me know.

Edited by MassimoMx
Link to comment
12 minutes ago, MassimoMx said:

Do you know if the zomboid server is shut down using the `quit` command in the console?

No a SIGINT is sent to the process which is basically the same as quit and the server is properly shutdown and saves before it exits.

The linked posts are already two years old and I tested it myself and it works flawlessly over here.

 

12 minutes ago, MassimoMx said:

Asking because I'm experiencing zombie respawning in my base after restarting the server after pressing the "stop" button on my container UI

Project Zomboid saves every 10 minutes IIRC and after that period of time it should be also save to shutdown the server, if you are testing currently an stopping and starting the server frequently it can happen that you see this behavior but I have to say a dedicated server is meant to stay online and shouldn't be restarted that frequently.

BTW you are the first one who is reporting that and my container exists now for almost 4 years.

 

12 minutes ago, MassimoMx said:

Please let me know.

Is the issue with the port forwarding now solved?

Link to comment
3 hours ago, ich777 said:

Have you yet tried to only enter your local IP?

 

I did, in my brower (not into projet zomboid servers)

 

3 hours ago, ich777 said:

Are you sure that your NAT Reflection is working properly? If it is not working properly this would prevent you from connecting from your LAN to the server.

Have you yet tried to connect to your server from outside your LAN to your server via the WAN IP/PORT?

 

no.

I will

3 hours ago, ich777 said:

 

Please also check your port forwarding if you've forwarded all ports which are listed in the Docker template with the appropriate protocol.

 

Checked. Everyting is fine so far.

1 hour ago, MassimoMx said:

@ich777 Do you know if the zomboid server is shut down using the `quit` command in the console? 

no.

 

1 hour ago, MassimoMx said:


Asking because I'm experiencing zombie respawning in my base after restarting the server after pressing the "stop" button on my container UI

A few links with similiar related problems:
https://theindiestone.com/forums/index.php?/topic/50007-4166-mp-server-restart-triggers-zombie-respawn-event/
https://theindiestone.com/forums/index.php?/topic/45483-4165-multiplayer-zombies-respawn-on-server-reboot/
 - In this last link the user says: 


Please let me know.

 

what is the quit command . Is it worth the "pain" ? (regarding comment below)

 

56 minutes ago, ich777 said:

No a SIGINT is sent to the process which is basically the same as quit and the server is properly shutdown and saves before it exits.

The linked posts are already two years old and I tested it myself and it works flawlessly over here.

 

Project Zomboid saves every 10 minutes IIRC and after that period of time it should be also save to shutdown the server, if you are testing currently an stopping and starting the server frequently it can happen that you see this behavior but I have to say a dedicated server is meant to stay online and shouldn't be restarted that frequently.

BTW you are the first one who is reporting that and my container exists now for almost 4 years.

 

Is the issue with the port forwarding now solved?

 

No :/

 Port forwarding seems good so far

 

 

Link to comment
3 hours ago, ich777 said:

Project Zomboid saves every 10 minutes IIRC and after that period of time it should be also save to shutdown the server, if you are testing currently an stopping and starting the server frequently it can happen that you see this behavior but I have to say a dedicated server is meant to stay online and shouldn't be restarted that frequently.


I checked and the .ini file that the game spits out, has the `SaveWorldEveryMinutes` set to 0, while the one from your container has 10.

And I use the file that the game creates, I will set this value to 10/30 for my server too and let you know.

For more context, The server got restarted often because multiple mods got updated in the last 2 days.

Anyway, Thank you as always for the quick reply.

Link to comment
53 minutes ago, Maitresinh said:

No idea if it's the right place, but a server to play AOE I would be great.

Sorry but I don't accept any more container requests.

 

51 minutes ago, Maitresinh said:

this one ?

No, the default one.

The default one is installed when no Zomboid folder in the main directory is found.

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.