OneDrive mount fails with "Invalid Mount Spec" in 3.53.1 (Is Fedora 41 shipping with an alpha version of Gnome Online Accounts?)

Good day everyone.

A couple of users (me included) experienced this OneDrive mount fails with “Invalid Mount Spec” in 3.53.1 (#405) · Issues · GNOME / gnome-online-accounts · GitLab

But the report was closed since Fedora 41 is - so they say - shipping with an alpha version of the Gnome Online Account.

Can this be fixed or any way to workaround this?

1 Like

Im having the same issue

Same issue. Any workaround while this is getting sorted ?

Seems to suggest that reverting to 3.53.0 of gnome-online-accounts gets it working again. Moving backwards…

1 Like

Also looks like 3.53.1 was added as an update by mistake, andd may be rolled back… I dont know enough about Fedoras management of the updates…

OK I downgraded that package, which for me took me back to 3.51.3-1.fc41 so a bit further back than the 3.53.0 mentioned, but thats what it gave me

sudo dns downgrade gnome-online-accounts

then logged out and back in again.
And I have OneDrive available again

2 Likes

Any way to downgrade a package on Silverblue? Otherwise I’ll just downgrade everything to the latest image

This should work on Silverblue:

sudo rpm-ostree override replace https://kojipkgs.fedoraproject.org/packages/gnome-online-accounts/3.53.0/1.fc41/x86_64/gnome-online-accounts-3.53.0-1.fc41.x86_64.rpm

Overrides need to be used carefully though. From the man page:

Such modifications should be done with care and are normally not intended to be long-lasting.

For me, version 3.53.1-3.fc41 was faulty and 3.51.3-1.fc41 works fine.

For people who downgrade, it might be wise to versionlock until a fix is available:

$ sudo dnf downgrade gnome-online-accounts
Updating and loading repositories:
Repositories loaded.
Package                                     Arch        Version                                     Repository                  Size
Downgrading:
 gnome-online-accounts                      x86_64      3.51.3-1.fc41                               fedora                   2.2 MiB
   replacing gnome-online-accounts          x86_64      3.53.1-3.fc41                               updates                  2.2 MiB

However, at the next upgrade, dnf will try to install the latest version:

$ sudo dnf upgrade gnome-online-accounts
Updating and loading repositories:
Repositories loaded.
Package                                       Arch        Version                                        Repository                    Size
Upgrading:
 gnome-online-accounts                        x86_64      3.53.1-3.fc41                                  updates                    2.2 MiB
   replacing gnome-online-accounts            x86_64      3.51.3-1.fc41                                  fedora                     2.2 MiB

To protect this downgrade with a versionlock:

$ sudo dnf versionlock add gnome-online-accounts
Updating and loading repositories:
Repositories loaded.
Adding versionlock on "gnome-online-accounts = 3.51.3-1.fc41".

It is now safe from upgrades:

$ sudo dnf upgrade gnome-online-accounts
Updating and loading repositories:
Repositories loaded.
Nothing to do.

Don’t forget to check after a while whether a fix is available. Remove the lock with:

sudo dnf versionlock delete gnome-online-accounts
Deleting versionlock entry:
# Added by 'versionlock add' command on 2025-02-19 15:51:49
Package name: gnome-online-accounts
evr = 3.51.3-1.fc41

Now you can upgrade like normal.