Compare commits

..
Author SHA1 Message Date
MickLesk e0e7404463 Let steamcmd update itself before installing Satisfactory
On the run in which steamcmd replaces itself, the app_update that follows fails
with 'Missing configuration', and the same command succeeds once it runs again.
A login-only run first takes that self-update out of the install and update.
2026-09-26 20:48:11 +02:00
4 changed files with 2 additions and 6 deletions
-3
View File
@@ -46,9 +46,6 @@ function update_script() {
msg_info "Building Application"
cd /opt/lobehub
export NODE_OPTIONS="--max-old-space-size=8192"
if grep -qE '"@lobehub/ui": "\^5\.4[0-9]\.' package.json; then
sed -i "/^overrides:/a\ '@lobehub/ui': ~5.49.1" pnpm-workspace.yaml
fi
$STD pnpm install
$STD pnpm run build:docker
unset NODE_OPTIONS
+1
View File
@@ -39,6 +39,7 @@ function update_script() {
create_backup /home/steam/.config/Epic/FactoryGame/Saved
msg_info "Updating Satisfactory"
$STD runuser -u steam -- /opt/steamcmd/steamcmd.sh +login anonymous +quit || true
if $STD runuser -u steam -- /opt/steamcmd/steamcmd.sh \
+force_install_dir /opt/satisfactory/server \
+login anonymous \
-3
View File
@@ -41,9 +41,6 @@ export DATABASE_DRIVER="node"
export KEY_VAULTS_SECRET="$(openssl rand -base64 32)"
export AUTH_SECRET="$(openssl rand -base64 32)"
export APP_URL="http://localhost:3210"
if grep -qE '"@lobehub/ui": "\^5\.4[0-9]\.' package.json; then
sed -i "/^overrides:/a\ '@lobehub/ui': ~5.49.1" pnpm-workspace.yaml
fi
$STD pnpm install
$STD pnpm run build:docker
msg_ok "Built Application"
+1
View File
@@ -35,6 +35,7 @@ fetch_and_deploy_from_url \
chown -R steam:steam /opt/steamcmd
msg_info "Installing Satisfactory Dedicated Server"
$STD runuser -u steam -- /opt/steamcmd/steamcmd.sh +login anonymous +quit || true
$STD runuser -u steam -- /opt/steamcmd/steamcmd.sh \
+force_install_dir /opt/satisfactory/server \
+login anonymous \