Comments (2)
Before doing anything else (if you haven't already), I suggest creating a backup of ~/.config/joplin-desktop
on both machines. The goal of this is to prevent further data loss.
it was found that the previous directory structure is still preserved in the database.
To confirm: Do notes both have the correct parent_id
fields and do parent folders with the correct ID exist in the folders
table?
After synchronizing to Nextcloud, Joplin 2.13.15 (prod, Darwin) has only two options under "Notebook" in the Joplin panel: "All Notes" and "Conflict".
How many notes are present under "Conflict"?
I deleted the local data on Mac and used the first synchronization to the directory of nextcloud for data recovery. There will be several directory structures, but they are incomplete.
This might be because the original sync was incomplete before switching folders. Are all notes present? (Is it just notebook structure that's missing?)
After Joplin synchronizes to nextcloud, stop synchronizing midway and change the nextcloud synchronization directory before starting synchronization again. Causing all notes to be lost
Note: In Joplin 2.14, there's logic to prevent switching the sync target until all resources are downloaded. While working on this issue, it could make sense to check the following:
- It should be checked whether this logic is sufficient to prevent switching targets in the middle of a sync.
- It should be checked whether the "failsafe" option is broken when following the steps linked above (when changing WebDAV sync settings during sync).
from joplin.
~/.config/joplin-desktop
在执行其他操作之前(如果您还没有这样做),我建议在两台计算机上创建备份。这样做的目的是防止进一步的数据丢失。发现数据库中还保留着之前的目录结构。
确认:注释是否具有正确的
parent_id
字段,并且表中是否存在具有正确 ID 的父文件夹folders
?同步到Nextcloud后,Joplin 2.13.15(prod,Darwin)在Joplin面板的“笔记本”下只有两个选项:“所有笔记”和“冲突”。
“冲突”下有多少条注释?
我删除了Mac上的本地数据,并使用第一次同步到nextcloud的目录进行数据恢复。会有几个目录结构,但它们并不完整。
这可能是因为切换文件夹之前原始同步不完整。所有注释都存在吗?(只是缺少笔记本结构吗?)
Joplin同步到nextcloud后,中途停止同步并更改nextcloud同步目录,然后再开始同步。导致所有笔记丢失
**注意:**在 Joplin 2.14 中,有一个逻辑可以防止在下载所有资源之前切换同步目标。在解决此问题时,检查以下内容可能是有意义的:
- 应检查该逻辑是否足以防止在同步过程中切换目标。
- 按照上面链接的步骤操作时(在同步过程中更改 WebDAV 同步设置时),应检查“故障安全”选项是否被破坏。
Thank you very much for helping me answer this question.
###Fortunately, I made a backup in September 2023 in another self built nextcloud (which I refer to as nextcloud_2023)
###The nextcloud that caused my notes to be lost in 2024 is called nextcloud_2024
-
I found parent_id in the revisions table of the database.sqlite file, but unfortunately, some parent_ids correspond to empty values and some have data.
-
There is no data in the "folders" table.
-
There are 47 data points in the "Conflict" structure.
-
I am not quite sure if all the notes have been deleted. I re imported the data from the second backup to nextcloud_2024 into Joplin for Mac and found some note data in the revisions table. I imported the data from last year's backup to nextcloud_2023 on another Windows computer. Combined with the revisions table in the database.sqlite file and the data in the notes.normalized table. Restored some notes.
-
It is strongly recommended to add the function of backing up the entire Joplin directory in the "Help" and "Tools" sections. So my mother no longer has to worry about my data being lost.
from joplin.
Related Issues (20)
- TypeError when running "process orphaned items" on Joplin server HOT 3
- attachments missing on Android; message says "some items cannot be synchronized" HOT 2
- Android: Accessibility tap-to-focus broken
- ENEX does not import correct when title of note matches the name of the attachment HOT 6
- Attachments to notes doesn't sync after editing HOT 2
- Android: Unable to use toolbar or back button for several seconds after quickly typing a few sentences. HOT 1
- Joplin is opened behind the top taskbar after closed in half or quarter screen mode HOT 2
- Tags are sometimes put on the wrong note HOT 1
- Error: Unable to resolve module ../lib/rnInjectedJs/noteBodyViewerBundle.bundle HOT 2
- Rich text editor: Default font no longer matches the note viewer or markdown editor HOT 5
- Rich text editor: Code blocks and math use a serif font by default
- Mobile: Creation of new notebook/note in the trash folder is allowed HOT 1
- Sync fails with "Trust anchor for certification path not found" on Android when using Joplin Server
- Back button handler on mobile doesn't go back to previous note HOT 3
- Unknown Sync Error Caused HOT 1
- Give the panel that contains the editor a dynamic width
- Mobile: Plugins: editor.execCommand command throws exception
- iOS: Enable plugin support
- Android feature request: "New photo note" home screen shortcut
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joplin.