1zc / CS2-Pterodactyl

Docker image and Pterodactyl eggs to support CS2 and CS:GO (after archival), based on SteamRT3.
GNU General Public License v3.0
82 stars 25 forks source link

Can't start server. "Force Outgoing IP" is enabled. #37

Closed GoedendagMC closed 9 months ago

GoedendagMC commented 9 months ago
container@pterodactyl~ Server marked as offline...
[----] Downloading update (0 of 59655 KB)...
[  0%] Downloading update (0 of 59655 KB)...
[  0%] Downloading update (0 of 59655 KB)...
[  0%] Downloading update (2907 of 59655 KB)...
[  4%] Downloading update (6651 of 59655 KB)...
[ 11%] Downloading update (9330 of 59655 KB)...
[ 15%] Downloading update (11957 of 59655 KB)...
[ 20%] Downloading update (14191 of 59655 KB)...
[ 23%] Downloading update (16234 of 59655 KB)...
[ 27%] Downloading update (18562 of 59655 KB)...
[ 31%] Downloading update (20809 of 59655 KB)...
[ 34%] Downloading update (23559 of 59655 KB)...
[ 39%] Downloading update (26092 of 59655 KB)...
[ 43%] Downloading update (28615 of 59655 KB)...
[ 47%] Downloading update (30377 of 59655 KB)...
[ 50%] Downloading update (32586 of 59655 KB)...
[ 54%] Downloading update (35109 of 59655 KB)...
[ 58%] Downloading update (37635 of 59655 KB)...
[ 63%] Downloading update (40119 of 59655 KB)...
[ 67%] Downloading update (41257 of 59655 KB)...
[ 69%] Downloading update (42370 of 59655 KB)...
[ 71%] Downloading update (43452 of 59655 KB)...
[ 72%] Downloading update (44520 of 59655 KB)...
[ 74%] Downloading update (45636 of 59655 KB)...
[ 76%] Downloading update (46632 of 59655 KB)...
[ 78%] Downloading update (47822 of 59655 KB)...
[ 80%] Downloading update (48846 of 59655 KB)...
[ 81%] Downloading update (49797 of 59655 KB)...
[ 83%] Downloading update (51019 of 59655 KB)...
[ 85%] Downloading update (52119 of 59655 KB)...
[ 87%] Downloading update (53383 of 59655 KB)...
[ 89%] Downloading update (54728 of 59655 KB)...
[ 91%] Downloading update (56007 of 59655 KB)...
[ 93%] Downloading update (57088 of 59655 KB)...
[ 95%] Downloading update (58095 of 59655 KB)...
[ 97%] Downloading update (59053 of 59655 KB)...
[ 98%] Downloading update (59655 of 59655 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...
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt'
Logging directory: '/mnt/server/Steam/logs'
/tmp/dumps insufficient permissions - delete and recreate
[  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 '/mnt/server/Steam/logs/stderr.txt'
Logging directory: '/mnt/server/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1702079268
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '730' state is 0x202 after update job.
'linux32/steamclient.so' -> '../.steam/sdk32/steamclient.so'
'linux64/steamclient.so' -> '../.steam/sdk64/steamclient.so'
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from 1zc/steamrt3-pterodactyl 
Digest: sha256:ef18f6be5723ff7135d25a189ca835e2a306968becad9da3588604e8793fe988 
Status: Image is up to date for ghcr.io/1zc/steamrt3-pterodactyl:latest 
[Pterodactyl Daemon]: Finished pulling Docker container image
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
Logging directory: '/home/container/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1702079268
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Please use force_install_dir before logon!
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '730' state is 0x202 after update job.
:/home/container$ ./game/cs2.sh -dedicated +ip 0.0.0.0 -port 25568 +map de_dust2 -maxplayers 64 +sv_setsteamaccount
/entrypoint.sh: line 91: ./game/cs2.sh: No such file or directory
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 127
[Pterodactyl Daemon]: Out of memory: false
:/home/container$ ./game/cs2.sh -dedicated +ip 0.0.0.0 -port 25568 +map de_dust2 -maxplayers 64 +sv_setsteamaccount
/entrypoint.sh: line 91: ./game/cs2.sh: No such file or directory
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from 1zc/steamrt3-pterodactyl 
Digest: sha256:ef18f6be5723ff7135d25a189ca835e2a306968becad9da3588604e8793fe988 
Status: Image is up to date for ghcr.io/1zc/steamrt3-pterodactyl:latest 
[Pterodactyl Daemon]: Finished pulling Docker container image
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
Logging directory: '/home/container/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1702079268
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Please use force_install_dir before logon!
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '730' state is 0x202 after update job.
:/home/container$ ./game/cs2.sh -dedicated +ip 0.0.0.0 -port 25568 +map de_dust2 -maxplayers 64 +sv_setsteamaccount
/entrypoint.sh: line 91: ./game/cs2.sh: No such file or directory
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 127
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
:/home/container$ ./game/cs2.sh -dedicated +ip 0.0.0.0 -port 25568 +map de_dust2 -maxplayers 64 +sv_setsteamaccount
/entrypoint.sh: line 91: ./game/cs2.sh: No such file or directory
1zc commented 9 months ago

Hi, make sure you have enough space to install the game - you're receiving error 0x202 when trying to install the game, which is most commonly due to that.

Otherwise, make sure there aren't other file system issues that could cause this (eg: permissions). Reach out to your hosting provider if possible

GoedendagMC commented 9 months ago

Thanks for your input. I self host a pterodactyl panel, but seeing as df -h shows more than 20 GB left, I am quite confused. I shall check the panel file permissions.

GoedendagMC commented 9 months ago

I can't seem to find the location of cs2.sh so I can't check the permissions, where would this be? I assumed in /var/lib/pterodactyl/volumes/.

1zc commented 9 months ago

That file won't exist because it seems your install failed entirely - but yeah, usually its in /var/lib/pterodactyl/volumes/CONTAINER_ID/game/cs2.sh

By permissions, I meant maybe check permissions to the /var/lib/pterodactyl/volumes folder for example, to make sure pterodactyl can write to it. If its not a permissions issue, the problem probably lies elsewhere, and I may not be able to assist as much unfortunately 😅

GoedendagMC commented 9 months ago

That I already checked, and the pterodactyl permissions seem perfectly correct. Thank you for the information that the install failed entirely, this is a great start already.

GoedendagMC commented 9 months ago

Could you tell me how much space is needed? I have 24G free currently.

1zc commented 9 months ago

I would recommend at least 40-45 GB of space

On Wed, 10 Jan 2024 at 12:03 am, GoedendagMC @.***> wrote:

Could you tell me how much space is needed?

— Reply to this email directly, view it on GitHub https://github.com/1zc/CS2-Pterodactyl/issues/37#issuecomment-1883028382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJKPXCFKWNWMIBJQJYLRUDDYNU5Z3AVCNFSM6AAAAABBSDYITKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTGAZDQMZYGI . You are receiving this because you commented.Message ID: @.***>

GoedendagMC commented 9 months ago

Then the problem is indeed lack of space. Thank you.