Skip to content

Import of OG Graph broken #927

Closed
Closed

Description

@davidak

Search first

  • I searched and no similar issues were found

What Happened?

Importing my OG Graph does not finish sucessfully.

Reproduce the Bug

  1. Import OG graph with default settings

Expected Behavior

No errors. Complete Import.

Screenshots

Image

It is stuck in this state.

Files

I saved the console log from developer tools as file and it has 10 million lines and a size of 25MB! My electron-based text editor (Pulsar, Atom fork) has problems handling the file. I can not select text at the end of the file!

Here you have the first 80 lines:

Show log
index.html#/import:1 Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden.
Element with focus: <div. scrollbar-spacing w-full flex justify-center flex-row outline-none relative#main-content-container>
Ancestor with aria-hidden: <div#root> <div id=​"root" data-aria-hidden=​"true" aria-hidden=​"true">​…​</div>​
restore.cljs:34 18:10:47.327 [frontend.db.restore] {:frontend.db.restore/restore-graph! "loads 2388 datoms in 42 ms", :line 34}
repo.cljs:159 "New db created: " "logseq_db_notes-logseq import 6"
rtc_background_tasks.cljs:51 18:10:47.388 [frontend.handler.db-based.rtc-background-tasks] {:line 51, :try-to-start-rtc [:trigger-rtc "logseq_db_notes-logseq import 6"]}
sync.cljs:215 18:10:47.388 [frontend.handler.db-based.sync] {:db-sync/skip-start {:repo "logseq_db_notes-logseq import 6", :reason :graph-not-in-remote-list, :remote-graphs-loading? false, :has-local-rtc-id? false}, :line 215}
sync.cljs:185 18:10:47.388 [frontend.handler.db-based.sync] {:db-sync/stop true, :line 185}
exporter.cljs:2943 Importing 2153 files ...
remote.cljs:78  POST http://127.0.0.1:37811/v1/invoke net::ERR_INSUFFICIENT_RESOURCES
(anonymous) @ fetch.js:86
(anonymous) @ remote.cljs:78
(anonymous) @ impl.cljc:105
KOa @ promise.js:286
(anonymous) @ promise.js:189
Promise.then
(anonymous) @ promise.js:189
VOa @ promise.js:260
aPa @ promise.js:119
$APP.k.Cu @ impl.cljc:105
$APP.W.A @ protocols.cljc:17
W @ protocols.cljc:10
j$b @ remote.cljs:112
g @ remote.cljs:239
e.I @ remote.cljs:238
$APP.Ad.C @ core.cljs:4117
ex.D @ state.cljs:73
l9b @ browser.cljs:148
(anonymous) @ imports.cljs:368
(anonymous) @ imports.cljs:400
(anonymous) @ impl.cljc:105
KOa @ promise.js:286
LOa @ promise.js:360
resolve @ promise.js:144
(anonymous) @ promise.js:253
(anonymous) @ promise.js:327
OOa @ promise.js:309
KOa @ promise.js:296
LOa @ promise.js:360
resolve @ promise.js:144
(anonymous) @ promise.js:253
(anonymous) @ promise.js:327
...

(anonymous) @ impl.cljc:105
KOa @ promise.js:286
(anonymous) @ promise.js:189
Promise.then
(anonymous) @ promise.js:189
VOa @ promise.js:260
aPa @ promise.js:119
$APP.k.Cu @ impl.cljc:105
$APP.W.A @ protocols.cljc:17
W @ protocols.cljc:10
(anonymous) @ exporter.cljs:1887
(anonymous) @ impl.cljc:105
KOa @ promise.js:286
(anonymous) @ promise.js:189
persist_db.cljs:117 18:11:24.876 [frontend.persist-db] {:event :db-worker-runtime-recovering, :repo "logseq_db_notes-logseq import 6", :line 117}
(anonymous) @ console.js:40
Ria @ core.cljs:4085
Sia @ core.cljs:4080
$APP.Ad.A @ core.cljs:4074
(anonymous) @ console.cljs:45
c @ glogi.cljs:199
(anonymous) @ log.js:702
Jca @ log.js:701
Uca @ log.js:994
Yn.J @ glogi.cljs:26
Z$b @ persist_db.cljs:117
$$b @ persist_db.cljs:167
(anonymous) @ persist_db.cljs:246
(anonymous) @ remote.cljs:130
(anonymous) @ core.cljc:325
(anonymous) @ impl.cljc:113
KOa @ promise.js:288
LOa @ promise.js:360
reject @ promise.js:154
(anonymous) @ promise.js:251
(anonymous) @ promise.js:327

