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

Flatpak App OneDrive New Syncs No Longer Work Due to Outdated rclone #119

Open
Con-Rez opened this issue Dec 8, 2024 · 0 comments
Open

Comments

@Con-Rez
Copy link

Con-Rez commented Dec 8, 2024

Describe the bug
I didn't test this with any other cloud service provider, but the version of rclone provided is outdated and no longer working properly with at least OneDrive cloud services.

To Reproduce
If there is a scenario wherein a games files on the computer need to be uploaded to OneDrive (either due to being more recent, or for being the first time a sync for those save files has occured), the below errors occur for all files attempted. They appear to be indicating that the authentication key isn't working properly to modify the OneDrive directory. These errors occur when attempting to sync on fresh install, regardless of user-mode and permissions as relegated on FlatSeal:
Error while performing sync: <5>NOTICE: *savefileName*: Failed to cancel multipart upload: unauthenticated: Unauthenticated (upload failed due to: unauthenticated: Unauthenticated) <3>ERROR : *savefileName*: Failed to copy: unauthenticated: Unauthenticated <3>ERROR : OneDrive root 'opencloudsaves/*saveFileDirectory*': not deleting files as there were IO errors <3>ERROR : OneDrive root 'opencloudsaves/*saveFileDirectory*': not deleting directories as there were IO errors

Expected behavior
It shouldn't be erroring like this, and I had the app previously working until it suddenly stopped working.

Desktop (please complete the following information):

  • OS: Linux 6.11.9-303.bazzite.fc41.x86_64
  • Bazzite 41 (FROM Fedora Kinoite) - stable

Solution
The application works again as intended after I downloaded a new Intel/AMD - 64 Bit release of rClone from here. Then I replaced the rclone in the active directory for the application using the command sudo mv -f rclone /var/home/$USER/.local/share/flatpak/app/io.github.daviddesimone.opencloudsaves/current/active/files/bin/ to replace the rclone included with the app with the latest one. The Errors no longer persisted. I tested the solution twice to ensure

Another possible long-term solution would be implementing an option to set the rclone app location manually like in Ludusavi so this issue has a better temporary solution if it comes up again.

Additional context
My custom Flatseal Permissions (I matched them with Ludusavi), which seemingly had no effect on the errors.

  • ~/.var/app/com.valvesoftware.Steam
  • ~/.var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher/instances
  • /media
  • ~/.var/app
  • ~/.var/app/net.lutris.Lutris
  • /run/media
  • ~/.var/app/com.heroicgameslauncher.hgl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant