Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Variable $arkserverroot, $steamcmdroot etc #1279

Open
RRyanward opened this issue Sep 27, 2024 · 10 comments
Open

Change Variable $arkserverroot, $steamcmdroot etc #1279

RRyanward opened this issue Sep 27, 2024 · 10 comments

Comments

@RRyanward
Copy link

RRyanward commented Sep 27, 2024

I working on getting the paths corrected for a docker contianer I'm working on it comes back with error can't cd to /container/home/steamcmd but what works if I added that to the arkmanager script file it works like the container doesn't under stand the variable but if I tell it where to look it works.

Maybe at the top you could add the expressions to call and I will set them there.

image

So if I stop the server and start the install again the message goes away and I can see the folders wondering if it's becasue it the 1st time creating the server folders/files needed?
image

Stop/Started Second time console:
image

When I leave it running for a few hours this starts to happen as well.
image

@klightspeed
Copy link
Collaborator

Killed suggests that it ran out of memory, though the Server has double-forked suggests that the server had a child process (I probably need to have pgrep check the executable name so if e.g. the server was updating auto-managed mods when it exited, it gives a more informative message).

v1.6.64 should fix the error with the steamcmd directory not being found during install.

@RRyanward
Copy link
Author

That seemed to fix the directory issue. Thank you
image

@RRyanward
Copy link
Author

Now it saying Insufficient desk space when I have gave the install 25GB for the container very strange?
image

@klightspeed
Copy link
Collaborator

Now it saying Insufficient desk space when I have gave the install 25GB for the container very strange? image

I wonder what the content_log.txt and/or stderr.txt in /home/container/Steam/logs say the error was? You could also add --verbose to the arkmanager install commandline to have the steamcmd output display in the container log.

Given GameServerManagers/LinuxGSM#719 (comment), I probably should change Insufficient disk space to install the ARK server to something like SteamCMD returned an error - check that there is enough disk space and that SteamCMD is able to write to the ARK server directory

@RRyanward
Copy link
Author

RRyanward commented Sep 29, 2024

So in verbose I see the 1st error spitting out but seems to do this once then if I rebuild the container again it works very random when this error happens.

Getting latest release...
Latest release is v1.6.64
Getting commit for latest release...
Downloading installer
Running install.sh
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
ARK Server Tools successfully installed
Adding install loop file
Ark Server Tools Ready
:/home/container$ ./arkmanger install --verbose
Running command 'install' for instance 'main'
Creating the ARK server root directory (/home/container/ARK)
Installing ARK serverExecuting /home/container/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +force_install_dir /home/container/ARK +login anonymous +app_update 376030 validate +quit
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
[----] Downloading update (0 of 48918 KB)...
[ 0%] Downloading update (0 of 48918 KB)...
[ 0%] Downloading update (0 of 48918 KB)...
[ 0%] Downloading update (0 of 48918 KB)...
[ 0%] Downloading update (2391 of 48918 KB)...
[ 4%] Downloading update (4823 of 48918 KB)...
[ 9%] Downloading update (6328 of 48918 KB)...
[ 12%] Downloading update (7748 of 48918 KB)...
[ 15%] Downloading update (9701 of 48918 KB)...
[ 19%] Downloading update (11876 of 48918 KB)...
[ 24%] Downloading update (14231 of 48918 KB)...
[ 29%] Downloading update (16701 of 48918 KB)...
[ 34%] Downloading update (19393 of 48918 KB)...
[ 39%] Downloading update (21788 of 48918 KB)...
[ 44%] Downloading update (23965 of 48918 KB)...
[ 48%] Downloading update (26408 of 48918 KB)...
[ 53%] Downloading update (28485 of 48918 KB)...
[ 58%] Downloading update (31227 of 48918 KB)...
[ 63%] Downloading update (33838 of 48918 KB)...
[ 69%] Downloading update (36413 of 48918 KB)...
[ 74%] Downloading update (38885 of 48918 KB)...
[ 79%] Downloading update (41746 of 48918 KB)...
[ 85%] Downloading update (42965 of 48918 KB)...
[ 87%] Downloading update (44285 of 48918 KB)...
[ 90%] Downloading update (45506 of 48918 KB)...
[ 93%] Downloading update (46810 of 48918 KB)...
[ 95%] Downloading update (48092 of 48918 KB)...
[ 98%] Downloading update (48918 of 48918 KB)...
[100%] Download Complete.
[----] Applying update...
[----] Extracting package...
[----] Verifying installation...
[ 0%] Downloading Update...
[ 0%] Checking for available update...
[----] Downloading update (0 of 19547 KB)...
[ 0%] Downloading update (0 of 19547 KB)...
[ 0%] Downloading update (0 of 19547 KB)...
[ 0%] Downloading update (1140 of 19547 KB)...
[ 5%] Downloading update (2293 of 19547 KB)...
[ 11%] Downloading update (3629 of 19547 KB)...
[ 18%] Downloading update (5144 of 19547 KB)...
[ 26%] Downloading update (6429 of 19547 KB)...
[ 32%] Downloading update (7683 of 19547 KB)...
[ 39%] Downloading update (9076 of 19547 KB)...
[ 46%] Downloading update (10422 of 19547 KB)...
[ 53%] Downloading update (11723 of 19547 KB)...
[ 59%] Downloading update (12871 of 19547 KB)...
[ 65%] Downloading update (14235 of 19547 KB)...
[ 72%] Downloading update (15692 of 19547 KB)...
[ 80%] Downloading update (17022 of 19547 KB)...
[ 87%] Downloading update (18357 of 19547 KB)...
[ 93%] Downloading update (19547 of 19547 KB)...
[100%] Download Complete.
[----] Extracting package...
[----] !!! Fatal Error: Failed to load steamconsole.so

I will upload the next log from the console to a txt file as these are longer.
Console Log.txt

stderr.txt
content_log.txt

@klightspeed
Copy link
Collaborator

[2024-09-28 15:30:12] Turning on early CRC checks for all received data.
[2024-09-28 15:30:12] AppID 376030 update canceled : Failed updating depot 376031 while unpacking bad chunk "c6002bcfe22ea8a61fd8c11c48712f3aac12b473" (Unpack failed (c:543712,u:0,r:806485,b:0)) (Suspended) "cache3-atl3.steamcontent.com/depot/376031/chunk/c6002bcfe22ea8a61fd8c11c48712f3aac12b473"
[2024-09-28 15:30:12] AppID 376030 update changed : Running Update,Downloading,Staging,Stopping,
[2024-09-28 15:30:12] Failed unpacking chunk "c6002bcfe22ea8a61fd8c11c48712f3aac12b473" from "cache3-atl3.steamcontent.com/depot/376031/chunk/c6002bcfe22ea8a61fd8c11c48712f3aac12b473" (Unpack failed (c:543712,u:0,r:806485,b:0))

@klightspeed
Copy link
Collaborator

klightspeed commented Sep 29, 2024

Given the CRC error above and the !!! Fatal Error: Failed to load steamconsole.so, you might want to check your RAM.

~/steamcmd/steamcmd.sh +force_install_dir /mnt/volumes/games/ARKServer/download +login anonymous +app_update 376030 +quit gave no error on this end.

@RRyanward
Copy link
Author

So like increasing the memory of that container? I can go to 32GB.

@klightspeed
Copy link
Collaborator

klightspeed commented Sep 29, 2024

The errors suggest you might have some bad memory.

Or, I wonder, are you affected by the 13th and 14th gen Intel voltage issue?

@RRyanward
Copy link
Author

RRyanward commented Sep 29, 2024

I'm running the docker container on a hyper v windows 10 machine in a vm of ubuntu 24.04, with an i7 and 32gb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants