OS: Manjaro (20.0.3)
Desktop App Version: 1.0.224
CLI Version: 1.0.164
I have installed the desktop version using:
wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
and the CLI version with
NPM_CONFIG_PREFIX=~/.joplin-bin npm install -g joplin
sudo ln -s ~/.joplin-bin/bin/joplin /usr/bin/joplin
And while launch the joplin from CLI, I get,
~ >>> joplin --profile ~/.config/joplin-desktop
Fatal error:
Error: Unknown profile version. Most likely this is an old version of Joplin, while the profile was created by a newer version. Please upgrade Joplin at https://joplinapp.org and try again.
Joplin version: 1.0.164
Profile version: 30
Expected version: 29
at JoplinDatabase.upgradeDatabase (/home/syzygianinfern0/.joplin-bin/lib/node_modules/joplin/lib/joplin-database.js:324:10)
at JoplinDatabase.initialize (/home/syzygianinfern0/.joplin-bin/lib/node_modules/joplin/lib/joplin-database.js:746:33)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Application.start (/home/syzygianinfern0/.joplin-bin/lib/node_modules/joplin/lib/BaseApplication.js:648:3)
at async Application.start (/home/syzygianinfern0/.joplin-bin/lib/node_modules/joplin/app.js:386:10)
How do I update the CLI version? I have run these two commands afresh today.