Repository navigation
macOS FileProvider reports "NotAuthenticated" although Nextcloud Desktop Client is connected #10885
Description
Environment
- Nextcloud Desktop Client: 34.0.4
- macOS: 27
- Mac architecture: Apple Silicon (arm64)
- Nextcloud Server: 34.x
- FileProvider extension: com.nextcloud.desktopclient.FileProviderExt
- macOS FileProvider is enabled and registered
- The Nextcloud Desktop Client itself reports that the account is connected/authenticated.
Problem
The Nextcloud Desktop Client shows the account as connected, but the macOS FileProvider extension repeatedly reports that the account is not authenticated.
The Nextcloud folder is registered as a FileProvider domain and appears in ~/Library/CloudStorage/, but macOS cannot access the FileProvider items.
fileproviderctl dump reports:
domain: com.nextcloud.desktopclient.FileProviderExt/...
spDomainID: ECCD47A9-42DB-4E75-8C03-4583DE272987
needs-auth: yes
The FileProvider daemon repeatedly reports:
FP -1000 "You must authenticate before accessing this object."
The Nextcloud FileProvider extension log contains:
FileProviderExt: (FileProvider) [com.apple.FileProvider:default] [ERROR]
Creating internal error for "itemForItemID", original error was:
NSError: FP -1000 "<private>"
The extension then resolves the error as:
key: NotAuthenticated
value: You must authenticate before accessing this object.
Relevant FileProvider state
The Nextcloud domain is present:
domain: com.nextcloud.desktopclient.FileProviderExt/...
root: <FPFS>/N{38}z.link-uwe
needs-auth: yes
The domain is otherwise active and the FileProvider extension is loaded:
bundle URL:
/Applications/Nextcloud.app/Contents/PlugIns/FileProviderExt.appex
containing bundle identifier:
com.nextcloud.desktopclient
The FileProvider database and domain are also present.
Additional observations
The Nextcloud server log shows regular DAV requests from the desktop client, for example:
method: PROPFIND
url: /remote.php/dav/files/uwe/
The server also logs warnings such as:
The app config key dav/enableCalendarFederation is not defined in the config lexicon
and:
The app config key dav/sendInvitations is not defined in the config lexicon
These warnings occur during normal DAV requests and do not appear to explain the FileProvider authentication failure.
The macOS FileProvider log also initially reported:
Not fetching item because account was never set up.
- item: NSFileProviderRootContainerItemIdentifier
The Nextcloud Desktop Client nevertheless reports the account as connected.
Everthing works with the Windows File Explorer
Expected behavior
When the Nextcloud Desktop Client account is connected/authenticated, the corresponding FileProvider domain should also be authenticated and accessible through macOS Finder/FileProvider.
fileproviderctl dump should not report:
needs-auth: yes
and FileProvider should not repeatedly return:
FP -1000
NotAuthenticated
Actual behavior
The Nextcloud Desktop Client reports that the account is connected, but the FileProvider domain remains in an unauthenticated state:
needs-auth: yes
This causes repeated FileProvider errors and prevents normal access to the Nextcloud CloudStorage folder.
Reproduction
- Install Nextcloud Desktop Client 34.0.4 on macOS 27.
- Configure a Nextcloud account.
- Verify that the Nextcloud Desktop Client reports the account as connected.
- Verify that the Nextcloud FileProvider domain exists.
- Run:
fileproviderctl dump | grep -E "domain:|spDomainID:|root:|needs-auth:|error:" - Observe:
domain: com.nextcloud.desktopclient.FileProviderExt/...
needs-auth: yes
- The macOS log repeatedly reports:
FP -1000
NotAuthenticated
Question
Could this be an issue with the authentication/credential hand-off between the Nextcloud Desktop Client and the macOS FileProvider extension?
In particular, is the FileProvider extension expected to obtain or refresh its authentication state independently from the main Nextcloud Desktop Client?
The behavior suggests that the main client has a valid authenticated session while the FileProvider extension has either no valid credentials or is unable to access/refresh them.
I would appreciate any guidance on how to reset or reinitialize the FileProvider authentication state without deleting the local Nextcloud data.
Activity
Skulli commentedon Sep 26, 2026
Same symptoms here (34.0.4, macOS 26.7 25G229, Apple Silicon). In my case the root cause was macOS Local Network privacy: the server hostname resolves to a private LAN IP, and the extension is blocked even though Nextcloud has Local Network permission:
Started right after the macOS 26.7 update. Workaround: point the hostname to the public IP via
/etc/hosts(NAT loopback) so the extension can finish its initial setup; after removing the entry again it keeps working on the LAN IP.@3ueb does your server resolve to a local IP? Check with:
log show --last 5m --predicate 'process CONTAINS "FileProviderExt"' | grep "Local network prohibited"Drafted with AI assistance (Claude); logs and findings are from my own system.
3ueb commentedon Sep 28, 2026
@Skulli
I added the router’s public IPv6 address, including the port forwarding, to the hosts file. I also tried using the LAN IPv4 address, but unfortunately, neither approach helped so far.
JBelliriGenty commentedon Oct 3, 2026
Same issue here, and I can add a precise root cause from the macOS network logs: the File Provider extension is blocked by macOS Local Network privacy, even though the Nextcloud app itself is allowed in Privacy & Security → Local Network.
Environment
macFileProviderModeEnabled=true)Symptoms
Extension log (FileProviderExt)
macOS network log (
log show --predicate 'process == "FileProviderExt"')The request fails in ~15 ms, before any TCP connection, with
Local network prohibited.fileproviderctl dump com.nextcloud.desktopclient.FileProviderExtWhat was tried (none fixed it)
curl; the TLS chain is valid.Analysis
The extension does not seem to inherit the Local Network permission granted to the containing app on macOS 27, and macOS never shows a separate prompt (or Settings entry) for the extension. Any server reached through a private/local address is therefore unreachable for the File Provider, while the main client works, which matches the "connected but NotAuthenticated" state reported here.
Possibly related: missing
NSLocalNetworkUsageDescriptionin the extension's Info.plist, or the extension's network activity not being attributed to the host app on macOS 27.Workaround confirmed in principle: when the server is reached through a non-local address (public IP via NAT loopback), the restriction does not apply. That is not acceptable for most self-hosted setups.
Happy to provide more logs or test a build.
3ueb commentedon Oct 11, 2026
Hello,
I am not sure why this ticket was closed, but the issue persists with macOS 27.0.1 and Nextcloud 34.0.5.
claucambra commentedon Oct 12, 2026
Hi @3ueb we fixed one source of such an issue via the pull request linked to this issue. It is possible that there are other problem paths that can manifest the same way (e.g. #10996 )
Is it possible you are running your instance on the same local network as the Mac you are running the client on?
3ueb commentedon Oct 17, 2026
Hi @claucambra, yes I am running the instance on the sam e local network as the Mac. And I use the port forwarding functionality of my FRITZ!Box.
claucambra commentedon Oct 29, 2026
Okay @3ueb then I will keep this issue closed as it is the same as #10996
Good news is that we just merged a fix for this