Hi,
I am hosting my Grampsweb installation on GrampsHub and so far everything worked well until yesterday. I wanted to re-sync my Gramps with the Grampsweb (approx 120 new entries), but it always got stuck at the sync step and and ran without ever finishing (I let it try for a few hours). I then thought it might help to run a Check and repair Database on the Grampsweb but that has now been running overnight without any progress either (Status: Pending) … so I am at a loss how I can get the sync back running.
I don’t have any logs, as I have no idea where they could be found
Here is the system info:
Gramps 5.2.4
Gramps Web API 2.8.2
Gramps Web Frontend 25.3.1
Gramps QL 0.3.0
Sifts 1.0.0
locale: en
multi-tree: true
task queue: true
OCR: true
chat: true
Hi David,
thanks for your reply … is there a specific instruction for MacOS? Though I found the folder with the gramps.app in the command line tool, the command to open with debug enabled does not work …
Thank you - this worked and the sync is currently running in dbeug mode (or has already for the last 30 min). Is there any expectation on duration for the sync … in the past it was usually really quick finished, so 30+ min so far seems already long, though it doesn’t show any error in the log, only re-fetching of tokens from server …
Now it has aborted after 1.5 hours … this is the log:
2025-03-21 10:56:04.486: DEBUG: grampswebsync.py: line 103: Initializing Gramps Web Sync addon.
2025-03-21 10:56:05.962: DEBUG: grampswebsync.py: line 79: Retrieving password for user XXXX
2025-03-21 10:56:05.963: WARNING: grampswebsync.py: line 83: Keyring is not installed, cannot retrieve password.
2025-03-21 10:56:08.061: DEBUG: grampswebsync.py: line 222: Moving to next page from page 0.
2025-03-21 10:56:08.065: DEBUG: grampswebsync.py: line 222: Moving to next page from page 1.
2025-03-21 10:56:09.781: DEBUG: grampswebsync.py: line 222: Moving to next page from page 1.
2025-03-21 10:56:11.113: DEBUG: grampswebsync.py: line 222: Moving to next page from page 1.
2025-03-21 10:56:11.259: DEBUG: webapihandler.py: line 162: Fetching an access token from the server
2025-03-21 10:56:11.384: DEBUG: webapihandler.py: line 162: Fetching an access token from the server
2025-03-21 10:56:11.957: DEBUG: grampswebsync.py: line 222: Moving to next page from page 2.
2025-03-21 10:56:11.969: INFO: grampswebsync.py: line 444: Downloading Gramps XML file.
2025-03-21 10:56:19.750: DEBUG: grampswebsync.py: line 448: Importing Gramps XML file.
100%2025-03-21 10:56:22.810: DEBUG: grampswebsync.py: line 454: Successfully imported Gramps XML file.
2025-03-21 10:56:22.810: INFO: grampswebsync.py: line 458: Comparing local and remote data…
2025-03-21 10:59:53.982: DEBUG: grampswebsync.py: line 222: Moving to next page from page 2.
2025-03-21 10:59:53.982: DEBUG: grampswebsync.py: line 222: Moving to next page from page 2.
2025-03-21 11:00:24.436: DEBUG: grampswebsync.py: line 222: Moving to next page from page 3.
2025-03-21 11:00:24.436: DEBUG: grampswebsync.py: line 222: Moving to next page from page 4.
2025-03-21 11:00:24.436: INFO: grampswebsync.py: line 562: Committing all changes to the databases.
2025-03-21 11:00:24.437: DEBUG: grampswebsync.py: line 569: No changes to apply to local database.
2025-03-21 11:00:24.517: DEBUG: webapihandler.py: line 152: Fetching metadata from the server
2025-03-21 11:00:26.507: DEBUG: grampswebsync.py: line 222: Moving to next page from page 4.
2025-03-21 11:00:26.514: DEBUG: grampswebsync.py: line 589: Committing changes to remote database.
2025-03-21 11:10:12.599: DEBUG: webapihandler.py: line 162: Fetching an access token from the server
2025-03-21 11:26:14.906: DEBUG: webapihandler.py: line 162: Fetching an access token from the server
2025-03-21 11:40:15.986: DEBUG: webapihandler.py: line 162: Fetching an access token from the server
2025-03-21 11:54:17.048: DEBUG: webapihandler.py: line 162: Fetching an access token from the server
2025-03-21 12:08:17.618: DEBUG: webapihandler.py: line 162: Fetching an access token from the server
2025-03-21 12:22:18.692: DEBUG: webapihandler.py: line 162: Fetching an access token from the server
2025-03-21 12:31:25.337: ERROR: webapihandler.py: line 285: URLError while fetching task status: [Errno 54] Connection reset by peer
What could be the issue that it takes so long and then aborts?
Over night the process completed successfully … seems it just took ages to sync the data, which I didn’t expect from previous experiences.
Nonetheless - thank you for taking the time to give hints and guiding me how to let the extension run in debug mode … that will help me in the future as well.
Be careful! Same issue here, except sync had been running for >9 hours (had only made 3 changes to source documents in desktop version). Tried the server check/repair tool and that was running for 3 stuck at 90% complete. pressed the button again, apparently set another task as “pending”… i’ve only got 300 or so names and my local data is good so i though i’d start over on GWeb… but the delete is now pending also Don’t press too many buttons too fast! If there is any way to purge the server task queue… i’d love to hear how RoflmAo!! Loved the features and was just about to invite other family contributors… i just wanted to get their person entries ‘prettied up a bit’ when i locked up the universe I’ll try the terminal window suggestion in the morning.
It is true; Time heals all wounds… and luckily the delete task didn’t execute
I’m up voting the chosen solution! Can’t wait to bring the r/l family together in GWeb!!