You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After updating from a previous release of Gramps Web (25.4.0) to the latest version using Docker and Portainer, the application presented the first-run setup screen. Upon inspection, all the persistent data directories associated with the defined Docker volumes (gramps_users, gramps_index, gramps_thumb_cache, gramps_cache, gramps_secret, gramps_db, gramps_media, and gramps_tmp) were found to be empty. This indicates a complete loss of all previously entered genealogical data, user configurations, search indexes, and cached files.
To Reproduce
Steps to reproduce the behavior:
Have a previous installation of Gramps Web running via Docker Compose (configuration similar to the provided docker-compose.yml).
Update the Gramps Web container to the latest version (e.g., by recreating the container in Portainer or using docker-compose down && docker-compose pull && docker-compose up -d).
Access the Gramps Web interface in a browser.
Observe the first-run setup screen is presented.
Inspect the contents of the Docker volumes associated with /opt/docker-apps/grampsweb/* on the host system or within a temporary container attached to these volumes.
Observe that all the aforementioned volume directories are empty.
Expected behavior
Upon updating to the latest version, Gramps Web should have continued to use the existing data located in the persistent volumes. The user should not have been presented with the first-run setup screen, and all previously existing data and configurations should have been accessible.
Gramps Web 25.4.1
- Device: x86 mini PC
- OS: Arch Linux
- Kernel: x86_64 Linux 6.13.8-arch1-1
- Version: 25.4.1
Additional context
The Gramps Web instance is running inside a Docker container, managed with Portainer. The docker-compose.yml file used for deployment is provided below:
services:
grampsweb: &grampswebimage: ghcr.io/gramps-project/grampsweb:latestcontainer_name: grampswebrestart: alwaysports:
- "8225:5000"# host:dockerenvironment:
GRAMPSWEB_TREE: "Gramps Web"# will create a new tree if not existsGRAMPSWEB_CELERY_CONFIG__broker_url: "redis://grampsweb_redis:6379/0"GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://grampsweb_redis:6379/0"GRAMPSWEB_RATELIMIT_STORAGE_URI: redis://grampsweb_redis:6379/1depends_on:
- grampsweb_redisvolumes:
- gramps_users:/opt/docker-apps/grampsweb/users # persist user database
- gramps_index:/opt/docker-apps/grampsweb/indexdir # persist search index
- gramps_thumb_cache:/opt/docker-apps/grampsweb/thumbnail_cache # persist thumbnails
- gramps_cache:/opt/docker-apps/grampsweb/cache # persist export and report caches
- gramps_secret:/opt/docker-apps/grampsweb/secret # persist flask secret
- gramps_db:/opt/docker-apps/grampsweb/grampsdb # persist Gramps database
- gramps_media:/opt/docker-apps/grampsweb/media # persist media files
- gramps_tmp:/opt/docker-apps/grampsweb/tmpgrampsweb_celery:
<<: *grampsweb # YAML merge key copying the entire grampsweb service configports: []container_name: grampsweb_celerydepends_on:
- grampsweb_rediscommand: celery -A gramps_webapi.celery worker --loglevel=INFO --concurrency=2grampsweb_redis:
image: docker.io/library/redis:7.2.4-alpinecontainer_name: grampsweb_redisrestart: alwaysvolumes:
gramps_users:
gramps_index:
gramps_thumb_cache:
gramps_cache:
gramps_secret:
gramps_db:
gramps_media:
gramps_tmp:
The text was updated successfully, but these errors were encountered:
digging into this a bit more, it seems that the named volumes should have allowed for persistence, but i think to prevent this issue in the future i can use bind mounts instead. Let me know what the best approach is, but again i think bind mounts will be my fix
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
After updating from a previous release of Gramps Web (25.4.0) to the latest version using Docker and Portainer, the application presented the first-run setup screen. Upon inspection, all the persistent data directories associated with the defined Docker volumes (
gramps_users
,gramps_index
,gramps_thumb_cache
,gramps_cache
,gramps_secret
,gramps_db
,gramps_media
, andgramps_tmp
) were found to be empty. This indicates a complete loss of all previously entered genealogical data, user configurations, search indexes, and cached files.To Reproduce
Steps to reproduce the behavior:
docker-compose.yml
).docker-compose down && docker-compose pull && docker-compose up -d
)./opt/docker-apps/grampsweb/*
on the host system or within a temporary container attached to these volumes.Expected behavior
Upon updating to the latest version, Gramps Web should have continued to use the existing data located in the persistent volumes. The user should not have been presented with the first-run setup screen, and all previously existing data and configurations should have been accessible.
Gramps Web 25.4.1
- Device: x86 mini PC
- OS: Arch Linux
- Kernel: x86_64 Linux 6.13.8-arch1-1
- Version: 25.4.1
Browser information
- Browser: Vivaldi
- Version: 7.3.3635.11 (Stable channel) (64-bit)
Additional context
The Gramps Web instance is running inside a Docker container, managed with Portainer. The
docker-compose.yml
file used for deployment is provided below:The text was updated successfully, but these errors were encountered: