Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

[Egg Request]: STN Survive The Nights #1665

Open
MADDMAXKZ opened this issue May 21, 2022 · 41 comments · May be fixed by #2613
Open

[Egg Request]: STN Survive The Nights #1665

MADDMAXKZ opened this issue May 21, 2022 · 41 comments · May be fixed by #2613
Labels
egg request request for egg

Comments

@MADDMAXKZ
Copy link

MADDMAXKZ commented May 21, 2022

Does this expand an already existing service

No

Link to a game or software

STN (Survive The Nights)

Links for the download

https://store.steampowered.com/app/541300/Survive_the_Nights/

Links for the install docs

Requesting a Game egg For Pterodactyl for LINUX Server

@MADDMAXKZ MADDMAXKZ added the egg request request for egg label May 21, 2022
@MADDMAXKZ
Copy link
Author

i request this cause mostly only 2 Zombie games Project zomboid and 7D2d due to Dev's issues with updating 7D2D always breaks somthing and getting tiring of its group i wanted to suggest a option or egg Suggestion for STN Survive The Nights

@DatMayo
Copy link
Contributor

DatMayo commented Jun 19, 2022

@MADDMAXKZ
Copy link
Author

Install Docs: https://survivethenights.fandom.com/wiki/Hosting

that dose not help at all

@DatMayo
Copy link
Contributor

DatMayo commented Jun 22, 2022

Install Docs: https://survivethenights.fandom.com/wiki/Hosting

that dose not help at all

It does help the person, who's creating the egg for you. So he dont need to search for an installation guide!

@MADDMAXKZ
Copy link
Author

Install Docs: https://survivethenights.fandom.com/wiki/Hosting

that dose not help at all

It does help the person, who's creating the egg for you. So he dont need to search for an installation guide!

if anyone can make the EGG

@killertobyd
Copy link

Unbenannt

still has a few small errors

@MADDMAXKZ
Copy link
Author

Unbenannt

still has a few small errors

if it comes out working that would be awesome, this is one of the games i been wanting to host for a long time and hoping this works when egg is made

@killertobyd
Copy link

@MADDMAXKZ on mygameplatform.com the egg is published where you can use the game.

@MADDMAXKZ
Copy link
Author

mygameplatform.com

where i do not see it, on mygameplatform.com
image

@nightmarepup
Copy link

@killertobyd are you going to publish the json file so others can use it on there own server

@killertobyd
Copy link

@MADDMAXKZ The Egg is yet to be published. I just discovered a few bugs and it's hard to release something like this before they're fixed. But the server as you can see is in the server list

Unbenannt
.

@killertobyd
Copy link

@nightmarepup yes but only when I have fixed it otherwise it makes no sense

@nightmarepup
Copy link

@nightmarepup yes but only when I have fixed it otherwise it makes no sense

yeah thats fair just got confused because u said it was already published

@killertobyd
Copy link

@nightmarepup It was published but I found some mistakes and I am fixing them. :)

@scootz
Copy link

scootz commented Jan 29, 2023

I'm interested in this egg as well. @killertobyd How's the progress going?

@QuintenQVD0
Copy link
Collaborator

I'm interested in this egg as well. @killertobyd How's the progress going?

I am having a look if I can trow a simple egg together to test and then imporve it

@QuintenQVD0
Copy link
Collaborator

@scootz @MADDMAXKZ @killertobyd

please test:

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
    "meta": {
        "version": "PTDL_v2",
        "update_url": null
    },
    "exported_at": "2023-01-29T11:17:51+01:00",
    "name": "Survive The Nights",
    "author": "[email protected]",
    "description": "Survive the Nights is a unique FPS survival game focusing on teamwork, fortification, creativity & strategy. Secure a structure or roam free, the choice is yours. Gameplay focuses on realistic survival, post zombie infestation. Prepare during the day for nightfall. How many nights will you survive?",
    "features": [
        "steam_disk_space"
    ],
    "docker_images": {
        "SteamCMD_Debian": "ghcr.io\/parkervcp\/steamcmd:debian"
    },
    "file_denylist": [],
    "startup": ".\/Server_Linux_x64 -console -batchmode -nographics -no-stereo-rendering",
    "config": {
        "files": "{\r\n    \".\/Config\/ServerConfig.txt\": {\r\n        \"parser\": \"file\",\r\n        \"find\": {\r\n            \"serverPort=\": \"serverPort={{server.build.default.port}}\",\r\n            \"serverIP=\": \"serverIP=0.0.0.0\",\r\n            \"serverName=\": \"serverName={{server.build.env.SERVER_NAME}}\",\r\n            \"serverPassword=\": \"serverPassword={{server.build.env.SERVER_PASSWORD}}\",\r\n            \"showInPublicLobby=\": \"showInPublicLobby={{server.build.env.SERVER_PUBLIC}}\",\r\n            \"serverOwner=\": \"serverOwner={{server.build.env.SERVER_OWNER}}\",\r\n            \"WorldName=\": \"WorldName={{server.build.env.WORLDNAME}}\",\r\n            \"queryPort=\": \"queryPort={{server.build.env.QUERY_PORT}}\"\r\n        }\r\n    }\r\n}",
        "startup": "{\r\n    \"done\": \"*** Server Connected To STEAM *** \"\r\n}",
        "logs": "{}",
        "stop": "^^C"
    },
    "scripts": {
        "installation": {
            "script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH}  +app_update ${SRCDS_APPID} $validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
            "container": "ghcr.io\/parkervcp\/installers:debian",
            "entrypoint": "bash"
        }
    },
    "variables": [
        {
            "name": "Auto update",
            "description": "Auto update the server on startup",
            "env_variable": "AUTO_UPDATE",
            "default_value": "1",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|boolean",
            "field_type": "text"
        },
        {
            "name": "App id",
            "description": "",
            "env_variable": "SRCDS_APPID",
            "default_value": "1502300",
            "user_viewable": false,
            "user_editable": false,
            "rules": "required|string|in:1502300",
            "field_type": "text"
        },
        {
            "name": "Server name",
            "description": "The name of the server",
            "env_variable": "SERVER_NAME",
            "default_value": "New Private Server",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:48",
            "field_type": "text"
        },
        {
            "name": "Server password",
            "description": "",
            "env_variable": "SERVER_PASSWORD",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Public server",
            "description": "Show the server in the public lobby",
            "env_variable": "SERVER_PUBLIC",
            "default_value": "True",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|in:True,false",
            "field_type": "text"
        },
        {
            "name": "Server owner",
            "description": "",
            "env_variable": "SERVER_OWNER",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:48",
            "field_type": "text"
        },
        {
            "name": "World name",
            "description": "The name of the server world.\r\n\r\nDo not change this after the server started!",
            "env_variable": "WORLDNAME",
            "default_value": "DedicatedServer",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Query port",
            "description": "game port +1",
            "env_variable": "QUERY_PORT",
            "default_value": "25566",
            "user_viewable": true,
            "user_editable": false,
            "rules": "required|numeric",
            "field_type": "text"
        }
    ]
}

@scootz
Copy link

scootz commented Jan 30, 2023

I did give this a try and it does not work. It repeatedly spews out errors. Gave the egg 10G ram and 100G disk space, more than enough to run the game I think. Managed to capture the output so you can see what happens. Its quite big in size. I tried to break/stop the app before it got so big but this is the smallest I could get it. I'm attaching a link here for you to check on my dropbox. Wasn't sure how else I could share this. Hope it helps.

@scootz
Copy link

scootz commented Jan 30, 2023

Something I did notice is there is only one file in ServerConfig directory. Also there is no .stn-server.db file which suggests it needs sqlite. Would adding sqlite to the image some how get this to work right?

@QuintenQVD0
Copy link
Collaborator

Something I did notice is there is only one file in ServerConfig directory. Also there is no .stn-server.db file which suggests it needs sqlite. Would adding sqlite to the image some how get this to work right?

In your crash log it is complaining about missing .json files. For me they are there on fresh install. So can you send me some install logs? Or at least try to reinstall. If you get a error on startup that stas faild tread support that is normal.

@scootz
Copy link

scootz commented Jan 30, 2023

Here is the install log

container@pterodactyl~ Server marked as offline...
steamcmd.sh
linux32/steamcmd
linux32/steamerrorreporter
linux32/libstdc++.so.6
linux32/crashhandler.so
Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
[----] Downloading update (0 of 57385 KB)...
[  0%] Downloading update (0 of 57385 KB)...
[  0%] Downloading update (0 of 57385 KB)...
[  0%] Downloading update (215 of 57385 KB)...
[  0%] Downloading update (1216 of 57385 KB)...
[  2%] Downloading update (2134 of 57385 KB)...
[  3%] Downloading update (3078 of 57385 KB)...
[  5%] Downloading update (4026 of 57385 KB)...
[  7%] Downloading update (5069 of 57385 KB)...
[  8%] Downloading update (6015 of 57385 KB)...
[ 10%] Downloading update (6808 of 57385 KB)...
[ 11%] Downloading update (7567 of 57385 KB)...
[ 13%] Downloading update (8186 of 57385 KB)...
[ 14%] Downloading update (8833 of 57385 KB)...
[ 15%] Downloading update (9452 of 57385 KB)...
[ 16%] Downloading update (10139 of 57385 KB)...
[ 17%] Downloading update (10786 of 57385 KB)...
[ 18%] Downloading update (11405 of 57385 KB)...
[ 19%] Downloading update (12124 of 57385 KB)...
[ 21%] Downloading update (12739 of 57385 KB)...
[ 22%] Downloading update (13389 of 57385 KB)...
[ 23%] Downloading update (14076 of 57385 KB)...
[ 24%] Downloading update (14695 of 57385 KB)...
[ 25%] Downloading update (15342 of 57385 KB)...
[ 26%] Downloading update (15961 of 57385 KB)...
[ 27%] Downloading update (16677 of 57385 KB)...
[ 29%] Downloading update (17295 of 57385 KB)...
[ 30%] Downloading update (17942 of 57385 KB)...
[ 31%] Downloading update (18630 of 57385 KB)...
[ 32%] Downloading update (19251 of 57385 KB)...
[ 33%] Downloading update (19895 of 57385 KB)...
[ 34%] Downloading update (20586 of 57385 KB)...
[ 35%] Downloading update (21233 of 57385 KB)...
[ 37%] Downloading update (21852 of 57385 KB)...
[ 38%] Downloading update (22498 of 57385 KB)...
[ 39%] Downloading update (23186 of 57385 KB)...
[ 40%] Downloading update (23808 of 57385 KB)...
[ 41%] Downloading update (24452 of 57385 KB)...
[ 42%] Downloading update (25142 of 57385 KB)...
[ 43%] Downloading update (25786 of 57385 KB)...
[ 44%] Downloading update (26407 of 57385 KB)...
[ 46%] Downloading update (27098 of 57385 KB)...
[ 47%] Downloading update (27740 of 57385 KB)...
[ 48%] Downloading update (28363 of 57385 KB)...
[ 49%] Downloading update (29073 of 57385 KB)...
[ 50%] Downloading update (29697 of 57385 KB)...
[ 51%] Downloading update (30097 of 57385 KB)...
[ 52%] Downloading update (30506 of 57385 KB)...
[ 53%] Downloading update (31201 of 57385 KB)...
[ 54%] Downloading update (31837 of 57385 KB)...
[ 55%] Downloading update (32467 of 57385 KB)...
[ 56%] Downloading update (33167 of 57385 KB)...
[ 57%] Downloading update (33791 of 57385 KB)...
[ 58%] Downloading update (34429 of 57385 KB)...
[ 59%] Downloading update (35122 of 57385 KB)...
[ 61%] Downloading update (35752 of 57385 KB)...
[ 62%] Downloading update (36388 of 57385 KB)...
[ 63%] Downloading update (37081 of 57385 KB)...
[ 64%] Downloading update (37720 of 57385 KB)...
[ 65%] Downloading update (38347 of 57385 KB)...
[ 66%] Downloading update (39043 of 57385 KB)...
[ 68%] Downloading update (39679 of 57385 KB)...
[ 69%] Downloading update (40010 of 57385 KB)...
[ 69%] Downloading update (40171 of 57385 KB)...
[ 70%] Downloading update (40488 of 57385 KB)...
[ 70%] Downloading update (40804 of 57385 KB)...
[ 71%] Downloading update (41152 of 57385 KB)...
[ 71%] Downloading update (41468 of 57385 KB)...
[ 72%] Downloading update (41784 of 57385 KB)...
[ 72%] Downloading update (42133 of 57385 KB)...
[ 73%] Downloading update (42450 of 57385 KB)...
[ 73%] Downloading update (42766 of 57385 KB)...
[ 74%] Downloading update (43113 of 57385 KB)...
[ 75%] Downloading update (43430 of 57385 KB)...
[ 75%] Downloading update (43746 of 57385 KB)...
[ 76%] Downloading update (44094 of 57385 KB)...
[ 76%] Downloading update (44411 of 57385 KB)...
[ 77%] Downloading update (44727 of 57385 KB)...
[ 77%] Downloading update (45075 of 57385 KB)...
[ 78%] Downloading update (45391 of 57385 KB)...
[ 79%] Downloading update (45707 of 57385 KB)...
[ 79%] Downloading update (46056 of 57385 KB)...
[ 80%] Downloading update (46372 of 57385 KB)...
[ 80%] Downloading update (46689 of 57385 KB)...
[ 81%] Downloading update (47036 of 57385 KB)...
[ 81%] Downloading update (47351 of 57385 KB)...
[ 82%] Downloading update (47668 of 57385 KB)...
[ 83%] Downloading update (48017 of 57385 KB)...
[ 83%] Downloading update (48333 of 57385 KB)...
[ 84%] Downloading update (48649 of 57385 KB)...
[ 84%] Downloading update (48997 of 57385 KB)...
[ 85%] Downloading update (49313 of 57385 KB)...
[ 85%] Downloading update (49630 of 57385 KB)...
[ 86%] Downloading update (49978 of 57385 KB)...
[ 87%] Downloading update (50295 of 57385 KB)...
[ 87%] Downloading update (50611 of 57385 KB)...
[ 88%] Downloading update (50958 of 57385 KB)...
[ 88%] Downloading update (51275 of 57385 KB)...
[ 89%] Downloading update (51591 of 57385 KB)...
[ 89%] Downloading update (51940 of 57385 KB)...
[ 90%] Downloading update (52256 of 57385 KB)...
[ 91%] Downloading update (52573 of 57385 KB)...
[ 91%] Downloading update (52920 of 57385 KB)...
[ 92%] Downloading update (53235 of 57385 KB)...
[ 92%] Downloading update (53310 of 57385 KB)...
[ 92%] Downloading update (53439 of 57385 KB)...
[ 93%] Downloading update (53756 of 57385 KB)...
[ 93%] Downloading update (54072 of 57385 KB)...
[ 94%] Downloading update (54418 of 57385 KB)...
[ 94%] Downloading update (54737 of 57385 KB)...
[ 95%] Downloading update (55051 of 57385 KB)...
[ 95%] Downloading update (55401 of 57385 KB)...
[ 96%] Downloading update (55717 of 57385 KB)...
[ 97%] Downloading update (56034 of 57385 KB)...
[ 97%] Downloading update (56382 of 57385 KB)...
[ 98%] Downloading update (56696 of 57385 KB)...
[ 98%] Downloading update (57015 of 57385 KB)...
[ 99%] Downloading update (57363 of 57385 KB)...
[ 99%] Downloading update (57385 of 57385 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'
/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'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1669935972
-- type 'quit' to exit --
Loading Steam API...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)
 Update state (0x61) downloading, progress: 0.00 (0 / 1194746487)
 Update state (0x61) downloading, progress: 13.43 (160467909 / 1194746487)
 Update state (0x61) downloading, progress: 46.42 (554631641 / 1194746487)
 Update state (0x61) downloading, progress: 82.59 (986704864 / 1194746487)
 Update state (0x81) verifying update, progress: 11.61 (138758638 / 1194746487)
 Update state (0x81) verifying update, progress: 92.57 (1105997200 / 1194746487)
