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 media directory. And the Web GUI is not in German language. Copying papermerge.conf.py to /etc did not help either.
I worked around the missing db.sqlite3 file and media directory by using symbolic links for the time being.
Expected
The values from papermerge.conf.py are used.
Description I manually installed Papermerge with Apache as webserver. Papermerge runs. I changed
papermerge.conf.py
as 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 themedia
directory. And the Web GUI is not in German language. Copyingpapermerge.conf.py
to/etc
did not help either.I worked around the missing
db.sqlite3
file andmedia
directory by using symbolic links for the time being.Expected The values from
papermerge.conf.py
are used.Info: