# Can't login anymore

**URL:** <https://gramps.discourse.group/t/cant-login-anymore/9127>\
**Category:** Gramps Web\
**Created:** [February 9, 2026, 11:05am UTC](https://gramps.discourse.group/t/cant-login-anymore/9127 "2026-02-09T11:05:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gargantuanknot](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/gargantuanknot/32/8286_2.png) [@gargantuanknot](https://gramps.discourse.group/u/gargantuanknot)\
**Post date:** [February 9, 2026, 11:05am UTC](https://gramps.discourse.group/t/cant-login-anymore/9127/1 "2026-02-09T11:05:01Z")

</div>

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:

```python
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:

```python
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:

```python
"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!

---

<div class="post-metadata">

**Author:** ![gargantuanknot](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/gargantuanknot/32/8286_2.png) [@gargantuanknot](https://gramps.discourse.group/u/gargantuanknot)\
**Post date:** [February 9, 2026, 11:07am UTC](https://gramps.discourse.group/t/cant-login-anymore/9127/2 "2026-02-09T11:07:28Z")

</div>

This is the only output in the Portainer logs:

```python
( __main__.py:8): Gtk-CRITICAL **: 13:30:26.439: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

INFO [alembic.runtime.migration] Context impl SQLiteImpl.

INFO [alembic.runtime.migration] Will assume non-transactional DDL.

[2026-02-08 13:30:33 +0000] [11] [INFO] Starting gunicorn 24.1.1

[2026-02-08 13:30:33 +0000] [11] [INFO] Listening at: http://0.0.0.0:5000 (11)

[2026-02-08 13:30:33 +0000] [11] [INFO] Using worker: sync

[2026-02-08 13:30:33 +0000] [12] [INFO] Booting worker with pid: 12

(gunicorn:12): Gtk-CRITICAL **: 13:30:36.033: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

/usr/local/lib/python3.11/dist-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.

  warnings.warn(

( __main__.py:9): Gtk-CRITICAL **: 06:03:27.145: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

INFO [alembic.runtime.migration] Context impl SQLiteImpl.

INFO [alembic.runtime.migration] Will assume non-transactional DDL.

[2026-02-09 06:03:39 +0000] [12] [INFO] Starting gunicorn 24.1.1

[2026-02-09 06:03:39 +0000] [12] [INFO] Listening at: http://0.0.0.0:5000 (12)

[2026-02-09 06:03:39 +0000] [12] [INFO] Using worker: sync

[2026-02-09 06:03:39 +0000] [13] [INFO] Booting worker with pid: 13

(gunicorn:13): Gtk-CRITICAL **: 06:03:42.266: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

/usr/local/lib/python3.11/dist-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.

  warnings.warn(

```

The logs stop after warnings.warn( and even after I try to login, no new log entries are created.

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [February 9, 2026, 12:22pm UTC](https://gramps.discourse.group/t/cant-login-anymore/9127/3 "2026-02-09T12:22:21Z")

</div>

Error 500 without a corresponding exception in the log is impossible, so I claim the data shared here is not consistent.

I’m not aware of a recent change that could explain this, so it must have something to do with your setup.

---

<div class="post-metadata">

**Author:** ![gargantuanknot](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/gargantuanknot/32/8286_2.png) [@gargantuanknot](https://gramps.discourse.group/u/gargantuanknot)\
**Post date:** [February 9, 2026, 1:39pm UTC](https://gramps.discourse.group/t/cant-login-anymore/9127/4 "2026-02-09T13:39:25Z")

</div>

That’s what I’m trying to figure out. It was working before, so it’s unclear to me why it isn’t now. If I had more log info to share, I would. But this is all that’s available in Portainer.

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [February 9, 2026, 1:51pm UTC](https://gramps.discourse.group/t/cant-login-anymore/9127/5 "2026-02-09T13:51:46Z")

</div>

And it works via reverse proxy? Are you using password authentication (the normal one)?

---

<div class="post-metadata">

**Author:** ![gargantuanknot](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/gargantuanknot/32/8286_2.png) [@gargantuanknot](https://gramps.discourse.group/u/gargantuanknot)\
**Post date:** [February 23, 2026, 2:48pm UTC](https://gramps.discourse.group/t/cant-login-anymore/9127/6 "2026-02-23T14:48:32Z")

</div>

I narrowed down the problem to Pihole… Apparently Pihole is blocking some traffic on the network, because if I temporarily disable Pihole, I can login Gramps Web perfectly.

Is Gramps Web using external services to authentication purposes? I.e. does it rely on third party frameworks/libraries/scripts/etc. for the login functionality? That would explain why Pihole is blocking something.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [February 23, 2026, 3:10pm UTC](https://gramps.discourse.group/t/cant-login-anymore/9127/7 "2026-02-23T15:10:07Z")

</div>

> **[7 Things I Wish I Knew Before Running a Pi-hole](https://www.howtogeek.com/things-i-wish-i-knew-before-running-a-pi-hole/)**
>
> Don't be like me, make sure to prepare for these things before deploying Pi-hole the first time.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [March 25, 2026, 3:10pm UTC](https://gramps.discourse.group/t/cant-login-anymore/9127/8 "2026-03-25T15:10:49Z")

</div>

Closed on March 25, 2026, 3:10pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
