Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Not uploading

Scheduled Pinned Locked Moved Solved Paperless-ngx
18 Posts 7 Posters 591 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ultravioletU Offline
    ultravioletU Offline
    ultraviolet App Dev
    wrote on last edited by
    #1

    Hi,
    Funny one this I upload via the portal and it just sits waiting but I think the file uploads according to the logs:

    7be1638a-6556-4355-bb69-1198ad7878be-image.png

    [2022-01-12 20:44:51,898] [INFO] [paperless.consumer] Consuming Market_Guide_for_Vulnerability_Assessment_June_2021_746908_ndx.pdf
    
    [2022-01-12 20:44:51,901] [DEBUG] [paperless.consumer] Detected mime type: application/pdf
    
    [2022-01-12 20:44:51,919] [DEBUG] [paperless.consumer] Parser: RasterisedDocumentParser
    
    [2022-01-12 20:44:51,926] [DEBUG] [paperless.consumer] Parsing Market_Guide_for_Vulnerability_Assessment_June_2021_746908_ndx.pdf...
    
    [2022-01-12 20:44:56,499] [DEBUG] [paperless.parsing.tesseract] Extracted text from PDF file /tmp/paperless/paperless-upload-fe3_jgua
    
    [2022-01-12 20:44:56,643] [DEBUG] [paperless.parsing.tesseract] Calling OCRmyPDF with args: {'input_file': '/tmp/paperless/paperless-upload-fe3_jgua', 'output_file': '/tmp/paperless/paperless-643o7hty/archive.pdf', 'use_threads': True, 'jobs': 3, 'language': 'eng', 'output_type': 'pdfa', 'progress_bar': False, 'skip_text': True, 'clean': True, 'deskew': True, 'rotate_pages': True, 'rotate_pages_threshold': 12.0, 'sidecar': '/tmp/paperless/paperless-643o7hty/sidecar.txt'}
    
    [2022-01-12 20:45:04,715] [DEBUG] [paperless.parsing.tesseract] Incomplete sidecar file: discarding.
    
    [2022-01-12 20:45:06,761] [DEBUG] [paperless.parsing.tesseract] Extracted text from PDF file /tmp/paperless/paperless-643o7hty/archive.pdf
    
    [2022-01-12 20:45:06,762] [DEBUG] [paperless.consumer] Generating thumbnail for Market_Guide_for_Vulnerability_Assessment_June_2021_746908_ndx.pdf...
    
    [2022-01-12 20:45:06,775] [DEBUG] [paperless.parsing] Execute: convert -density 300 -scale 500x5000> -alpha remove -strip -auto-orient /tmp/paperless/paperless-643o7hty/archive.pdf[0] /tmp/paperless/paperless-643o7hty/convert.png
    
    [2022-01-12 20:45:08,387] [DEBUG] [paperless.parsing.tesseract] Execute: optipng -silent -o5 /tmp/paperless/paperless-643o7hty/convert.png -out /tmp/paperless/paperless-643o7hty/thumb_optipng.png
    
    [2022-01-12 20:45:14,943] [DEBUG] [paperless.classifier] Document classification model does not exist (yet), not performing automatic matching.
    
    [2022-01-12 20:45:14,957] [DEBUG] [paperless.consumer] Saving record to database
    
    [2022-01-12 20:45:15,170] [DEBUG] [paperless.consumer] Deleting file /tmp/paperless/paperless-upload-fe3_jgua
    
    [2022-01-12 20:45:15,173] [DEBUG] [paperless.parsing.tesseract] Deleting directory /tmp/paperless/paperless-643o7hty
    
    [2022-01-12 20:45:15,175] [INFO] [paperless.consumer] Document 2021-06-25 Market_Guide_for_Vulnerability_Assessment_June_2021_746908_ndx consumption finished
    

    Anyone got any ideas?

    murgeroM neurokrishN 2 Replies Last reply
    0
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    replied to ultraviolet on last edited by
    #2

    @ultraviolet It says upload complete in the screenshot too - probably a UI bug, when you refresh the page does the document show up?

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~
    Matrix: @murgero:urgero.org

    1 Reply Last reply
    1
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    replied to ultraviolet on last edited by
    #3

    @ultraviolet same for me as well. Probably a bug as @murgero suggested. Refresh the page and your document will be there.

    ultravioletU 1 Reply Last reply
    0
  • ultravioletU Offline
    ultravioletU Offline
    ultraviolet App Dev
    replied to neurokrish on last edited by
    #4

    Glad it is not just me. Could it be something with nginx?

    girishG timconsidineT 2 Replies Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to ultraviolet on last edited by
    #5

    @ultraviolet looks to be more like a UI bug that needs to be reported upstream. Do you see any errors in the web browser console?

    ultravioletU 1 Reply Last reply
    1
  • ultravioletU Offline
    ultravioletU Offline
    ultraviolet App Dev
    replied to girish on last edited by
    #6

    @girish yeah there is one error:

    347c4c57-42a0-46ba-9607-07257851847c-image.png

    Which could be nginx which is mentioned in the manual here

    1 Reply Last reply
    1
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    replied to ultraviolet on last edited by
    #7

    @ultraviolet I was confused about this initially but I learnt to ignore it.
    Maybe a UI bug but not a functionality bug as it uploads fine..
    I just navigate away to the inbox (or my tag "awaiting codes) after a bunch of uploads as a quick check that they have gone through.

    ultravioletU 1 Reply Last reply
    0
  • ultravioletU Offline
    ultravioletU Offline
    ultraviolet App Dev
    replied to timconsidine on last edited by
    #8

    @timconsidine If I get some time tonight I was going to look at the nginx config but if anyone wants to have a crack at it feel free

    nebulonN 1 Reply Last reply
    1
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to ultraviolet on last edited by
    #9

    @ultraviolet the app package does not use nginx in this case but gunicorn. Looks like maybe something is missing in that configuration.

    1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #10

    The new package version has websocket support now. Could you check if that document upload issue remains?

    1 Reply Last reply
    0
  • imc67I Offline
    imc67I Offline
    imc67 translator
    wrote on last edited by
    #11

    @nebulon (@girish ) somehow the update is still not available?

    girishG 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to imc67 on last edited by
    #12

    @imc67 it seems @nebulon published the package with minBoxVersion set as 7.0.5. Not entirely sure why since we don't have such a version. Possibly a typo/mistake.

    ultravioletU 1 Reply Last reply
    0
  • ultravioletU Offline
    ultravioletU Offline
    ultraviolet App Dev
    replied to girish on last edited by
    #13

    @girish has it been sorted do we know?

    1 Reply Last reply
    0
  • imc67I Offline
    imc67I Offline
    imc67 translator
    wrote on last edited by
    #14

    @ultraviolet @girish indeed … and now?

    ultravioletU 1 Reply Last reply
    0
  • ultravioletU Offline
    ultravioletU Offline
    ultraviolet App Dev
    replied to imc67 on last edited by
    #15

    I am not seeing an update from the app store I am still on version 0.51

    girishG 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to ultraviolet on last edited by
    #16

    @ultraviolet @imc67 can you try now?

    imc67I ultravioletU 2 Replies Last reply
    0
  • imc67I Offline
    imc67I Offline
    imc67 translator
    replied to girish on last edited by
    #17

    @girish yes!! Update succeeded and issue with indicators solved, all is "interactive" now.

    1 Reply Last reply
    1
  • ultravioletU Offline
    ultravioletU Offline
    ultraviolet App Dev
    replied to girish on last edited by
    #18

    @girish all good, thank you.

    1 Reply Last reply
    1
  • girishG girish referenced this topic on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.