Backends provided no user object for "a deleted user"

Hi,
After deleting a user I keep getting the following error in the Logging section:
Error files Backends provided no user object for “Deleted User”
Error core OC\User\NoUserException: Backends provided no user object
0. <>OC\Files\Node\Root->getUserFolder(“Deleted Username”)

  1. /var/www/nextcloud/lib/private/Files/Node/LazyRoot.php - line 64:call_user_func_array([ OC\Files\N … "], [ ““Deleted Username””])
  2. /var/www/nextcloud/lib/private/Files/Node/LazyRoot.php - line 281:OC\Files\Node\LazyRoot->__call(“getUserFolder”, [ ““Deleted Username””])
  3. /var/www/nextcloud/apps/dav/lib/BackgroundJob/UploadCleanup.php - line 56:OC\Files\Node\LazyRoot->getUserFolder("“Deleted Username”")
  4. /var/www/nextcloud/lib/public/BackgroundJob/Job.php - line 77:OCA\DAV\BackgroundJob\UploadCleanup->run({ uid: "Deleted Username … "})
  5. /var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php - line 59:OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
  6. /var/www/nextcloud/cron.php - line 123:OCP\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})
    I’m running on Ubuntu 18.04
    Nextcloud
    Version: 16.0.1.1
    Apps installed: 47
    Version: 7.3.6
    Memory Limit: 1 GB
    Max Execution Time: 3600
    Upload max size: 512 MB

Database

Type: mysql
Version: 10.3.11
Size: 35.5 MB
No LDAP used
error occurs every 20 minutes.
I tried to search for a solution on with all ways I can think of, nothing could fix this, thank you for anyone who can help

can anyone please help me with this? I can’t find a solution anywhere, thank you in advance.

I still have this error, please someone point me out where to solve this

I’m having this issue as well for a user that I deleted. Any help would be appreciated.

Hello,
Same pb here :
{"reqId":"[ID]","level":3,"time":"2019-12-10T19:44:13+00:00","remoteAddr":"[IP]","user":"[existing_user]","app":"files","method":"PROPFIND","url":"\/remote.php\/dav\/files\/[home_of_existing_user]\/[File]","message":" Backends provided no user object for [deleted_user]","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"13.0.5.2"}
Anyone with a hint on how to solve that pb ?
Thanks !

I have same problem. Have you figured out how to fix it?

Hi All, I have the same issue on version NextCloud version 18.04.

[files] Error: Backends provided no user object for xxxx

GET /cron.php
from 150.31.37.20 at 2020-05-11T06:22:14+00:00

1 Like

Has anyone found a solution to this issue? Seems I am now having this issue with multiple applications in Nextcloud including Deck. (Backends provided no user object for deckCard)

Hi !
I have the same problem. An account that was deleted and re-created with the same email adress is very limited in is function (no access to onlyoffice) and when he creates a file or goes to a different menu, log sees this same error.
Maybe, if nobody answer, GitHub’s issues would make react faster ?!
Thanks,
++

Error:

[core] Error: OC\User\NoUserException: Backends provided no user object at <>

  1. <>
    OC\Files\Node\Root->getUserFolder("‘deleted_user’")
  2. /var/www/html/nextcloud/lib/private/Files/Node/LazyRoot.php line 65
    call_user_func_array([OC\Files\Node\Root {},“getUserFolder”], ["‘deleted_user’"])
  3. /var/www/html/nextcloud/lib/private/Files/Node/LazyRoot.php line 282
    OC\Files\Node\LazyRoot->__call(“getUserFolder”, ["‘deleted_user’"])
  4. /var/www/html/nextcloud/apps/maps/lib/BackgroundJob/AddPhotoJob.php line 50
    OC\Files\Node\LazyRoot->getUserFolder("‘deleted_user’")
  5. /var/www/html/nextcloud/lib/public/BackgroundJob/Job.php line 79
    OCA\Maps\BackgroundJob\AddPhotoJob->run({photoId: 1542,userId: “‘deleted_user’”})
  6. /var/www/html/nextcloud/lib/public/BackgroundJob/QueuedJob.php line 48
    OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
  7. /var/www/html/nextcloud/cron.php line 148
    OCP\BackgroundJob\QueuedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})

GET /nextcloud/cron.php
from 176.147.76.24 at 2020-05-24T09:32:13+00:00

Server infos ;
NC 18.0.4.2
Apache/2.4.29
php Version : 7.2.24
PostgreSQL 10.12

I think that may come from the computer used, as the client tried to log with another account and same error appears. I make him clear its cookies but same error

The issue seems to be known - if you can contribute additional information, please add it to the github ticket:

Hi all,

I have the exact same problem in
Nextcloud 23.04
php: 7.4.28
mysql (mariadb): 10.5.15

Exact Error message:
“Error files Backends provided no user object for {deleted user}”

Did anybody came across a solution

Since the deleted user is my ex-girlfriend this is particulary not nice :pensive:

any help would be appreciated.