-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Paperless-AI Fails to Rename and Tag New Documents in Paperless-ngx Automatically After Initial Deployment Success #87
Comments
Thats weird. Do you add the documents with the same user as the token is from? |
Thanks so much for your quick reply - much, much appreciated... ❤️ Your app is just so amazing!!! I am very hyped, and even more sad, when I now don't get it working properly. Absolutely, I did. I even renewed the token a couple times to ensure, that they're not outdated or that I might have made a copy-paste error... But nope. In addition, it works perfectly fine right after deployment; and the new docs are being shown in Paperless-AI, that means it has full access to Paperless as such; it send the docs to OpenAI, everything is working as expected - only not the "update" (renaming and tagging) of the docs in Paperless. Very weird indeed... The container logs all look perfectly fine, too. |
You are absolutly welcome 👍 we will get this fixed together. I am sure about that. As I see you are German, maybe you have Discord where we could investigate that further? Via Screensharing or something like that. Beste Grüße! 😆 |
Another question, just curious, what was the time span between you did the initial run and adding new documents? |
As said, tested it with two different deployments and with various documents, specifically, adding docs to test - and in terms of time span I had anything between a couple minutes and two hours... Tried a couple times, re-deployed the containers, etc. |
Can you include a docker log of a one hour run of the container? |
Your app is just so damn amazing!!! but looks like , i have the same issue. no auto tagging works. Fresh installation. |
i have a similar behaviour. tagging and renaming works fine in manual mode or when restarting the container.
Right after that i analysed the document in manual mode and everything went ok! |
@kolle86 I would say this documents belongs to another user. Had this issue with a friend of mine with a big paperless instance of thousand of files and different users. That message popped up everytime the api token had not the rights for that document |
@wigwurm @cepheiden @kolle86 I will push a major update in the next minutes. It comes with User Authentication, many bugfixes and a reworked document scanning function. Maybe this solves some issues here. |
Oh man, yes... @clusterzx Have missed your message before - allerbeste Grüße zurück! 🤩 Thank you so, so much... 😇 I am also sure about it, as this would be a real game-changer for my Paperless endeavors - and I really want it to work... Despite that I am IMHO not that bad equipped in homelab terms, I don't have Discord - maybe I really should have a look into it... 🤔 Of course, attached you'll find a "sanitized" log... 👍🏻 |
yes , indeed a access rights issue ! , many thanks @clusterzx |
I have a similar issue, but haven't had time to investigate for clues/causes. it works initially for several minutes, then it appears to be working, but the documents in Paperless aren't modified. |
okay, i set the owner for every document and this solved the issue ! thanks for the update |
Describe the bug
After deployment of Paperless-AI (Docker Compose) everything works exactly as expected; existing docs are being fed into ChatGPT, being renamed and tagged correctly afterwards. However, if new documents are being added to Paperless, then they are being recognized and shown by Paperless-AI (on its dashboard) and it shows, that all were "AI Processed," but the automatic renaming and tagging in Paperless doesn't work anymore, as it was right after deployment.
The Linux instance, Docker, both containers/stacks have been updated using the latest versions (Paperless-AI: 2.0.0, Paperless-ngx: 2.13.5). I tried it out on two different Docker hosts/completely different machines; one time in deployment of Paperless-AI in the same Docker Compose file as Paperless, and one time "standalone" as Docker Compose. Both times, exactly the same thing happens - no automatic updates are being played back to Paperless, after it had worked initially perfectly fine.
Expected behavior
Ideally, Paperless-AI should scan the Paperless library every X minutes (set in cron format in the setup window) - which is actually working - and then the new docs are being scanned by ChatGPT, BUT not updated accordingly in Paperless.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: