[GH-ISSUE #2744] ark on debian broken #1980

Closed
opened 2026-02-27 03:00:10 +03:00 by kerem · 3 comments
Owner

Originally created by @ghost on GitHub (Mar 13, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2744

I wanted to update my ark servers today, but got the following error message:

ark-ragnarok@ark:~$ ./arkserver update
    fetching command_update.sh...OK
[ .... ] Update arkserver:     fetching update_steamcmd.sh...OK
[ .... ] Update arkserver: Checking for update: SteamCMD: checking local build/home/ark-ragnarok/lgsm/functions/update_steamcmd.sh: Line 57: +login: command not found.
[ FAIL ] Update arkserver: Checking for update: SteamCMD: checking remote buildark-ragnarok@ark:~$ 

bash -x ./arkserver update showed me, that there is no value for ${steamcmdcommand} in lgsm/functions/update_steamcmd.sh

+++++ cd /home/ark-ragnarok/steamcmd
++++++ +login anonymous '' +app_info_update 1 +app_info_print 376030 +quit
++++++ sed 1,/branches/d
/home/ark-ragnarok/lgsm/functions/update_steamcmd.sh: Zeile 57: +login: Kommando nicht gefunden.
++++++ sed 1,/public/d

In this respository i found an assignment of a value to this variable at check_steamcmd.sh in the fn_check_steamcmd_exec() function. The script on my server does not have this function nor a value assignment for $steamcmdcommand on another place:

ark-ragnarok@ark:~$ grep -r "steamcmdcommand" lgsm/
lgsm/functions/update_steamcmd.sh:              ${unbuffer} ${steamcmdcommand} +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" -beta "${branch}" +quit | tee -a "${lgsmlog}"
lgsm/functions/update_steamcmd.sh:              ${unbuffer} ${steamcmdcommand} +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" -beta "${branch}" +quit | tee -a "${lgsmlog}"
lgsm/functions/update_steamcmd.sh:      remotebuild=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" +quit | sed '1,/branches/d' | sed "1,/${branchname}/d" | grep -m 1 buildid | tr -cd '[:digit:]')

So I thought i should update lgsm ./arkserver update-lgsm) maybe. The lgsm update worked well. Even ./arkserver update worked well. But when starting the server, i see that lgsm want me now to install steamcmd from repository:

ark-ragnarok@ark:~$ ./arkserver start
Warning! Missing dependencies: steamcmd lib32stdc++6
Warning! ark-ragnarok does not have sudo access. Manually install dependencies.

sudo dpkg --add-architecture i386; sudo apt update; sudo apt install steamcmd lib32stdc++6

Failure! Missing dependencies required to run SteamCMD.

But using steamcmd from the repositories breaks now the lgsm/functions/fix_ark.sh script which tries a to create symbolic links into serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps, so that automatic mod installation works:

ark-ragnarok@ark:~$ ./arkserver start
[ WARN ] Starting arkserver: Configuration file missing!
/home/ark-ragnarok/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettngs.ini

Downloading ARK: Survival Evolved Configs
=================================
default configs from https://github.com/GameServerManagers/Game-Server-Configs
    fetching GameUserSettings.ini...OK
copying GameUserSettings.ini config file.
'/home/ark-ragnarok/lgsm/config-default/config-game/GameUserSettings.ini' -> '/home/ark-ragnarok/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettngs.ini'
changing hostname.
changing rcon/admin password.
[ INFO ] Starting arkserver: Check IP: 123.123.123.123
[ .... ] Starting arkserver: LinuxGSMln: die symbolische Verknüpfung '/home/ark-ragnarok/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux' konnte nicht angelegt werden: Die Datei existiert bereits
ln: die symbolische Verknüpfung '/home/ark-ragnarok/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps' konnte nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
[  OK  ] Starting arkserver: LinuxGSM

Even a complete fresh installation ends in the error, that the links couldnt be created. The fix_ark.sh depends still on old steamcmd installation in the lgsm folder. And the server does not start at all.

Originally created by @ghost on GitHub (Mar 13, 2020). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2744 I wanted to update my ark servers today, but got the following error message: ``` ark-ragnarok@ark:~$ ./arkserver update fetching command_update.sh...OK [ .... ] Update arkserver: fetching update_steamcmd.sh...OK [ .... ] Update arkserver: Checking for update: SteamCMD: checking local build/home/ark-ragnarok/lgsm/functions/update_steamcmd.sh: Line 57: +login: command not found. [ FAIL ] Update arkserver: Checking for update: SteamCMD: checking remote buildark-ragnarok@ark:~$ ``` bash -x ./arkserver update showed me, that there is no value for ${steamcmdcommand} in lgsm/functions/update_steamcmd.sh ``` +++++ cd /home/ark-ragnarok/steamcmd ++++++ +login anonymous '' +app_info_update 1 +app_info_print 376030 +quit ++++++ sed 1,/branches/d /home/ark-ragnarok/lgsm/functions/update_steamcmd.sh: Zeile 57: +login: Kommando nicht gefunden. ++++++ sed 1,/public/d ``` In this respository i found an assignment of a value to this variable at check_steamcmd.sh in the fn_check_steamcmd_exec() function. The script on my server does not have this function nor a value assignment for $steamcmdcommand on another place: ``` ark-ragnarok@ark:~$ grep -r "steamcmdcommand" lgsm/ lgsm/functions/update_steamcmd.sh: ${unbuffer} ${steamcmdcommand} +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" -beta "${branch}" +quit | tee -a "${lgsmlog}" lgsm/functions/update_steamcmd.sh: ${unbuffer} ${steamcmdcommand} +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" -beta "${branch}" +quit | tee -a "${lgsmlog}" lgsm/functions/update_steamcmd.sh: remotebuild=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" +quit | sed '1,/branches/d' | sed "1,/${branchname}/d" | grep -m 1 buildid | tr -cd '[:digit:]') ``` So I thought i should update lgsm ./arkserver update-lgsm) maybe. The lgsm update worked well. Even ./arkserver update worked well. But when starting the server, i see that lgsm want me now to install steamcmd from repository: ``` ark-ragnarok@ark:~$ ./arkserver start Warning! Missing dependencies: steamcmd lib32stdc++6 Warning! ark-ragnarok does not have sudo access. Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt update; sudo apt install steamcmd lib32stdc++6 Failure! Missing dependencies required to run SteamCMD. ``` But using steamcmd from the repositories breaks now the lgsm/functions/fix_ark.sh script which tries a to create symbolic links into serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps, so that automatic mod installation works: ``` ark-ragnarok@ark:~$ ./arkserver start [ WARN ] Starting arkserver: Configuration file missing! /home/ark-ragnarok/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettngs.ini Downloading ARK: Survival Evolved Configs ================================= default configs from https://github.com/GameServerManagers/Game-Server-Configs fetching GameUserSettings.ini...OK copying GameUserSettings.ini config file. '/home/ark-ragnarok/lgsm/config-default/config-game/GameUserSettings.ini' -> '/home/ark-ragnarok/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettngs.ini' changing hostname. changing rcon/admin password. [ INFO ] Starting arkserver: Check IP: 123.123.123.123 [ .... ] Starting arkserver: LinuxGSMln: die symbolische Verknüpfung '/home/ark-ragnarok/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux' konnte nicht angelegt werden: Die Datei existiert bereits ln: die symbolische Verknüpfung '/home/ark-ragnarok/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps' konnte nicht angelegt werden: Datei oder Verzeichnis nicht gefunden [ OK ] Starting arkserver: LinuxGSM ``` Even a complete fresh installation ends in the error, that the links couldnt be created. The fix_ark.sh depends still on old steamcmd installation in the lgsm folder. And the server does not start at all.
kerem closed this issue 2026-02-27 03:00:10 +03:00
Author
Owner

@ghost commented on GitHub (Mar 13, 2020):

Steam from repositories creates for every user that uses it a ~/.steam directory:

ark-theisland@ark:~$ ls -al .steam/
insgesamt 40
drwxr-xr-x 9 ark-theisland ark-theisland 4096 Mär 13 23:36 .
drwxr-xr-x 6 ark-theisland ark-theisland 4096 Mär 13 23:32 ..
drwxr-xr-x 3 ark-theisland ark-theisland 4096 Mär 13 23:33 appcache
drwxr-xr-x 2 ark-theisland ark-theisland 4096 Mär 13 23:35 config
drwxr-xr-x 2 ark-theisland ark-theisland 4096 Mär 13 23:33 depotcache
drwxr-xr-x 2 ark-theisland ark-theisland 4096 Mär 13 23:33 logs
-rwxr-xr-x 1 ark-theisland ark-theisland  224 Mär 13 23:36 registry.vdf
lrwxrwxrwx 1 ark-theisland ark-theisland   26 Mär 13 23:32 root -> /home/ark-theisland/.steam
lrwxrwxrwx 1 ark-theisland ark-theisland   26 Mär 13 23:32 steam -> /home/ark-theisland/.steam
drwxr-xr-x 3 ark-theisland ark-theisland 4096 Mär 13 23:33 SteamApps
drwxr-xr-x 7 ark-theisland ark-theisland 4096 Mär 13 23:33 steamcmd
drwxr-xr-x 3 ark-theisland ark-theisland 4096 Mär 13 23:33 userdata

Maybe it would be a solution to do a case distinction (in fix_ark.sh) like in fn_check_steamcmd_exec and in case of steamcmd from packages to link ~/.steam into serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux instead of /steamcmd as until now.

<!-- gh-comment-id:598965093 --> @ghost commented on GitHub (Mar 13, 2020): Steam from repositories creates for every user that uses it a ~/.steam directory: ``` ark-theisland@ark:~$ ls -al .steam/ insgesamt 40 drwxr-xr-x 9 ark-theisland ark-theisland 4096 Mär 13 23:36 . drwxr-xr-x 6 ark-theisland ark-theisland 4096 Mär 13 23:32 .. drwxr-xr-x 3 ark-theisland ark-theisland 4096 Mär 13 23:33 appcache drwxr-xr-x 2 ark-theisland ark-theisland 4096 Mär 13 23:35 config drwxr-xr-x 2 ark-theisland ark-theisland 4096 Mär 13 23:33 depotcache drwxr-xr-x 2 ark-theisland ark-theisland 4096 Mär 13 23:33 logs -rwxr-xr-x 1 ark-theisland ark-theisland 224 Mär 13 23:36 registry.vdf lrwxrwxrwx 1 ark-theisland ark-theisland 26 Mär 13 23:32 root -> /home/ark-theisland/.steam lrwxrwxrwx 1 ark-theisland ark-theisland 26 Mär 13 23:32 steam -> /home/ark-theisland/.steam drwxr-xr-x 3 ark-theisland ark-theisland 4096 Mär 13 23:33 SteamApps drwxr-xr-x 7 ark-theisland ark-theisland 4096 Mär 13 23:33 steamcmd drwxr-xr-x 3 ark-theisland ark-theisland 4096 Mär 13 23:33 userdata ``` Maybe it would be a solution to do a case distinction (in fix_ark.sh) like in fn_check_steamcmd_exec and in case of steamcmd from packages to link ~/.steam into serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux instead of /steamcmd as until now.
Author
Owner

@dgibbs64 commented on GitHub (Mar 13, 2020):

Im testing using this instead currently 👍

lgsm@localhost:~/arkserver$ ls -al /home/lgsm/jc3server/steamcmd/
total 36
drwxrwxr-x 8 lgsm lgsm 4096 Nov 15 16:32 .
drwxrwxr-x 6 lgsm lgsm 4096 Nov 16 16:15 ..
drwxrwxr-x 2 lgsm lgsm 4096 Nov 15 16:32 linux32
drwxrwxr-x 2 lgsm lgsm 4096 Nov 15 16:32 linux64
drwxrwxr-x 2 lgsm lgsm 4096 Nov 15 16:32 package
drwxrwxr-x 2 lgsm lgsm 4096 Nov 15 16:32 public
drwxrwxr-x 3 lgsm lgsm 4096 Nov 15 16:32 siteserverui
drwxrwxr-x 3 lgsm lgsm 4096 Nov 15 16:32 steam
-rwxrwxr-x 1 lgsm lgsm 1166 Oct 10  2016 steamcmd.sh
lgsm@localhost:~/arkserver$ ls -al /home/lgsm/.steam/steamcmd/
total 32
drwxrwxr-x  7 lgsm lgsm 4096 Mar 13 23:00 .
drwxrwxr-x 10 lgsm lgsm 4096 Mar 13 22:58 ..
drwxrwxr-x  2 lgsm lgsm 4096 Mar 13 22:21 linux32
drwxrwxr-x  2 lgsm lgsm 4096 Mar 13 22:21 linux64
drwxrwxr-x  2 lgsm lgsm 4096 Mar 13 22:21 package
drwxrwxr-x  2 lgsm lgsm 4096 Mar 13 22:21 public
drwxrwxr-x  3 lgsm lgsm 4096 Mar 13 22:21 siteserverui
-rwxrwxr-x  1 lgsm lgsm 1166 Oct 10  2016 steamcmd.sh
<!-- gh-comment-id:598965350 --> @dgibbs64 commented on GitHub (Mar 13, 2020): Im testing using this instead currently 👍 ``` lgsm@localhost:~/arkserver$ ls -al /home/lgsm/jc3server/steamcmd/ total 36 drwxrwxr-x 8 lgsm lgsm 4096 Nov 15 16:32 . drwxrwxr-x 6 lgsm lgsm 4096 Nov 16 16:15 .. drwxrwxr-x 2 lgsm lgsm 4096 Nov 15 16:32 linux32 drwxrwxr-x 2 lgsm lgsm 4096 Nov 15 16:32 linux64 drwxrwxr-x 2 lgsm lgsm 4096 Nov 15 16:32 package drwxrwxr-x 2 lgsm lgsm 4096 Nov 15 16:32 public drwxrwxr-x 3 lgsm lgsm 4096 Nov 15 16:32 siteserverui drwxrwxr-x 3 lgsm lgsm 4096 Nov 15 16:32 steam -rwxrwxr-x 1 lgsm lgsm 1166 Oct 10 2016 steamcmd.sh ``` ``` lgsm@localhost:~/arkserver$ ls -al /home/lgsm/.steam/steamcmd/ total 32 drwxrwxr-x 7 lgsm lgsm 4096 Mar 13 23:00 . drwxrwxr-x 10 lgsm lgsm 4096 Mar 13 22:58 .. drwxrwxr-x 2 lgsm lgsm 4096 Mar 13 22:21 linux32 drwxrwxr-x 2 lgsm lgsm 4096 Mar 13 22:21 linux64 drwxrwxr-x 2 lgsm lgsm 4096 Mar 13 22:21 package drwxrwxr-x 2 lgsm lgsm 4096 Mar 13 22:21 public drwxrwxr-x 3 lgsm lgsm 4096 Mar 13 22:21 siteserverui -rwxrwxr-x 1 lgsm lgsm 1166 Oct 10 2016 steamcmd.sh ```
Author
Owner

@github-actions[bot] commented on GitHub (Mar 15, 2021):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:799007149 --> @github-actions[bot] commented on GitHub (Mar 15, 2021): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
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
starred/LinuxGSM#1980
No description provided.