Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting warning "Search index error, please manually delete" #10851

Open
1 of 2 tasks
Javier-Huang opened this issue Jan 13, 2024 · 4 comments
Open
1 of 2 tasks

Getting warning "Search index error, please manually delete" #10851

Javier-Huang opened this issue Jan 13, 2024 · 4 comments
Labels
build Build & Development upstream Blocked by upstream deps

Comments

@Javier-Huang
Copy link

Search first

  • I searched and no similar issues were found

What Happened?

The following exceptions are frequently reported:
image

Reproduce the Bug

1, Download this version: Logseq-linux-x64-0.10.3-alpha+nightly.20240112.AppImage
2, Install it and Run it in Deepin 20.09

Expected Behavior

No response

Screenshots

No response

Desktop or Mobile Platform Information

No response

Additional Context

No response

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

  • I'm willing to submit a PR (Thank you!)
@Javier-Huang
Copy link
Author

By the way, This file “/home/hjf/.config/Logseq/search/logseq_local__home_hjf_MyLogseq” is not exists on my disk

@Javier-Huang
Copy link
Author

 ~/Downloads  ./Logseq-linux-x64-0.10.3-alpha+nightly.20240112.AppImage                           ok 
(rsapi) init loggers

(Logseq:36250): Gtk-WARNING **: 14:49:27.148: Theme parsing error: gtk.css:3611:22: 'none' is not a valid color name
14:49:27.536 › Logseq App(0.10.3) Starting... 
14:49:27.542 › restore proxy settings {:type "system"}
14:49:27.543 › set proxy to {:type "system"}
14:49:29.823 › :electron.handler/watch-dir {:path "/home/hjf/.logseq/config"}
14:49:40.969 › :electron.handler/open-dir open folder selection dialog

(Logseq:36250): Gtk-WARNING **: 14:49:41.032: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
14:49:43.651 › :electron.handler/open-dir {:path "/home/hjf/test"}
14:49:43.757 › :electron.handler/watch-dir {:path "/home/hjf/test"}
14:49:43.768 › Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_LogseqjLGWPV/resources/app/node_modules/better-sqlite3/build/Release/better_sqlite3.node): logseq_local_/home/hjf/test
14:49:43.768 › cannot unlink search db: Error: ENOENT: no such file or directory, unlink '/home/hjf/.config/Logseq/search/logseq_local__home_hjf_test'
    at Object.unlinkSync (node:fs:1883:3)
    at $electron$search$open_db_BANG_$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14510:42)
    at $electron$search$get_or_open_db$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14552:3)
    at $electron$search$upsert_blocks_BANG_$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14582:41)
    at /tmp/.mount_LogseqjLGWPV/resources/app/electron.js:15472:3
    at $JSCompiler_prototypeAlias$$.$cljs$core$IFn$_invoke$arity$2$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:9476:178)
    at /tmp/.mount_LogseqjLGWPV/resources/app/electron.js:16082:76
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:88656)
    at WebContents.emit (node:events:514:28)
14:49:43.771 › Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_LogseqjLGWPV/resources/app/node_modules/better-sqlite3/build/Release/better_sqlite3.node): logseq_local_/home/hjf/test
14:49:43.772 › cannot unlink search db: Error: ENOENT: no such file or directory, unlink '/home/hjf/.config/Logseq/search/logseq_local__home_hjf_test'
    at Object.unlinkSync (node:fs:1883:3)
    at $electron$search$open_db_BANG_$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14510:42)
    at $electron$search$get_or_open_db$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14552:3)
    at $electron$search$upsert_pages_BANG_$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14556:41)
    at /tmp/.mount_LogseqjLGWPV/resources/app/electron.js:15474:3
    at $JSCompiler_prototypeAlias$$.$cljs$core$IFn$_invoke$arity$2$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:9476:178)
    at /tmp/.mount_LogseqjLGWPV/resources/app/electron.js:16082:76
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:88656)
    at WebContents.emit (node:events:514:28)
14:49:44.428 › Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_LogseqjLGWPV/resources/app/node_modules/better-sqlite3/build/Release/better_sqlite3.node): logseq_local_/home/hjf/test
14:49:44.428 › cannot unlink search db: Error: ENOENT: no such file or directory, unlink '/home/hjf/.config/Logseq/search/logseq_local__home_hjf_test'
    at Object.unlinkSync (node:fs:1883:3)
    at $electron$search$open_db_BANG_$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14510:42)
    at $electron$search$get_or_open_db$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14552:3)
    at $electron$search$upsert_pages_BANG_$$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:14556:41)
    at /tmp/.mount_LogseqjLGWPV/resources/app/electron.js:15501:62
    at $JSCompiler_prototypeAlias$$.$cljs$core$IFn$_invoke$arity$2$ (/tmp/.mount_LogseqjLGWPV/resources/app/electron.js:9476:178)
    at /tmp/.mount_LogseqjLGWPV/resources/app/electron.js:16082:76
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:88656)
    at WebContents.emit (node:events:514:28)

@andelf andelf added the build Build & Development label Jan 15, 2024
@andelf
Copy link
Collaborator

andelf commented Jan 15, 2024

Upstrem: WiseLibs/better-sqlite3#990

@andelf andelf added the upstream Blocked by upstream deps label Jan 15, 2024
@jlbribeiro jlbribeiro mentioned this issue Apr 28, 2024
2 tasks
@bernadinm
Copy link

I'm on NixOS and I run into this issue. It's only after installing the glibc below that this resolve this issue, for others in the same situation.

Work Around
nix-env -i glibc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build & Development upstream Blocked by upstream deps
Projects
None yet
Development

No branches or pull requests

3 participants