Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joplin-desktop don't start #4859

Closed
ghost opened this issue Apr 18, 2021 · 33 comments
Closed

Joplin-desktop don't start #4859

ghost opened this issue Apr 18, 2021 · 33 comments

Comments

@ghost
Copy link

ghost commented Apr 18, 2021

Today, i just update joplin to a new version and joplin-desktop just don't start.

Environment

Joplin version: joplin 1.7.0 (prod)
Joplin-desktop version: joplin-1.7.10-1 and joplin-1.7.11-2 both have this problem
Platform: linux
OS specifics: arch linux

Steps to reproduce

  1. Type 'joplin-desktop' to terminal
  2. See the hang

Describe what you expected to happen

Seeing joplin desktop start with all my notes

Logfile

Joplin don't start and no log is written

@ghost ghost added the bug It's a bug label Apr 18, 2021
@ghost
Copy link
Author

ghost commented Apr 18, 2021

Sometime, joplin-desktop start and look like this.
2021-04-18-144359_1920x1080_scrot

@laurent22 laurent22 removed the bug It's a bug label Apr 18, 2021
@roman-r-m
Copy link
Collaborator

When you get a blank window, can you open dev console (should be under the "Help" menu) and see if there are any errors

@ghost
Copy link
Author

ghost commented Apr 18, 2021

Here is what i got when open joplin with joplin-desktop --open-dev-tools --debug --log-level debug

image

It seem that joplin don't open the first time i type the command and always open the second time i type the command with blank windows. And here is the error:

image

@roman-r-m
Copy link
Collaborator

What's in the console tab?

@ghost
Copy link
Author

ghost commented Apr 18, 2021

Here:
image

@hubitor
Copy link

hubitor commented Apr 18, 2021

Joplin does not start (again...)

This is what I get, when I try to start it in the terminal:

$ joplin-desktop --open-dev-tools --debug --log-level debug
./@joplinapp-desktop: error while loading shared libraries: libicui18n.so.68: cannot open shared object file: No such file or directory

@CalebJohn
Copy link
Collaborator

@38569459 @hubitor

How did you install Joplin?

@ghost
Copy link
Author

ghost commented Apr 18, 2021

I install joplin by AUR, i also try to download the appimage file and run it but joplin still don't start

@MCWertGaming
Copy link

MCWertGaming commented Apr 18, 2021

I have the same error here on archlinux. I have tried to install the programm with both the AUR packages (jublin-desktop wich just extracts the debian package and re-packages it as an archlinux package, juplin-appimage which is just the appimage), the appimage as standalone and the shell installer wich uses the appimage as well and all have the same error as described here. Also I get a slightly different error in the development console:

image

@MCWertGaming
Copy link

MCWertGaming commented Apr 18, 2021

@tessus
Copy link
Collaborator

tessus commented Apr 18, 2021

This is from the Joplin README:

Unsupported methods:

An Arch Linux package is available here. To install it, use an AUR wrapper such as yay: yay -S joplin. Both the CLI tool (type joplin) and desktop app (type joplin-desktop) are packaged. You can also install a compiled version with the chaotic-aur repository. For support, please go to the GitHub repo. If you are interested in pre-release you have joplin-beta

@MCWertGaming
Copy link

MCWertGaming commented Apr 18, 2021

Well yes, but the official appimage and install script is not working either and those are supported options.

image

Also I think that this problem is not caused by the packaging. I mean the appimage provides all dependencies itself so there shouldn't be a problem. I think that this is the same problem as dicussed here nodejs/node/issues/33741. It look likes require() is not a client side function so js has no reference because it's not provided. But as I'm not a web developer i can just note what i found.
Also is this issue just on archlinux, or also on other distibutions?

@roman-r-m
Copy link
Collaborator

roman-r-m commented Apr 18, 2021

Also is this issue just on archlinux, or also on other distibutions?

Ok for me on Mint

@MCWertGaming
Copy link

The version 1.8.1 (pre-release) has the following error:
image

@roman-r-m
Copy link
Collaborator

From a quick search looks like it can occur when /tmp is mounted as noexec

@hubitor
Copy link

hubitor commented Apr 18, 2021

@CalebJohn with joplin-desktop package from the AUR.

@miDeb
Copy link

miDeb commented Apr 18, 2021

What's the error printed in the console when running joplin-desktop? If it complains about icu68, try installing icu68 from the AUR to check if it fixes the issue. (That was the case for me)

@amiablechief
Copy link

Joplin-desktop started working for me again after installing aur/icu68

@zuntik
Copy link

zuntik commented Apr 19, 2021

For me, after waiting a substantial number of minutes, aur/icu68 installation failed. The package build process had errors. :(
Any suggestions?

@amiablechief
Copy link

Can you try again and share error output? Difficult to tell without taking a look.

@ghost
Copy link
Author

ghost commented Apr 19, 2021

For me, running joplin-desktop print nothing on terminal but after I install icu68 from AUR, joplin-desktop works again. This can be a workaround until the problem is fixed.

@ghost
Copy link
Author

ghost commented Apr 19, 2021

After some testing, 1.7.11 install from AUR don't work, 1.6.8, 1.7.11 and 1.8.1 appimage work as expect after install icu68 from AUR.

@amiablechief
Copy link

I prefer to stay away from appimages, but that's not surprising given an appimage will bundle the executable and all its dependencies into 1 package. It never has to reach out into the installed library infrastructure of your OS.

@ghost
Copy link
Author

ghost commented Apr 19, 2021

In this case, it does. Appimage only work after i install icu68, so maybe they should package icu into the appimage?

@hubitor
Copy link

hubitor commented Apr 19, 2021

@miDeb Thanks! That did the trick!

@banan314
Copy link

It doesn't start for me on Windows as well. I installed 1.8.1, which solved the issue.

@ghost
Copy link
Author

ghost commented Apr 20, 2021

I added contextIsolation: false, to line 91 in file joplin-1.8.1/packages/app-desktop/ElectronAppWrapper.ts, build the app and it works again. Need others to confirm this fix.

@michaldybczak
Copy link

It works for me on Manjaro testing from AUR:
joplin-desktop 1.7.13-3 and the previous versions work fine, no issues
icu 68 is installed

@laurent22
Copy link
Owner

This is the wrong forum to discuss this, since we don't maintain the AUR package. Please report this to the AUR package maintainer.

@ghost
Copy link
Author

ghost commented Apr 26, 2021

So how about the AppImage that also don't working? You do maintain the AppImage, right?

@laurent22
Copy link
Owner

The top post is about the AUR package, not the AppImage. If you have clear steps to replicate an issue with the AppImage, then feel free to open a new bug report about this.

@Vinicius-ufsc
Copy link

worked for me:

sudo apt install libfuse2

try to open again, if it does not open,
try to open the Joplin using the Appimage from the site
Joplin-2.8.8.AppImage

@modrozd
Copy link

modrozd commented Feb 24, 2023

For me also worked:

sudo apt install libfuse2

It's worth mentioning that I have a fresh Ubuntu 22.04.1 LTS install and here
https://www.reddit.com/r/Ubuntu/comments/ukj2dq/what_is_fuse/
is mentioned that libfuse2 is needed when having a fresh install to use AppImage, which is how I installed Joplin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests