arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
684 stars 144 forks source link

[ WARN ] Your ARK server exec could not be found. #483

Closed ApfelHans closed 8 years ago

ApfelHans commented 8 years ago

I installed the Server via arkmanager install as user steam after the installation i tried to start the server. It gave me the warning in the title.

steam@ark: arkmanager start Running command 'start' for instance 'main' [ WARN ] Your ARK server exec could not be found. [ ERROR ] The ARK SavedArks directory is not writable, and saveworld will fail Updating server find: "/home/steam/ARK/ShooterGame/Content/Mods": not found find: "/home/steam/ARK/ShooterGame/Content/Mods": not found The server is already stopped ... Compressing Backup [ OK ] Created Backup: 2016-05-21_02.11.31.tar.bz2 Performing ARK update ... / Performing ARK update ... The server is starting... The server is now running, and should be up within 10 minutes

steam@ark: arkmanager status Running command 'start' for instance 'main' [ WARN ] Your ARK server exec could not be found. [ ERROR ] The ARK SavedArks directory is not writable, and saveworld will fail Server running: No Server listening: No Server version:

klightspeed commented 8 years ago

What is in /home/steam/ARK?

ApfelHans commented 8 years ago

This may be the problem: it's empty. User steam has all rights in that folder.

Edit: output of arkmanager install --verbose

steam@ark:~$ arkmanager install --verbose Running command 'install' for instance 'main' [ WARN ] Your ARK server exec could not be found. [ ERROR ] The ARK SavedArks directory is not writable, and saveworld will fail Installing ARK server Redirecting stderr to '/home/steam/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation -- type 'quit' to exit -- Loading Steam API...Created shared memory when not owner SteamController_Shared_mem OK. "@NoPromptForPassword" = "1"

Connecting anonymously to Steam Public...Logged in OK Waiting for license info...OK Update state (0x3) reconfiguring, progress: 0,00 (0 / 0) Update state (0x5) validating, progress: 1,29 (50233418 / 3881554717) ... Update state (0x5) validating, progress: 97,69 (3791957736 / 3881554717) Success! App '376030' fully installed.

klightspeed commented 8 years ago

That's weird.

Are you using the steamlogin setting, and if you are, does it contain a space and/or a + character?

Assuming the default settings, arkmanager install runs the following command:

/home/steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login anonymous +force_install_dir /home/steam/ARK +app_update 376030 validate +quit

SteamCMD seems to have reported that the app is already up-to-date, yet /home/steam/ARK is empty.

What is the output of the following command:

grep 'Loaded [1-9][0-9]* apps from install folder' /home/steam/Steam/logs/content_log.txt

If SteamCMD is honouring the +force_install_dir command, it should contain one or more occurrences of the following line:

[2016-05-21 xx:xx:xx] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest_*.acf"

If it isn't honouring the +force_install_dir command, then it'd probably be something like:

[2016-05-21 xx:xx:xx] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest_*.acf"
ApfelHans commented 8 years ago

I am using the default settings. The output is: steam@ark:~$ grep 'Loaded [1-9][0-9]* apps from install folder' /home/steam/Steam/logs/contentlog.txt [2016-05-20 17:15:22] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-20 17:26:46] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-20 17:38:40] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-20 17:49:58] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 00:18:13] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 00:55:35] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 00:55:51] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 00:55:52] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest.acf". [2016-05-21 01:04:50] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 01:05:05] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 01:05:06] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest.acf". [2016-05-21 01:36:12] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 01:36:27] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 01:36:28] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest.acf". [2016-05-21 01:51:06] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 01:51:07] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest.acf". [2016-05-21 01:55:38] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 01:55:39] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest.acf". [2016-05-21 01:59:41] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 01:59:56] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 01:59:58] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest.acf". [2016-05-21 02:03:29] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 02:03:44] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 02:03:45] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest.acf". [2016-05-21 02:11:26] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 02:11:42] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 02:11:43] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest.acf". [2016-05-21 11:04:55] Loaded 1 apps from install folder "/home/steam/Steam/steamapps\appmanifest.acf". [2016-05-21 11:04:56] Loaded 1 apps from install folder "/home/steam/ARK/steamapps\appmanifest*.acf".

klightspeed commented 8 years ago

Hmmm...

Does /home/steam/Steam/steamapps/appmanifest_376030.acf exist?

I wonder if steamcmd ignores +force_install_dir if the requested app already exists in ~/Steam/steamapps. Tested here, and steamcmd still honours +force_install_dir if the requested app exists in ~/Steam/steamapps

ApfelHans commented 8 years ago

Yes it exists. I tried to install ARK manually without ark server tools, but deleted the folder ~/Steam/steamapps/common/Ark Survival Evolved to try an installation with the tools.

ApfelHans commented 8 years ago

Problems origin was a previous installation of ARK which was not removed propperly. Solution: Delete user steam and the home folder and recreate the user. Then do a clean install following the steps in the Readme of this repository.

klightspeed commented 8 years ago

Sounds like Steam was in a confused state.