protonscr

Workshop upload does not upload files, only preview and directory structure

steamopen reviewed
ValveSoftware/steam-for-linux#3997 · opened 2015-08-31 by blind-coder · updated 2019-08-28 · 2 comments · github
Bblind-coder 2015-08-31 github

Hello.

When I'm trying to upload a mod - either via the in-game functionality or via steamcmd - the actual files making up the mod are not uploaded, only the directory structure is created. Size of the mod is shown as 0.000MB.
Uploading the same mod on Windows works.

The .vdf file I use for uploading:

"workshopitem"
{
    "appid"        "108600"
    "contentfolder"        "Workshop/linuploadtest/Contents"
    "previewfile"        "Workshop/linuploadtest/preview.png"
    "visibility"        "1"
    "title"        "LinuxUploadTest"
    "description"        "Just testing the Linux upload"
}

The command I use for uploading:

./steamcmd.sh +login blindcoder +workshop_build_item linuploadtest.vdf +exit

And the directory structure:

steamcmd@flora:~/steamcmd$ ls -l
total 3140
drwxr-xr-x 2 steamcmd steamcmd    4096 Aug 29 11:17 linux32
drwxr-xr-x 2 steamcmd steamcmd    4096 Aug 29 11:17 package
drwxr-xr-x 2 steamcmd steamcmd    4096 Aug 29 11:17 public
-rw-r--r-- 1 steamcmd steamcmd 3170982 Apr 22  2013 steamcmd_linux.tar.gz
-rwxr-xr-x 1 steamcmd steamcmd    1052 Dec 19  2014 steamcmd.sh
-rwxr--r-- 1 steamcmd steamcmd   14037 Feb  5  2013 steam.sh
drwxr-xr-x 3 steamcmd steamcmd    4096 Aug 29 13:04 Workshop
drwxr-xr-x 2 steamcmd steamcmd    4096 Aug 30 13:29 workshopbuilds
steamcmd@flora:~/steamcmd$ ls -lR Workshop/
Workshop/:
total 4
drwxr-xr-x 3 steamcmd steamcmd 4096 Aug 29 13:14 linuploadtest

Workshop/linuploadtest:
total 68
drwxr-xr-x 3 steamcmd steamcmd  4096 Aug 29 13:03 Contents
-rw-r--r-- 1 steamcmd steamcmd   301 Aug 29 13:14 linuploadtest.vdf
-rw-r--r-- 1 steamcmd steamcmd 49592 Aug 29 13:03 preview.png
-rwxr-xr-x 1 steamcmd steamcmd  1663 Aug 29 13:04 publish.bash
-rw-r--r-- 1 steamcmd steamcmd   112 Aug 29 13:03 workshop.txt

Workshop/linuploadtest/Contents:
total 4
drwxr-xr-x 3 steamcmd steamcmd 4096 Aug 29 13:03 mods

Workshop/linuploadtest/Contents/mods:
total 4
drwxr-xr-x 3 steamcmd steamcmd 4096 Aug 29 13:03 linuxuploadtest

Workshop/linuploadtest/Contents/mods/linuxuploadtest:
total 16
-rwxrwxrwx 1 steamcmd steamcmd   31 Aug 29 13:03 latest_version.txt
drwxr-xr-x 4 steamcmd steamcmd 4096 Aug 29 13:03 media
-rwxrwxrwx 1 steamcmd steamcmd  228 Aug 29 13:03 mod.info
-rwxrwxrwx 1 steamcmd steamcmd  104 Aug 29 13:03 tiny_avc.txt

Workshop/linuploadtest/Contents/mods/linuxuploadtest/media:
total 8
drwxr-xr-x 3 steamcmd steamcmd 4096 Aug 29 13:03 lua
drwxr-xr-x 2 steamcmd steamcmd 4096 Aug 29 13:03 scripts

Workshop/linuploadtest/Contents/mods/linuxuploadtest/media/lua:
total 4
drwxr-xr-x 2 steamcmd steamcmd 4096 Aug 29 13:03 client

Workshop/linuploadtest/Contents/mods/linuxuploadtest/media/lua/client:
total 4
-rwxrwxrwx 1 steamcmd steamcmd 182 Aug 29 13:03 bcBoilRags.lua

Workshop/linuploadtest/Contents/mods/linuxuploadtest/media/scripts:
total 8
-rwxrwxrwx 1 steamcmd steamcmd 481 Aug 29 13:03 BcBoilRags_items.txt
-rwxrwxrwx 1 steamcmd steamcmd 494 Aug 29 13:03 bcBoilRags_recipes.txt

So far I have tried different permissions (777 on everything, "sane" permissions), copying everything to a temporary directory, using relative and absolute paths, starting the filenames with upper/lowercase letters, adding big files (> 1MB) to the mod and using my normal day-to-day user that also has the game installed instead of a seperate steamcmd user.

Any ideas why everything I upload is only an empty directory structure?

This is on a Debian Unstable, but I get same reports from people on all Ubuntu versions since 12.04.

BBrybry 2015-09-01 github

To clarify, both steamwork's ISteamUGC and SteamCMD uploading of ItemContent for workshop items appear to be broken on linux. We tested multiple debian and ubuntu machines.

ISteamRemoteStorage (legacy workshop items) appears to still work as that is what Garry's Mod appears to use for their gmpublish_linux utility.

Xxetra11 2019-08-28 github

has this been fixed? I just wanna put steamcmd in my build pipeline on linux. getting crazy that nothing is working for linux

Nothing extracted yet.