zeropingheroes / lancache-autofill

Automatically fill a Lancache with content
GNU General Public License v3.0
132 stars 24 forks source link

Start up process timeouts #38

Closed alucarddelta closed 3 years ago

alucarddelta commented 4 years ago

On launch, it appears to timeout.

No output in /root/Steam/logs/srdeer.txt OS: Ubuntu 18.04

[ 98%] Downloading update (50,686 of 50,851 KB)... [ 99%] Downloading update (50,851 of 50,851 KB)... [100%] Download Complete. [----] Applying update... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update...[----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Cleaning up... [----] Update complete, launching... Redirecting stderr to '/root/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... [ 0%] Downloading update... [ 0%] Checking for available updates... [----] Download complete. [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update...[----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Cleaning up... [----] Update complete, launching Steamcmd... Redirecting stderr to '/root/Steam/logs/stderr.txt' [ 0%] Checking for available updates...

In Process.php line 1335:

The process "unbuffer ~/steam/steamcmd.sh +login anonymous +quit" exceeded
the timeout of 60 seconds.

The command '/bin/sh -c /home/steam/lancache-autofill/install.sh' returned a non-zero code: 1

/root/Steam/logs/bootstrap_log.txt

[2020-05-07 10:20:12] Startup - updater built Apr 23 2020 00:46:22 [2020-05-07 10:20:12] Checking for update on startup [2020-05-07 10:20:12] Checking for available updates... [2020-05-07 10:20:12] Downloading manifest: client-download.steampowered.com/client/steam_cmd_linux [2020-05-07 10:20:23] Download skipped: /client/steam_cmd_linux version 1588134986, installed version 1588134986 [2020-05-07 10:20:23] Nothing to do [2020-05-07 10:20:23] Verifying installation... [2020-05-07 10:20:23] Performing checksum verification of executable files [2020-05-07 10:20:23] Unable to read and verify install manifest /root/steam/package/steam_cmd_linux.installed [2020-05-07 10:20:23] Verification complete [2020-05-07 10:20:23] Downloading update... [2020-05-07 10:20:23] Checking for available updates... [2020-05-07 10:20:23] Downloading manifest: client-download.steampowered.com/client/steam_cmd_linux [2020-05-07 10:20:34] Download complete. [2020-05-07 10:20:34] uninstalled manifest found in /root/steam/package/steam_cmd_linux (1). [2020-05-07 10:20:34] Extracting package... [2020-05-07 10:20:37] Installing update... [2020-05-07 10:20:37] Cleaning up... [2020-05-07 10:20:37] Update complete, launching Steamcmd... [2020-05-07 10:20:37] Shutdown

alucarddelta commented 4 years ago

I am able to run the steamcmd on it own with out any issues.

Just when I run it as part of the auto-fill it seems to fail.

Below is the output of when I run steamcmd on it own.

----] Installing update... [----] Cleaning up... [----] Update complete, launching... WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. Redirecting stderr to '/home/steam/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... [ 0%] Downloading update... [ 0%] Checking for available updates... [----] Download complete. [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Cleaning up... [----] Update complete, launching Steamcmd... WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. 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...Warning: failed to init SDL thread priority manager: SDL not found OK.

Steam>login anonymous

Connecting anonymously to Steam Public...Generated client id: 16890769674053234098 Listening for IPv4 broadcast on: 27036 Logged in OK Waiting for user info...OK

alucarddelta commented 4 years ago

I have tried increasing the timeout value in Process.php from 60 to 120, however it still says "60" as the timeout value

ilumos commented 4 years ago

That is strange.

Try running ./lancache-autofill steam:initialise

Here is the expected output of ./install.sh:

vagrant@lancache-autofill:/vagrant$ ./install.sh
Installing dependencies with Composer
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Creating database file
Creating your environment file
Removing existing database tables
Creating empty database tables
Clearing apps from database
Downloading app list from Steam Web API
Inserting records into database
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%
Done
Initialising SteamCMD
steamcmd.shlinux32/steamcmd
linux32/steamerrorreporter
linux32/libstdc++.so.6
linux32/crashhandler.so
Redirecting stderr to '/home/vagrant/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
[----] Downloading update (0 of 50851 KB)...
[  0%] Downloading update (1029 of 50851 KB)...
[  2%] Downloading update (2262 of 50851 KB)...
[  4%] Downloading update (3519 of 50851 KB)...
[  6%] Downloading update (5018 of 50851 KB)...
[  9%] Downloading update (6356 of 50851 KB)...
[ 12%] Downloading update (7640 of 50851 KB)...
[ 15%] Downloading update (9045 of 50851 KB)...
[ 17%] Downloading update (10353 of 50851 KB)...
[ 20%] Downloading update (11658 of 50851 KB)...
[ 22%] Downloading update (12983 of 50851 KB)...
[ 25%] Downloading update (14304 of 50851 KB)...
[ 28%] Downloading update (15733 of 50851 KB)...
[ 30%] Downloading update (17042 of 50851 KB)...
[ 33%] Downloading update (18349 of 50851 KB)...
[ 36%] Downloading update (19650 of 50851 KB)...
[ 38%] Downloading update (20956 of 50851 KB)...
[ 41%] Downloading update (22288 of 50851 KB)...
[ 43%] Downloading update (23674 of 50851 KB)...
[ 46%] Downloading update (25064 of 50851 KB)...
[ 49%] Downloading update (26404 of 50851 KB)...
[ 51%] Downloading update (27557 of 50851 KB)...
[ 54%] Downloading update (29085 of 50851 KB)...
[ 57%] Downloading update (30557 of 50851 KB)...
[ 60%] Downloading update (31858 of 50851 KB)...
[ 62%] Downloading update (33159 of 50851 KB)...
[ 65%] Downloading update (34486 of 50851 KB)...
[ 67%] Downloading update (35777 of 50851 KB)...
[ 70%] Downloading update (37087 of 50851 KB)...
[ 72%] Downloading update (38408 of 50851 KB)...
[ 75%] Downloading update (39729 of 50851 KB)...
[ 78%] Downloading update (41047 of 50851 KB)...
[ 80%] Downloading update (42376 of 50851 KB)...
[ 83%] Downloading update (43689 of 50851 KB)...
[ 85%] Downloading update (45024 of 50851 KB)...
[ 88%] Downloading update (46353 of 50851 KB)...
[ 91%] Downloading update (47673 of 50851 KB)...
[ 93%] Downloading update (48988 of 50851 KB)...
[ 96%] Downloading update (50306 of 50851 KB)...
[ 98%] Downloading update (50851 of 50851 KB)...
[100%] Download Complete.
[----] Applying update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching...
Redirecting stderr to '/home/vagrant/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve CorporationSteam Console Client (c) Valve CorporationSteam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Steam Console Client (c) Valve Corporation

                                                                                      OK.

Connecting anonymously to Steam Public...
Generated client id: [removed]
Listening for IPv4 broadcast on: 27036
Logged in OKWaiting for user info...
OK
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded.
Successfully initialised SteamCMD
ilumos commented 3 years ago

@alucarddelta are you still experiencing this issue?

alucarddelta commented 3 years ago

My project got put on the back burner. I will close, and reopen this if this occurs again.