Hello @ich777,
The warning is correct - your scripts should use force_install_dir before logging in, and avoid using it after logging in.
Using force_install_dir used to trigger a forced re-download of a title's content even when no update was necessary. This problem is fixed in steamcmd, but there may be other issues and it's still recommended to use force_install_dir before logon.
@TTimo oh, okay, then I think I have to fix this for my ~64 Docker images... :D
Strange thing is that it never actually triggered a redownload from any game.
Thank you for your time and quick answer! :)
Yeah, that was https://github.com/ValveSoftware/steam-for-linux/issues/8075 - but it only happened under heavy I/O load
Hi , I use steamCMD since it's first day and I comfirm it's a bug , it should not happen , all the official documentation say clearly to log in first
Hello @ich777,
The warning is correct - your scripts should use
force_install_dirbefore logging in, and avoid using it after logging in.Using
force_install_dirused to trigger a forced re-download of a title's content even when no update was necessary. This problem is fixed insteamcmd, but there may be other issues and it's still recommended to useforce_install_dirbefore logon.
your wrong , all the documentation are clear , logon first and use force_install_dir in second , all this info are from steam documentation
this also happen in steamcmd shell
@thesweetiger I think the person you want to mention is @TTimo or am I wrong?
I see it also like you say it but you things change over time?
Hi, i got the same error (first, i do login anonymous, after i create a file for my server, and after i use force_install_dir and my file in c: and after i got : please use force_install_dir before logon)
can you explaind clearly what i should do ? step by step ?
thx for your help
@Calingoff : simply put the force_install_dir command before the login command in your script.
@Calingoff : simply put the force_install_dir command before the login command in your script.
I did and it still said the same
İ tried without logging in, nothing happens.
having issues getting further than this on doing this new method of installing server files.
Steam>force_install_dir
Usage: force_install_dir
Your system information
Please describe your issue in as much detail as possible:
Not really sure where to post because it's an "issue" with SteamCMD.
Recently an update from SteamCMD brought up this message:
Please use force_install_dir before logon!Steps for reproducing this issue:
steamcmd.sh +login anonymous +force_install_dir ${SERVER_DIR} +app_update ${GAME_ID} +quitPlease use force_install_dir before logon!pops up in the logs but game downloads fineIs this something that needs to be changed to:
steamcmd.sh +force_install_dir ${SERVER_DIR} +login anonymous +app_update ${GAME_ID} +quitor is the old command still fine? If it needs to be changed, why? Or can this warning be ignored?