-
Notifications
You must be signed in to change notification settings - Fork 1
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
2.13.12 on Ubuntu 22.04 does not start, permission denied errors in journal #27
Comments
Hi, Thanks for the report :) The errors are coming from a bit of the snap that's shared through a lot of other snaps and isn't unique to Joplin, relating to setting up the desktop integrations. I'm wondering then what happens if you try install another snap that uses the same components, a good example would be Apparmor shouldn't really be preventing access here, and there's a chance that there's been a change on your system recently (after installing 2.13.9 but prior to 2.13.12) that means that AppArmor has suddenly started interfering with the integrations. Hopefully knowing if other snaps have started struggling would be helpful with determining what's actually gone on. |
Thanks James for the quick reply and guide for testing. :) Pinta seemingly worked fine right after the installation, I could start it, did some hand drawing, then exited without saving my masterpiece.
I'm using zsh, hence the Let me know please if I can try something else to help with debugging. (I'm a long time Linux user/administrator, but am not really familiar with Snap.) Oh, BTW, not to just complain: many thanks for packaging Joplin! :) |
Interesting, thanks for trying with Pinta. I'd have to guess since this isn't happening on other snaps on your system, and hasn't been seen elsewhere yet, that it's probably isolated to your Joplin-snap state exclusively, and sounds like just reinstalling it would probably fix the state. So, option one would be to backup all your notes (Joplin can export to .jex files which are lossless), uninstall the app and reinstall it. Certainly a practical option but not one that helps us understand what's actually happened. With a more focused approach, the folders that AppArmour is complaining about would be worth inspecting. For the most part, I'd expect them to be symbolic links to the real equivilent folders in $HOME, so for example, Although I've no evidence to suggest it is what's gone on, it certainly sounds like the kind of thing that could be caused by moving around $HOME in your partitions and etc. If you wanted to experiment with fixing it rather than just re-installing to get a clean state, I'd be worth using Snapshots because it would mean you could backup a working copy of the 2.13.9 release, mess around and break it, and roll it back all with snaps own built in tools. I believe the only folder we actually care about for Joplins own database is There's also a way to actually run two versions of the same snap called parallel installations, which means you could install the 2.13.12 version alongside 2.13.9 with different folders for each so the two don't interfere. Ultimately I'll let you decide how much time you'd wish to dedicated to debugging/fixing. Ultimately it sounds like exporting the Joplin data into a .jex, deleting the snap, reinstalling it, and reimporting the .jex would be your easiest solution to just get rolling. Otherwise, you could try using the Snapshots to create backups and mess with the snap folder directly, essentially needing to clear it down to nothingness except for the Joplin config folder above. Unfortunately it sounds like the kind of thing that will break on any future update until it's resolved, but based on Pinta, not something I'd expect to see twice fortunately. |
I'm using Ubuntu 22.04 latest, snap updated joplin-desktop to 2.13.12. I started it yesterday morning the first time, but the usual window did not appear. Looking into the journal revealed some permission denied messages, e.g.:
Reverting to 2.13.9 solved the problem, I also set this version to hold.
The text was updated successfully, but these errors were encountered: