nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.89k stars 771 forks source link

macOS VFS - Nextcloud-macOS/FileProviderExt - App token login name does not match #6783

Open stfast opened 1 month ago

stfast commented 1 month ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

MacOS VFS not working

Steps to reproduce

  1. Upgrade to Nextcloud 29
  2. Installing Nextcloud-3.13.0-macOS-vfs.pkg desktop package

Expected behavior

MacOS VFS sync should work.

Which files are affected by this bug

All files

Operating system

Mac OS

Which version of the operating system you are running.

macOS Sonoma

Package

Appimage

Nextcloud Server version

29.0.1

Nextcloud Desktop Client version

3.13.0git (build 22493)

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

{"reqId":"ZlWlLYRKmwoFGdCgwVCaxAAAABE","level":3,"time":"2024-05-28T09:34:37+00:00","remoteAddr":"1.1.1.1","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/capabilities","message":"App token login name does not match","userAgent":"Nextcloud-macOS/FileProviderExt","version":"29.0.1.1","data":{"tokenLoginName":"fast@domain.com","sessionLoginName":"FDD17349-A32D-4411-8E0E-A71BAA44509F","app":"core","user":"FDD17349-A32D-4411-8E0E-A71BAA44509F"}}
{"reqId":"ZlWlLoRKmwoFGdCgwVCaxQAAAAk","level":3,"time":"2024-05-28T09:34:38+00:00","remoteAddr":"1.1.1.1","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/capabilities","message":"App token login name does not match","userAgent":"Nextcloud-macOS/FileProviderExt","version":"29.0.1.1","data":{"tokenLoginName":"fast@domain.com","sessionLoginName":"FDD17349-A32D-4411-8E0E-A71BAA44509F","app":"core","user":"FDD17349-A32D-4411-8E0E-A71BAA44509F"}}
{"reqId":"ZlWlLoRKmwoFGdCgwVCaxgAAABM","level":3,"time":"2024-05-28T09:34:38+00:00","remoteAddr":"1.1.1.1","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/capabilities","message":"App token login name does not match","userAgent":"Nextcloud-macOS/FileProviderExt","version":"29.0.1.1","data":{"tokenLoginName":"fast@domain.com","sessionLoginName":"FDD17349-A32D-4411-8E0E-A71BAA44509F","app":"core","user":"FDD17349-A32D-4411-8E0E-A71BAA44509F"}}
{"reqId":"ZlWlLoRKmwoFGdCgwVCaxwAAAA4","level":3,"time":"2024-05-28T09:34:38+00:00","remoteAddr":"1.1.1.1","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/capabilities","message":"App token login name does not match","userAgent":"Nextcloud-macOS/FileProviderExt","version":"29.0.1.1","data":{"tokenLoginName":"fast@domain.com","sessionLoginName":"FDD17349-A32D-4411-8E0E-A71BAA44509F","app":"core","user":"FDD17349-A32D-4411-8E0E-A71BAA44509F"}}
{"reqId":"ZlWlLoRKmwoFGdCgwVCayAAAAAs","level":3,"time":"2024-05-28T09:34:38+00:00","remoteAddr":"1.1.1.1","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/capabilities","message":"App token login name does not match","userAgent":"Nextcloud-macOS/FileProviderExt","version":"29.0.1.1","data":{"tokenLoginName":"fast@domain.com","sessionLoginName":"FDD17349-A32D-4411-8E0E-A71BAA44509F","app":"core","user":"FDD17349-A32D-4411-8E0E-A71BAA44509F"}}
{"reqId":"ZlWlLjKYlJZA6EfwdAblQQAAAEs","level":3,"time":"2024-05-28T09:34:38+00:00","remoteAddr":"1.1.1.1","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F","message":"App token login name does not match","userAgent":"Nextcloud-macOS/FileProviderExt","version":"29.0.1.1","data":{"tokenLoginName":"fast@domain.com","sessionLoginName":"FDD17349-A32D-4411-8E0E-A71BAA44509F","app":"core","user":"FDD17349-A32D-4411-8E0E-A71BAA44509F"}}

Additional info

image image

stfast commented 1 month ago

Additional debug data from macOS Desktop client - "Settings/Virtual file sync/Advanced/Create debug archive"

Not providing enumerator for container with identifier NSFileProviderWorkingSetContainerItemIdentifier yet as account not set up Could not get notifyPush websocket FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com, polling. Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997

claucambra commented 2 weeks ago

Hi @stfast could you also send us the normal debug archive for the desktop client? Thanks!

stfast commented 2 days ago

Actually they are one post above.

Here is archive file.

Nextcloud-Desktop-debug_archive.txt.zip