fix(eggs): keep install going after steamcmd exit #4

Merged
ryan.mcgee merged 1 commit from fix/install-script-steamcmd-exit into main 2026-11-08 05:10:09 +00:00
Owner

Summary

  • installs on a real panel left game files but skipped everything after the steamcmd call (no .steam/sdk32 or sdk64, no seeded config), so servers hung or crashed in Steamworks init
  • cause: set -e aborts the install script when steamcmd exits non-zero, which it can do after a successful install; official Pelican eggs do not use set -e

Changes

  • remove set -e from the Abiotic Factor and Dragonwilds install scripts (the server binary check still fails the install when files are missing)
  • Abiotic Factor: curl -f plus removal of a partial file for the sandbox template download

Verification

  • original script with steamcmd stubbed to exit 8: aborts at the steamcmd line, exit 8, no .steam created
  • fixed scripts with the same stub: copy both steamclient.so files, seed the Dragonwilds ini when absent, exit 0
  • fixed Abiotic Factor script with the stub and no server files: still exits 1 with "Server executable missing"
  • both fixed scripts with the real steamcmd against installed test servers: exit 0, "Success! App ... fully installed", user edits to the config files kept
  • inference, not observed: that steamcmd exited non-zero on the reporter's panel; the abort mechanism itself is reproduced

Notes

  • existing servers need Reinstall Server (or the egg re-imported, then reinstalled) to run the fixed script
## Summary - installs on a real panel left game files but skipped everything after the steamcmd call (no .steam/sdk32 or sdk64, no seeded config), so servers hung or crashed in Steamworks init - cause: set -e aborts the install script when steamcmd exits non-zero, which it can do after a successful install; official Pelican eggs do not use set -e ## Changes - remove set -e from the Abiotic Factor and Dragonwilds install scripts (the server binary check still fails the install when files are missing) - Abiotic Factor: curl -f plus removal of a partial file for the sandbox template download ## Verification - original script with steamcmd stubbed to exit 8: aborts at the steamcmd line, exit 8, no .steam created - fixed scripts with the same stub: copy both steamclient.so files, seed the Dragonwilds ini when absent, exit 0 - fixed Abiotic Factor script with the stub and no server files: still exits 1 with "Server executable missing" - both fixed scripts with the real steamcmd against installed test servers: exit 0, "Success! App ... fully installed", user edits to the config files kept - inference, not observed: that steamcmd exited non-zero on the reporter's panel; the abort mechanism itself is reproduced ## Notes - existing servers need Reinstall Server (or the egg re-imported, then reinstalled) to run the fixed script
- drop set -e from the abiotic factor and dragonwilds install
  scripts; steamcmd can exit non-zero after a good install, and the
  abort skipped the steamclient.so copy and config seeding
- the server binary check still fails the install when files are
  really missing
- abiotic factor: fail the sandbox template download cleanly and
  remove a partial file so a reinstall reseeds it
ryan.mcgee deleted branch fix/install-script-steamcmd-exit 2026-11-08 05:10:09 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
UltraVu-Studios/pelican-eggs!4
No description provided.