Installed the latest Gramps app onto Truenas Scale 25.04.1 via the App store within Truenas.
Configured with standard settings with the exception of storage directories.
Seems to restart randomly and this particular container ‘celery’ takes some additional time
I have attempted to add the variable as indicated “GRAMPSWEB_SECRET_KEY” using the same key used for SECRET_KEY. Deployment fails
There is also a warning about the container running as ROOT. Not sure how to change that, if neccesary.
Log:
2025-07-07 18:45:14.831880+00:002025-07-07T18:45:14.831880544Z
2025-07-07 18:45:14.832033+00:00(main.py:7): Gtk-CRITICAL : 13:45:14.831: gtk_icon_theme_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed
2025-07-07 18:45:17.463921+00:00/app/src/gramps_webapi/app.py:74: UserWarning: Setting the SECRET_KEY config option via the SECRET_KEY environment variable is deprecated and will stop working in the future. Please use GRAMPSWEB_SECRET_KEY instead.
2025-07-07 18:45:17.464019+00:00warnings.warn(
2025-07-07 18:45:23.345585+00:00INFO [alembic.runtime.migration] Context impl SQLiteImpl.
2025-07-07 18:45:23.345670+00:00INFO [alembic.runtime.migration] Will assume non-transactional DDL.
2025-07-07 18:45:36.382956+00:002025-07-07T18:45:36.382956514Z
2025-07-07 18:45:36.383088+00:00(celery:1): Gtk-CRITICAL : 13:45:36.372: gtk_icon_theme_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed
2025-07-07 18:45:37.747424+00:00/usr/local/lib/python3.11/dist-packages/gramps_webapi/app.py:74: UserWarning: Setting the SECRET_KEY config option via the SECRET_KEY environment variable is deprecated and will stop working in the future. Please use GRAMPSWEB_SECRET_KEY instead.
2025-07-07 18:45:37.747505+00:00warnings.warn(
2025-07-07 18:45:38.438556+00:00/usr/local/lib/python3.11/dist-packages/celery/platforms.py:841: SecurityWarning: You’re running the worker with superuser privileges: this is
2025-07-07 18:45:38.438617+00:00absolutely not recommended!
2025-07-07 18:45:38.438633+00:002025-07-07T18:45:38.438633131Z
2025-07-07 18:45:38.438647+00:00Please specify a different user using the --uid option.
2025-07-07 18:45:38.438682+00:002025-07-07T18:45:38.438682253Z
2025-07-07 18:45:38.438696+00:00User information: uid=0 euid=0 gid=0 egid=0
2025-07-07 18:45:38.438710+00:002025-07-07T18:45:38.438710346Z
2025-07-07 18:45:38.438723+00:00warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(
2025-07-07 18:45:38.581267+00:002025-07-07T18:45:38.581267439Z
2025-07-07 18:45:38.582949+00:00-------------- celery@e6743d00f66b v5.5.3 (immunity)
2025-07-07 18:45:38.582985+00:00— * -----
2025-07-07 18:45:38.582999+00:00-- *** ---- Linux-6.12.15-production+truenas-x86_64-with-glibc2.36 2025-07-07 13:45:38
2025-07-07 18:45:38.583012+00:00- — —
2025-07-07 18:45:38.583027+00:00- ---------- [config]
2025-07-07 18:45:38.583048+00:00- ---------- .> app: default:0x7f672e41ce10 (.default.Loader)
2025-07-07 18:45:38.583063+00:00- ---------- .> transport: redis://default:@redis:6379/0
2025-07-07 18:45:38.583077+00:00- ---------- .> results: redis://default:@redis:6379/0
2025-07-07 18:45:38.583090+00:00- — — .> concurrency: 2 (prefork)
2025-07-07 18:45:38.583110+00:00-- *** ---- .> task events: OFF (enable -E to monitor tasks in this worker)
2025-07-07 18:45:38.583125+00:00— * -----
2025-07-07 18:45:38.583138+00:00-------------- [queues]
2025-07-07 18:45:38.583151+00:00.> celery exchange=celery(direct) key=celery
2025-07-07 18:45:38.583179+00:002025-07-07T18:45:38.583179237Z
2025-07-07 18:45:38.583193+00:002025-07-07T18:45:38.583193016Z
2025-07-07 18:45:38.583206+00:00[tasks]
2025-07-07 18:45:38.583220+00:00. gramps_webapi.api.tasks.check_repair_database
2025-07-07 18:45:38.583234+00:00. gramps_webapi.api.tasks.delete_objects
2025-07-07 18:45:38.583247+00:00. gramps_webapi.api.tasks.export_db
2025-07-07 18:45:38.583269+00:00. gramps_webapi.api.tasks.export_media
2025-07-07 18:45:38.583281+00:00. gramps_webapi.api.tasks.generate_report
2025-07-07 18:45:38.583298+00:00. gramps_webapi.api.tasks.import_file
2025-07-07 18:45:38.583311+00:00. gramps_webapi.api.tasks.import_media_archive
2025-07-07 18:45:38.583331+00:00. gramps_webapi.api.tasks.media_ocr
2025-07-07 18:45:38.583345+00:00. gramps_webapi.api.tasks.process_transactions
2025-07-07 18:45:38.583358+00:00. gramps_webapi.api.tasks.search_reindex_full
2025-07-07 18:45:38.583372+00:00. gramps_webapi.api.tasks.search_reindex_incremental
2025-07-07 18:45:38.583385+00:00. gramps_webapi.api.tasks.send_email_confirm_email
2025-07-07 18:45:38.583405+00:00. gramps_webapi.api.tasks.send_email_new_user
2025-07-07 18:45:38.583418+00:00. gramps_webapi.api.tasks.send_email_reset_password
2025-07-07 18:45:38.583433+00:00. gramps_webapi.api.tasks.send_telemetry_task
2025-07-07 18:45:38.583446+00:00. gramps_webapi.api.tasks.update_search_indices_from_transaction
2025-07-07 18:45:38.583474+00:00. gramps_webapi.api.tasks.upgrade_database_schema
2025-07-07 18:45:38.583489+00:00. gramps_webapi.api.tasks.upgrade_undodb_schema
2025-07-07 18:45:38.583503+00:002025-07-07T18:45:38.583503259Z
2025-07-07 18:45:39.147974+00:00[2025-07-07 13:45:39,147: INFO/MainProcess] Connected to redis://default:**@redis:6379/0
2025-07-07 18:45:39.160746+00:00[2025-07-07 13:45:39,160: INFO/MainProcess] mingle: searching for neighbors
2025-07-07 18:45:40.195506+00:00[2025-07-07 13:45:40,195: INFO/MainProcess] mingle: all alone
2025-07-07 18:45:40.229806+00:00[2025-07-07 13:45:40,229: INFO/MainProcess] celery@e6743d00f66b ready.
Steps to Reproduce: just running and randomly restarts
Name: gramps-web
App Version: v25.7.0
Version: v1.1.3
Source: GitHub - gramps-project/gramps-web: Open Source Online Genealogy System
Train: community