Fix the unholy disaster that is steamcmd within containers.
This honestly took like 3 hours to debug and fix, and TBH its all
because +app_update is not the same as update, and I didn’t notice I
had mistyped at some point.
Many keys were violently smashed. R.I.P. Keyboard, you were decent.
👻
This commit is contained in:
parent
9343ac7b7d
commit
ee309b095e
|
@ -74,16 +74,21 @@ class SourceServiceTableSeeder extends Seeder
|
||||||
# SRCDS Base Installation Script
|
# SRCDS Base Installation Script
|
||||||
#
|
#
|
||||||
# Server Files: /mnt/server
|
# Server Files: /mnt/server
|
||||||
apt update
|
apt -y update
|
||||||
apt install curl
|
apt -y --no-install-recommends install curl lib32gcc1 ca-certificates
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
curl -sSL -o steamcmd.tar.gz http://media.steampowered.com/installer/steamcmd_linux.tar.gz
|
curl -sSL -o steamcmd.tar.gz http://media.steampowered.com/installer/steamcmd_linux.tar.gz
|
||||||
|
|
||||||
mkdir /mnt/server/steamcmd
|
mkdir -p /mnt/server/steamcmd
|
||||||
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
|
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
|
||||||
cd /mnt/server/steamcmd
|
cd /mnt/server/steamcmd
|
||||||
|
|
||||||
|
# SteamCMD fails otherwise for some reason, even running as root.
|
||||||
|
# This is changed at the end of the install process anyways.
|
||||||
|
chown -R root:root /mnt
|
||||||
|
|
||||||
|
export HOME=/mnt/server
|
||||||
./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update ${SRCDS_APPID} +quit
|
./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update ${SRCDS_APPID} +quit
|
||||||
|
|
||||||
mkdir -p /mnt/server/.steam/sdk32
|
mkdir -p /mnt/server/.steam/sdk32
|
||||||
|
@ -145,13 +150,13 @@ EOF;
|
||||||
# ARK: Installation Script
|
# ARK: Installation Script
|
||||||
#
|
#
|
||||||
# Server Files: /mnt/server
|
# Server Files: /mnt/server
|
||||||
apt update
|
apt -y update
|
||||||
apt install curl
|
apt -y --no-install-recommends install curl lib32gcc1 ca-certificates
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
curl -sSL -o steamcmd.tar.gz http://media.steampowered.com/installer/steamcmd_linux.tar.gz
|
curl -sSL -o steamcmd.tar.gz http://media.steampowered.com/installer/steamcmd_linux.tar.gz
|
||||||
|
|
||||||
mkdir /mnt/server/steamcmd
|
mkdir -p /mnt/server/steamcmd
|
||||||
mkdir -p /mnt/server/Engine/Binaries/ThirdParty/SteamCMD/Linux
|
mkdir -p /mnt/server/Engine/Binaries/ThirdParty/SteamCMD/Linux
|
||||||
|
|
||||||
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
|
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
|
||||||
|
@ -159,6 +164,11 @@ tar -xzvf steamcmd.tar.gz -C /mnt/server/Engine/Binaries/ThirdParty/SteamCMD/Lin
|
||||||
|
|
||||||
cd /mnt/server/steamcmd
|
cd /mnt/server/steamcmd
|
||||||
|
|
||||||
|
# SteamCMD fails otherwise for some reason, even running as root.
|
||||||
|
# This is changed at the end of the install process anyways.
|
||||||
|
chown -R root:root /mnt
|
||||||
|
|
||||||
|
export HOME=/mnt/server
|
||||||
./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 376030 +quit
|
./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 376030 +quit
|
||||||
|
|
||||||
mkdir -p /mnt/server/.steam/sdk32
|
mkdir -p /mnt/server/.steam/sdk32
|
||||||
|
|
Loading…
Reference in New Issue