Giter Club home page Giter Club logo

goedms's People

Contributors

deranjer avatar madic- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

goedms's Issues

I created a docker-compose file for those of us that use them

You can put the below in a file, update the volume locations and run docker-compose -f whateveryoucalledthefile.yml up -d on it for ease of recreating for those of use that do that. As a side note for the creator, it would be super awesome if you let us specify the uid and gid for the container to run as as an environment variable like they do in linuxserver containers. It'll make my life managing this docker on my server a lot easier.
*edit, this thing really butchered the spacing and spacing is kind of important for this. Here's a pastebin: https://pastebin.com/EZAREw7f
version: "3"

services:
goedms:
image: deranjer/goedms:latest
container_name: goedms
ports:
- 8000:8000
volumes:
- /sourcedir/documents:/opt/goEDMS/documents
- /sourcedir/done:/opt/goEDMS/done
- /sourcedir/tmp:/opt/goEDMS/temp
- /sourecdir/ingress:/opt/goEDMS/ingress
- /sourcedir/serverConfig.toml:/opt/goEDMS/serverConfig.toml
- /sourcedir/goedms.log:/opt/goEDMS/goedms.log
- /sourcedir/db:/opt/goEDMS/databases

Database lost after recreating docker container

Hello,

after recreating the docker container, the following files would get lost when not placed somewhere else because they only exist in the container:

  • goEDMS.db
  • simpleEDMSIndex.bleve

Can you extend the docker installation documentation with a way, to also persist those files?

Typo in systemd File

There is a small typo in the systemd File (dist-specific-files/Linux-systemd/goEDMS.service), type should be Type.

Correct:

[Service]
Type=simple

ImageMagick and Tesseract failures

Just set this up and ran into some bugs while trying to import PDF files:

System: CentOS 7 3.10.0-1062.9.1.el7.x86_64
Method: Download release goEDMS_0.1.8_Linux_x86_64.tar.gz
SESTATUS: permissive

Modified serverConfig.toml for correct paths to convert and tesseract

$ which tesseract
/bin/tesseract

$which convert
/bin/convert
[ingress]
    IngressPath = 'staging'

[ocr]
    TesseractBin = "/bin/tesseract"
    MagickBin = "/bin/convert"   

Copied existing PDFs to /opt/goEDMS/staging, and receive the following errors in goedms.log for ALL pdfs to ingest:

{"level":"info","time":"2020-02-02T23:02:09-06:00","message":"Converting PDF To image for OCR/opt/goEDMS/staging/bill.pdf"}
{"level":"info","time":"2020-02-02T23:02:09-06:00","message":"Creating temp image for OCR at: /opt/goEDMS/temp/bill.png"}
{"level":"error","time":"2020-02-02T23:02:09-06:00","message":"Unable to convert PDF Using Magick: /opt/goEDMS/staging/bill.pdfexit status 1"}
{"level":"error","time":"2020-02-02T23:02:09-06:00","message":"OCR Processing failed on file: /opt/goEDMS/staging/bill.pdf: exit status 1"}  

No documents appear in the web-gui.

Web interface fails to show any content after uploading a file

First of all thanks for your work on this, I've been looking for an alternative to MayanEDMS that is easier to install and manage.

Operating System: Ubuntu Server 16.04
goEDMS version: v0.1.8

I installed goEDMS from the .deb package following the instructions in the documentation. After uploading a file to the top level directory using the web interface, the web interface now does not show any files or folders.

image

This persists even after restarting goEDMS and reloading the page.

The debug log is as follows:

⇨ http server started on [::]:8000
{"level":"info","remote_ip":"192.168.1.211","host":"192.168.1.7:8000","method":"GET","uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","status":200,"referer":"","latency":5.954441,"latency_human":"5.954441ms","bytes_in":"0","bytes_out":"701","time":"2020-02-02T18:09:44+13:00"}
{"level":"info","remote_ip":"192.168.1.211","host":"192.168.1.7:8000","method":"GET","uri":"/src.72082c14.css","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","status":200,"referer":"http://192.168.1.7:8000/","latency":0.221912,"latency_human":"221.912µs","bytes_in":"0","bytes_out":"22475","time":"2020-02-02T18:09:45+13:00"}
{"level":"info","remote_ip":"192.168.1.211","host":"192.168.1.7:8000","method":"GET","uri":"/frontend-config.js","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","status":200,"referer":"http://192.168.1.7:8000/","latency":0.174412,"latency_human":"174.412µs","bytes_in":"0","bytes_out":"63","time":"2020-02-02T18:09:45+13:00"}
{"level":"info","remote_ip":"192.168.1.211","host":"192.168.1.7:8000","method":"GET","uri":"/src.f305e722.js","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","status":304,"referer":"http://192.168.1.7:8000/","latency":0.061791,"latency_human":"61.791µs","bytes_in":"0","bytes_out":"0","time":"2020-02-02T18:09:45+13:00"}
{"level":"error","time":"2020-02-02T18:09:46+13:00","message":"Unable to find the requested document from path: not found/opt/goEDMS/documents/PBTech — Logitech G512.pdf"}
{"level":"error","time":"2020-02-02T18:09:46+13:00","message":"Unable to find the requested document from path: not found/opt/goEDMS/documents/PBTech — Logitech G512.pdf"}
{"level":"info","remote_ip":"192.168.1.211","host":"192.168.1.7:8000","method":"GET","uri":"/documents/filesystem","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","status":500,"referer":"http://192.168.1.7:8000/","error":"not found","latency":1.081413,"latency_human":"1.081413ms","bytes_in":"0","bytes_out":"36","time":"2020-02-02T18:09:46+13:00"}
{"level":"info","remote_ip":"192.168.1.211","host":"192.168.1.7:8000","method":"GET","uri":"/documents/filesystem","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","status":500,"referer":"http://192.168.1.7:8000/","error":"not found","latency":1.044566,"latency_human":"1.044566ms","bytes_in":"0","bytes_out":"36","time":"2020-02-02T18:09:46+13:00"}
{"level":"info","remote_ip":"192.168.1.211","host":"192.168.1.7:8000","method":"GET","uri":"/favicon.ico","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","status":404,"referer":"","error":"code=404, message=map[message:Not Found], internal=<nil>","latency":0.05359,"latency_human":"53.59µs","bytes_in":"0","bytes_out":"24","time":"2020-02-02T18:09:46+13:00"}

The file /opt/goEDMS/documents/PBTech — Logitech G512.pdf is present on the filesystem.

I was able to get the web interface to display the folders again by deleting the pdf file from the filesystem. The same error occurs when I upload a file into a folder instead of the top level.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.