I'm running paperless inside docker on an unraid server.
Pushing new PDFs to the consume folder via SMB has the consumer detect the document right away and forward it to the webserver.
However when I push documents via ftp to the same folder (tried filezilla and genius scan+ on android with ftp support) the consumer doesn't see any changes and does nothing. The file just sits in the consume folder and nothing happens.
If I pull the file using smb and add it back it gets detected immediately.
The persmissions are the same via ftp and smb (666)
The log doesn't show any errors on adding a file via ftp. However once I pull it out of the folder via smb and re add it some errors pop up:
This is me pulling out the file "test.pdf" (which was first added by ftp and did nothing) via smb and adding it right back via smb.
Parsers available: RasterisedDocumentParser
Consuming /consume/Test.pdf
convert: unable to open image '/consume/Test.pdf': No such file or directory @ error/blob.c/OpenBlob/3496.
convert: no images defined `/tmp/paperless/paperless-ltn4jcr5/convert.png' @ error/convert.c/ConvertImageCommand/3273.
Thumbnail generation with ImageMagick failed, falling back to Ghostscript.
Error: /undefinedfilename in (/consume/Test.pdf)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:725/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
PARSE FAILURE for /consume/Test.pdf: Thumbnail (gs) failed at ['gs', '-q', '-sDEVICE=pngalpha', '-o', '/tmp/paperless/paperless-ltn4jcr5/gs_out.png', '/consume/Test.pdf']
Error: /undefinedfilename in (/consume/Test.pdf)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:725/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
PARSE FAILURE for /consume/Test.pdf: Thumbnail (gs) failed at ['gs', '-q', '-sDEVICE=pngalpha', '-o', '/tmp/paperless/paperless-ltn4jcr5/gs_out.png', '/consume/Test.pdf']
Parsers available: RasterisedDocumentParser
Consuming /consume/Test.pdf
** Processing: /tmp/paperless/paperless-yulx5641/convert.png
500x703 pixels, 16 bits/pixel, grayscale
Input IDAT size = 142598 bytes
Input file size = 142703 bytes
Trying:
zc = 9 zm = 9 zs = 0 f = 0 IDAT size = 140532
Selecting parameters:
zc = 9 zm = 9 zs = 3 f = 0 IDAT size = 138991
Output file: /tmp/paperless/paperless-yulx5641/optipng.png
Output IDAT size = 138991 bytes (3607 bytes decrease)
Output file size = 139048 bytes (3655 bytes = 2.56% decrease)
Skipping OCR, using Text from PDF
Detected document date 2020-09-03T00:00:00+00:00 based on string 3. September 2020
d
Document 20200903000000: Test consumption finished
I'm running paperless inside docker on an unraid server. Pushing new PDFs to the consume folder via SMB has the consumer detect the document right away and forward it to the webserver. However when I push documents via ftp to the same folder (tried filezilla and genius scan+ on android with ftp support) the consumer doesn't see any changes and does nothing. The file just sits in the consume folder and nothing happens. If I pull the file using smb and add it back it gets detected immediately. The persmissions are the same via ftp and smb (666)
The log doesn't show any errors on adding a file via ftp. However once I pull it out of the folder via smb and re add it some errors pop up:
This is me pulling out the file "test.pdf" (which was first added by ftp and did nothing) via smb and adding it right back via smb.