-
Notifications
You must be signed in to change notification settings - Fork 52
Problem with files upload #44
Comments
Generally sounds more like an issue of paperless itself, or your setup of paperless, and not paperless-desktop. Since you got the HTTP 202 status. |
@maxthev But why do you expect the file to be in the consume directory? I don't think that's how the /push endpoint works. It directly feeds the document into the datastore. The consume directory is an alternative approach to feed documents into paperless. |
Hum ok, I was thinking that the push approach was uploading to the consume directory too, my bad. But the file does not appear in paperless anyway (web interface or desktop app). It's like the app get the file (HTTP 202) then nothing. (Also, feel free to close the issue if you think it's not the right place for this kind of problems ^^ ) |
Actually to be clear, the file does go in to the consume directory with the /push endpoint. I had a similar problem, and my issue was the the /consume directory mount point was not the same on the paperless docker container as the paperless_consumer container. You have to make sure both those containers mount the same folder to the same path. |
It's strange because in the docker-compose.yml.example, there is something about /consume in the volumes section of consumer but not in webserver. |
Here is the compose setup I use, and uploads are working for me through the app. https://gitlab.com/NickBusey/HomelabOS/blob/master/roles/homelabos/templates/docker-compose.yml#L495 It's strange you're not getting anything any more, that is probably worth investigating more. Is there an error in the Developer Console of the desktop app? |
Sorry for getting that wrong about the /push and the consume directory! Thanks for clarifying. |
Okey it's now working ! |
Hi,
I'm trying to upload files with the drag&drop feature of the desktop app, the app seems to work because i got this line on server logs:
"POST /push HTTP/1.1" 202
but the file is not in the consume directory and do not appear in the document list.
Volumes on my docker-compose are like this:
folder permission are like this:
drwxrwxr-x 2 root paperles 4.0K Jul 17 15:28 consume
I dont understand where is the problem.
Thank you
Specifications
The text was updated successfully, but these errors were encountered: