I never got 2.3 to work, either in a Docker container (it kept restarting) or using the Advanced Deployment instructions (Nginx 502 bad gateway).
It's a VM running Debian 9 x64 with 2GB RAM and I just installed Docker (and the VM) today so all should be latest-greatest. One thing I noticed is that this particular PDF file was very small, 107Kb, and even though it opens fine in Adobe Reader, Mayan apparently does not like it. I used Word to open it and exported it to PDF which generated a 550Kb file, and I was able to upload it to Mayan this time. Still odd though! Regards, Johan On Saturday, July 1, 2017 at 7:03:51 PM UTC+2, Roberto Rosario wrote: > > Hi Johan, > > There are only two minor commits of difference between the Docker image > 2.3 and 2.4 ( > https://gitlab.com/mayan-edms/mayan-edms-docker/commit/16aa72da8fc07eecbdd8564fe49e42fc8a145d0e > , > https://gitlab.com/mayan-edms/mayan-edms-docker/commit/77cda4e375eea9811a1e6f27c82485401b879b15). > > I'm very curious and would like your help in finding out why one works for > you and the other doesn't. > > Dropped documents could be an out of memory issue. How much RAM is in the > system? What Docker version are you using? > > Can you try uploading just two PDFs to see if it is always just the last > document that's dropped? > Can you two one PDF and one image file to see if the problem is the PDF > instrospection? > And two documents that are not PDF files? > > Thanks. > > > On Saturday, July 1, 2017 at 8:03:06 AM UTC-4, Johan wrote: >> >> Hi Roberto, >> >> I have just installed 2.4 as a Docker container and this container runs >> :) However...I have begun uploading documents and for the second time in a >> row, it skips one document. So first batch were 27 documents but it >> uploaded 26. Second batch were 12 documents but it uploaded 11. And, to >> make it worse, I am trying to upload that 12th document from the second >> batch and it accepts it but the document is nowhere to be found. And on the >> main page it lists 38 documents in total while that should be 39 of course. >> All documents are PDF files by the way. To me this appears as a pretty >> nasty bug. I'll stop transferring my documents from my Alfresco DMS until >> hopefully you can fix this. >> >> Regards, >> >> Johan >> >> ps I like the interface of Mayan much more than Alfresco and it's faster >> too so I'd really like to switch >> >> On Tuesday, June 27, 2017 at 8:52:27 PM UTC+2, Roberto Rosario wrote: >>> >>> Version 2.4 was released along with an updated Docker image. >>> >>> Highlights for this version are: >>> >>> - New SANE scanner source ( >>> https://en.wikipedia.org/wiki/Scanner_Access_Now_Easy). This source >>> allows uploading documents directly from scanners. Scanners can be USB >>> or >>> networked. >>> - Automatic PDF orientation detection. The orientation of PDF >>> documents will be detected during upload and the corresponding >>> transformations will be added to correct the visual and OCR orientation. >>> - Environment variables. All of the configuration options can be >>> changed from environment variables. The prefix 'MAYAN_' is appended to >>> the >>> name of the configuration option. This features makes reduces the need >>> to >>> make configuration changes using the local.py and improves the usability >>> of >>> the Docker image. >>> - Math filters. The packages django-mathfilters is now included to >>> add proper math operations in the index templates. This allow for more >>> complex indexes, like year quarterly indexing. >>> - Expanded search objects. In addition to documents and documents >>> pages, now cabinets, tags and metadata can be searched from the >>> dynamic_search API. >>> - A new management command added to purge locks, useful when >>> debugging an issue or when a deadlock occurs due to OS reset or failures. >>> - Ability to index by workflows. This much requested feature is now >>> available. The workflow model was updated to include an 'internal name' >>> field used to reference the workflow inside an index. The syntax is: {{ >>> document.workflow.publishing_workflow.get_current_state }} in case of a >>> 'publishing_workflow' reference. >>> - Task manager. An app to introspect the background processes was >>> added. The aim of this app is to help user fine tune their background >>> task >>> workers and queues. >>> - The OCR tab now has a link to the OCR error page to help diagnose >>> OCR issues from within the document page without having to scan all the >>> OCR >>> errors in the tools menu. >>> - >>> - A new configuration setting to truncate the tile length and >>> usability on small display. The setting name is >>> APPEARANCE_MAXIMUM_TITLE_LENGTH and defaults to 80 characters. >>> >>> Aside from updating the Docker image to use Mayan version 2.4, support >>> for installing Ubuntu and Python packages when a container is first >>> deployed was added. These are controlled via the MAYAN_APT_INSTALLS and >>> MAYAN_PIP_INSTALLS environment variables. These are useful for simple >>> customizations, like installing additional Tesseract language packages or >>> adding third party Mayan apps. >>> >>> This version developments were driven mostly by support subscribers >>> requests, another benefit of the Mayan support plans. For plans details >>> visit: http://www.mayan-edms.com/providers/. >>> >>> Complete release notes: >>> http://docs.mayan-edms.com/en/v2.4/releases/2.4.html >>> Docker image README https://hub.docker.com/r/mayanedms/mayanedms/ >>> Facebook page: https://www.facebook.com/MayanEDMS/ >>> Mayan App store: http://www.mayan-edms.com/store/ >>> >> -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
