steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Steam games all deleted

Open saward opened this issue 12 years ago • 38 comments

So it appears that steam has deleted all my games. I've done a space visualisation of my home folder, and I cannot see them anywhere. The space used by the files found seems to match that which df -h reports as used, so I don't think they're hiding anywhere else.

Was using gnome 3 shell, and had some issues. Couldn't move a window without the shell appearing to no longer be interactive. Restarted X a couple of times with ctrl-alt-del. May or may not have had something to do with me trying to use: LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1

Anyway, finally started up steam and it appeared to be updating and failing. Cancelled since it took a while a couple of times, and started. Ran it from the console instead so I could see what happened. Waiting patiently lead to the update completing, and the discovery that my games were missing. Console output available at https://gist.github.com/saward/ecd01a8f56656d0b0110

saward avatar Jul 22 '14 10:07 saward

Had the same issue, happened twice to me in the last 2 days. (username: spadaccio)

I was trying to start a game from the command line, using the optirun wrapper to make the game use my discrete GPU (it worked other times) and then the game just disappeared from under my nose : 23:05 ~$ cd .local/share/Steam/steamapps/ 23:05 steamapps$ ls appmanifest_250900.acf common downloading sourcemods 23:06 steamapps$ cd common/ 23:06 common$ ls The Binding of Isaac Rebirth 23:06 common$ cd The\ Binding\ of\ Isaac\ Rebirth/ 23:06 The Binding of Isaac Rebirth$ ls changelog.txt isaac.i386 isaac.x64 lib32 lib64 resources run-i386.sh run-x64.sh savedatapath.txt 23:06 The Binding of Isaac Rebirth$ optirun ./run-x64.sh [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so. 23:06 The Binding of Isaac Rebirth$ Running Steam on sabayon 64-bit STEAM_RUNTIME is enabled automatically [2014-12-02 23:06:11] Startup - updater built Nov 21 2014 16:23:41 Installing breakpad exception handler for appid(steam)/version(1416617579) [VGL] ERROR: Could not open display :8. Installing bootstrap /home/andrea/.local/share/Steam/bootstrap.tar.xz Reset complete! Restarting Steam by request... Running Steam on sabayon 64-bit STEAM_RUNTIME has been set by the user to: /home/andrea/.local/share/Steam/ubuntu12_32/steam-runtime ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". [2014-12-02 23:06:12] Startup - updater built Aug 26 2014 15:35:42 Installing breakpad exception handler for appid(steam)/version(1416617579_client) [VGL] ERROR: Could not open display :8.

[ Here the game failed to use the other GPU, not sure why, so I tried to run glxgears/glxspheres and they succeeded ]

23:06 The Binding of Isaac Rebirth$ cat /proc/acpi/bbswitch 0000:01:00.0 OFF 23:06 The Binding of Isaac Rebirth$ optirun glxgears shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ^C[ 108.508824] [WARN]Received Interrupt signal. 23:06 The Binding of Isaac Rebirth$ optirun glxspheres shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Polygons in scene: 62464 Visual ID of window: 0x20 Context is Direct OpenGL Renderer: GeForce GT 620M/PCIe/SSE2 141.238271 frames/sec - 140.559763 Mpixels/sec ^C[ 117.147186] [WARN]Received Interrupt signal.

[ as you can see, the commands failed with current directory not existing, I didn't pay attention to that. Now I try starting the game ]

23:06 The Binding of Isaac Rebirth$ optirun ./run-x64.sh shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory sh_makepath: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory /usr/bin/vglrun: line 241: /home/andrea/.local/share/Steam/steamapps/common/The Binding of Isaac Rebirth/run-x64.sh: No such file or directory 23:06 The Binding of Isaac Rebirth$ ls 23:06 The Binding of Isaac Rebirth$ ls -l total 0 23:06 The Binding of Isaac Rebirth$ cd .. cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

The game got deleted while I was in that directory. I started steam and it prompted me to re-login and I had to download the game again.

Is this because I was trying to run the game from the command line?

lupino3 avatar Dec 02 '14 23:12 lupino3

For what it's worth, this has not happened to me again since the first time (so far!).

saward avatar Dec 02 '14 23:12 saward

Take a look in the folder ~/.local/share/Steam/steamapps/.save 3 days ago my steam client crashed and moved ~/.local/share/Steam/Steamapps into ~/.local/share/Steam/.save/steamapps

I just had to move it back and restart steam client.

EDIT: Sorry, i haven't noticed that you mention usage of df -h. This could different issue from what i am describing.

0x726f62 avatar Dec 12 '14 16:12 0x726f62

Yes, unfortunately there is no such directory (.save).

I noticed that if I run the games when the Steam client is open, I don't get this issue. It smells like some sort of protection, I don't know.

lupino3 avatar Dec 12 '14 22:12 lupino3

EDIT: Sorry, i haven't noticed that you mention usage of df -h. This could different issue from what i am describing.

Yeah, and at the time I noticed my free space was more than I thought it should have been, by about what I would have thought the games took up.

saward avatar Dec 12 '14 23:12 saward

Not the exact same problem, but it fits into this, I guess.

For me the Games are gone inside my library after every restart of my PC, also the login data is not saved by Steam. The files are not gone, the SteamApps folder is there and my games are also in that common folder. However, when I restart Steam, the Library is intact again, till I do a restart of my PC.

I'm in the Steam beta branch and this behaviour starts with the last update.

ghost avatar Dec 14 '14 13:12 ghost

Same problem for me today. I pressed cancel while the steam updater was running as I wasn't connected to the internet. When I connected, steam had deleted itself and all of my games. I had to reinstall. Running on ubuntu 14.04 LTS. Latest version of steam from the Steam website.

jamieweb avatar Dec 31 '14 01:12 jamieweb

Same thing just happened to me. The updater was stuck, so I canceled it. I then reopened Steam and was greeted by the login screen, even though it's set to automatically login. All my installed games were missing (the whole folder ~/.steam/steam/steamapps/common/ was missing).

Fortunately I back everything up semi-regularly so it wasn't much of a hassle, but damn!

UPDATE: When restoring games from a backup drive, steam won't discover existing Dota 2 files, though it will discover other games, such as Left 4 Dead 2.

nortexoid avatar Jan 16 '15 10:01 nortexoid

Just happened to me, steamapps folder has been deleted now i cant run steam, "unable to connect to x"

enricoluigi avatar Jan 28 '15 00:01 enricoluigi

Chiming in to say it happened to me as well. Hit cancel on the updater, logged in, games are gone.

LakeByTheWoods avatar Jan 29 '15 15:01 LakeByTheWoods

Just wanted to note: This happened to me as well. Pressed cancel on the updater. Once it opened again it seemed that two instances of the updater opened. One hung while the other completed. After a error message about missing 32bit libraries. Then steam started as normal but did not remember my login details and all my games are now gone.

BenjaminSchaaf avatar Jan 29 '15 21:01 BenjaminSchaaf

Come on, this just happened to me again! There wasn't even anything unusual like an updater issue. It wouldn't be such a problem if it could rediscover my backup and not have to download everything from the internet again.

nortexoid avatar Feb 14 '15 14:02 nortexoid

I've noticed that if you ever open Steam and it doesn't automatically log you in, logging in will cause the deletion of your games. If you aren't automatically logged in, close the login box and fully exit Steam. When you launch Steam again it should log you in and your games will still be there.

Cancelling the auto updater seems to always delete your games.

jamieweb avatar Feb 14 '15 20:02 jamieweb

Steam updated and deleted all my games so +1.

JohnMcLear avatar Mar 09 '15 00:03 JohnMcLear

Same happens to me on archlinux, after each update all games get deleted!

Martinsos avatar Mar 25 '15 20:03 Martinsos

Good to know i'm not like Rhianna being the only one with this in the world. For me it crashed when I tried to launch ArmA 3 and I couldn't verify to get a missing exe. Steam crashed and didn't automatically log me in. BOOM! Gone! 10 times!

LegitGamez avatar Aug 01 '15 23:08 LegitGamez

Happened to me 3 times now. Its very annoying. I am on Kubuntu 15.04 and my steam folder is symlinked to a folder in my external drive.

ashishmadeti avatar Oct 16 '15 10:10 ashishmadeti

Steam updated and deleted all my games so +1.

kmf avatar Mar 24 '16 10:03 kmf

Steam just delete GTA V and Tomb Raider. It's 3 times now. GG!

WhiteWolf753 avatar Apr 03 '16 12:04 WhiteWolf753

@WhiteWolf753 what OS are you on? This issue report was limited to linux reports, but if there's a cross platform issue, that might lead a valve dev to check elsewhere in the client.

Tele42 avatar Apr 03 '16 12:04 Tele42