-
-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: vhserver update error "[ FAIL ] Updating vhserver: Checking remote build: SteamCMD" #4713
Comments
The same here. |
Same for most of the servers I run (PW, PZ, VH, SDTD). Simply run SteamCMD manually & seems to work as expected steam_upd.sh
steamcmd.txt
|
If you address the server with the parameter fu "force update" it also works manually. But it's all inconvenient and takes time. |
Same here for insurgency server |
It seems to me that steamcmd no longer provides the necessary information.
From
From
|
We can confidently say that the old way does not work. I do not think you can blanketly judge "that steamcmd no longer provides the necessary information". Perhaps it changed, or perhaps the devloper need to come with an alternate way of doing this to fix the issue. For example we can see that this latest build id number is still publicly available here: https://steamdb.info/app/1690800/depots/?branch=public (I'm giving the satisfactory example, because this is the game server I have problems with) so it would be reasonable to assume there are working ways to retreive it. |
Related: ValveSoftware/steam-for-linux#11521 FWIW, the app info steamcmd command does work with an authenticated account (if you jump through the steam guard / 2FA hoops) |
We were hoping that once they completed the updates to the various appid's it would settle down. Its appears that is not the case |
I just wanted to say that this is the reason why it fails: An output from Steamcmd is missing. It is of course clear that there can be many reasons for this or different solutions. It should just help to understand/find the cause Thanks for linking the related issue :) |
I would rather not have to go down the route of LinuxGSM having to use logins to get the info moving forward. It is still not clear what the solution is moving forward. If anyone has any success getting appid info without requiring login please let us know |
I poked around on this. My problem is with sfserver. It is the same problem, no app info returned from steamcmd. While experimenting, I left off the +quit and entered Then I went into core_steamcmd.sh and removed the passage which deletes appinfo.vdk at line 170.
If I stack multiple app_info_print's on the command line I sometimes get an empty payload, like this:
I am still unable to reliably cause steamcmd to return a payload via a script without the step of doing this interactively. |
You probably could run
|
Editing https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/modules/core_steamcmd.sh#L186 with the solution presented in ValveSoftware/steam-for-linux#9683 (comment) (extra My full replaced line:
|
Looks like it comes down to timing. If you cause the command to delay long enough to get the info before it quits you get the results. So padding it in any way to make it run longer seems to work. |
Right, but prior to some update, it would wait/block for app_info_print to finish before moving on to the next command, but not anymore, necessitating the extra commands to stall. |
That probably best to go somewhere where it can be actioned, e.g. ValveSoftware/steam-for-linux#11521 linked above. |
Yeah, I suggest leaving comments on the steam-for-linux issues page. Upvote related issues as well. As currently this is something that Valve have broken and there is no decent workaround currently. Hopefully they sort it out soon. Until there is a reliable workaround we can use or a fix there isnt anything I can do currently. |
Just wanted to chime in here and say, this change worked for me with Satisfactory as well as Valheim. Edit: It worked for |
This also worked for me to fix the command "l4d2server check-update" and the command "l4d2server update": from: to: |
Some chars are missing here. Must be ... the |
Looks like we might have a workaround. I will do some testing with this suggestion to see how well it works. If successful I will get a hot fix out 😊 |
@Aquato Yes, you are correct. I posted without marking as code and it stripped the back slashes. Sorry about that and thank you for correcting! What you have is correct, but I am posting again as confirmation: In: from: to: |
Any reason why we need +login twice? edit: becuase it dont work without login twice 🙄 |
My opinion, is that anything that is running long enough to let the async call to get the information will work. So if you do not pad it with enough commands, such as login, it still sometimes not going to get the data. Of course it all depends on timing and therefore results may wary, but the longer it takes the more probability the data will be there. |
FWIW the above "fix" works most of the time but not all of the time during my testing. About 1 time out of ten on my box it still returms nothing. |
@AndrewSav Here is a very small change (added +logoff before +quit) and I am curious if it helps you go from 90% to 100% working:
|
@Mystik-Spiral I think I'll leave it where it is. I wrote an automation script to demonstrate the failures, but with the script it is not failing any more, only ocasionally fails when running manually from the command line. Probably comes down to some wierd timing and good enough. |
Yeah, sounds like the hotfix have reduced the problem but probably to got rid of it totally...which is a step in the right direction. |
The only purpose of the second login/etc is to stall for long enough that the app_info_request finishes and populates the temp vdf files, so that the followup app_info_print just reads from the vdf instead of fetching from remote again. |
User story
Fresh Valheim server installation with LinuxGSM in Debian 12. Running ./vhserver update yields this error message.
Game
Valheim
Linux distro
Debian 12
Command
command: update
Further information
This issue was just mentioned in a separate issue thread by @jaumebecks:
#4588 (comment)
It is not isolated to my own setup.
Relevant log output
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: