UNAME=uname
if [ "$UNAME" == "Linux" ]; then
STEAMEXE="${STEAMROOT}/linux32/${STEAMCMD}"
PLATFORM="linux32"
export LD_LIBRARY_PATH="$STEAMROOT/$PLATFORM:$LD_LIBRARY_PATH"
else # if [ "$UNAME" == "Darwin" ]; then
STEAMEXE="${STEAMROOT}/${STEAMCMD}"
if [ ! -x ${STEAMEXE} ]; then
STEAMEXE="${STEAMROOT}/Steam.AppBundle/Steam/Contents/MacOS/${STEAMCMD}"
fi
export DYLD_LIBRARY_PATH="$STEAMROOT:$DYLD_LIBRARY_PATH"
export DYLD_FRAMEWORK_PATH="$STEAMROOT:$DYLD_FRAMEWORK_PATH"
fi
ulimit -n 2048
MAGIC_RESTART_EXITCODE=42
if [ "$DEBUGGER" == "gdb" ] || [ "$DEBUGGER" == "cgdb" ]; then
ARGSFILE=$(mktemp $USER.steam.gdb.XXXX)
Set the LD_PRELOAD varname in the debugger, and unset the global version.
if [ "$LD_PRELOAD" ]; then
echo set env LD_PRELOAD=$LD_PRELOAD >> "$ARGSFILE"
echo show env LD_PRELOAD >> "$ARGSFILE"
unset LD_PRELOAD
fi
if [ $STATUS -eq $MAGIC_RESTART_EXITCODE ]; then
exec "$0" "$@"
fi
exit $STATUS
(line 37: `$DEBUGGER "$STEAMEXE" "$@"`)
I would like to try the newest commit, but as stated in https://github.com/RestoreMonarchy/pterodactyl-valheim/issues/4, you can't use it because it has the wrong install script.
- Simple workaround to update server: **BACKUP YOUR WORLD IN `.config/unity3d/IronGate/Valheim/`** and reinstall the server. World save should stay there, but you should always backup your world if you want to be 100% safe.
It is weird. /home/container/steam/linux32/steamcmd actually exist -
yet it is throwing that error. Maybe there is missing "." at the beginning? I will try something when I will be able to.
Using everything from https://github.com/RestoreMonarchy/pterodactyl-valheim/issues/4 - Autoupdates does not work.
Error message:
./steam/steamcmd.sh: line 37: /home/container/steam/linux32/steamcmd: No such file or directory
./steam/steamcmd.sh:
STEAMROOT="$(cd "${0%/*}" && echo $PWD)" STEAMCMD=
basename "$0" .sh
UNAME=
uname
if [ "$UNAME" == "Linux" ]; then STEAMEXE="${STEAMROOT}/linux32/${STEAMCMD}" PLATFORM="linux32" export LD_LIBRARY_PATH="$STEAMROOT/$PLATFORM:$LD_LIBRARY_PATH" else # if [ "$UNAME" == "Darwin" ]; then STEAMEXE="${STEAMROOT}/${STEAMCMD}" if [ ! -x ${STEAMEXE} ]; then STEAMEXE="${STEAMROOT}/Steam.AppBundle/Steam/Contents/MacOS/${STEAMCMD}" fi export DYLD_LIBRARY_PATH="$STEAMROOT:$DYLD_LIBRARY_PATH" export DYLD_FRAMEWORK_PATH="$STEAMROOT:$DYLD_FRAMEWORK_PATH" fiulimit -n 2048
MAGIC_RESTART_EXITCODE=42
if [ "$DEBUGGER" == "gdb" ] || [ "$DEBUGGER" == "cgdb" ]; then ARGSFILE=$(mktemp $USER.steam.gdb.XXXX)
Set the LD_PRELOAD varname in the debugger, and unset the global version.
if [ "$LD_PRELOAD" ]; then echo set env LD_PRELOAD=$LD_PRELOAD >> "$ARGSFILE" echo show env LD_PRELOAD >> "$ARGSFILE" unset LD_PRELOAD fi
$DEBUGGER -x "$ARGSFILE" --args "$STEAMEXE" "$@" rm "$ARGSFILE" else $DEBUGGER "$STEAMEXE" "$@" fi
STATUS=$?
if [ $STATUS -eq $MAGIC_RESTART_EXITCODE ]; then exec "$0" "$@" fi exit $STATUS