Sync Error: "Invalid data writing to db!" with new DB graph [MacOS]

Aperta
#1,423 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
  1. Create a new local DB Graph in Logseq DB MacOS
  2. Grow your DB Graph with content
  3. Login to Logseq Sync
  4. Sync DB Graph
  5. Error occurs: "Invalid data writing to db!"
    Note: Any other new DB graph synced on the first attempt without an error
Image
Expected Behavior
  • DB Graph syncs
  • Understandable error report
  • How to identify the error based on this?
Image
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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di logseq/db-test

Tutte le issue di logseq/db-test

Issue simili

Altre issue su Databases

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.