Success! App '1502300' fully installed.
'linux32/steamclient.so' -> '../.steam/sdk32/steamclient.so'
'linux64/steamclient.so' -> '../.steam/sdk64/steamclient.so'
-----------------------------------------
Installation completed...
-----------------------------------------

@QuintenQVD0
Copy link
Collaborator

Here is the install log

container@pterodactyl~ Server marked as offline...
steamcmd.sh
linux32/steamcmd
linux32/steamerrorreporter
linux32/libstdc++.so.6
linux32/crashhandler.so
Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
[----] Downloading update (0 of 57385 KB)...
[  0%] Downloading update (0 of 57385 KB)...
[  0%] Downloading update (0 of 57385 KB)...
[  0%] Downloading update (215 of 57385 KB)...
[  0%] Downloading update (1216 of 57385 KB)...
[  2%] Downloading update (2134 of 57385 KB)...
[  3%] Downloading update (3078 of 57385 KB)...
[  5%] Downloading update (4026 of 57385 KB)...
[  7%] Downloading update (5069 of 57385 KB)...
[  8%] Downloading update (6015 of 57385 KB)...
[ 10%] Downloading update (6808 of 57385 KB)...
[ 11%] Downloading update (7567 of 57385 KB)...
[ 13%] Downloading update (8186 of 57385 KB)...
[ 14%] Downloading update (8833 of 57385 KB)...
[ 15%] Downloading update (9452 of 57385 KB)...
[ 16%] Downloading update (10139 of 57385 KB)...
[ 17%] Downloading update (10786 of 57385 KB)...
[ 18%] Downloading update (11405 of 57385 KB)...
[ 19%] Downloading update (12124 of 57385 KB)...
[ 21%] Downloading update (12739 of 57385 KB)...
[ 22%] Downloading update (13389 of 57385 KB)...
[ 23%] Downloading update (14076 of 57385 KB)...
[ 24%] Downloading update (14695 of 57385 KB)...
[ 25%] Downloading update (15342 of 57385 KB)...
[ 26%] Downloading update (15961 of 57385 KB)...
[ 27%] Downloading update (16677 of 57385 KB)...
[ 29%] Downloading update (17295 of 57385 KB)...
[ 30%] Downloading update (17942 of 57385 KB)...
[ 31%] Downloading update (18630 of 57385 KB)...
[ 32%] Downloading update (19251 of 57385 KB)...
[ 33%] Downloading update (19895 of 57385 KB)...
[ 34%] Downloading update (20586 of 57385 KB)...
[ 35%] Downloading update (21233 of 57385 KB)...
[ 37%] Downloading update (21852 of 57385 KB)...
[ 38%] Downloading update (22498 of 57385 KB)...
[ 39%] Downloading update (23186 of 57385 KB)...
[ 40%] Downloading update (23808 of 57385 KB)...
[ 41%] Downloading update (24452 of 57385 KB)...
[ 42%] Downloading update (25142 of 57385 KB)...
[ 43%] Downloading update (25786 of 57385 KB)...
[ 44%] Downloading update (26407 of 57385 KB)...
[ 46%] Downloading update (27098 of 57385 KB)...
[ 47%] Downloading update (27740 of 57385 KB)...
[ 48%] Downloading update (28363 of 57385 KB)...
[ 49%] Downloading update (29073 of 57385 KB)...
[ 50%] Downloading update (29697 of 57385 KB)...
[ 51%] Downloading update (30097 of 57385 KB)...
[ 52%] Downloading update (30506 of 57385 KB)...
[ 53%] Downloading update (31201 of 57385 KB)...
[ 54%] Downloading update (31837 of 57385 KB)...
[ 55%] Downloading update (32467 of 57385 KB)...
[ 56%] Downloading update (33167 of 57385 KB)...
[ 57%] Downloading update (33791 of 57385 KB)...
[ 58%] Downloading update (34429 of 57385 KB)...
[ 59%] Downloading update (35122 of 57385 KB)...
[ 61%] Downloading update (35752 of 57385 KB)...
[ 62%] Downloading update (36388 of 57385 KB)...
[ 63%] Downloading update (37081 of 57385 KB)...
[ 64%] Downloading update (37720 of 57385 KB)...
[ 65%] Downloading update (38347 of 57385 KB)...
[ 66%] Downloading update (39043 of 57385 KB)...
[ 68%] Downloading update (39679 of 57385 KB)...
[ 69%] Downloading update (40010 of 57385 KB)...
[ 69%] Downloading update (40171 of 57385 KB)...
[ 70%] Downloading update (40488 of 57385 KB)...
[ 70%] Downloading update (40804 of 57385 KB)...
[ 71%] Downloading update (41152 of 57385 KB)...
[ 71%] Downloading update (41468 of 57385 KB)...
[ 72%] Downloading update (41784 of 57385 KB)...
[ 72%] Downloading update (42133 of 57385 KB)...
[ 73%] Downloading update (42450 of 57385 KB)...
[ 73%] Downloading update (42766 of 57385 KB)...
[ 74%] Downloading update (43113 of 57385 KB)...
[ 75%] Downloading update (43430 of 57385 KB)...
[ 75%] Downloading update (43746 of 57385 KB)...
[ 76%] Downloading update (44094 of 57385 KB)...
[ 76%] Downloading update (44411 of 57385 KB)...
[ 77%] Downloading update (44727 of 57385 KB)...
[ 77%] Downloading update (45075 of 57385 KB)...
[ 78%] Downloading update (45391 of 57385 KB)...
[ 79%] Downloading update (45707 of 57385 KB)...
[ 79%] Downloading update (46056 of 57385 KB)...
[ 80%] Downloading update (46372 of 57385 KB)...
[ 80%] Downloading update (46689 of 57385 KB)...
[ 81%] Downloading update (47036 of 57385 KB)...
[ 81%] Downloading update (47351 of 57385 KB)...
[ 82%] Downloading update (47668 of 57385 KB)...
[ 83%] Downloading update (48017 of 57385 KB)...
[ 83%] Downloading update (48333 of 57385 KB)...
[ 84%] Downloading update (48649 of 57385 KB)...
[ 84%] Downloading update (48997 of 57385 KB)...
[ 85%] Downloading update (49313 of 57385 KB)...
[ 85%] Downloading update (49630 of 57385 KB)...
[ 86%] Downloading update (49978 of 57385 KB)...
[ 87%] Downloading update (50295 of 57385 KB)...
[ 87%] Downloading update (50611 of 57385 KB)...
[ 88%] Downloading update (50958 of 57385 KB)...
[ 88%] Downloading update (51275 of 57385 KB)...
[ 89%] Downloading update (51591 of 57385 KB)...
[ 89%] Downloading update (51940 of 57385 KB)...
[ 90%] Downloading update (52256 of 57385 KB)...
[ 91%] Downloading update (52573 of 57385 KB)...
[ 91%] Downloading update (52920 of 57385 KB)...
[ 92%] Downloading update (53235 of 57385 KB)...
[ 92%] Downloading update (53310 of 57385 KB)...
[ 92%] Downloading update (53439 of 57385 KB)...
[ 93%] Downloading update (53756 of 57385 KB)...
[ 93%] Downloading update (54072 of 57385 KB)...
[ 94%] Downloading update (54418 of 57385 KB)...
[ 94%] Downloading update (54737 of 57385 KB)...
[ 95%] Downloading update (55051 of 57385 KB)...
[ 95%] Downloading update (55401 of 57385 KB)...
[ 96%] Downloading update (55717 of 57385 KB)...
[ 97%] Downloading update (56034 of 57385 KB)...
[ 97%] Downloading update (56382 of 57385 KB)...
[ 98%] Downloading update (56696 of 57385 KB)...
[ 98%] Downloading update (57015 of 57385 KB)...
[ 99%] Downloading update (57363 of 57385 KB)...
[ 99%] Downloading update (57385 of 57385 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'
/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'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1669935972
-- type 'quit' to exit --
Loading Steam API...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)
 Update state (0x61) downloading, progress: 0.00 (0 / 1194746487)
 Update state (0x61) downloading, progress: 13.43 (160467909 / 1194746487)
 Update state (0x61) downloading, progress: 46.42 (554631641 / 1194746487)
 Update state (0x61) downloading, progress: 82.59 (986704864 / 1194746487)
 Update state (0x81) verifying update, progress: 11.61 (138758638 / 1194746487)
 Update state (0x81) verifying update, progress: 92.57 (1105997200 / 1194746487)
Success! App '1502300' fully installed.
'linux32/steamclient.so' -> '../.steam/sdk32/steamclient.so'
'linux64/steamclient.so' -> '../.steam/sdk64/steamclient.so'
-----------------------------------------
Installation completed...
-----------------------------------------

Looks fine. What is your kernel version? uname -a

@scootz
Copy link

scootz commented Jan 30, 2023

Running Arch Linux

Linux norbert 6.1.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 24 Jan 2023 21:07:04 +0000 x86_64 GNU/Linux

@QuintenQVD0
Copy link
Collaborator

Running Arch Linux

Linux norbert 6.1.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 24 Jan 2023 21:07:04 +0000 x86_64 GNU/Linux

Arch is not on the supported list, it should work. with an up to date kernel what you seem to have

@scootz
Copy link

scootz commented Jan 30, 2023

Would providing an exported tar.gz of the container give more details on why its failing? I could put this in my dropbox. I do have this game running outside of docker and works great so I know the server runs it.

EDIT I've put it in dropbox for you to grab here

@QuintenQVD0
Copy link
Collaborator

QuintenQVD0 commented Jan 30, 2023

Would providing an exported tar.gz of the container give more details on why its failing? I could put this in my dropbox. I do have this game running outside of docker and works great so I know the server runs it.

EDIT I've put it in dropbox for you to grab here

Found it, the file parser is blocking for the game engine from generating its own file in the Config folder. Use for now the temp image as I am waiting for my PR to be approved to the official repo with the needed changes

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
    "meta": {
        "version": "PTDL_v2",
        "update_url": null
    },
    "exported_at": "2023-01-30T18:08:24+01:00",
    "name": "Survive The Nights",
    "author": "[email protected]",
    "description": "Survive the Nights is a unique FPS survival game focusing on teamwork, fortification, creativity & strategy. Secure a structure or roam free, the choice is yours. Gameplay focuses on realistic survival, post zombie infestation. Prepare during the day for nightfall. How many nights will you survive?",
    "features": [
        "steam_disk_space"
    ],
    "docker_images": {
        "SteamCMD_Debian": "ghcr.io\/parkervcp\/steamcmd:debian",
        "TEMP": "quintenqvd\/pterodactyl_images:temp_steamcmd"
    },
    "file_denylist": [],
    "startup": ".\/Server_Linux_x64 -console -batchmode -nographics",
    "config": {
        "files": "{\r\n    \".\/Config\/ServerConfig.txt\": {\r\n        \"parser\": \"file\",\r\n        \"find\": {\r\n            \"serverPort=\": \"serverPort={{server.build.default.port}}\",\r\n            \"serverIP=\": \"serverIP=0.0.0.0\",\r\n            \"serverName=\": \"serverName={{server.build.env.SERVER_NAME}}\",\r\n            \"serverPassword=\": \"serverPassword={{server.build.env.SERVER_PASSWORD}}\",\r\n            \"showInPublicLobby=\": \"showInPublicLobby={{server.build.env.SERVER_PUBLIC}}\",\r\n            \"serverOwner=\": \"serverOwner={{server.build.env.SERVER_OWNER}}\",\r\n            \"WorldName=\": \"WorldName={{server.build.env.WORLDNAME}}\",\r\n            \"queryPort=\": \"queryPort={{server.build.env.QUERY_PORT}}\"\r\n        }\r\n    }\r\n}",
        "startup": "{\r\n    \"done\": \"*** Server Connected To STEAM *** \"\r\n}",
        "logs": "{}",
        "stop": "^^C"
    },
    "scripts": {
        "installation": {
            "script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH}  +app_update ${SRCDS_APPID} $validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nmkdir -p \/mnt\/server\/Config\r\ncd \/mnt\/server\/Config\r\n## add below your custom commands if needed\r\ncurl -sSL -o ServerConfig.txt https:\/\/pteropaste.com\/5jic5h\r\ncurl -sSL -o TpPresets.json https:\/\/pteropaste.com\/6z8nur\r\ncurl -sSL -o UserPermissions.json https:\/\/pteropaste.com\/l3gy6z\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
            "container": "ghcr.io\/parkervcp\/installers:debian",
            "entrypoint": "bash"
        }
    },
    "variables": [
        {
            "name": "Auto update",
            "description": "Auto update the server on startup",
            "env_variable": "AUTO_UPDATE",
            "default_value": "1",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|boolean",
            "field_type": "text"
        },
        {
            "name": "App id",
            "description": "",
            "env_variable": "SRCDS_APPID",
            "default_value": "1502300",
            "user_viewable": false,
            "user_editable": false,
            "rules": "required|string|in:1502300",
            "field_type": "text"
        },
        {
            "name": "Server name",
            "description": "The name of the server",
            "env_variable": "SERVER_NAME",
            "default_value": "New Private Server",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:48",
            "field_type": "text"
        },
        {
            "name": "Server password",
            "description": "",
            "env_variable": "SERVER_PASSWORD",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Public server",
            "description": "Show the server in the public lobby",
            "env_variable": "SERVER_PUBLIC",
            "default_value": "True",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|in:True,false",
            "field_type": "text"
        },
        {
            "name": "Server owner",
            "description": "",
            "env_variable": "SERVER_OWNER",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:48",
            "field_type": "text"
        },
        {
            "name": "World name",
            "description": "The name of the server world.\r\n\r\nDo not change this after the server started!",
            "env_variable": "WORLDNAME",
            "default_value": "DedicatedServer",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Query port",
            "description": "game port +1",
            "env_variable": "QUERY_PORT",
            "default_value": "25566",
            "user_viewable": true,
            "user_editable": false,
            "rules": "required|numeric",
            "field_type": "text"
        }
    ]
}

@scootz
Copy link

scootz commented Jan 30, 2023

Good news, server does seem to work with the new changes you made to the json. Unfortunately, I have yet to successfully connect to the server with STN. It doesn't show on the server lists nor does it connect directly with ip address. Probably something I'm missing. I've port forwarded 27000 to the server, checked with GRC's port scanner and it is indeed open. I do see port 27000 opened and listening via netstat on the linux server. Not sure what I'm missing.

@scootz
Copy link

scootz commented Jan 30, 2023

Looking closer at it, the ServerConfig.txt has default settings. 127.0.0.1, 0 and 0 for serverport and query port. So the substitutions your script does doesn't seem to work.

EDIT
I've since edited the substitutions. Just a matter of changing capitalization on some entries. They all work I think with the exception of queryPort. I've not been able to get that to work yet.
I can connect directly to the IP and it works. Still doesn't show in the server list yet, maybe thats because the queryPort subst doesn't work yet?

@QuintenQVD0
Copy link
Collaborator

Looking closer at it, the ServerConfig.txt has default settings. 127.0.0.1, 0 and 0 for serverport and query port. So the substitutions your script does doesn't seem to work.

EDIT I've since edited the substitutions. Just a matter of changing capitalization on some entries. They all work I think with the exception of queryPort. I've not been able to get that to work yet. I can connect directly to the IP and it works. Still doesn't show in the server list yet, maybe thats because the queryPort subst doesn't work yet?

The file parser should auto set the game port , and query port and set the ip to 0.0.0.0. As you need to allocated 2 ports

@QuintenQVD0
Copy link
Collaborator

I likly messed up somwhere. I have a look later. As this should all go automatic

@QuintenQVD0
Copy link
Collaborator

This should work now:

You will have to remove the existing config file for it to work and then reinstall

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
    "meta": {
        "version": "PTDL_v2",
        "update_url": null
    },
    "exported_at": "2023-01-31T07:13:42+01:00",
    "name": "Survive The Nights",
    "author": "[email protected]",
    "description": "Survive the Nights is a unique FPS survival game focusing on teamwork, fortification, creativity & strategy. Secure a structure or roam free, the choice is yours. Gameplay focuses on realistic survival, post zombie infestation. Prepare during the day for nightfall. How many nights will you survive?",
    "features": [
        "steam_disk_space"
    ],
    "docker_images": {
        "SteamCMD_Debian": "ghcr.io\/parkervcp\/steamcmd:debian",
        "TEMP": "quintenqvd\/pterodactyl_images:temp_steamcmd"
    },
    "file_denylist": [],
    "startup": ".\/Server_Linux_x64 -console -batchmode -nographics",
    "config": {
        "files": "{\r\n    \".\/Config\/ServerConfig.txt\": {\r\n        \"parser\": \"file\",\r\n        \"find\": {\r\n            \"serverPort=\": \"serverPort={{server.build.default.port}}\",\r\n            \"serverIP=\": \"serverIP=0.0.0.0\",\r\n            \"serverName=\": \"serverName={{server.build.env.SERVER_NAME}}\",\r\n            \"serverPassword=\": \"serverPassword={{server.build.env.SERVER_PASSWORD}}\",\r\n            \"showInPublicLobby=\": \"showInPublicLobby={{server.build.env.SERVER_PUBLIC}}\",\r\n            \"serverOwner=\": \"serverOwner={{server.build.env.SERVER_OWNER}}\",\r\n            \"WorldName=\": \"WorldName={{server.build.env.WORLDNAME}}\",\r\n            \"queryPort=\": \"queryPort={{server.build.env.QUERY_PORT}}\"\r\n        }\r\n    }\r\n}",
        "startup": "{\r\n    \"done\": \"*** Server Connected To STEAM *** \"\r\n}",
        "logs": "{}",
        "stop": "^^C"
    },
    "scripts": {
        "installation": {
            "script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH}  +app_update ${SRCDS_APPID} $validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nmkdir -p \/mnt\/server\/Config\r\ncd \/mnt\/server\/Config\r\n## add below your custom commands if needed\r\n\r\ncurl -sSL -o ServerConfig.txt https:\/\/pteropaste.com\/dl5ffa\r\ncurl -sSL -o TpPresets.json https:\/\/pteropaste.com\/6z8nur\r\ncurl -sSL -o UserPermissions.json https:\/\/pteropaste.com\/l3gy6z\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
            "container": "ghcr.io\/parkervcp\/installers:debian",
            "entrypoint": "bash"
        }
    },
    "variables": [
        {
            "name": "Auto update",
            "description": "Auto update the server on startup",
            "env_variable": "AUTO_UPDATE",
            "default_value": "1",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|boolean",
            "field_type": "text"
        },
        {
            "name": "App id",
            "description": "",
            "env_variable": "SRCDS_APPID",
            "default_value": "1502300",
            "user_viewable": false,
            "user_editable": false,
            "rules": "required|string|in:1502300",
            "field_type": "text"
        },
        {
            "name": "Server name",
            "description": "The name of the server",
            "env_variable": "SERVER_NAME",
            "default_value": "New Private Server",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:48",
            "field_type": "text"
        },
        {
            "name": "Server password",
            "description": "",
            "env_variable": "SERVER_PASSWORD",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Public server",
            "description": "Show the server in the public lobby",
            "env_variable": "SERVER_PUBLIC",
            "default_value": "True",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|in:True,false",
            "field_type": "text"
        },
        {
            "name": "Server owner",
            "description": "",
            "env_variable": "SERVER_OWNER",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:48",
            "field_type": "text"
        },
        {
            "name": "World name",
            "description": "The name of the server world.\r\n\r\nDo not change this after the server started!",
            "env_variable": "WORLDNAME",
            "default_value": "DedicatedServer",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Query port",
            "description": "game port +1",
            "env_variable": "QUERY_PORT",
            "default_value": "25566",
            "user_viewable": true,
            "user_editable": false,
            "rules": "required|numeric",
            "field_type": "text"
        }
    ]
}

@scootz
Copy link

scootz commented Jan 31, 2023

I don't know if this is me or something changed in the image(s)? I did completely reinstall the linux box with proxmox, set up a lxc container for ptero and another container for wings/stn. This is what I'm getting now.

container@pterodactyl~ Server marked as offline...
container@pterodactyl~ Starting installation process, this could take a few minutes...
steam user is not set.
Using anonymous user.
steamcmd.sh
linux32/steamcmd
linux32/steamerrorreporter
linux32/libstdc++.so.6
linux32/crashhandler.so
Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
KeyValues Error: LoadFromBuffer: missing {   (current key: '<!DOCTYPE') in file manifest [offset: 15]
../tier1/KeyValues.cpp (2925) : Assertion Failed: Error while parsing text KeyValues for resource manifest
[----] Verifying installation...
[  0%] Downloading Update...
[  0%] Checking for available update...
crash_20230131224719_5.dmp[23]: Uploading dump (out-of-process)
/tmp/dumps/crash_20230131224719_5.dmp

crash_20230131224719_5.dmp[23]: Finished uploading minidump (out-of-process): success = no

crash_20230131224719_5.dmp[23]: error: libcurl.so: cannot open shared object file: No such file or directory

crash_20230131224719_5.dmp[23]: file ''/tmp/dumps/crash_20230131224719_5.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''

KeyValues Error: LoadFromBuffer: missing {   (current key: '<!DOCTYPE') in file manifest [offset: 15]
../tier1/KeyValues.cpp (2925) : Assertion Failed: Error while parsing text KeyValues for resource manifest
[----] !!! Fatal Error: Steamcmd needs to be online to update.   Please confirm your network connection and try again.
threadtools.cpp (3294) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x57f78b30/0x0xf7bf2b'
cp: cannot stat 'linux32/steamclient.so': No such file or directory
cp: cannot stat 'linux64/steamclient.so': No such file or directory
-----------------------------------------
Installation completed...
-----------------------------------------

@scootz
Copy link

scootz commented Jan 31, 2023

This is not related to me. Its tuesday. Steam maintenance window. I keep forgetting about that, i'll try again in a bit.

@scootz
Copy link

scootz commented Feb 1, 2023

Ok I was able to fix the above steam error. It was combination of a DNS issue and Steams' weekly maintenance happening on Tuesday (today). With the new json file change you posted, I had to change the subsitutions again to match for the values to change in the server config. Still haven't been able to get the queryPort to change. I've tried both the TEMP image and the other image. Same thing.

@scootz
Copy link

scootz commented Feb 1, 2023

How hard would it be to create a custom image with an editor like joe or nano? Can you point me to some where that would describe/show how to do this? Can you publish the docker file (if that is what you used) to create your TEMP image? I'm curious by nature so I have to ask. :)

EDIT
I have a working json file. All the variables work with this. The only thing I changed was the config.files section.

EDIT Again
After shutting down the server and restarting it, it won't accept any more connections. Anyone tries to connect, the cpu immediately shoots up to 100% and connection fails. could the "^^C" in the stop command be causing it not to stop correctly? I'll continue to work on this and change it to ^C next server reinstall to see if that makes a difference.

EDIT once more
So I found out ^^C is required to stop the server. I wish there was more/better documentation on this. I have to force kill the process/server if its just ^C. Still the same outcome happens. After the server restarts, it won't accept any new connections and CPU usage shoots to 100%. I'm at a standstil and don't know what to do now. There are no error output when someone connects. It just goes 100% cpu usage.

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
    "meta": {
        "version": "PTDL_v2",
        "update_url": null
    },
    "exported_at": "2023-02-01T04:00:59+00:00",
    "name": "Survive The Nights",
    "author": "[email protected]",
    "description": "Survive the Nights is a unique FPS survival game focusing on teamwork, fortification, creativity & strategy. Secure a structure or roam free, the choice is yours. Gameplay focuses on realistic survival, post zombie infestation. Prepare during the day for nightfall. How many nights will you survive?",
    "features": [
        "steam_disk_space"
    ],
    "docker_images": {
        "SteamCMD_Debian": "ghcr.io\/parkervcp\/steamcmd:debian",
        "TEMP": "quintenqvd\/pterodactyl_images:temp_steamcmd"
    },
    "file_denylist": [],
    "startup": ".\/Server_Linux_x64 -console -batchmode -nographics",
    "config": {
        "files": "{\r\n    \".\/Config\/ServerConfig.txt\": {\r\n        \"parser\": \"file\",\r\n        \"find\": {\r\n            \"ServerPort=\": \"ServerPort={{server.build.default.port}}\",\r\n            \"ServerIP=\": \"ServerIP=0.0.0.0\",\r\n            \"ServerName=\": \"ServerName={{server.build.env.SERVER_NAME}}\",\r\n            \"ServerPassword=\": \"ServerPassword={{server.build.env.SERVER_PASSWORD}}\",\r\n            \"ShowInPublicLobby=\": \"ShowInPublicLobby={{server.build.env.SERVER_PUBLIC}}\",\r\n            \"ServerOwner=\": \"ServerOwner={{server.build.env.SERVER_OWNER}}\",\r\n            \"worldname=\": \"worldname={{server.build.env.WORLDNAME}}\",\r\n            \"queryPort=\": \"queryPort={{server.build.env.QUERY_PORT}}\"\r\n        }\r\n    }\r\n}",
        "startup": "{\r\n    \"done\": \"*** Server Connected To STEAM *** \"\r\n}",
        "logs": "{}",
        "stop": "^^C"
    },
    "scripts": {
        "installation": {
            "script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH}  +app_update ${SRCDS_APPID} $validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nmkdir -p \/mnt\/server\/Config\r\ncd \/mnt\/server\/Config\r\n## add below your custom commands if needed\r\ncurl -sSL -o ServerConfig.txt https:\/\/pteropaste.com\/5jic5h\r\ncurl -sSL -o TpPresets.json https:\/\/pteropaste.com\/6z8nur\r\ncurl -sSL -o UserPermissions.json https:\/\/pteropaste.com\/l3gy6z\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
            "container": "ghcr.io\/parkervcp\/installers:debian",
            "entrypoint": "bash"
        }
    },
    "variables": [
        {
            "name": "Auto update",
            "description": "Auto update the server on startup",
            "env_variable": "AUTO_UPDATE",
            "default_value": "1",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|boolean",
            "field_type": "text"
        },
        {
            "name": "App id",
            "description": "",
            "env_variable": "SRCDS_APPID",
            "default_value": "1502300",
            "user_viewable": false,
            "user_editable": false,
            "rules": "required|string|in:1502300",
            "field_type": "text"
        },
        {
            "name": "Server name",
            "description": "The name of the server",
            "env_variable": "SERVER_NAME",
            "default_value": "New Private Server",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:48",
            "field_type": "text"
        },
        {
            "name": "Server password",
            "description": "",
            "env_variable": "SERVER_PASSWORD",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Public server",
            "description": "Show the server in the public lobby",
            "env_variable": "SERVER_PUBLIC",
            "default_value": "True",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|in:True,false",
            "field_type": "text"
        },
        {
            "name": "Server owner",
            "description": "",
            "env_variable": "SERVER_OWNER",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:48",
            "field_type": "text"
        },
        {
            "name": "World name",
            "description": "The name of the server world.\r\n\r\nDo not change this after the server started!",
            "env_variable": "WORLDNAME",
            "default_value": "DedicatedServer",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Query port",
            "description": "game port +1",
            "env_variable": "QUERY_PORT",
            "default_value": "25566",
            "user_viewable": true,
            "user_editable": false,
            "rules": "required|numeric",
            "field_type": "text"
        }
    ]
}

@QuintenQVD0
Copy link
Collaborator

How hard would it be to create a custom image with an editor like joe or nano? Can you point me to some where that would describe/show how to do this? Can you publish the docker file (if that is what you used) to create your TEMP image? I'm curious by nature so I have to ask. :)

EDIT I have a working json file. All the variables work with this. The only thing I changed was the config.files section.

EDIT Again After shutting down the server and restarting it, it won't accept any more connections. Anyone tries to connect, the cpu immediately shoots up to 100% and connection fails. could the "^^C" in the stop command be causing it not to stop correctly? I'll continue to work on this and change it to ^C next server reinstall to see if that makes a difference.

EDIT once more So I found out ^^C is required to stop the server. I wish there was more/better documentation on this. I have to force kill the process/server if its just ^C. Still the same outcome happens. After the server restarts, it won't accept any new connections and CPU usage shoots to 100%. I'm at a standstil and don't know what to do now. There are no error output when someone connects. It just goes 100% cpu usage.

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
    "meta": {
        "version": "PTDL_v2",
        "update_url": null
    },
    "exported_at": "2023-02-01T04:00:59+00:00",
    "name": "Survive The Nights",
    "author": "[email protected]",
    "description": "Survive the Nights is a unique FPS survival game focusing on teamwork, fortification, creativity & strategy. Secure a structure or roam free, the choice is yours. Gameplay focuses on realistic survival, post zombie infestation. Prepare during the day for nightfall. How many nights will you survive?",
    "features": [
        "steam_disk_space"
    ],
    "docker_images": {
        "SteamCMD_Debian": "ghcr.io\/parkervcp\/steamcmd:debian",
        "TEMP": "quintenqvd\/pterodactyl_images:temp_steamcmd"
    },
    "file_denylist": [],
    "startup": ".\/Server_Linux_x64 -console -batchmode -nographics",
    "config": {
        "files": "{\r\n    \".\/Config\/ServerConfig.txt\": {\r\n        \"parser\": \"file\",\r\n        \"find\": {\r\n            \"ServerPort=\": \"ServerPort={{server.build.default.port}}\",\r\n            \"ServerIP=\": \"ServerIP=0.0.0.0\",\r\n            \"ServerName=\": \"ServerName={{server.build.env.SERVER_NAME}}\",\r\n            \"ServerPassword=\": \"ServerPassword={{server.build.env.SERVER_PASSWORD}}\",\r\n            \"ShowInPublicLobby=\": \"ShowInPublicLobby={{server.build.env.SERVER_PUBLIC}}\",\r\n            \"ServerOwner=\": \"ServerOwner={{server.build.env.SERVER_OWNER}}\",\r\n            \"worldname=\": \"worldname={{server.build.env.WORLDNAME}}\",\r\n            \"queryPort=\": \"queryPort={{server.build.env.QUERY_PORT}}\"\r\n        }\r\n    }\r\n}",
        "startup": "{\r\n    \"done\": \"*** Server Connected To STEAM *** \"\r\n}",
        "logs": "{}",
        "stop": "^^C"
    },
    "scripts": {
        "installation": {
            "script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH}  +app_update ${SRCDS_APPID} $validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nmkdir -p \/mnt\/server\/Config\r\ncd \/mnt\/server\/Config\r\n## add below your custom commands if needed\r\ncurl -sSL -o ServerConfig.txt https:\/\/pteropaste.com\/5jic5h\r\ncurl -sSL -o TpPresets.json https:\/\/pteropaste.com\/6z8nur\r\ncurl -sSL -o UserPermissions.json https:\/\/pteropaste.com\/l3gy6z\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
            "container": "ghcr.io\/parkervcp\/installers:debian",
            "entrypoint": "bash"
        }
    },
    "variables": [
        {
            "name": "Auto update",
            "description": "Auto update the server on startup",
            "env_variable": "AUTO_UPDATE",
            "default_value": "1",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|boolean",
            "field_type": "text"
        },
        {
            "name": "App id",
            "description": "",
            "env_variable": "SRCDS_APPID",
            "default_value": "1502300",
            "user_viewable": false,
            "user_editable": false,
            "rules": "required|string|in:1502300",
            "field_type": "text"
        },
        {
            "name": "Server name",
            "description": "The name of the server",
            "env_variable": "SERVER_NAME",
            "default_value": "New Private Server",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:48",
            "field_type": "text"
        },
        {
            "name": "Server password",
            "description": "",
            "env_variable": "SERVER_PASSWORD",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Public server",
            "description": "Show the server in the public lobby",
            "env_variable": "SERVER_PUBLIC",
            "default_value": "True",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|in:True,false",
            "field_type": "text"
        },
        {
            "name": "Server owner",
            "description": "",
            "env_variable": "SERVER_OWNER",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:48",
            "field_type": "text"
        },
        {
            "name": "World name",
            "description": "The name of the server world.\r\n\r\nDo not change this after the server started!",
            "env_variable": "WORLDNAME",
            "default_value": "DedicatedServer",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Query port",
            "description": "game port +1",
            "env_variable": "QUERY_PORT",
            "default_value": "25566",
            "user_viewable": true,
            "user_editable": false,
            "rules": "required|numeric",
            "field_type": "text"
        }
    ]
}

