So you mean you've use the cli app with the --profile options pointing to your desktop profile? Like this joplin --profile ~/.config/joplin-desktop/database.sqlite?
Just trying to understand if this is an actual bug or simply using the app with the wrong profile.