ich777 / docker-steamcmd-server

Simple Dockerfile that installs steamcmd and a selected game server
119 stars 95 forks source link

Palworld - Config file keeps returning to Container defaults upon restarting container #49

Closed ggardenhire closed 7 months ago

ggardenhire commented 7 months ago

Thank you for getting this branch ready so fast after early access launch. I am running this application in Unraid.

When I edit the config file at /serverdata/serverfiles/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini and then restart the container to apply the changes (EX: Changing Server Name or Server Password), when I go back to this file then all of the changes are undone and reset to the default container parameters except for Public IP which will correctly update each time.

Container logs after restarting container:

setrlimit() failed with error 22 (Invalid argument)
- Max per-process value allowed is 0 (we wanted infinity).
sh: 1: xdg-user-dir: not found
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Loaded '/serverdata/.steam/sdk64/steamclient.so' OK.  (First tried local 'steamclient.so')
CAppInfoCacheReadFromDiskThread took 6 milliseconds to initialize
Setting breakpad minidump AppID = 2394010
[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface STEAMAPPS_INTERFACE_VERSION008 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.

Session terminated, killing shell... ...killed.
setrlimit() failed with error 22 (Invalid argument)
- Max per-process value allowed is 0 (we wanted infinity).
sh: 1: xdg-user-dir: not found
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Loaded '/serverdata/.steam/sdk64/steamclient.so' OK.  (First tried local 'steamclient.so')
CAppInfoCacheReadFromDiskThread took 8 milliseconds to initialize
Setting breakpad minidump AppID = 2394010
[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface STEAMAPPS_INTERFACE_VERSION008 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
Success! App '2394010' already up to date.
---Checking if configuration is in place---
---Configuration found, continuing...---
---Checking if PublicIP is in place---
---PublicIP in PalWorldSettings.ini found: MANUALLY EXCLUDED FROM LOGS FOR PRIVACY
---Prepare Server---
---Server ready---
---Start Server---
FUnixPlatformMisc::RequestExitWithStatus
FUnixPlatformMisc::RequestExit
Shutdown handler: initalize.
Increasing per-process limit of core file size to infinity.
dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
Exiting abnormally (error code: 143)
Shutdown handler: cleanup.
---Ensuring UID: 99 matches user---
usermod: no changes
---Ensuring GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Taking ownership of data...---
---Starting...---
---Update SteamCMD---
tid(21) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
Logging directory: '/serverdata/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
---Update Server---
tid(43) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
Logging directory: '/serverdata/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '2394010' already up to date.
---Checking if configuration is in place---
---Configuration found, continuing...---
---Checking if PublicIP is in place---
---PublicIP in PalWorldSettings.ini found: MANUALLY EXCLUDED FROM LOGS FOR PRIVACY
---Prepare Server---
---Server ready---
---Start Server---
ich777 commented 7 months ago

Would be nice if you can tell what the issue was.

ggardenhire commented 7 months ago

Hello, sorry I reviewed the support forum (https://forums.unraid.net/topic/79530-support-ich777-gameserver-dockers/page/366/) and realized I was not stopping the container before making the changes. I had closed it since it was user error. Thank you!