Sync Error: "Invalid data writing to db!" with new DB graph [MacOS]
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
- 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!)
- 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de logseq/db-test
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
-
Page titles with `$$`, `$&`, `` $` `` or `$'` change when block refs are resolvedPosiblemente ocupada @RaphaelFakhri la tomó hace 20 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
`#Asset` label is not displayed on asset nodes when `Hide from Node` is disabledPosiblemente ocupada @tiensonqin la tomó hace 23 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Todos los issues de logseq/db-test
Issues similares
-
api complexity → medium ledger reviewed stripe
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
opencollective/opencollective#9092 ·
-
Course title and my-course-id lookups hydrate every course step through mapCoursePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertojules
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
open-learning-exchange/myplanet#18563 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Edit: Monumental TV [PY]Abiertochannels:edit check:passed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
[Bug] The blue-green mitigation strategy lists catalog names and views before the source tablesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
aws-samples/sample-aws-genai-db-modernizer#2097 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
FindInBatches panics for non-positive batch sizesPosiblemente ocupada @Dazhou-del la tomó hoy. Abiertotype:with reproduction steps
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día