Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Backends provided no user object for #299

Open
leon1995 opened this issue Feb 3, 2025 · 0 comments
Open

Backends provided no user object for #299

leon1995 opened this issue Feb 3, 2025 · 0 comments

Comments

@leon1995
Copy link

leon1995 commented Feb 3, 2025

I am using nextcloud version 30.0.4.1 with groupfolders version 18.0.8 and I also get the Backends provided no user object error. I see this in the log, but when I run occ groupfolders:expire I get no errors.
This is the log message where bf825965-8c3a-48b4-aa39-074b5f08df4c is the user id of a deleted user.

{
  "reqId": "jRNfQ0F9EJBv6alCBpYl",
  "level": 3,
  "time": "2024-12-29T01:29:56+01:00",
  "remoteAddr": "",
  "user": "--",
  "app": "files",
  "method": "",
  "url": "--",
  "message": "Backends provided no user object for bf825965-8c3a-48b4-aa39-074b5f08df4c",
  "userAgent": "--",
  "version": "30.0.4.1",
  "exception": {
    "Exception": "OC\\User\\NoUserException",
    "Message": "Backends provided no user object",
    "Code": 0,
    "Trace": [
      {
        "function": "getUserFolder",
        "class": "OC\\Files\\Node\\Root",
        "type": "->",
        "args": [
          "bf825965-8c3a-48b4-aa39-074b5f08df4c"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
        "line": 64,
        "function": "call_user_func_array",
        "args": [
          [
            {
              "__class__": "OC\\Files\\Node\\Root"
            },
            "getUserFolder"
          ],
          [
            "bf825965-8c3a-48b4-aa39-074b5f08df4c"
          ]
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/Node/LazyRoot.php",
        "line": 38,
        "function": "__call",
        "class": "OC\\Files\\Node\\LazyFolder",
        "type": "->",
        "args": [
          "getUserFolder",
          [
            "bf825965-8c3a-48b4-aa39-074b5f08df4c"
          ]
        ]
      },
      {
        "file": "/var/www/html/custom_apps/files_fulltextsearch/lib/Service/FilesService.php",
        "line": 558,
        "function": "getUserFolder",
        "class": "OC\\Files\\Node\\LazyRoot",
        "type": "->",
        "args": [
          "bf825965-8c3a-48b4-aa39-074b5f08df4c"
        ]
      },
      {
        "file": "/var/www/html/custom_apps/files_fulltextsearch/lib/Service/FilesService.php",
        "line": 577,
        "function": "getFileFromId",
        "class": "OCA\\Files_FullTextSearch\\Service\\FilesService",
        "type": "->",
        "args": [
          "bf825965-8c3a-48b4-aa39-074b5f08df4c",
          16315
        ]
      },
      {
        "file": "/var/www/html/custom_apps/files_fulltextsearch/lib/Service/FilesService.php",
        "line": 1288,
        "function": "getFileFromIndex",
        "class": "OCA\\Files_FullTextSearch\\Service\\FilesService",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/custom_apps/files_fulltextsearch/lib/Service/FilesService.php",
        "line": 707,
        "function": "updateDirectoryContentIndex",
        "class": "OCA\\Files_FullTextSearch\\Service\\FilesService",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/custom_apps/files_fulltextsearch/lib/Provider/FilesProvider.php",
        "line": 314,
        "function": "updateDocument",
        "class": "OCA\\Files_FullTextSearch\\Service\\FilesService",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/custom_apps/fulltextsearch/lib/Service/IndexService.php",
        "line": 409,
        "function": "updateDocument",
        "class": "OCA\\Files_FullTextSearch\\Provider\\FilesProvider",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/custom_apps/fulltextsearch/lib/Cron/Index.php",
        "line": 109,
        "function": "updateDocument",
        "class": "OCA\\FullTextSearch\\Service\\IndexService",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/custom_apps/fulltextsearch/lib/Cron/Index.php",
        "line": 77,
        "function": "liveCycle",
        "class": "OCA\\FullTextSearch\\Cron\\Index",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/lib/public/BackgroundJob/Job.php",
        "line": 61,
        "function": "run",
        "class": "OCA\\FullTextSearch\\Cron\\Index",
        "type": "->",
        "args": [
          null
        ]
      },
      {
        "file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
        "line": 88,
        "function": "start",
        "class": "OCP\\BackgroundJob\\Job",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\BackgroundJob\\JobList"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
        "line": 75,
        "function": "start",
        "class": "OCP\\BackgroundJob\\TimedJob",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\BackgroundJob\\JobList"
          }
        ]
      },
      {
        "file": "/var/www/html/cron.php",
        "line": 162,
        "function": "execute",
        "class": "OCP\\BackgroundJob\\TimedJob",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\BackgroundJob\\JobList"
          }
        ]
      }
    ],
    "File": "/var/www/html/lib/private/Files/Node/Root.php",
    "Line": 345,
    "message": "Backends provided no user object for bf825965-8c3a-48b4-aa39-074b5f08df4c",
    "exception": [],
    "CustomMessage": "Backends provided no user object for bf825965-8c3a-48b4-aa39-074b5f08df4c"
  },
  "id": "677098863a691"
}

Originally posted by @leon1995 in #2559

I still get this error for Nextcloud Hub 9 (30.0.5) and groupfolders version 18.0.9

@provokateurin provokateurin transferred this issue from nextcloud/groupfolders Feb 3, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant