digifi-io / loan-origination-system

DigiFi Loan Origination System
Apache License 2.0
9 stars 12 forks source link

Unable to Upload Document Template #105

Open bwhittington opened 4 years ago

bwhittington commented 4 years ago

I'm running my database in a Mongo Atlas DB and running the application in an Ubuntu EC2 instance with a redis server also installed on the same instance. I can create an organization and login but I am unable to upload a document for OCR capabilities.

I also ran these commands as found in the FAQs.

On Ubuntu: sudo add-apt-repository ppa:malteworld/ppa sudo apt update sudo apt install pdftk sudo apt-get install imagemagick ghostscript poppler-utils

Server Log Error: ::ffff:65.31.18.244 PUT /ocr/api/templates/upload_template?unflatten=true&handleupload=true 500 332.373 ms Fri, 10 Jul 2 020 06:39:41 GMT https://*ec2server*:8788/ocr/templates/5f080b483ec0da48e7b24405/0 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg /83.0.478.61

Chrome Console Errors Could not generate local image files. (anonymous) @ FormHelpers.js:339 Promise.catch (async) value @ FormHelpers.js:339 (anonymous) @ FormElements.js:963 notifyAll @ defaultRowRenderer.js:43 close @ ReactElement.js:343 closeAll @ index.js:1 perform @ index.js:1 perform @ ReactElement.js:343 S @ ReactElement.js:343 closeAll @ index.js:1 perform @ index.js:1 batchedUpdates @ ReactDOMComponent.js:972 a @ ReactElement.js:343 dispatchEvent @ ReactDOMComponent.js:972

https:/ec2server:8788/ocr/api/templates/upload_template?unflatten=true&handleupload=true 500 (Internal Server Error) (anonymous) @ VM566:1 value @ FormHelpers.js:339 (anonymous) @ FormElements.js:963 notifyAll @ defaultRowRenderer.js:43 close @ ReactElement.js:343 closeAll @ index.js:1 perform @ index.js:1 perform @ ReactElement.js:343 S @ ReactElement.js:343 closeAll @ index.js:1 perform @ index.js:1 batchedUpdates @ ReactDOMComponent.js:972 a @ ReactElement.js:343 dispatchEvent @ ReactDOMComponent.js:972

barryloanstack commented 3 years ago

Which version of ubuntu, node, npm and redis did you use?