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

Abierto
#1,423 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
15/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
macos
Área
databases

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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!)
Lenguaje dominante
Sin datos de lenguaje
Estrellas
29
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de logseq/db-test

Todos los issues de logseq/db-test

Issues similares

Más issues de Databases

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.