@Cherry running the same commands here works properly. Are you running the latest version of steamcmd? It should auto-update on startup unless the bootstrapper was manually inhibited.
Can you post the full output on error when you run ./steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir ./ark_se +login anonymous +app_update 376030 validate +quit?
I was receiving this:
$ ./steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir ./project_zomboid +login anonymous +app_update 380870 validate +quit
Redirecting stderr to 'E:\Steamcmd\logs\stderr.txt'
Logging directory: 'E:\Steamcmd/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1731433425
-- type 'quit' to exit --
Loading Steam API...OK
"@sSteamCmdForcePlatformType" = "linux"
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
ERROR! Failed to install app '380870' (No subscription)
After I completed nuked the steamcmd binary and downloaded a fresh one, it updated and was able to download files without issue again though, so perhaps the auto-updater didn't trigger for some reason?
Multiple players had the same issue for Valheim dedicated servers when it came to anonymous installs. Re-installing the app, and installing it manually didn't help. Lasted 2-3 days. Now works again without the game devs or me doing anything specific. Was a multi platfrom issue, not just Linux.
Nothing extracted yet.
After I suspect this change, some dedicated servers fail to install using
login anonymouswith SteamCMD: https://steamdb.info/changelist/26182341/Steps for reproducing this issue:
./steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir ./project_zomboid +login anonymous +app_update 380870 validate +quitERROR! Failed to install app '380870' (No subscription)errorsOther failures:
ARK SE:
./steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir ./ark_se +login anonymous +app_update 376030 validate +quitDon't Starve Together:
./steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir ./dst +login anonymous +app_update 343050 validate +quitAnd likely more.
Previously this would work without issue, and you'll find countless tutorials online for Project Zomboid, ARK, Don't Starve Together, etc. where this worked fine.
It looks like many things were removed from anonymous downloads as per https://steamdb.info/sub/17906/history/.