Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to restore files from backup without existing files present (No such file or directory) #423

Open
RoseIlanga opened this issue Nov 29, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@RoseIlanga
Copy link

Ludusavi version

v0.27.0

Operating system

Linux

Installation method

Standalone

Description

When selecting a game to restore (in this case, Warhammer: Vermintide 2), the restore operation is able to create the directories leading up to the configuration files, but fails to restore the files themselves. If I copy the files into the directory manually first and then run restore, it works fine.

Logs

[2024-11-29T10:37:29.868Z] ERROR [ludusavi::path] [Warhammer: Vermintide 2] unable to copy: ./drive-0/home/[...]/.local/share/Steam/steamapps/compatdata/552500/pfx/drive_c/users/steamuser/AppData/Roaming/fatshark/Vermintide 2/launcher.config -> /home/[...]/.local/share/Steam/steamapps/compatdata/552500/pfx/drive_c/users/steamuser/AppData/Roaming/fatshark/Vermintide 2/launcher.config | No such file or directory (os error 2)

[2024-11-29T10:37:29.869Z] ERROR [ludusavi::path] [Warhammer: Vermintide 2] unable to copy: ./drive-0/home/[...]/.local/share/Steam/steamapps/compatdata/552500/pfx/drive_c/users/steamuser/AppData/Roaming/fatshark/Vermintide 2/user_settings.config -> /home/[...]/.local/share/Steam/steamapps/compatdata/552500/pfx/drive_c/users/steamuser/AppData/Roaming/fatshark/Vermintide 2/user_settings.config | No such file or directory (os error 2)

[2024-11-29T10:37:29.869Z] ERROR [ludusavi::path] [Warhammer: Vermintide 2] unable to copy: ./drive-0/home/[...]/.local/share/Steam/steamapps/compatdata/552500/pfx/drive_c/users/steamuser/AppData/Roaming/fatshark/Vermintide 2/save_data.sav -> /home/[...]/.local/share/Steam/steamapps/compatdata/552500/pfx/drive_c/users/steamuser/AppData/Roaming/fatshark/Vermintide 2/save_data.sav | No such file or directory (os error 2)

@RoseIlanga RoseIlanga added the bug Something isn't working label Nov 29, 2024
@RoseIlanga
Copy link
Author

Okay, small update. I tried this with V Rising and it seemed to restore everything fine without me having to manually copy files over. So I don't know what's different about Warhammer: Vermintide 2. I can test with other games later and see if any others are affected.

@RoseIlanga
Copy link
Author

ludusavi_rCURRENT.log

Just today, I tried restoring Warframe files. Even more strangely, a lot of the files already existed, but it still gave the "No such file or directory" error when trying to restore.

@mtkennerly
Copy link
Owner

Hi! Thanks for the detailed report. Unfortunately, I'm not really sure what could cause this, especially since you're using the standalone version and not Flatpak (which has more restrictive permissions).

Do the folders/files for Warhammer and V Rising have any different permissions?

@RoseIlanga
Copy link
Author

They both seem to have the same permissions (and owner):

Owner: rwx
Group: r-x
Others: r-x

Same with Warframe and New World, which have also had this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants