Take +validate out of the steam cmd script On Oct 15, 2017 1:40 PM, "Svensk Ljud & Ljus Produktion" <i...@teaterljud.se> wrote:
> First - don't run as root, create a user and run as that, I think some > problems get solved by that. > > Second - your launch line would be good to see. We are using this line on > all our servers. > > "taskset -c 1 ./srcds_run -game tf -ip 0.0.0.0 -debug -port 27015 > +clientport 26015 +map cp_orange_x3 +maxplayers 32 steamcmd +login > anonymous" > > What distro are you using? > > Im not familiar with "docker", what kind of drive does it have and > read/write speed? > > But after a reboot its taking some time before its up and running, but our > servers don't take more then a minute before they are ready. > > How long time does the first errors take before the validation is starting? > > Peter > > On 2017-10-15 18:27, pilger wrote: > >> Hey guys, >> >> I've been trying to run a tf2 srcds on a docker image for a couple of days >> now. It seems to be working fairly well. >> >> The only problem I'm struggling to fix is that every time I boot the >> server, the autoupdate takes 5~10 minutes validating the whole >> installation. >> >> This is what I get: >> >> Redirecting stderr to '/home/tf2/Steam/logs/stderr.txt' >> >>> [ 0%] Checking for available updates... >>> >>> [----] Verifying installation... >>> >>> Steam Console Client (c) Valve Corporation >>> >>> -- type 'quit' to exit -- >>> >>> Loading Steam API...applicationmanager.cpp (3556) : Assertion Failed: >>> >>>> CApplicationManager::GetMountVolume: invalid index >>>> >>> applicationmanager.cpp (3556) : Assertion Failed: >>> >>>> CApplicationManager::GetMountVolume: invalid index >>>> >>> applicationmanager.cpp (3719) : Assertion Failed: >>> >>>> m_vecInstallBaseFolders.Count() > 0 >>>> >>> OK. >>> >>> login anonymous >>> >>> >>> Connecting anonymously to Steam Public...Logged in OK >>>> >>> Waiting for user info...OK >>> >>> force_install_dir ../tf2 >>> >>> applicationmanager.cpp (3719) : Assertion Failed: >>> >>>> m_vecInstallBaseFolders.Count() > 0 >>>> >>> app_update 232250 >>> >>> Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) >>> >>> Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) >>> >>> Update state (0x5) validating, progress: 1.54 (107728814 / 7008878439) >>> >>> Update state (0x5) validating, progress: 3.45 (242067714 / 7008878439) >>> >>> Update state (0x5) validating, progress: 5.36 (375518238 / 7008878439) >>> >>> Update state (0x5) validating, progress: 7.27 (509225788 / 7008878439) >>> >>> Update state (0x5) validating, progress: 9.20 (644940118 / 7008878439) >>> >>> Update state (0x5) validating, progress: 11.08 (776469583 / 7008878439) >>> >>> Update state (0x5) validating, progress: 13.00 (910939051 / 7008878439) >>> >>> Update state (0x5) validating, progress: 14.89 (1043460739 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 16.82 (1178924543 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 18.72 (1311744907 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 20.62 (1445213007 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 22.54 (1579901201 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 24.45 (1713655157 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 26.36 (1847213873 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 28.30 (1983229647 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 30.22 (2117834743 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 32.12 (2251393785 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 34.03 (2385247668 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 35.93 (2518630867 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 37.85 (2653016835 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 39.77 (2787393687 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 41.68 (2921445784 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 43.72 (3064457297 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 45.64 (3198842679 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 47.56 (3333649643 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 49.46 (3466796833 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 51.39 (3601782785 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 53.31 (3736101197 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 55.20 (3868727019 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 57.14 (4005052314 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 59.10 (4142574754 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 61.02 (4277059593 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 63.01 (4415993068 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 64.93 (4550799731 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 66.83 (4684015523 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 68.74 (4817792103 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 70.64 (4950777030 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 72.54 (5084295931 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 74.46 (5218820838 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 76.35 (5351564377 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 78.26 (5485154079 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 80.17 (5618888032 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 82.07 (5752442639 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 83.96 (5884932806 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 85.90 (6020384738 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 87.80 (6153572679 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 89.70 (6287096607 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 91.62 (6421429789 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 93.53 (6555670064 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 95.42 (6688088008 / >>> 7008878439) >>> >>> Update state (0x5) validating, progress: 97.53 (6836019316 / >>> 7008878439) >>> >>> Update state (0x81) running, progress: 0.24 (16778956 / 7008878439) >>> >>> Update state (0x81) running, progress: 2.13 (149020704 / 7008878439) >>> >>> Update state (0x81) running, progress: 4.03 (282471228 / 7008878439) >>> >>> Update state (0x81) running, progress: 5.94 (416178778 / 7008878439) >>> >>> Update state (0x81) running, progress: 7.89 (553149431 / 7008878439) >>> >>> Update state (0x81) running, progress: 9.75 (683538145 / 7008878439) >>> >>> Update state (0x81) running, progress: 11.67 (817883829 / 7008878439) >>> >>> Update state (0x81) running, progress: 13.56 (950413729 / 7008878439) >>> >>> Update state (0x81) running, progress: 15.49 (1085877533 / 7008878439) >>> >>> Update state (0x81) running, progress: 17.39 (1218928089 / 7008878439) >>> >>> Update state (0x81) running, progress: 19.29 (1352165997 / 7008878439) >>> >>> Update state (0x81) running, progress: 21.21 (1486854191 / 7008878439) >>> >>> Update state (0x81) running, progress: 23.13 (1621090571 / 7008878439) >>> >>> Update state (0x81) running, progress: 25.03 (1754166863 / 7008878439) >>> >>> Update state (0x81) running, progress: 26.98 (1891231753 / 7008878439) >>> >>> Update state (0x81) running, progress: 28.89 (2024787733 / 7008878439) >>> >>> Update state (0x81) running, progress: 30.80 (2158756359 / 7008878439) >>> >>> Update state (0x81) running, progress: 32.69 (2291167639 / 7008878439) >>> >>> Update state (0x81) running, progress: 34.61 (2425900666 / 7008878439) >>> >>> Update state (0x81) running, progress: 36.53 (2560428861 / 7008878439) >>> >>> Update state (0x81) running, progress: 38.45 (2694599201 / 7008878439) >>> >>> Update state (0x81) running, progress: 40.36 (2828643466 / 7008878439) >>> >>> Update state (0x81) running, progress: 42.42 (2973037718 / 7008878439) >>> >>> Update state (0x81) running, progress: 44.31 (3105795669 / 7008878439) >>> >>> Update state (0x81) running, progress: 46.23 (3240107033 / 7008878439) >>> >>> Update state (0x81) running, progress: 48.14 (3373749823 / 7008878439) >>> >>> Update state (0x81) running, progress: 50.05 (3507615535 / 7008878439) >>> >>> Update state (0x81) running, progress: 51.98 (3643054187 / 7008878439) >>> >>> Update state (0x81) running, progress: 53.90 (3777777161 / 7008878439) >>> >>> Update state (0x81) running, progress: 55.81 (3912005304 / 7008878439) >>> >>> Update state (0x81) running, progress: 57.78 (4049527744 / 7008878439) >>> >>> Update state (0x81) running, progress: 59.70 (4183983623 / 7008878439) >>> >>> Update state (0x81) running, progress: 61.68 (4322946058 / 7008878439) >>> >>> Update state (0x81) running, progress: 63.60 (4457752721 / 7008878439) >>> >>> Update state (0x81) running, progress: 65.50 (4590968513 / 7008878439) >>> >>> Update state (0x81) running, progress: 67.41 (4724745093 / 7008878439) >>> >>> Update state (0x81) running, progress: 69.30 (4857487424 / 7008878439) >>> >>> Update state (0x81) running, progress: 71.21 (4991248921 / 7008878439) >>> >>> Update state (0x81) running, progress: 73.13 (5125773828 / 7008878439) >>> >>> Update state (0x81) running, progress: 75.03 (5258517367 / 7008878439) >>> >>> Update state (0x81) running, progress: 76.94 (5392803436 / 7008878439) >>> >>> Update state (0x81) running, progress: 78.84 (5525841022 / 7008878439) >>> >>> Update state (0x81) running, progress: 80.75 (5659395629 / 7008878439) >>> >>> Update state (0x81) running, progress: 82.67 (5793982948 / 7008878439) >>> >>> Update state (0x81) running, progress: 84.57 (5927337728 / 7008878439) >>> >>> Update state (0x81) running, progress: 86.47 (6060525669 / 7008878439) >>> >>> Update state (0x81) running, progress: 88.37 (6193943041 / 7008878439) >>> >>> Update state (0x81) running, progress: 90.29 (6328382779 / 7008878439) >>> >>> Update state (0x81) running, progress: 92.21 (6462623054 / 7008878439) >>> >>> Update state (0x81) running, progress: 94.10 (6595040998 / 7008878439) >>> >>> Update state (0x81) running, progress: 96.21 (6742972306 / 7008878439) >>> >>> Update state (0x81) running, progress: 98.20 (6882416061 / 7008878439) >>> >>> Success! App '232250' fully installed. >>> >>> quit >>> >>> CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 >>> >>>> items discarded. >>>> >>> >>> If I run the update tool as root one single time, the validation stops >> (even for user tf2) and it all starts to work as intended. Which makes me >> think it's a permission problem. But I checked everything inside the >> installation directory (/home/tf2/hlserver) and it's all tf2:tf2 with 744 >> or 755. >> >> Does anyone have any thoughts on what I might be missing here? >> >> Thanks in advance! >> >> >> _pilger >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >> > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux