-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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.
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.
