8000 🐛 [grampsweb] restarts wipe all data, besides basic user data · Issue #1864 · alexbelgium/hassio-addons · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
🐛 [grampsweb] restarts wipe all data, besides basic user data #1864
Open
@passivedragon

Description

@passivedragon

Description

Created users persist (user names, email addresses, passwords) but beyond that pretty much everything appears to get dropped between restarts.

Reproduction steps

1. Setup addon
1. create a person
1. restart the addon
1. note the person has disappeared

Addon Logs

Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: Grampsweb
 Open Source Online Genealogy System
-----------------------------------------------------------
 Add-on version: 25.5.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 15.2
 Architecture: amd64 / qemux86-64
 Home Assistant Core: 2025.5.1
 Home Assistant Supervisor: 2025.04.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons 
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
GRAMPSWEB_SECRET_KEY='NdGfqp0ZlsgtNAV9fTxsV1kue2EsdvM9SJCJiCtWofg'
certfile='fullchain.pem'
keyfile='privkey.pem'
ssl='false'
Timezone set from Etc/UTC to Europe/Berlin
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory
Load environment variables from /config/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /addon_configs/db21ed7f_grampsweb/config.yaml
---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables
... no env variables found, exiting
/etc/cont-init.d/01-custom_script.sh: executing
Execute /addon_configs/db21ed7f_grampsweb/grampsweb.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
/etc/cont-init.d/32-nginx_ssl.sh: executing
/etc/cont-init.d/99-run.sh: executing
[17:20:30] WARNING: Using the secret key defined in the addon options.
Starting Redis...
Starting Gramps Web App...
302:C 11 May 2025 17:20:30.686 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
302:C 11 May 2025 17:20:30.686 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=302, just started
302:C 11 May 2025 17:20:30.686 # Configuration loaded
302:M 11 May 2025 17:20:30.687 * monotonic clock: POSIX clock_gettime
302:M 11 May 2025 17:20:30.689 * Running mode=standalone, port=6379.
302:M 11 May 2025 17:20:30.689 # Server initialized
302:M 11 May 2025 17:20:30.690 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
302:M 11 May 2025 17:20:30.691 * Loading RDB produced by version 7.0.15
302:M 11 May 2025 17:20:30.691 * RDB age 1310 seconds
302:M 11 May 2025 17:20:30.691 * RDB memory usage when created 1.59 Mb
302:M 11 May 2025 17:20:30.691 * Done loading RDB, keys loaded: 6, keys expired: 0.
302:M 11 May 2025 17:20:30.691 * DB loaded from disk: 0.001 seconds
302:M 11 May 2025 17:20:30.691 * Ready to accept connections
(__main__.py:305): Gtk-CRITICAL **: 17:20:35.576: 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.
[2025-05-11 17:20:39 +0200] [303] [INFO] Starting gunicorn 23.0.0
[2025-05-11 17:20:39 +0200] [303] [INFO] Listening at: http://0.0.0.0:5000 (303)
[2025-05-11 17:20:39 +0200] [303] [INFO] Using worker: sync
[2025-05-11 17:20:39 +0200] [331] [INFO] Booting worker with pid: 331
Starting Celery...
Starting nginx...
[17:20:39] INFO: Starting nginx
[2025-05-11 17:20:39 +0200] [335] [INFO] Booting worker with pid: 335
[2025-05-11 17:20:39 +0200] [336] [INFO] Booting worker with pid: 336
[2025-05-11 17:20:39 +0200] [337] [INFO] Booting worker with pid: 337
[2025-05-11 17:20:39 +0200] [338] [INFO] Booting worker with pid: 338
[2025-05-11 17:20:39 +0200] [341] [INFO] Booting worker with pid: 341
[2025-05-11 17:20:39 +0200] [342] [INFO] Booting worker with pid: 342
[2025-05-11 17:20:40 +0200] [343] [INFO] Booting worker with pid: 343
(gunicorn:331): Gtk-CRITICAL **: 17:20:50.742: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(gunicorn:335): Gtk-CRITICAL **: 17:20:51.013: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(gunicorn:336): Gtk-CRITICAL **: 17:20:51.169: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(gunicorn:341): Gtk-CRITICAL **: 17:20:51.850: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(gunicorn:337): Gtk-CRITICAL **: 17:20:51.868: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(gunicorn:343): Gtk-CRITICAL **: 17:20:51.912: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(gunicorn:338): Gtk-CRITICAL **: 17:20:51.920: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(gunicorn:342): Gtk-CRITICAL **: 17:20:52.430: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(celery:332): Gtk-CRITICAL **: 17:20:53.665: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
/usr/local/lib/python3.11/dist-packages/celery/platforms.py:841: SecurityWarning: You're running the worker with superuser privileges: this is
absolutely not recommended!
Please specify a different user using the --uid option.
User information: uid=0 euid=0 gid=0 egid=0
  warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(
 -------------- celery@db21ed7f-grampsweb v5.5.2 (immunity)
--- ***** ----- 
-- ******* ---- Linux-6.12.23-haos-x86_64-with-glibc2.36 2025-05-11 17:20:54
- *** --- * --- 
- ** ---------- [config]
- ** ---------- .> app:         default:0x7f27d9eb6e50 (.default.Loader)
- ** ---------- .> transport:   redis://localhost:6379/0
- ** ---------- .> results:     redis://localhost:6379/0
- *** --- * --- .> concurrency: 2 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** ----- 
 -------------- [queues]
                .> celery           exchange=celery(direct) key=celery
[tasks]
  . gramps_webapi.api.tasks.check_repair_database
  . gramps_webapi.api.tasks.delete_objects
  . gramps_webapi.api.tasks.export_db
  . gramps_webapi.api.tasks.export_media
  . gramps_webapi.api.tasks.generate_report
  . gramps_webapi.api.tasks.import_file
  . gramps_webapi.api.tasks.import_media_archive
  . gramps_webapi.api.tasks.media_ocr
  . gramps_webapi.api.tasks.process_transactions
  . gramps_webapi.api.tasks.search_reindex_full
  . gramps_webapi.api.tasks.search_reindex_incremental
  . gramps_webapi.api.tasks.send_email_confirm_email
  . gramps_webapi.api.tasks.send_email_new_user
  . gramps_webapi.api.tasks.send_email_reset_password
  . gramps_webapi.api.tasks.upgrade_database_schema
  . gramps_webapi.api.tasks.upgrade_undodb_schema
[2025-05-11 17:20:54,779: INFO/MainProcess] Connected to redis://localhost:6379/0
[2025-05-11 17:20:54,786: INFO/MainProcess] mingle: searching for neighbors
[2025-05-11 17:20:55,802: INFO/MainProcess] mingle: all alone
[2025-05-11 17:20:55,814: INFO/MainProcess] celery@db21ed7f-grampsweb ready.
[2025-05-11 17:36:00,293: INFO/MainProcess] Task gramps_webapi.api.tasks.check_repair_database[f45c0cf3-b5f3-419b-b927-c6670b49f026] received
[2025-05-11 17:36:00,457: INFO/ForkPoolWorker-1] Looking for empty people records
[2025-05-11 17:36:00,459: INFO/ForkPoolWorker-1]     OK: no empty persons found
[2025-05-11 17:36:00,461: INFO/ForkPoolWorker-1] Looking for empty family records
[2025-05-11 17:36:00,461: INFO/ForkPoolWorker-1]     OK: no empty families found
[2025-05-11 17:36:00,480: INFO/ForkPoolWorker-1] Looking for empty event records
[2025-05-11 17:36:00,481: INFO/ForkPoolWorker-1]     OK: no empty events found
[2025-05-11 17:36:00,482: INFO/ForkPoolWorker-1] Looking for empty source records
[2025-05-11 17:36:00,482: INFO/ForkPoolWorker-1]     OK: no empty sources found
[2025-05-11 17:36:00,482: INFO/ForkPoolWorker-1] Looking for empty citation records
[2025-05-11 17:36:00,482: INFO/ForkPoolWorker-1]     OK: no empty citations found
[2025-05-11 17:36:00,482: INFO/ForkPoolWorker-1] Looking for empty place records
[2025-05-11 17:36:00,482: INFO/ForkPoolWorker-1]     OK: no empty places found
[2025-05-11 17:36:00,482: INFO/ForkPoolWorker-1] Looking for empty media records
[2025-05-11 17:36:00,483: INFO/ForkPoolWorker-1]     OK: no empty media found
[2025-05-11 17:36:00,483: INFO/ForkPoolWorker-1] Looking for empty repository records
[2025-05-11 17:36:00,483: INFO/ForkPoolWorker-1]     OK: no empty repos found
[2025-05-11 17:36:00,502: INFO/ForkPoolWorker-1] Looking for empty note records
[2025-05-11 17:36:00,502: INFO/ForkPoolWorker-1]     OK: no empty notes found
[2025-05-11 17:36:00,514: INFO/ForkPoolWorker-1] Looking for character encoding errors
[2025-05-11 17:36:00,515: INFO/ForkPoolWorker-1]     OK: no encoding errors found
[2025-05-11 17:36:00,530: INFO/ForkPoolWorker-1] Looking for bad alternate place names
[2025-05-11 17:36:00,531: INFO/ForkPoolWorker-1]     OK: no bad alternate places found
[2025-05-11 17:36:00,557: INFO/ForkPoolWorker-1] Looking for ctrl characters in notes
[2025-05-11 17:36:00,558: INFO/ForkPoolWorker-1]     OK: no ctrl characters in notes found
[2025-05-11 17:36:00,585: INFO/ForkPoolWorker-1] Looking for invalid name format references
[2025-05-11 17:36:00,585: INFO/ForkPoolWorker-1]     OK: no invalid name formats found found
[2025-05-11 17:36:00,597: INFO/ForkPoolWorker-1] Looking for broken family links
[2025-05-11 17:36:00,597: INFO/ForkPoolWorker-1]     OK: no broken family links found
[2025-05-11 17:36:00,597: INFO/ForkPoolWorker-1] Looking for broken parent relationships
[2025-05-11 17:36:00,598: INFO/ForkPoolWorker-1]     OK: no broken parent relationships found
[2025-05-11 17:36:00,598: INFO/ForkPoolWorker-1] Looking for empty families
[2025-05-11 17:36:00,598: INFO/ForkPoolWorker-1]     OK: no empty families found
[2025-05-11 17:36:00,598: INFO/ForkPoolWorker-1] Looking for duplicate spouses
[2025-05-11 17:36:00,598: INFO/ForkPoolWorker-1]     OK: no duplicate spouses found
[2025-05-11 17:36:00,619: INFO/ForkPoolWorker-1] Looking for Duplicated Gramps ID problems
[2025-05-11 17:36:00,644: INFO/ForkPoolWorker-1] Looking for event problems
[2025-05-11 17:36:00,644: INFO/ForkPoolWorker-1]     OK: no event problems found
[2025-05-11 17:36:00,670: INFO/ForkPoolWorker-1] Looking for person reference problems
[2025-05-11 17:36:00,670: INFO/ForkPoolWorker-1]     OK: no event problems found
[2025-05-11 17:36:00,690: INFO/ForkPoolWorker-1] Looking for family reference problems
[2025-05-11 17:36:00,690: INFO/ForkPoolWorker-1]     OK: no event problems found
[2025-05-11 17:36:00,717: INFO/ForkPoolWorker-1] Looking for place reference problems
[2025-05-11 17:36:00,717: INFO/ForkPoolWorker-1]     OK: no place reference problems found
[2025-05-11 17:36:00,730: INFO/ForkPoolWorker-1] Looking for source reference problems
[2025-05-11 17:36:00,730: INFO/ForkPoolWorker-1]    OK: no source reference problems found
[2025-05-11 17:36:00,743: INFO/ForkPoolWorker-1] Looking for citation reference problems
[2025-05-11 17:36:00,744: INFO/ForkPoolWorker-1]    OK: no citation reference problems found
[2025-05-11 17:36:00,756: INFO/ForkPoolWorker-1] Looking for media object reference problems
[2025-05-11 17:36:00,757: INFO/ForkPoolWorker-1]     OK: no media reference problems found
[2025-05-11 17:36:00,766: INFO/ForkPoolWorker-1] Looking for repository reference problems
[2025-05-11 17:36:00,766: INFO/ForkPoolWorker-1]     OK: no repository reference problems found
[2025-05-11 17:36:00,777: INFO/ForkPoolWorker-1] Looking for note reference problems
[2025-05-11 17:36:00,777: INFO/ForkPoolWorker-1]     OK: no note reference problems found
[2025-05-11 17:36:00,786: INFO/ForkPoolWorker-1] Looking for tag reference problems
[2025-05-11 17:36:00,787: INFO/ForkPoolWorker-1]    OK: no tag reference problems found
[2025-05-11 17:36:00,800: INFO/ForkPoolWorker-1] Looking for media source reference problems
[2025-05-11 17:36:00,805: INFO/ForkPoolWorker-1] Looking for backlink reference problems
ERROR:root:Error parsing list of recent DBs from file /root/gramps/recent-files-gramps.xml: no element found: line 1, column 0.
This might indicate a damage to your files.
If you're sure there is no problem with other files, delete it, and restart Gramps.
ERROR:root:Error parsing list of recent DBs from file /root/gramps/recent-files-gramps.xml: no element found: line 1, column 0.
This might indicate a damage to your files.
If you're sure there is no problem with other files, delete it, and restart Gramps.
[2025-05-11 17:36:01,154: WARNING/ForkPoolWorker-1] No errors were found: the database has passed internal checks.
[2025-05-11 17:36:01,203: INFO/ForkPoolWorker-1] Task gramps_webapi.api.tasks.check_repair_database[f45c0cf3-b5f3-419b-b927-c6670b49f026] succeeded in 0.9046850858721882s: {'num_errors': 0, 'message': ''}
[2025-05-11 17:36:20,318: INFO/MainProcess] Task gramps_webapi.api.tasks.import_file[8741af64-f025-4384-92ad-0fc1333dbfb5] received
[2025-05-11 17:36:22,102: INFO/ForkPoolWorker-1] Task gramps_webapi.api.tasks.import_file[8741af64-f025-4384-92ad-0fc1333dbfb5] succeeded in 1.782211635960266s: None
ERROR:root:Error parsing list of recent DBs from file /root/gramps/recent-files-gramps.xml: no element found: line 1, column 0.
This might indicate a damage to your files.

Architecture

amd64

OS

HAos

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleElement will be closed automatically

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0