Skip to content

Update install script for beta 9 of ts6 server#88

Open
LeoKlaus wants to merge 1 commit into
pterodactyl:mainfrom
LeoKlaus:main
Open

Update install script for beta 9 of ts6 server#88
LeoKlaus wants to merge 1 commit into
pterodactyl:mainfrom
LeoKlaus:main

Conversation

@LeoKlaus
Copy link
Copy Markdown

@LeoKlaus LeoKlaus commented May 1, 2026

The latest beta server for TS6 no longer uses bzip2 compression and the file structure has changed slightly, so the old install script no longer works.

I'm assuming the same changes apply to the ARM version, but I don't have a Pterodactyl instance running on an ARM server to test.

As the diff is not properly displayed due to the install script being compressed to a single line, here are the changes I made:
Line 4:

apt-get install -y jq bzip2

to

apt-get install -y jq xz-utils

Line 22:

url=$(echo "$json" | jq -r '.assets | map(select((.name | contains("linux_amd64")) and (.name | endswith(".tar.bz2"))))[0].browser_download_url')

to

url=$(echo "$json" | jq -r '.assets | map(select((.name | contains("linux-amd64")) and (.name | endswith(".tar.xz"))))[0].browser_download_url')

Line 25:

    echo "Not found: $ver"

to

    echo "No matching archive found: $ver"

(this one is technically not needed but made debugging easier

Line 29:

curl -sSL "$url" | tar xj --strip-components=1

to

curl -sSL "$url" | tar xvJf -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant