After updating the joplin terminal application to version 1.1.7, when I try to run it, I get the following error:
❯ joplin
events.js:291
throw er; // Unhandled 'error' event
^
[Error: SQLITE_ERROR: ./build/lib/sql-extensions/spellfix.so: cannot open shared object file: No such file or directory
Emitted 'error' event on Database instance at:
] {
errno: 1,
code: 'SQLITE_ERROR'
}
The file actually resides in ~/.joplin-bin/lib/node_modules/joplin/lib/sql-extensions/spellfix.so but that's not the path that gets reported. If I create the folder structure in the current directory with a symlink to the so-file, joplin starts just fine.
Joplin version: 1.1.7
Platform: terminal
OS specifics: Ubuntu 15.04.5 LTS x86_64
Node version: 14.11.0
Npm version: 6.14.8
NPM_CONFIG_PREFIX=~/.joplin-bin npm install -g joplinJoplin should launch normally.
File .config/joplin/log.txt:
2020-09-21 14:29:35: "Profile directory: /home/johan/.config/joplin"
I am seeing this as well on Ubuntu 20.04 x86_64 and npm 6.14.4
I updated my post with node/npm versions as well.
On my Raspberry Pi, I get the same error, and the app doesn't start even with a directory structure containing spellfix.so in the current dir. That instance is installed in my home folder using nvm though, so it's installed using:
npm i -g joplin
and ends up in:
/home/johan/.nvm/versions/node/v14.8.0/bin/joplin
The environment for that computer is:
Joplin version: 1.1.7
Platform: terminal
OS specifics: Manjaro ARM Linux aarch64
Node version: 14.8.0
Npm version: 6.14.7
File .config/joplin/log.txt:
2020-09-21 19:24:09: "Profile directory: /home/johan/.config/joplin"
Same here. Pop!_OS 20.04 LTS x64 and npm 6.14.8
same here
Linux pop-os 5.0.0-21-generic #22+system76-Ubuntu
npm 6.13.0
Same on macos
facing the same issue on arch kernel 5.8.10
Fixed with :
$ sudo apt-get install libsqlite3-dev
then reinstalled joplin, and worked.
Actually, it was commit 6aca233 which fixed it. I already had the latest version of libsqlite3-dev installed.
I can confirm that the issue is resolved in version 1.2.1 for both my Ubuntu laptop and my Manjaro raspberry pi.
Most helpful comment
Actually, it was commit 6aca233 which fixed it. I already had the latest version of libsqlite3-dev installed.