mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #254] Apache 2 wsgi application ignore papermerge.conf.py #205
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#205
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 @celi28 on GitHub (Dec 12, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/254
Originally assigned to: @ciur on GitHub.
Description
On Ubuntu 20.04.1 LTS, apache2 wsgi mod application seem to ignore papermerge.conf.py
Expected
Expected to serve app. as ./manage.py runserver 0.0.0.0:80 does
Actual
Serve papermerge app. like it was no papermerge.conf.py file. Serving with default configuration
Info:
Configs:
/etc/apache2/sites-enabled/papermerge.conf
/opt/papermerge/config/wsgi.py
/opt/papermerge/papermerge.conf.py
@wedganw commented on GitHub (Feb 6, 2021):
Copying the papermerge.conf.py from the project directory to /etc/papermerge.conf.py worked for me.
Didn't testet it but I think it has something to do with how the "DEFAULT_CONFIG_PLACES" is implemented in /opt/papermerge/config/settings/base.py.
DEFAULT_CONFIG_PLACES = [ "/etc/papermerge.conf.py", "papermerge.conf.py" ]@ciur commented on GitHub (Feb 7, 2021):
@celi28 I think @wedganw's comment should solve your issue as well. Can you please try it?
@ciur commented on GitHub (Feb 22, 2021):
response time out :)