Sync Error: "Invalid data writing to db!" with new DB graph [MacOS]
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 15/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- macos
- Ambito
- databases
Direzione di ricerca
The payload names no file, test or entry point; the only searchable anchor is the error text "Invalid data writing to db!", so start by finding where that string is raised in the sync code. The reporter could not see the error details, so the first step is to make the underlying failure visible. Done means a clear cause for the failure on a fresh DB graph that syncs successfully when restored from backup, confirmed by the maintainers.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Search first
- I searched and no similar issues were found
⭐️ See solution below ⭐️
- Main question: How to read the error report?
What Happened?
- Error when syncing new DB Graph
- No MD import
- Fresh DB Graph
- Unable to see error report (what is the problem?)
Reproduce the Bug
- Create a new local DB Graph in Logseq DB MacOS
- Grow your DB Graph with content
- Login to Logseq Sync
- Sync DB Graph
- Error occurs: "Invalid data writing to db!"
Note: Any other new DB graph synced on the first attempt without an error
Expected Behavior
- DB Graph syncs
- Understandable error report
- How to identify the error based on this?
Solution
- Fortunately, I created a backup of my DB graph BEFORE trying to sync
- I tried to sync the backup version (exact same version) and it worked without an error
Browser, Desktop or Mobile Platform Information
Logseq Version 2.0.2
MacOS 15.8.1
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 29
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di logseq/db-test
-
Web build on a phone: the fold arrow of an h1/h2 block lies on its bullet, so tapping the bullet folds instead of zooming inForse già presa @tiensonqin l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Page titles with `$$`, `$&`, `` $` `` or `$'` change when block refs are resolvedForse già presa @RaphaelFakhri l’ha presa 19 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
`#Asset` label is not displayed on asset nodes when `Hide from Node` is disabledForse già presa @tiensonqin l’ha presa 22 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Tutte le issue di logseq/db-test
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
jasonacox/pypowerwall#472 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
surrealdb/surrealdb.py#439 ·
I maintainer di solito rispondono entro 6 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
mattgodbolt/zindex#67 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Hindi Hits LogoApertacheck:passed logos:add
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
backend prio:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
digitalfabrik/entitlementcard#3262 ·
I maintainer di solito rispondono entro 2 giorni