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

[Bug]: File Picker with SAML user results in "Error: Invalid owner type" with User Migration app #47828

Open
5 of 8 tasks
LokeYourC3PH opened this issue Sep 8, 2024 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug

Comments

@LokeYourC3PH
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

I've seen a similar issue here "#45420", and so I will just reference the entire bug thread I have already created here: nextcloud/user_saml#882

I feel as if this could be a problem with NextCloud itself, which is why I am opening a thread here as well. Please advise.

Steps to reproduce

Refer to: nextcloud/user_saml#882

Expected behavior

Refer to: nextcloud/user_saml#882

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MySQL

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

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

Refer to: https://github.com/nextcloud/user_saml/issues/882

List of activated Apps

Refer to: https://github.com/nextcloud/user_saml/issues/882

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Refer to: https://github.com/nextcloud/user_saml/issues/882

Additional info

Refer to: nextcloud/user_saml#882

@LokeYourC3PH LokeYourC3PH added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Sep 8, 2024
@LokeYourC3PH
Copy link
Author

LokeYourC3PH commented Sep 8, 2024

For some additional information: If I use the file picker of another app, say "Photos", it works absolutely fine.

However, even when logging in with a SAML account, I get a message from the "Photos" app saying "Could not load photos folder", with a similar error message in the Firefox console:

[FATAL] photos: Unexpected Error "Invalid owner type" 
Object { app: "photos", uid: "7", level: 2, error: Error }
[ConsoleLogger.js:78:18](webpack:///photos/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
    value ConsoleLogger.js:78
    value ConsoleLogger.js:105
    n userConfig.js:50
Uncaught (in promise) Error: Couldn't fetch photos upload folder
    n userConfig.js:55

So this seems to be related.

@ivanandre
Copy link

Same issue here. Nextcloud Hub 9 (version 30.0.0).
From the dashboard or Photos app, I get the error inside the Console.
userConfig.js:33 [FATAL] photos: Unexpected Error "Invalid owner type" {app: 'photos', uid: '218018', level: '2', error: Error: Invalid owner type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug
Projects
None yet
Development

No branches or pull requests

3 participants