I was using the onedrive service, but I now cannot make it work any longer
I also have no real clue to inspect what is going wrong - I cannot even find the service definition.
https://nixos.wiki/wiki/OneDrive
can someone help?
I was using the onedrive service, but I now cannot make it work any longer
I also have no real clue to inspect what is going wrong - I cannot even find the service definition.
https://nixos.wiki/wiki/OneDrive
can someone help?
We need some logs otherwise there is not much we can help you with.
Thank you for the answer.
I’ve activated services.onedrive.enable = true;
in my configuration.nix.
When running
systemctl --user enable onedrive@onedrive-0.service
it should enable the service according to the wiki, however it outputs
Failed to enable unit: Unit file onedrive@onedrive-0.service does not exist.
inspecting logs only results in very old logs (Nov 2022, despite this is constantly activated)
journalctl --user -t onedrive | less
-- Boot cf9e515f6e87413da17b2b4e2f74a1ce --
Nov 17 09:19:49 gram17 onedrive[1238]: Configuring Global Azure AD Endpoints
Nov 17 09:19:49 gram17 onedrive[1238]: Authorize this app visiting:
Nov 17 09:19:49 gram17 onedrive[1238]: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
Nov 17 09:19:49 gram17 onedrive[1238]: Enter the response uri: Invalid uri
Nov 17 09:19:49 gram17 onedrive[1238]: Could not initialize the OneDrive API
It was working about a year ago