^^C is indeed the right stop cmd to gracefully stop a server. The config is worng here. The config that is shiped with the latest egg is lower case. So the config parser is setup the same. Please don't edit the egg. A fresh server should download a lowercase config as the dev told me. The uppetcase config is old. And the file parser then replaces it fine. So you still have a old config. Reset the egg to my latest version then make a new server with it.

@QuintenQVD0
Copy link
Collaborator

This config is downloaded and ir is lower case https://pteropaste.com/dl5ffa/

@QuintenQVD0
Copy link
Collaborator

I have seen the server auromaticky set all config options and restart multiple times.

@scootz
Copy link

scootz commented Feb 1, 2023

I was getting weird things happening though and not sure why but now it works. Maybe I forgot to use the TEMP image you added. This is what I used this time and works great. Sorry, you are right. Thank you!

@QuintenQVD0
Copy link
Collaborator

I was getting weird things happening though and not sure why but now it works. Maybe I forgot to use the TEMP image you added. This is what I used this time and works great. Sorry, you are right. Thank you!

The TEMP image should not mather. Likly because it was a reinstall and not a fresh install but you can connect

@Zephira58
Copy link

Zephira58 commented Jul 11, 2023

How hard would it be to create a custom image with an editor like joe or nano? Can you point me to some where that would describe/show how to do this? Can you publish the docker file (if that is what you used) to create your TEMP image? I'm curious by nature so I have to ask. :)

EDIT I have a working json file. All the variables work with this. The only thing I changed was the config.files section.

EDIT Again After shutting down the server and restarting it, it won't accept any more connections. Anyone tries to connect, the cpu immediately shoots up to 100% and connection fails. could the "^^C" in the stop command be causing it not to stop correctly? I'll continue to work on this and change it to ^C next server reinstall to see if that makes a difference.

EDIT once more So I found out ^^C is required to stop the server. I wish there was more/better documentation on this. I have to force kill the process/server if its just ^C. Still the same outcome happens. After the server restarts, it won't accept any new connections and CPU usage shoots to 100%. I'm at a standstil and don't know what to do now. There are no error output when someone connects. It just goes 100% cpu usage.

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
    "meta": {
        "version": "PTDL_v2",
        "update_url": null
    },
    "exported_at": "2023-02-01T04:00:59+00:00",
    "name": "Survive The Nights",
    "author": "[email protected]",
    "description": "Survive the Nights is a unique FPS survival game focusing on teamwork, fortification, creativity & strategy. Secure a structure or roam free, the choice is yours. Gameplay focuses on realistic survival, post zombie infestation. Prepare during the day for nightfall. How many nights will you survive?",
    "features": [
        "steam_disk_space"
    ],
    "docker_images": {
        "SteamCMD_Debian": "ghcr.io\/parkervcp\/steamcmd:debian",
        "TEMP": "quintenqvd\/pterodactyl_images:temp_steamcmd"
    },
    "file_denylist": [],
    "startup": ".\/Server_Linux_x64 -console -batchmode -nographics",
    "config": {
        "files": "{\r\n    \".\/Config\/ServerConfig.txt\": {\r\n        \"parser\": \"file\",\r\n        \"find\": {\r\n            \"ServerPort=\": \"ServerPort={{server.build.default.port}}\",\r\n            \"ServerIP=\": \"ServerIP=0.0.0.0\",\r\n            \"ServerName=\": \"ServerName={{server.build.env.SERVER_NAME}}\",\r\n            \"ServerPassword=\": \"ServerPassword={{server.build.env.SERVER_PASSWORD}}\",\r\n            \"ShowInPublicLobby=\": \"ShowInPublicLobby={{server.build.env.SERVER_PUBLIC}}\",\r\n            \"ServerOwner=\": \"ServerOwner={{server.build.env.SERVER_OWNER}}\",\r\n            \"worldname=\": \"worldname={{server.build.env.WORLDNAME}}\",\r\n            \"queryPort=\": \"queryPort={{server.build.env.QUERY_PORT}}\"\r\n        }\r\n    }\r\n}",
        "startup": "{\r\n    \"done\": \"*** Server Connected To STEAM *** \"\r\n}",
        "logs": "{}",
        "stop": "^^C"
    },
    "scripts": {
        "installation": {
            "script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH}  +app_update ${SRCDS_APPID} $validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nmkdir -p \/mnt\/server\/Config\r\ncd \/mnt\/server\/Config\r\n## add below your custom commands if needed\r\ncurl -sSL -o ServerConfig.txt https:\/\/pteropaste.com\/5jic5h\r\ncurl -sSL -o TpPresets.json https:\/\/pteropaste.com\/6z8nur\r\ncurl -sSL -o UserPermissions.json https:\/\/pteropaste.com\/l3gy6z\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
            "container": "ghcr.io\/parkervcp\/installers:debian",
            "entrypoint": "bash"
        }
    },
    "variables": [
        {
            "name": "Auto update",
            "description": "Auto update the server on startup",
            "env_variable": "AUTO_UPDATE",
            "default_value": "1",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|boolean",
            "field_type": "text"
        },
        {
            "name": "App id",
            "description": "",
            "env_variable": "SRCDS_APPID",
            "default_value": "1502300",
            "user_viewable": false,
            "user_editable": false,
            "rules": "required|string|in:1502300",
            "field_type": "text"
        },
        {
            "name": "Server name",
            "description": "The name of the server",
            "env_variable": "SERVER_NAME",
            "default_value": "New Private Server",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:48",
            "field_type": "text"
        },
        {
            "name": "Server password",
            "description": "",
            "env_variable": "SERVER_PASSWORD",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Public server",
            "description": "Show the server in the public lobby",
            "env_variable": "SERVER_PUBLIC",
            "default_value": "True",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|in:True,false",
            "field_type": "text"
        },
        {
            "name": "Server owner",
            "description": "",
            "env_variable": "SERVER_OWNER",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:48",
            "field_type": "text"
        },
        {
            "name": "World name",
            "description": "The name of the server world.\r\n\r\nDo not change this after the server started!",
            "env_variable": "WORLDNAME",
            "default_value": "DedicatedServer",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:32",
            "field_type": "text"
        },
        {
            "name": "Query port",
            "description": "game port +1",
            "env_variable": "QUERY_PORT",
            "default_value": "25566",
            "user_viewable": true,
            "user_editable": false,
            "rules": "required|numeric",
            "field_type": "text"
        }
    ]
}

After looking online for a STN server and trying this config I'm having the exact same issue where it no longer accepts new connections after a restart, but it works fine on the initial install or after I click the "reinstall server" button on ptero in the settings page

@QuintenQVD0 QuintenQVD0 linked a pull request Dec 17, 2023 that will close this issue
13 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
egg request request for egg
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants