Hi,
I run Gramps Web (latest image) in a Docker container on my Synology NAS. I have a reverse proxy to be able to connect to Gramps Web over https:// gramps.mydomain.nl, but I used to be able to connect directly via http:// ipaddress:5449 as well. Since last week, I can’t login anymore. When I log in, I am immediately returned to the login page.
When I try to login via http:/ /ipaddress:5449, I get the following error messages in the browser console:
XHRGEThttp://ipaddress:5449/api/metadata/[HTTP/1.1 500 INTERNAL SERVER ERROR 592ms]
XHRPOSThttp://ipaddress:5449/api/token/create_owner/[HTTP/1.1 500 INTERNAL SERVER ERROR 217ms]
When I try to login via https:/ /gramps.mydomain.nl, I get the following error messages in the browser console:
XHRGEThttps://gramps.mydomain.nl/api/metadata/[HTTP/2 500 208ms]
XHRPOSThttps://gramps.mydomain.nl/api/token/create_owner/[HTTP/2 500 207ms]
These are the environment variables:
"GRAMPSWEB_TREE=MyName",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"DEBIAN_FRONTEND=noninteractive",
"GRAMPS_VERSION=60",
"PYTHONPATH=:/usr/lib/python3/dist-packages",
"LANGUAGE=en_US.utf8",
"LANG=en_US.utf8",
"LC_ALL=en_US.utf8",
"OMP_NUM_THREADS=1",
"GRAMPS_API_CONFIG=/app/config/config.cfg",
"GRAMPSWEB_USER_DB_URI=sqlite:////app/users/users.sqlite",
"GRAMPSWEB_MEDIA_BASE_DIR=/app/media",
"GRAMPSWEB_SEARCH_INDEX_DB_URI=sqlite:////app/indexdir/search_index.db",
"GRAMPSWEB_STATIC_PATH=/app/static",
"GRAMPSWEB_THUMBNAIL_CACHE_CONFIG__CACHE_DIR=/app/thumbnail_cache",
"GRAMPSWEB_REQUEST_CACHE_CONFIG__CACHE_DIR=/app/cache/request_cache",
"GRAMPSWEB_PERSISTENT_CACHE_CONFIG__CACHE_DIR=/app/cache/persistent_cache",
"GRAMPSWEB_REPORT_DIR=/app/cache/reports",
"GRAMPSWEB_EXPORT_DIR=/app/cache/export",
"GRAMPSHOME=/root",
"GRAMPS_DATABASE_PATH=/root/.gramps/grampsdb",
"WEB_CONCURRENCY=1",
"GUNICORN_NUM_WORKERS=1",
"GRAMPSWEB_BASE_URL=https://gramps.mydomain.nl"
I can’t figure out what’s wrong. Does anyone recognize this issue or can suggest any help?
Thanks in advance!