and here the last 1200 lines:

1k.txt.zip

In the middle it seem to repeat the same lines.

The terminal output might be more useful:

[davidak@gaming:~/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609]$ ./logseq 
20:10:13.442 › Logseq App(2.0.1) Starting... 
20:10:13.494 › restore proxy settings {:type "system"}
20:10:13.495 › set proxy to {:type "system"}
20:10:13.496 › [updater] configure-auto-updater {:platform "linux", :arch "x64", :channel nil}
20:10:13.497 › [updater] init-auto-updater
APPIMAGE env is not defined, current application is not an AppImage
libva error: /run/opengl-driver/lib/dri/nvidia_drv_video.so init failed
[3045288:0609/201013.576531:ERROR:media/gpu/vaapi/vaapi_wrapper.cc:1658] vaInitialize failed: operation failed
[3045288:0609/201013.578024:ERROR:ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc:252] '--ozone-platform=wayland' is not compatible with Vulkan. Consider switching to '--ozone-platform=x11' or disabling Vulkan
[3045288:0609/201013.580913:ERROR:gpu/vulkan/vulkan_instance.cc:200] vkCreateInstance() failed: -9
[3045288:0609/201013.580984:ERROR:gpu/ipc/service/gpu_init.cc:1408] Failed to create and initialize Vulkan implementation.
(node:3045248) [DEP0176] DeprecationWarning: fs.W_OK is deprecated, use fs.constants.W_OK instead
(Use `logseq --trace-deprecation ...` to show where the warning was created)
:debug :db-gc There's no garbage data that's need to be collected.
:debug :transact-failed :tx-meta {:client-id "214a6b19-642e-45e2-81de-6f13170f8cc6", :db-sync/tx-id #uuid "aa3266b4-0d61-45b7-a578-9311ad0bd0d9", :local-tx? true} :tx-data ({:block/link [:block/uuid #uuid "6a285764-eb07-4127-8a36-27c8cb9e40b0"], :block/uuid #uuid "6a28576b-0a0a-4c1e-972b-3ce50b838a35", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -1, :block/parent 189, :block/order "c3zT", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-8281-4487-a53c-d22e6e5d2f51"], :block/uuid #uuid "6a28576b-c958-4c0e-9ef1-6602e6d50428", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -2, :block/parent 189, :block/order "c3zU", :block/page 189} {:block/link [:block/uuid #uuid "6a285757-4309-4eac-b9e5-db5c79d4a2f8"], :block/uuid #uuid "6a28576b-4642-4525-a2f9-9192831106d9", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -3, :block/parent 189, :block/order "c3zV", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-c8ec-43b9-ad2a-d05697daeb85"], :block/uuid #uuid "6a28576b-9e78-463e-b1ba-2fa00019cb20", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -4, :block/parent 189, :block/order "c3zW", :block/page 189} {:block/link [:block/uuid #uuid "6a285736-54a0-4dd9-a656-621b32cd5a4e"], :block/uuid #uuid "6a28576b-5acd-4aab-9dda-d502b59a6251", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -5, :block/parent 189, :block/order "c3zX", :block/page 189} {:block/link [:block/uuid #uuid "6a285740-6d57-435a-ba03-f71a2f270112"], :block/uuid #uuid "6a28576b-871f-441a-badb-4a99e9d1d602", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -6, :block/parent 189, :block/order "c3zY", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-3436-4cbe-8ffd-339036f6b5a3"], :block/uuid #uuid "6a28576b-16a6-4750-9151-4496118a6438", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -7, :block/parent 189, :block/order "c3zZ", :block/page 189} {:block/link [:block/uuid #uuid "6a285729-6209-4fbc-9162-4078d8cd84a9"], :block/uuid #uuid "6a28576b-2cd4-461f-925a-e7b76d7e6d7e", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -8, :block/parent 189, :block/order "c3za", :block/page 189} {:block/link [:block/uuid #uuid "6a28572f-fd92-4707-bdca-5af197eadd8b"], :block/uuid #uuid "6a28576b-377d-4f80-b04e-4e7700dd5f7a", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -9, :block/parent 189, :block/order "c3zb", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-32d2-46b5-8f0f-82f82d6ccd9a"], :block/uuid #uuid "6a28576b-4463-4af1-b2be-795c6c7f623d", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -10, :block/parent 189, :block/order "c3zc", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-0bc3-4f5d-859f-dddd7156721a"], :block/uuid #uuid "6a28576b-8fa9-4ea6-ba36-d58c892fcce2", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -11, :block/parent 189, :block/order "c3zd", :block/page 189} {:block/link [:block/uuid #uuid "6a28572d-415e-4171-a4a3-3e5dcc26c78b"], :block/uuid #uuid "6a28576b-4b5f-45d0-a82c-dda93e666c74", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -12, :block/parent 189, :block/order "c3ze", :block/page 189} {:block/link [:block/uuid #uuid "6a285728-0f83-4bf7-a00b-dfeb002cf34e"], :block/uuid #uuid "6a28576b-54a4-4e01-bb08-47682be58b59", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -13, :block/parent 189, :block/order "c3zf", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-e355-46a7-a80b-19bdab633c1c"], :block/uuid #uuid "6a28576b-c7fa-4dcc-86e4-10a370579873", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -14, :block/parent 189, :block/order "c3zg", :block/page 189} {:block/link [:block/uuid #uuid "6a285728-012a-4ed7-9efc-139404c082bf"], :block/uuid #uuid "6a28576b-258b-4f15-b4f8-f340797264d0", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -15, :block/parent 189, :block/order "c3zh", :block/page 189} {:block/link [:block/uuid #uuid "6a285753-b968-425a-8153-5769f6c12abf"], :block/uuid #uuid "6a28576b-5497-4ffd-8632-1407c42e2019", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -16, :block/parent 189, :block/order "c3zi", :block/page 189} {:block/link [:block/uuid #uuid "6a285758-fb2c-4a3e-8a9c-9ac15c90ef4f"], :block/uuid #uuid "6a28576b-db2d-4b04-9765-15c2db136c16", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -17, :block/parent 189, :block/order "c3zj", :block/page 189} {:block/link [:block/uuid #uuid "6a28572f-75e0-4bcb-a1fe-02fc7c4fed55"], :block/uuid #uuid "6a28576b-ff63-4529-a606-faee99457a97", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -18, :block/parent 189, :block/order "c3zk", :block/page 189} {:block/link [:block/uuid #uuid "6a285729-9280-4e01-9940-8c4e0df2c54e"], :block/uuid #uuid "6a28576b-9c05-4373-abbe-50009127fea8", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -19, :block/parent 189, :block/order "c3zl", :block/page 189} {:block/link [:block/uuid #uuid "6a28573c-4fb1-4c3a-8718-97fe297c2990"], :block/uuid #uuid "6a28576b-003d-4d93-a534-9cfd9a1c90f0", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -20, :block/parent 189, :block/order "c3zm", :block/page 189} {:block/link [:block/uuid #uuid "6a28575a-d268-40ce-801d-33a68c16507e"], :block/uuid #uuid "6a28576b-a68e-4e28-af7a-daf6a1f7b4b7", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -21, :block/parent 189, :block/order "c3zn", :block/page 189} {:block/link [:block/uuid #uuid "6a285738-77bf-44ff-be26-382ec15d039f"], :block/uuid #uuid "6a28576b-1adc-4122-a8e1-0174acc69f44", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -22, :block/parent 189, :block/order "c3zo", :block/page 189} {:block/link [:block/uuid #uuid "6a28572f-b3a2-4498-82a4-0ac28c1c21ba"], :block/uuid #uuid "6a28576b-b5a0-42b9-af64-aa4f25e550d1", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -23, :block/parent 189, :block/order "c3zp", :block/page 189} {:block/link [:block/uuid #uuid "6a28572c-aeb6-4ce4-a9a2-65ff06deefc6"], :block/uuid #uuid "6a28576b-2e93-4f92-ac36-c4406f3facd1", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -24, :block/parent 189, :block/order "c3zq", :block/page 189} {:block/link [:block/uuid #uuid "6a285732-6356-4264-b58b-80a762d67e8a"], :block/uuid #uuid "6a28576b-486c-47be-aa9f-5e40074bdcd1", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -25, :block/parent 189, :block/order "c3zr", :block/page 189} {:block/link [:block/uuid #uuid "6a285765-5b5a-4272-a0a6-e4d9f4b42e3b"], :block/uuid #uuid "6a28576b-962d-4bdd-a2c0-0b7c5b0ba5e9", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -26, :block/parent 189, :block/order "c3zs", :block/page 189} {:block/link [:block/uuid #uuid "6a28572c-4b31-4930-b6ef-3d40c72de5ee"], :block/uuid #uuid "6a28576b-8aa0-455b-ba38-9ccb5659ac30", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -27, :block/parent 189, :block/order "c3zt", :block/page 189} {:block/link [:block/uuid #uuid "6a285729-780c-43ed-b3de-ef50d27cfee0"], :block/uuid #uuid "6a28576b-6115-4c35-a18f-988bd83038a5", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -28, :block/parent 189, :block/order "c3zu", :block/page 189} {:block/link [:block/uuid #uuid "6a28574f-a85a-4ab2-a2a6-c3abf7041873"], :block/uuid #uuid "6a28576b-411d-4d7b-a7bd-23f354229cd7", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -29, :block/parent 189, :block/order "c3zv", :block/page 189} {:block/link [:block/uuid #uuid "6a285729-2cce-4b47-9918-552c2221bea1"], :block/uuid #uuid "6a28576b-4fc8-449f-9968-932bd4e0e2b0", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -30, :block/parent 189, :block/order "c3zw", :block/page 189} {:block/link [:block/uuid #uuid "6a28574b-63e9-445d-9056-b1818c38a381"], :block/uuid #uuid "6a28576b-b257-46a8-8499-580f0a29a04d", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -31, :block/parent 189, :block/order "c3zx", :block/page 189} {:block/link [:block/uuid #uuid "6a285737-d6ca-4775-845d-7c4e70fc0b75"], :block/uuid #uuid "6a28576b-7711-4c44-b64a-16f55b1f9a10", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -32, :block/parent 189, :block/order "c3zy", :block/page 189} {:block/link [:block/uuid #uuid "6a285728-60f8-4bfd-bc5a-f4e4f2acdcfc"], :block/uuid #uuid "6a28576b-aacb-4d26-97a1-d1961e639da9", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -33, :block/parent 189, :block/order "c3zz", :block/page 189} {:block/link [:block/uuid #uuid "6a285763-11c7-4416-8f5b-14d462785a44"], :block/uuid #uuid "6a28576b-6eed-48fb-a2db-a4eb29c44167", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -34, :block/parent 189, :block/order "c400", :block/page 189} {:block/link [:block/uuid #uuid "6a285764-8d47-44b3-a799-83572f9ebfe0"], :block/uuid #uuid "6a28576b-7ab4-4894-ab75-4d0bc01b0b3c", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -35, :block/parent 189, :block/order "c401", :block/page 189}) :error "#error {:message \"Nothing found for entity id [:block/uuid #uuid \\\"6a285736-54a0-4dd9-a656-621b32cd5a4e\\\"]\", :data {:error :entity-id/missing, :entity-id [:block/uuid #uuid \"6a285736-54a0-4dd9-a656-621b32cd5a4e\"]}}"
hk [Error]: Nothing found for entity id [:block/uuid #uuid "6a285736-54a0-4dd9-a656-621b32cd5a4e"]
    at new hk (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:619195)
    at jk (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:619494)
    at ik (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:619455)
    at qP (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:947334)
    at IP (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:956349)
    at KP (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:963735)
    at gPa (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:958520)
    at bQ (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:971107)
    at i2a (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:1521351)
    at y2.j (/home/davidak/Projekte/Logseq QA/Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609/resources/app.asar/js/db-worker-node.js:2:1528586) {
  data: S {
    T: null,
    W: 2,
    G: [ [w], [w], [w], [Q] ],
    C: null,
    F: 16647951,
    I: 401412
  },
  cause: null,
  description: undefined,
  number: undefined,
  fileName: undefined,
  lineNumber: undefined,
  columnNumber: undefined
}
:debug :worker-transact-failed :tx-meta {:client-id "214a6b19-642e-45e2-81de-6f13170f8cc6", :db-sync/tx-id #uuid "aa3266b4-0d61-45b7-a578-9311ad0bd0d9", :local-tx? true} :tx-data ({:block/link [:block/uuid #uuid "6a285764-eb07-4127-8a36-27c8cb9e40b0"], :block/uuid #uuid "6a28576b-0a0a-4c1e-972b-3ce50b838a35", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -1, :block/parent 189, :block/order "c3zT", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-8281-4487-a53c-d22e6e5d2f51"], :block/uuid #uuid "6a28576b-c958-4c0e-9ef1-6602e6d50428", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -2, :block/parent 189, :block/order "c3zU", :block/page 189} {:block/link [:block/uuid #uuid "6a285757-4309-4eac-b9e5-db5c79d4a2f8"], :block/uuid #uuid "6a28576b-4642-4525-a2f9-9192831106d9", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -3, :block/parent 189, :block/order "c3zV", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-c8ec-43b9-ad2a-d05697daeb85"], :block/uuid #uuid "6a28576b-9e78-463e-b1ba-2fa00019cb20", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -4, :block/parent 189, :block/order "c3zW", :block/page 189} {:block/link [:block/uuid #uuid "6a285736-54a0-4dd9-a656-621b32cd5a4e"], :block/uuid #uuid "6a28576b-5acd-4aab-9dda-d502b59a6251", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -5, :block/parent 189, :block/order "c3zX", :block/page 189} {:block/link [:block/uuid #uuid "6a285740-6d57-435a-ba03-f71a2f270112"], :block/uuid #uuid "6a28576b-871f-441a-badb-4a99e9d1d602", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -6, :block/parent 189, :block/order "c3zY", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-3436-4cbe-8ffd-339036f6b5a3"], :block/uuid #uuid "6a28576b-16a6-4750-9151-4496118a6438", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -7, :block/parent 189, :block/order "c3zZ", :block/page 189} {:block/link [:block/uuid #uuid "6a285729-6209-4fbc-9162-4078d8cd84a9"], :block/uuid #uuid "6a28576b-2cd4-461f-925a-e7b76d7e6d7e", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -8, :block/parent 189, :block/order "c3za", :block/page 189} {:block/link [:block/uuid #uuid "6a28572f-fd92-4707-bdca-5af197eadd8b"], :block/uuid #uuid "6a28576b-377d-4f80-b04e-4e7700dd5f7a", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -9, :block/parent 189, :block/order "c3zb", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-32d2-46b5-8f0f-82f82d6ccd9a"], :block/uuid #uuid "6a28576b-4463-4af1-b2be-795c6c7f623d", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -10, :block/parent 189, :block/order "c3zc", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-0bc3-4f5d-859f-dddd7156721a"], :block/uuid #uuid "6a28576b-8fa9-4ea6-ba36-d58c892fcce2", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -11, :block/parent 189, :block/order "c3zd", :block/page 189} {:block/link [:block/uuid #uuid "6a28572d-415e-4171-a4a3-3e5dcc26c78b"], :block/uuid #uuid "6a28576b-4b5f-45d0-a82c-dda93e666c74", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -12, :block/parent 189, :block/order "c3ze", :block/page 189} {:block/link [:block/uuid #uuid "6a285728-0f83-4bf7-a00b-dfeb002cf34e"], :block/uuid #uuid "6a28576b-54a4-4e01-bb08-47682be58b59", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -13, :block/parent 189, :block/order "c3zf", :block/page 189} {:block/link [:block/uuid #uuid "6a28572a-e355-46a7-a80b-19bdab633c1c"], :block/uuid #uuid "6a28576b-c7fa-4dcc-86e4-10a370579873", :block/updated-at 1781028715220, :block/created-at 1781028715220, :block/title "", :db/id -14, :block/parent 189, :block/order "c3zg", :block/page 189} {:block/link [:block/uuid #uuid "6a285728-012a-4ed7-9efc-139404c082bf"], :block/uuid #uuid "6a28576b-258b-4f15-b4f8-f340797264d0", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -15, :block/parent 189, :block/order "c3zh", :block/page 189} {:block/link [:block/uuid #uuid "6a285753-b968-425a-8153-5769f6c12abf"], :block/uuid #uuid "6a28576b-5497-4ffd-8632-1407c42e2019", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -16, :block/parent 189, :block/order "c3zi", :block/page 189} {:block/link [:block/uuid #uuid "6a285758-fb2c-4a3e-8a9c-9ac15c90ef4f"], :block/uuid #uuid "6a28576b-db2d-4b04-9765-15c2db136c16", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -17, :block/parent 189, :block/order "c3zj", :block/page 189} {:block/link [:block/uuid #uuid "6a28572f-75e0-4bcb-a1fe-02fc7c4fed55"], :block/uuid #uuid "6a28576b-ff63-4529-a606-faee99457a97", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -18, :block/parent 189, :block/order "c3zk", :block/page 189} {:block/link [:block/uuid #uuid "6a285729-9280-4e01-9940-8c4e0df2c54e"], :block/uuid #uuid "6a28576b-9c05-4373-abbe-50009127fea8", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -19, :block/parent 189, :block/order "c3zl", :block/page 189} {:block/link [:block/uuid #uuid "6a28573c-4fb1-4c3a-8718-97fe297c2990"], :block/uuid #uuid "6a28576b-003d-4d93-a534-9cfd9a1c90f0", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -20, :block/parent 189, :block/order "c3zm", :block/page 189} {:block/link [:block/uuid #uuid "6a28575a-d268-40ce-801d-33a68c16507e"], :block/uuid #uuid "6a28576b-a68e-4e28-af7a-daf6a1f7b4b7", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -21, :block/parent 189, :block/order "c3zn", :block/page 189} {:block/link [:block/uuid #uuid "6a285738-77bf-44ff-be26-382ec15d039f"], :block/uuid #uuid "6a28576b-1adc-4122-a8e1-0174acc69f44", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -22, :block/parent 189, :block/order "c3zo", :block/page 189} {:block/link [:block/uuid #uuid "6a28572f-b3a2-4498-82a4-0ac28c1c21ba"], :block/uuid #uuid "6a28576b-b5a0-42b9-af64-aa4f25e550d1", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -23, :block/parent 189, :block/order "c3zp", :block/page 189} {:block/link [:block/uuid #uuid "6a28572c-aeb6-4ce4-a9a2-65ff06deefc6"], :block/uuid #uuid "6a28576b-2e93-4f92-ac36-c4406f3facd1", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -24, :block/parent 189, :block/order "c3zq", :block/page 189} {:block/link [:block/uuid #uuid "6a285732-6356-4264-b58b-80a762d67e8a"], :block/uuid #uuid "6a28576b-486c-47be-aa9f-5e40074bdcd1", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -25, :block/parent 189, :block/order "c3zr", :block/page 189} {:block/link [:block/uuid #uuid "6a285765-5b5a-4272-a0a6-e4d9f4b42e3b"], :block/uuid #uuid "6a28576b-962d-4bdd-a2c0-0b7c5b0ba5e9", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -26, :block/parent 189, :block/order "c3zs", :block/page 189} {:block/link [:block/uuid #uuid "6a28572c-4b31-4930-b6ef-3d40c72de5ee"], :block/uuid #uuid "6a28576b-8aa0-455b-ba38-9ccb5659ac30", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -27, :block/parent 189, :block/order "c3zt", :block/page 189} {:block/link [:block/uuid #uuid "6a285729-780c-43ed-b3de-ef50d27cfee0"], :block/uuid #uuid "6a28576b-6115-4c35-a18f-988bd83038a5", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -28, :block/parent 189, :block/order "c3zu", :block/page 189} {:block/link [:block/uuid #uuid "6a28574f-a85a-4ab2-a2a6-c3abf7041873"], :block/uuid #uuid "6a28576b-411d-4d7b-a7bd-23f354229cd7", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -29, :block/parent 189, :block/order "c3zv", :block/page 189} {:block/link [:block/uuid #uuid "6a285729-2cce-4b47-9918-552c2221bea1"], :block/uuid #uuid "6a28576b-4fc8-449f-9968-932bd4e0e2b0", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -30, :block/parent 189, :block/order "c3zw", :block/page 189} {:block/link [:block/uuid #uuid "6a28574b-63e9-445d-9056-b1818c38a381"], :block/uuid #uuid "6a28576b-b257-46a8-8499-580f0a29a04d", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -31, :block/parent 189, :block/order "c3zx", :block/page 189} {:block/link [:block/uuid #uuid "6a285737-d6ca-4775-845d-7c4e70fc0b75"], :block/uuid #uuid "6a28576b-7711-4c44-b64a-16f55b1f9a10", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -32, :block/parent 189, :block/order "c3zy", :block/page 189} {:block/link [:block/uuid #uuid "6a285728-60f8-4bfd-bc5a-f4e4f2acdcfc"], :block/uuid #uuid "6a28576b-aacb-4d26-97a1-d1961e639da9", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -33, :block/parent 189, :block/order "c3zz", :block/page 189} {:block/link [:block/uuid #uuid "6a285763-11c7-4416-8f5b-14d462785a44"], :block/uuid #uuid "6a28576b-6eed-48fb-a2db-a4eb29c44167", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -34, :block/parent 189, :block/order "c400", :block/page 189} {:block/link [:block/uuid #uuid "6a285764-8d47-44b3-a799-83572f9ebfe0"], :block/uuid #uuid "6a28576b-7ab4-4894-ab75-4d0bc01b0b3c", :block/updated-at 1781028715221, :block/created-at 1781028715221, :block/title "", :db/id -35, :block/parent 189, :block/order "c401", :block/page 189})

You are hopefully able to reproduce it yourself.

Browser, Desktop or Mobile Platform Information

NixOS 25.11.10684.8fd9daa3db09
Logseq-linux-x86_64-2.0.1-alpha+nightly.20260609

This is also reproducible in Logseq-linux-x86_64-2.0.1-alpha+nightly.20260607.

It does not happen with Logseq-linux-x86_64-2.0.1-alpha+nightly.20260522!

Importing 2153 files ...
19:19:00.240 [frontend.components.imports] {:import-file-graph {:msg "Import finished in 133.548 seconds"}, :line 404}
Read graph  with counts: {:entities 23840, :pages 5186, :blocks 18641, :classes 18, :properties 113, :objects 5730, :property-pairs 3097, :datoms 193454}

I can load the imported graph then with current versions. So it seem the content is not actually the problem.

Additional Context

Don't you have tests that should capture such issue and prevent the release of a nightly build? It is very annoying that i have to report this!

This does not happen with a simple test graph with 3 files (1 journal, 1 page). It does also not happen with a bigger test graph with 804 files with many pages. Only with my personal graph with 2153 files that i actually use.

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

  • I'm willing to submit a PR (Thank you!)

Activity

  1. davidak commented on Jun 17, 2026

    @davidak
    Author

    Still reproducible in Logseq-linux-x86_64-2.0.1-alpha+nightly.20260616.
    This blocks further testing.

  2. davidak commented on Jun 22, 2026

    @davidak
    Author

    Still reproducible in Logseq-linux-x86_64-2.0.1-alpha+nightly.20260622

  3. psylabs commented on Jun 25, 2026

    @psylabs

    Same issue. Using 2.0.1-alpha+nightly.20260622 on Apple M2 Max

    Trying to import my old markdown (file) graph and I'm stuck:

    • Made a local copy of my OG graph (assets, journals, logseq, pages, etc.) — ~300 MB, ~3,500 items
    • Ran File to DB graph with defaults — Import all tags ✔ + Remove inline tags ✔
    • Get a create graph error on every attempt
    • Deleting the graph + restarting doesn't clear it

    Pulled the console, and the root error is db-worker-node failed to start with {:code :server-start-failed} — the "Create graph failed", Failed to fetch, and net::ERR_CONNECTION_REFUSED on 127.0.0.1:60230 all cascade from the local DB worker server never coming up (the app logs :db-worker-runtime-recovering and only recovers after the create call has already failed). Since it reproduces across restarts and graph deletions, this looks like a worker-startup / port-binding issue rather than my data

    Running
    pkill -f db-worker-node helped. I tried again and the process succeeded. Turns out this was the problem:

    Why it looks frozen at 783/783: the file-read phase (the bar) finishes fast, but then the importer does the heavy lifting — building datoms, inferring property types, converting tags to classes, deduping nodes — and that second phase doesn't have a progress bar. So the bar sits pinned at 100% while the real work grinds in the background. For 300 MB / 3,500 items this can run several minutes with the UI looking stalled.

    I quit the app because I thought it had hung the first time around. Running top showed me it was still working in the bg.
    top -pid $(pgrep -f db-worker-node | head -1)

    Image
  4. ARudiuk commented on Jun 25, 2026

    @ARudiuk

    I was in a unique scenario where I could control the number of blocks in my pages before importing. I found that when I decreased my block size from 200->25 I was able to import without error. My pages are also image heavy. Not sure if that will help with debugging.

  5. davidak commented on Jun 27, 2026

    @davidak
    Author

    This issue is still reproducible in Logseq-linux-x86_64-2.0.1-alpha+nightly.20260624

    When i close logseq and open it again, it opens the imported graph, but throws a lot of errors in terminal.

    Verification result:

    Validation detected 77 invalid block(s). These blocks may be buggy. Attempting to fix invalid blocks. Run validation again to see if they were fixed.

    Running validation again gives the same result.

    About 1000 pages are missing. Blocks from random pages appear on todays journal page, instead of the actual content.
    All journal entries since 2026-02-10 are missing.

  6. davidak commented on Jul 7, 2026

    @davidak
    Author

    Still reproducible in Logseq-linux-x86_64-2.0.1-alpha+nightly.20260707.

    The errors start at 1389/2265 pages. No errors until then.
    The db-worker seem to have crashed, so after that no page is imported. The import process does still try to import every page even tho it has to fail.

    OG says it has 4434 pages (including aliases) and DB 3528. So 852 are missing now.

    Validation detected 115 invalid block(s). These blocks may be buggy. Attempting to fix invalid blocks. Run validation again to see if they were fixed.

  7. self-assigned this
    on Jul 9, 2026
  8. davidak commented on Jul 16, 2026

    @davidak
    Author

    Users reported in that that it works with 1800 files. So it seem to happen with about 2000+ files.

    Yes it did. I'm pretty amazed actually. I've got 1800 md files 800mb of data (not a lot except when you consider that every 32 -64 bytes is probably a node)

    Source: https://discord.com/channels/725182569297215569/1269974802471456808/1526682405589483621

  9. visika commented on Jul 17, 2026

    @visika

    Tried with nightly 20260716, still have errors telling "db-worker has not been initialized" for many pages in the end. The import was of 3000+ pages.

  10. davidak commented on Jul 19, 2026

    @davidak
    Author

    For me the import works now with Logseq-linux-x86_64-2.0.1-alpha+nightly.20260716 and 2313 files.

  11. oliveremmler commented on Aug 12, 2026

    @oliveremmler

    I have the same/similar issue with
    File-to-DB import hangs at final step: "DB write failed with invalid data" + "Nothing found for entity id", progress dialog never closes

    What happened

    Importing a large file-based (markdown) graph via "File to DB graph" runs fine for ~4 minutes,
    but the very last internal transactions fail and the progress dialog stays open forever at
    "Loading 4363/4363". Reproduced twice with identical results (fresh target graph each time).

    Image

    Log shows exactly 4 [severe] lines per run, all within the same second at the very end:

    1. frontend.worker.db-core worker-transact-failed:
      "DB write failed with invalid data"
      The failing tx-data is a huge batch of :block/refs retractions, e.g.
      (#datascript/Datom [13312 :block/refs 13217 536883298 false] ... thousands more)

    2. Immediately after, a second transact fails:
      "Nothing found for entity id [:block/uuid #uuid "6a7b76cf-..."]"
      {:error :entity-id/missing}
      Its tx-data contains ~21 freshly created blocks (empty :block/title, :block/link pointing to other freshly created uuids, all with the same :block/parent and :block/page). The referenced uuid differs between runs (uuids are generated during import), so it is not caused by one specific source file.

    3./4. frontend.worker.db-worker-node db-worker-node-invoke-failed
    {:status 500, :code :exception, :method :thread-api/transact}

    After that the db worker goes idle (db.sqlite stops growing, ~270 MB written), but the progress dialog never closes and shows no error.

    After force-closing the dialog (X): the graph opens, search and editing pages work, but the main content area (home/journals view) stays blank.

    Image

    How to reproduce

    1. Take a large file-based graph (mine: 3,411 pages + 953 journals, 855 MB incl. assets, heavy use of namespaces/hierarchies up to 5 levels, tag syntax normalized to [[...]] beforehand)
    2. Import via ... menu -> Import -> "File to DB graph" (default options)
    3. Wait until the counter reaches 4363/4363
    4. Dialog never closes; db-worker-node log shows the errors above

    Expected behavior

    Import completes and the dialog closes — or, if a final transaction fails, the error is surfaced in the UI instead of leaving the dialog open indefinitely. A single missing entity ref should not abort the finalization step.

    Desktop / Environment

    Logseq DB 2.0.1 (desktop, Electron), macOS 26.6 (Apple Silicon)
    Logs: ~/logseq/graphs//db-worker-node-YYYYMMDD.log — can provide full logs on request.

  12. tiensonqin commented on Aug 31, 2026

    @tiensonqin
    Contributor
  13. visika commented on Sep 17, 2026

    @visika

    Congratulations @tiensonqin and all the team!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions