ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

Infinite update issue #6091

Open XakepSDK opened 5 years ago

XakepSDK commented 5 years ago

Your system information

I had rust update, after steam downloaded it, it does something very-very long time. Time remaining doesn't go down, but goes up! When remaining time reaches 0, downloading item flickers and 'DOWNLOADED 0 bytes / 0 bytes' changes to '2.3GB / 2.3GB', then flickers again, resetting 2.3GB to 0 bytes / 0 bytes and whole process starts again.

kisak-valve commented 5 years ago

Hello @XakepSDK, does ~/.steam/root/logs/content_log.txt have anything interesting? Look for 252490 for Rust related lines.

XakepSDK commented 5 years ago

Ah, i remembered: at moment, when steam updated rust, my HDD got full. I made more space for steam, but i couldn't restart process before i restarted steam. Log: https://gist.github.com/XakepSDK/3dc5e7fc09ca75d2c833aa2e8d66f8dd That's not full log, but i noticed interested thing: This process repeats many times and files in 'Validation: file missing' are same every time.

XakepSDK commented 5 years ago

Again - same issue with Monster Hunter World. I have 20GiB free. It says, that 3 files can't be validated

[2019-05-09 12:01:05] HTTP (SteamCache,63) - cache8-sto1.steamcontent.com (162.254.198.19:80 / 162.254.198.19:80, host: cache8-sto1.steamcontent.com): AuthenticateDepotID (582010) - Success!
[2019-05-09 12:01:06] HTTP (SteamCache,63) - cache8-sto1.steamcontent.com (162.254.198.19:80 / 162.254.198.19:80, host: cache8-sto1.steamcontent.com): cache8-sto1.steamcontent.com/depot/582010/manifest/4882644277184187243/5?l=14&e=1557800042&sid=72502291&h=c221b12420d0d18d4ff50555510e5c7455328489 - received 200 (OK) HTTP response
[2019-05-09 12:01:07] AppID 582010 update changed : Running,
[2019-05-09 12:01:07] AppID 582010 update changed : Running,Validating,
[2019-05-09 12:01:07] Validating files (all active,full) ...
[2019-05-09 12:01:07] Validation: file missing "/media/data/SteamLibrary/steamapps/common/Monster Hunter World/steam_shader_cache/bucket_5542172.swarc"
[2019-05-09 12:01:58] HTTP (SteamCache,64) - cache6-sto2.steamcontent.com (155.133.252.16:80 / 155.133.252.16:80, host: cache6-sto2.steamcontent.com): Closing connection
[2019-05-09 12:01:58] Current download rate: 0.000 Mbps
[2019-05-09 12:02:01] HTTP (SteamCache,201) - cache3-sto2.steamcontent.com (155.133.252.14:80 / 155.133.252.14:80, host: cache3-sto2.steamcontent.com): Closing connection
[2019-05-09 12:02:04] HTTP (SteamCache,198) - cache4-sto1.steamcontent.com (162.254.198.17:80 / 162.254.198.17:80, host: cache4-sto1.steamcontent.com): Closing connection
[2019-05-09 12:02:06] HTTP (SteamCache,63) - cache8-sto1.steamcontent.com (162.254.198.19:80 / 162.254.198.19:80, host: cache8-sto1.steamcontent.com): Closing connection
[2019-05-09 12:05:38] Got 72 content servers from directory
[2019-05-09 12:08:11] Validation: file missing "/media/data/SteamLibrary/steamapps/common/Monster Hunter World/MonsterHunterWorld.exe"
[2019-05-09 12:08:11] Validation: file missing "/media/data/SteamLibrary/steamapps/common/Monster Hunter World/tss/data.bin"
[2019-05-09 12:08:11] File validation finished: 19 files (53827653798 bytes) total, 3 files (316912940 bytes) mismatched (424180 msec).
XakepSDK commented 5 years ago

I found these files in /home/user/.local/share/Steam/steamapps/downloading/582010/ I have 4GiB free on disk with this directory

XakepSDK commented 5 years ago
  1. I copied some files from downloads directory to game directory
  2. Removed downloads directory
  3. Started steam
  4. Game download was paused
  5. Game settings -> verify files
  6. Steam re-downloaded 6.8GiB update
  7. Same thing happened

content log: https://gist.github.com/XakepSDK/f549e2c35ec6eeea57a0dc7e38e4258b

Now i copied all files from downloads directory and will retry.

XakepSDK commented 5 years ago

What files has steam downloaded:

.
├── [3.1G]  chunk
│   └── [3.1G]  chunk10.bin
├── [3.4G]  chunkHiPC
│   └── [3.4G]  chunk2.bin
├── [298M]  MonsterHunterWorld.exe
├── [396M]  steam_shader_cache
│   └── [396M]  bucket_5240105.swarc
└── [155K]  tss
    └── [151K]  data.bin

 7.2G used in 4 directories, 5 files

Client says, that it is 6.8GiB update. Feels like it doesn't count shader cache

XakepSDK commented 5 years ago

New content log: https://gist.github.com/XakepSDK/8a7cf0f4a7c40666642d6f7dda0b8c54

  1. Steam did not download this file: steam_shader_cache/bucket_5542172.swarc, i have only steam_shader_cache/bucket_5240105.swarc in downloads directory. bucket_5542172.swarc bucket_5240105.swarc

It says size mismatch for some files:

  1. /media/data/SteamLibrary/steamapps/common/Monster Hunter World/MonsterHunterWorld.exe
  2. /media/data/SteamLibrary/steamapps/common/Monster Hunter World/tss/data.bin

But how this can be true, if i manually copied all files from downloads directory?

XakepSDK commented 5 years ago

@kisak-valve should i send more logs?

XakepSDK commented 5 years ago
  1. Copy game files somewhere, i just renamed game directory
  2. Find downloaded files and copy them in game directory
  3. Remove game in steam
  4. Rename game directory back
  5. Install game in steam MHW update issue was solved by doing this.