logseq / logseq/db-test-cn

BUG:迁移约1.5万页笔记(包含1万个附件)时,大量报错无法迁移

Open
#55 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

迁移约1.5万页笔记时(实际在导入时显示11622),大量报错,另各样插入笔记的附件(图片、音频等)约有1万多个。(因为长期高依赖使用所以页面和文件都比较多)
另,小笔记库迁移不会有问题。

Image

### Reproduce the Bug

导入的数字每跳1个就会出现一个相同的报错
```
Import failed on"xxx/xxx.md" with
error:
The requested file could not be read,
typically due to permission problems that
have occurred after a reference to a file
was acquired.
```
(已经给软件管理员限权)

Image

### Expected Behavior

_No response_

### Screenshots

_No response_

### Browser, Desktop or Mobile Platform Information

操作系统:win11
软件版本: Build-Desktop-Release #1961 https://github.com/logseq/logseq/actions/runs/16862943203

### Additional Context

_No response_

### Are you willing to submit a PR? If you know how to fix the bug.

- [x] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows desktop import with a large notebook containing roughly 15,000 pages and 10,000 attachments, then inspect the reported file-read failures. Done means the full notebook imports without the repeated errors; the issue does not name implementation files or tests.

Written by the indexing model from the issue text.

Assessment

Domain
data, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.