Weilbyte / steam-workshop-upload

Upload your mod to the Steam Workshop with the power of GitHub Actions — now with Steam Guard 2FA support
MIT License
13 stars 3 forks source link

`cat: /workshop.vdf: No such file or directory` and `Preparing update...ERROR! Failed to update workshop item (Invalid Parameter).` #5

Open eliw00d opened 2 years ago

eliw00d commented 2 years ago

I am unable to upload a Company of Heroes 2 workshop item due to:

cat: /workshop.vdf: No such file or directory

Redirecting stderr to '/github/home/Steam/logs/stderr.txt'
/tmp/dumps is not owned by us - delete and recreate

[----] Update complete, launching Steamcmd...
Redirecting stderr to '/github/home/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version [16](...)00882
-- type 'quit' to exit --
Loading Steam API...OK
"@ShutdownOnFailedCommand" = "1"
Logging in user '***' to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK

Preparing update...ERROR! Failed to update workshop item (Invalid Parameter).
stderr
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize

workshop_log
cat: /home/steam/Steam/logs/Workshop_log.txt: No such file or directory

I found this where they mention using workshop_create_legacy_item but I'm not sure if that's related. If it is, maybe support for either workshop_create_legacy_item or workshop_build_item would be nice? Any thoughts?

As a side note, the cat: /home/steam/Steam/logs/Workshop_log.txt: No such file or directory at the end was fixed here but no new version released to include that.

Weilbyte commented 2 years ago

Hmm, interesting. I will have to test out workshop_create_legacy_item because as of right now I think it can be used only for creating new mods, not updating existing ones.

eliw00d commented 2 years ago

Gotcha. I'm not too familiar with the SDK, just something I ran across when looking up the error.

eliw00d commented 2 years ago

I ran steamcmd.exe locally and noticed the following in workshop_log.txt:

[2022-10-15 10:55:10] Loading workshop items for 0 installed apps for user [USERID]:
[2022-10-15 10:55:14] [AppID APPID] Upload starting for workshop item ITEMID by AppID APPID
[2022-10-15 10:55:15] [AppID APPID] Upload workshop item ITEMID failed (no workshop depot found)

Also, I did get workshop_create_legacy_item to work but, as you said, it only creates. So, this might not be possible with steamcmd.

Weilbyte commented 2 years ago

Hmm, that is unfortunate. Anyway, thanks for reminding me to actually release an update for that log change.