Replies: 7 comments 34 replies
-
I just updated my Docker container from 2.5.? to 2.7.4 as I had exactly this error: Unfortunately it did not change, the error is still showing up. |
Beta Was this translation helpful? Give feedback.
-
Could there possibly be additional logging added around this area of the
code to help troubleshoot? Looking at the code it's unclear if any
usernames came back at all, or if there was just no match. Maybe log a list
of usernames returned?
…On Mon, Mar 10, 2025, 12:34 PM Your friendly nerd ***@***.***> wrote:
The username matches 100%. I changed the name of the admin paperless-ngx
account and used the new name. Is there possibly an issue with updating the
username, or using an admin account that could lead to this error?
I dont know, the version is stable and has no known ground breaking bugs.
So there is as I said an error on your side 99%.
Sorry, but I dont know how to help here as this could have many issues
related to many reasons.
—
Reply to this email directly, view it on GitHub
<#392 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZNUGIKFNXGCNCURMCIWX32TXSLLAVCNFSM6AAAAABYE6AKUOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENBVGM2TSMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I too have this error:
It is indeed hard to debug without more logging (loglevel=DEBUG would be great). EDIT: The complete log: Current config TAGS: []
Current config PROMPT_TAGS: []
Validating Paperless config for: https://EXAMPLE.COM/api/documents/
Validating Paperless config for: https://EXAMPLE.COM/api/documents/
AI provider: ollama
2025-03-20T22:12:38: PM2 log: App name:paperless-ai id:0 disconnected
2025-03-20T22:12:38: PM2 log: App [paperless-ai:0] exited with code [0] via signal [SIGINT]
2025-03-20T22:12:38: PM2 log: App [paperless-ai:0] will restart in 100ms
2025-03-20T22:12:38: PM2 log: 0 application online, retry = 3
2025-03-20T22:12:38: PM2 log: App [paperless-ai:0] starting in -cluster mode-
2025-03-20T22:12:38: PM2 log: App [paperless-ai:0] online
Loading .env from: /app/data/.env
Loaded environment variables: {
PAPERLESS_API_URL: 'https://EXAMPLE.COM',
PAPERLESS_API_TOKEN: '******',
LIMIT_FUNCTIONS: {
activateTagging: 'yes',
activateCorrespondents: 'yes',
activateDocumentType: 'yes',
activateTitle: 'yes',
activateCustomFields: 'no'
}
}
OpenAPI specification saved to /app/OPENAPI/openapi.json
Server running on port 4568
Validating Paperless config for: https://EXAMPL.COM/api/documents/
AI provider: ollama
Failed to get own user ID. Abort scanning.
Current config TAGS: []
Current config PROMPT_TAGS: []
Failed to get own user ID. Abort scanning. |
Beta Was this translation helpful? Give feedback.
-
In my case, the solution was to use the actual user name instead of my user's e-mail address. I always use the email address to log in, so I used it out of habit. Perhaps both username and e-mail address should be possible, as they can easily be confused by the user (I think the change needs to be made here: paperless-ai/services/paperlessService.js Line 1098 in fb816f3 |
Beta Was this translation helpful? Give feedback.
-
I use the OIDC login method for Paperless-ngx with my email address as ID, but the So, time to look at the source where these messages are generated. At first glance, there are 3 places that can log this error. I suppose I'll have to run the program in development mode to figure out where it actually fails. |
Beta Was this translation helpful? Give feedback.
-
Had the same problem and it automatically got solved by updating Paperless NGX as (my) version 1.xx didn't have the /api/users/ model, so the function getOwnId failed. |
Beta Was this translation helpful? Give feedback.
-
This issue is always an end user produced error. Many people had this in history. Sometimes it was a wrong username, sometimes an rights issue with the api key, sometimes it was because of some custom Reverse Proxy Nightmare system. |
Beta Was this translation helpful? Give feedback.
-
This is the only thing I see in the logs, what am I missing?
ollama, paperless-ngx, and paperless-ai are all running in docker containers and setup went smoothly. I can see the documents in paperless-ai, but they show as unprocessed.
UPDATE:
My solution was updating from v1.8 -> 2.14.7
Beta Was this translation helpful? Give feedback.
All reactions