mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #406] fresh manual install seemingly does not read papermerge.conf.py #320
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#320
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 @borisneubert on GitHub (Jul 27, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/406
Originally assigned to: @ciur on GitHub.
Description
I manually installed Papermerge with Apache as webserver. Papermerge runs. I changed
papermerge.conf.pyas follows:The SQLite3 database is created in the right location but accessing Papermerge via the Web GUI throws an operational exception because the database was not found. Somewhere down the error page still the default location is mentioned:
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/opt/papermerge/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}}Also Papermerge still looks in the project root directory for the
mediadirectory. And the Web GUI is not in German language. Copyingpapermerge.conf.pyto/etcdid not help either.I worked around the missing
db.sqlite3file andmediadirectory by using symbolic links for the time being.Expected
The values from
papermerge.conf.pyare used.Info:
@ciur commented on GitHub (May 8, 2025):
Not relevant anymore. Latest Papermerge version (3.5) loads all configurations from environment variables.