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

Message
Author
plzd
Posts: 35
Joined: Fri Feb 10, 2017 10:03 pm

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

#1 Post 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
Last edited by plzd on Mon Feb 03, 2020 3:48 am, edited 1 time in total.
Dell E6220 i7 2640M CPU @ 2.80GHz Intel Sandybridge Mobile 8GB Ram 128GB SSD - 23" Acer G235h Monitor

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

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

#2 Post 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.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

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

#3 Post 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.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

plzd
Posts: 35
Joined: Fri Feb 10, 2017 10:03 pm

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

#4 Post 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.
Dell E6220 i7 2640M CPU @ 2.80GHz Intel Sandybridge Mobile 8GB Ram 128GB SSD - 23" Acer G235h Monitor

Post Reply

Return to “Software / Configuration”