Coder Social home page Coder Social logo

Comments (3)

solracsf avatar solracsf commented on August 26, 2024

For LDAP remnants, see:
https://docs.nextcloud.com/server/29/admin_manual/configuration_user/user_auth_ldap_cleanup.html

from server.

cdhermann avatar cdhermann commented on August 26, 2024

For LDAP remnants, see: https://docs.nextcloud.com/server/29/admin_manual/configuration_user/user_auth_ldap_cleanup.html

Thank you very much for the link, but unfortunately the ldap:show-remnants command displays nothing:

# docker exec -ti --user www-data nextcloud-aio-nextcloud /var/www/html/occ config:app:get user_ldap ldapUserCleanupInterval
51
# docker exec -ti --user www-data nextcloud-aio-nextcloud /var/www/html/occ ldap:show-remnants
+----------------+--------------+----------+---------+------------+-------------+-----+--------+
| Nextcloud name | Display Name | LDAP UID | LDAP DN | Last Login | Detected on | Dir | Sharer |
+----------------+--------------+----------+---------+------------+-------------+-----+--------+

from server.

cdhermann avatar cdhermann commented on August 26, 2024

How do I find the records in the DB causing this error messages? Maybe deleting or updating the records triggering the message in the DB directly helps getting rid of these recurring messages for non-existing users.

Sometimes the object is referred to with an UUID, sometimes with username the user had as it existed.

{
    "reqId": "Q0IhgQoDCJfqvAhVTJGs",
    "level": 3,
    "time": "2024-08-06T07:15:14+00:00",
    "remoteAddr": "",
    "user": "--",
    "app": "files",
    "method": "",
    "url": "--",
    "message": "Backends provided no user object for e8b29d14-908f-38c4-95cc-7be0743aa89c",
    "userAgent": "--",
    "version": "29.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": [
                    "e8b29d14-908f-38c4-95cc-7be0743aa89c"
                ]
            },
            {
                "file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
                "line": 84,
                "function": "call_user_func_array",
                "args": [
                    [
                        [
                            "OC\\Files\\Node\\Root"
                        ],
                        "getUserFolder"
                    ],
                    [
                        "e8b29d14-908f-38c4-95cc-7be0743aa89c"
                    ]
                ]
            },
            {
                "file": "/var/www/html/lib/private/Files/Node/LazyRoot.php",
                "line": 53,
                "function": "__call",
                "class": "OC\\Files\\Node\\LazyFolder",
                "type": "->",
                "args": [
                    "getUserFolder",
                    [
                        "e8b29d14-908f-38c4-95cc-7be0743aa89c"
                    ]
                ]
            },
            {
                "file": "/var/www/html/custom_apps/files_fulltextsearch/lib/Service/FilesService.php",
                "line": 558,
                "function": "getUserFolder",
                "class": "OC\\Files\\Node\\LazyRoot",
                "type": "->",
                "args": [
                    "e8b29d14-908f-38c4-95cc-7be0743aa89c"
                ]
            },
            {
                "file": "/var/www/html/custom_apps/files_fulltextsearch/lib/Service/FilesService.php",
                "line": 577,
                "function": "getFileFromId",
                "class": "OCA\\Files_FullTextSearch\\Service\\FilesService",
                "type": "->",
                "args": [
                    "e8b29d14-908f-38c4-95cc-7be0743aa89c",
                    684249
                ]
            },
            {
                "file": "/var/www/html/custom_apps/files_fulltextsearch/lib/Service/FilesService.php",
                "line": 638,
                "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": 706,
                "function": "generateDocumentFromIndex",
                "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": 80,
                "function": "run",
                "class": "OCA\\FullTextSearch\\Cron\\Index",
                "type": "->",
                "args": [
                    null
                ]
            },
            {
                "file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
                "line": 102,
                "function": "start",
                "class": "OCP\\BackgroundJob\\Job",
                "type": "->",
                "args": [
                    [
                        "OC\\BackgroundJob\\JobList"
                    ]
                ]
            },
            {
                "file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
                "line": 92,
                "function": "start",
                "class": "OCP\\BackgroundJob\\TimedJob",
                "type": "->",
                "args": [
                    [
                        "OC\\BackgroundJob\\JobList"
                    ]
                ]
            },
            {
                "file": "/var/www/html/cron.php",
                "line": 177,
                "function": "execute",
                "class": "OCP\\BackgroundJob\\TimedJob",
                "type": "->",
                "args": [
                    [
                        "OC\\BackgroundJob\\JobList"
                    ]
                ]
            }
        ],
        "File": "/var/www/html/lib/private/Files/Node/Root.php",
        "Line": 370,
        "message": "Backends provided no user object for e8b29d14-908f-38c4-95cc-7be0743aa89c",
        "exception": [],
        "CustomMessage": "Backends provided no user object for e8b29d14-908f-38c4-95cc-7be0743aa89c"
    },
    "id": "66b1cebde62d2"
}

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.