Page 1 of 1

[SOLVED] Joplin [latest] not working on Debian based distros

Posted: Mon Feb 03, 2020 1:02 am
by plzd
I have grown dependant on Joplin ( https://github.com/laurent22/joplin ) to store and organize information and files on MX18, and now on MX19. However after updating to the latest Joplin (attempted both on MX18,19) via the install/update script (their script installs their latest Appimage) that they provide--it won't work. Even if I download the Appimage directly and give it execute permission...same happens. This is a known problem with Joplin devs.

Apparantly this is a problem with Debian being "more secure" than other distros... ( https://discourse.joplinapp.org/t/cant- ... linux/5581 ). It was said to be, IIRC, it is an Appimage (or maybe an latest Electron) problem(?).

TL;DR

So my question is: Is it a good thing to do following mod that someone provided on their forum????

Thanks for you help.
Because of the Debian kernel patch you need to run this command in the terminal to actually get Joplin to run:

Code: Select all

sudo sysctl kernel.unprivileged_userns_clone=1
and if you don’t want to enter that last command every time you reboot you can add it

Code: Select all

kernel.unprivileged_userns_clone=1
to

/etc/sysctl.conf

Re: [QUESTION] Joplin [latest] not working on Debian based distros

Posted: Mon Feb 03, 2020 2:16 am
by JayM
I don't know what that line someone wants you to add to sysctl.d does, but a look at that file shows that it's for setting system variables to do with security so I'd be wary of changing it based on a random stranger's suggestion.

What you should do is request that Joplin be added to the MX-19 test repo and let the packagers see if it will work or not and what needs to be done to make it so. That is, if they have a native Linux version. You can find the request subforums for the various versions of MX beneath the MX Repositories forum in the Development category. Be sure to read the sticky post with instructions on requesting packages before you post though.

The appimage may need to be run sandboxed like Chrome does.

Re: [QUESTION] Joplin [latest] not working on Debian based distros

Posted: Mon Feb 03, 2020 2:31 am
by JayM
Also see viewtopic.php?p=556811#p556811 down near the end where fehlix mentions several kernels that someone else's appimage needed for it to run.

Re: [QUESTION] Joplin [latest] not working on Debian based distros

Posted: Mon Feb 03, 2020 3:46 am
by plzd
JayM wrote: Mon Feb 03, 2020 2:31 am Also see viewtopic.php?p=556811#p556811 down near the end where fehlix mentions several kernels that someone else's appimage needed for it to run.

@JayM
Salamat Po! Thanks for your assistance! That fixed my problem. I didn't feel good about the mod they were listing either, but now all is well. :)

EDIT: I installed the Liqourix kernel.