docker-ark-server
docker-ark-server copied to clipboard
Logging in Failing (Escaping)
setup as per https://github.com/Hermsi1337/docker-ark-server#configure-steam-login-session
Docker log:
ark_server | User "underknowledge" login failed - please login to steamcmd manually
ark_server | Downloading mod 821530042Executing /home/steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login \"underknowledge\" +workshop_download_item 346110 821530042 +quit
consistent when execing into the container
steam@11ecfa8317d9:/app$ /home/steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login \"underknowledge\" +workshop_download_item 346110 821530042 +quit
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1679680174
-- type 'quit' to exit --
Loading Steam API...OK
"@NoPromptForPassword" = "1"
Logging in user '"underknowledge"' to Steam Public...FAILED (No cached credentials and @NoPromptForPassword is set)
Removing the ""
steam@11ecfa8317d9:/app$ /home/steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login "underknowledge" +workshop_download_item 346110 821530042 +quit
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1679680174
-- type 'quit' to exit --
Loading Steam API...OK
"@NoPromptForPassword" = "1"
Logging in user 'underknowledge' to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Downloading item 821530042 ...
Success. Downloaded item 821530042 to "/home/steam/Steam/steamapps/workshop/content/346110/821530042" (245780544 bytes) steam@11ecfa8317d9:/app$
Same issue is probably with mod installation:
with ""
around the var
ark_server | + echo ...done
ark_server | + may_update
ark_server | + [[ true != \t\r\u\e ]]
ark_server | + echo '$UPDATE_ON_START is '\''true'\''...'
ark_server | + /usr/local/bin/arkmanager update --verbose --update-mods --backup --no-autostart
ark_server | Running command 'update' for instance 'main'
ark_server | [ ERROR ] Mod 731604991 is requested but not installed. Run 'arkmanager installmod 731604991' to install this mod.
ark_server | [ ERROR ] Mod 821530042 is requested but not installed. Run 'arkmanager installmod 821530042' to install this mod.
ark_server | Checking for update; PID: 285
ark_server | Downloading mod 731604991Executing /home/steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login \"underknowledge\" +workshop_download_item 346110 731604991 +quit
ark_server | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
ark_server | [ 0%] Checking for available updates...
ark_server | [----] Verifying installation...
ark_server | Steam Console Client (c) Valve Corporation - version 1679680174
ark_server | -- type 'quit' to exit --
ark_server | Loading Steam API...OK
without
ark_server | + may_update
ark_server | + [[ true != \t\r\u\e ]]
ark_server | + echo '$UPDATE_ON_START is '\''true'\''...'
ark_server | + /usr/local/bin/arkmanager update --verbose --update-mods --backup --no-autostart
ark_server | ...done
ark_server | $UPDATE_ON_START is 'true'...
ark_server | Running command 'update' for instance 'main'
ark_server | [ ERROR ] Mod 1404697612 is requested but not installed. Run 'arkmanager installmod 1404697612' to install this mod.
ark_server | [ ERROR ] Mod 731604991 is requested but not installed. Run 'arkmanager installmod 731604991' to install this mod.
ark_server | [ ERROR ] Mod 761535755 is requested but not installed. Run 'arkmanager installmod 761535755' to install this mod.
ark_server | [ ERROR ] Mod 821530042 is requested but not installed. Run 'arkmanager installmod 821530042' to install this mod.
ark_server | Checking for update; PID: 314
unrelated, but still bugging me
ark_server | 2023-04-02 22:00:02: start
ark_server | 2023-04-02 22:00:02: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer Fjordur\?SessionName=buggedsetup\?ServerPassword=HaaaaerrrrrPriates2525\?ServerAdminPassword=HaaaaerrrrrPriates25250\?MaxPlayers=2\?GameModIds=1404697612\,821530042\,731604991\,761535755\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -NoBattlEye -log
ark_server | 2023-04-02 22:00:02: Server PID: 691
ark_server | 2023-04-02 22:00:07: Bad PID ''; expected '691'
ark_server | 2023-04-02 22:00:07: exited with status 0
Can not get it running. From other issues I see, it might be space related, but would expect that 49G should be plenty for the server.
Trivia:
When seeing an error like src/clientdll/remotestoragefilesynccontext.cpp (946) : Assertion Failed: Failed to write file after download (2)
Check the permissions of $(pwd)/Steam
. these should be (as the README mentions...) set up first with the right permissions. chown is your firend
urgh,
To
ark_server | $UPDATE_ON_START is 'true'...
ark_server | Running command 'update' for instance 'main'
ark_server | [ ERROR ] Mod 1404697612 is requested but not installed. Run 'arkmanager installmod 1404697612' to install this mod.
ark_server | [ ERROR ] Mod 731604991 is requested but not installed. Run 'arkmanager installmod 731604991' to install this mod.
ark_server | [ ERROR ] Mod 761535755 is requested but not installed. Run 'arkmanager installmod 761535755' to install this mod.
ark_server | [ ERROR ] Mod 821530042 is requested but not installed. Run 'arkmanager installmod 821530042' to install this mod.
ark_server | Checking for update; PID: 314
${ARKMANAGER} update --verbose --update-mods --backup --no-autostart, So not it, That probably just checks what in the config is... Ummmm how?
command -v arkmanager set the var ${ARKMANAGER} to /usr/local/bin/arkmanager https://github.com/Hermsi1337/docker-ark-server/blob/3859a113858479080f94bb4502d343942ab3d15b/bin/steam-entrypoint.sh#L60
Here might be a change needed
https://github.com/Hermsi1337/docker-ark-server/blob/3859a113858479080f94bb4502d343942ab3d15b/bin/steam-entrypoint.sh#L100
for MOD_ID in ${GAME_MOD_IDS//,/ }; do
to
for MOD_ID in "${GAME_MOD_IDS//,/ }"; do
Just like 2 lines above. But thats just bash running in my head, could be wrong. Its late and I have to work tomorrow.. what a bummer
Still no clue where the steam use... wait a minute, nah nothing when searching for STEAM_LOGIN.. Bummer