Skip to content

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

Closed as not planned

Description

@LokeYourC3PH

⚠️ 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

Activity

  1. added
    0. Needs triage
    on Sep 8, 2024
  2. LokeYourC3PH commented on Sep 8, 2024

    @LokeYourC3PH
    Author

    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.

  3. ivanandre commented on Sep 23, 2024

    @ivanandre

    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

  4. joeyame commented on Jan 11, 2025

    @joeyame

    I'm seeing this same error now. It started when I installed memories, disabled photos, then re-enabled photos. I can't remember seeing the error before that... :/

  5. joshtrichards commented on Jun 18, 2025

    @joshtrichards
    Member

    Are any of you still experiencing this?

  6. joeyame commented on Jun 27, 2025

    @joeyame

    I'm still seeing this with 30.0.4

  7. nextcloud-command commented on Jul 29, 2025

    @nextcloud-command
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

  8. added
    stale
    on Jul 29, 2025
  9. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    This issue has been automatically locked because it has been closed for more than 14 days. As we do not monitor closed issues, we are locking this issue to prevent further comments from getting lost in the noise.
    Please open a new issue if you have a similar problem instead. For general discussions, please use our forum: https://help.nextcloud.com

  10. locked as resolved and limited conversation to collaborators on Nov 24, 2026
  11. joshtrichards commented on Nov 24, 2026

    @joshtrichards
    Member

    Sorry missed dropping the needs info label from this, but still tracking in the open linked user_saml issue in any case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triage29-feedbackbugfeature: filesneeds infostale

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions