mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #277] Docker Installation #225
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#225
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dgalli1 on GitHub (Dec 29, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/277
Originally assigned to: @ciur on GitHub.
Description
I tried to setup a clean installation from the provide docker-compose file in the folder docker/1.4/
First off it started to build the image locally which doesn't match the description in readthedocs.
So i commented out the build directives in the file.
So the containers all started after changing this and they are now all in version 1.5.5
But their seems to be another issue.
Logs
@ciur commented on GitHub (Dec 29, 2020):
Hi @dgalli1, can you please be more specific about following line?
Which part of documentation description it didn't match?
This one:
is very misleading. I agree. But it is correct. You can safely ignore that warning if it is from inside papermerge_app.
Let me explain:
the OCR is performed by the worker (
papermerge_workerdocker container) and thus is installed only on the worker. However, for simplicity sake both worker and app (papermerge_appandpapermerge_worker) use same code. From application code point of view they are 95% identical and use exactly same methods for reading configurations.However:
as long as that "missing tesseract" comes from papermerge_app docker container - you can just ignore it.
Current setup (even though little confusing) is very practical. The practicality of it is that worker and app many times run on same machine, from same folder and use same configuration file - e.g. in development mode - in such cases, issuing that warning reminds me (or other developers) to install tesseract.
@ciur commented on GitHub (Dec 29, 2020):
I updated documentation with this known issue.
Link to the known issue with explanation in readthedocs.
@dgalli1 commented on GitHub (Dec 29, 2020):
I was referring to this:
https://papermerge.readthedocs.io/en/latest/setup/docker.html#docker
This will pull and start the necessary containers. If you wish, you can use docker-compose -f docker-compose-dev.yml up --build -d command instead to build local images.
Currently the images get builded locally when cding into the 1.4 Folder because the build instructions are in the docker-compose.yml file
See build: ..
cd papermerge-proj/dockerShould probably be updated for the 1.4 Folder. Or if you ask me i would just name it latest and only give numbers to the archived docker files.
I assumed this warning was irrelevant. I acctualy sent you the wrong log file.... Anyways i just figured it out what really failed while writing this message. I messed up the docker-compose file, by not pointing the worker and the app to the same media volume, it seems to work flawless now. 🤦