Hello @Sparkwave2, please copy the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put it in a gist, then include a link to the gist in this issue report.
I updated it with the link, here's a link to it again just in case: https://gist.github.com/Sparkwave2/5f6a35c299fc2188f904dc2b1177bbc5
Same symptoms here, on openSUSE Tumbleweed. Found no clue in the logs, but running steam from the console and scanning stdout/stderr, I spotted:
sh: line 1: /home/peniblec/media/.steam_exec_test.sh: Permission denied
Failed system("/home/peniblec/media/.steam_exec_test.sh") in execute test: 32256
/home/peniblec/media is a new mount point I just added, on a newly formatted drive with…
$ mount | grep media
/dev/nvme0n1p1 on /home/peniblec/media type xfs (rw,nosuid,nodev,noexec,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=32,swidth=256,noquota,user)
… and I was trying to add a new library folder under /home/peniblec/media/games/steam. Paths not under ~/media were successfully added, but paths under ~/media could not be, with the symptoms described by @Sparkwave2.
Turns out I asked the distro's partition wizard (YaST Partitioner) for the partition to be "mountable by user", which IIUC translates to the user option in fstab, which, quoth mount(8),
implies the options
noexec,nosuid, andnodev(unless overridden by subsequent options, as in the option lineuser,exec,dev,suid).
So in my specific instance,
Mounting Options ⇒ Fstab Options… ⇒ Arbitrary Option Value ⇒ exec,/etc/fstab says user,exec and mount no longer says noexec,… did the trick: I can now add /home/peniblec/media/games/steam as a library folder, and move games there.
Odds are slim that this mount option goof matches your issue exactly @Sparkwave2; FWIW though I can at least confirm the failure mode: Steam creates a steamapps subfolder, then does nothing UI-wise to acknowledge that creation or report the error that interrupted the operation.
I can confirm that adding exec after user in the mount options fixes the issue.
@peniblec thank you for publicly posting as it resolved my issue.
Yeah tailing the log files (or watching stdout) when you add it via the ui or the console is the way to actually see what the failure/issue is. :) Another symptom is adding it via the console it just says "Failed mounting that path!"
I think that if adding a storage fails, Steam should at least have a warning message popup "check your logs to see why". Even better would be the exact error....
It is really confusing when just nothing happens...
Assuming there's no issue with the filesystem or permissions:
I'm seeing this as well. I already have a second Steam Library (pointing to ~/Steam)... I added another Linux partition to the system. Keep trying to add it as third library, Steam creates empty 'steamapps' folder, and it just silently fails.
EDIT: Odd.... my fstab doesn't have "noexec" in the mount line, but yeah, that's why, I can't execute files on that partition.. wonder what's wrong...
Nothing extracted yet.
Your system information
Please describe your issue in as much detail as possible:
Steam does not add a library folder. When trying to add one, it does not display an error message, it creates a steamapps folder, and then does nothing.
Steps for reproducing this issue:
Steam Runtime Diagnostics: https://gist.github.com/Sparkwave2/5f6a35c299fc2188f904dc2b1177bbc5