1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/readme/faq.md
Daeraxa e0a12c77bf
Doc: Add section about restoreNoteRevision command to FAQ for note restoration (#5638)
* docs: add section about restoreNoteRevision command to restore accidentally deleted notes

* docs:add link to wiki post
2021-10-28 12:20:44 -04:00

10 KiB

FAQ

Installer gets stuck on Windows

The installer may get stuck if the app was not uninstalled correctly. To fix the issue you will need to clean up the left-over entry from the Registry. To do so please follow these steps:

  • Press Win + R (Windows Key + R)
  • Type "regedit.exe"
  • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall
  • In there, you will see one or more folders. Open them one by one to find the one for Joplin. One of the entries in there should be "DisplayName" with value "Joplin x.x.x".
  • Once found, delete that folder.

Now try to install again and it should work.

More info there: https://github.com/electron-userland/electron-builder/issues/4057

How can I pass arguments to the Linux installation script?

You can pass arguments to the installation script by using this command.

wget -O - https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh | bash -s -- --argument1 --argument2

How can I edit my note in an external text editor?

The editor command (may include arguments) defines which editor will be used to open a note. If none is provided it will try to auto-detect the default editor. If this does nothing or you want to change it for Joplin, you need to configure it in the Preferences -> Text editor command.

Some example configurations are: (comments after #)

Linux/Mac:

subl -n -w      # Opens Sublime (subl) in a new window (-n) and waits for close (-w)
code -n --wait  # Opens Visual Studio Code (code) in a new window (-n) and waits for close (--wait)
gedit --new-window    # Opens gedit (Gnome Text Editor) in a new window
xterm -e vim    # Opens a new terminal and opens vim. Can be replaced with an
                # alternative terminal (gnome-terminal, terminator, etc.)
                # or terminal text-editor (emacs, nano, etc.)
open -a <application> # Mac only: opens a GUI application

Windows:

subl.exe -n -w      # Opens Sublime (subl) in a new window (-n) and waits for close (-w)
code.exe -n --wait  # Opens Visual Studio Code in a new window (-n) and waits for close (--wait)
notepad.exe         # Opens Notepad in a new window
notepad++.exe --openSession   # Opens Notepad ++ in new window

Note that the path to directory with your editor executable must exist in your PATH variable (Windows, Linux/Mac) If not, the full path to the executable must be provided.

When I open a note in vim, the cursor is not visible

It seems to be due to the setting set term=ansi in .vimrc. Removing it should fix the issue. See https://github.com/laurent22/joplin/issues/147 for more information.

All my notes got deleted after changing the WebDAV URL!

When changing the WebDAV URL, make sure that the new location has the same exact content as the old location (i.e. copy all the Joplin data over to the new location). Otherwise, if there's nothing on the new location, Joplin is going to think that you have deleted all your data and will proceed to delete it locally too. So to change the WebDAV URL, please follow these steps:

  1. Make a backup of your Joplin data in case something goes wrong. Export to a JEX archive for example.
  2. Synchronise one last time all your data from a Joplin client (for example, from the desktop client)
  3. Close the Joplin client.
  4. On your WebDAV service, copy all the Joplin files from the old location to the new one. Make sure to also copy the .resource directory as it contains your images and other attachments.
  5. Once it's done, open Joplin again and change the WebDAV URL.
  6. Synchronise to verify that everything is working.
  7. Do step 5 and 6 for all the other Joplin clients you need to sync.

I deleted some notes by accident and don't have a backup

If you know the NOTE_ID and have note history enabled you can run the command restoreNoteRevision from the command palette e.g. restoreNoteRevision 66457326a6ba4adeb4be8ce05e37af0d. Joplin will then confirm if the restore was successful and place the note in a "Restored Note" notebook. If you do not know the NOTE_ID then you can find this within the Joplin sqlite database as the item_id within the deleted_items or revisions tables. It will require some manual checking of the title_diff and body_diff fields to check if the ITEM/NOTE_ID you are targeting is the correct one. You should first take a copy of the database to avoid making any accidental changes in the live one. For further information go here.

How can I easily enter Markdown tags in Android?

You may use a special keyboard such as Multiling O Keyboard, which has shortcuts to create Markdown tags. More information in this post.

The initial sync is very slow, how can I speed it up?

Whenever importing a large number of notes, for example from Evernote, it may take a very long time for the first sync to complete. There are various techniques to speed thing up (if you don't want to simply wait for the sync to complete), which are outlined in this post.

Not all notes, folders, or tags are displayed on the mobile app

Joplin does not have a background sync on mobile devices. When Joplin is closed, sent to the background or the device is put into sleep (display off), the sync is interrupted.

How can I check the sync status?

Go to the synchronisation page. You can find it on the desktop application under Help > Synchronisation Status and on the mobile app under Configuration > SYNC STATUS.

total items = How many items there are in total to sync.
synced items = How many items have already been uploaded or downloaded.

If total items and synced items are equal, all data has been synced. Also all devices should have the same total items.

Is it possible to use real file and folder names in the sync target?

Unfortunately it is not possible. Joplin synchronises with file systems using an open format however it does not mean the sync files are meant to be user-editable. The format is designed to be performant and reliable, not user friendly (it cannot be both), and that cannot be changed. Joplin sync directory is basically just a database.

Could there be a password to restrict access to Joplin?

The end to end encryption that Joplin implements is to protect the data during transmission and on the cloud service so that only you can access it.

On the local device it is assumed that the data is safe due to the OS built-in security features. If additional security is needed it's always possible to put the notes on an encrypted Truecrypt drive for instance.

For these reasons, because the OS or yourself can easily protect the local data, no PIN or password is currently supported to access Joplin.

There is however an issue open about it, so pull requests are welcome: https://github.com/laurent22/joplin/issues/289

Why is my WebDAV host not working?

"Forbidden" error in Strato

For example:

MKCOL .sync/: Unknown error 2 (403): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /.sync/
on this server.</p>
</body></html>

In this case, make sure you enter the correct WebDAV URL.

The following WebDAV hosts are not supported

Nextcloud sync is not working

How can I use self-signed SSL certificates on Android?

If you want to serve using https but can't or don't want to use SSL certificates signed by trusted certificate authorities (like "Let's Encrypt"), it's possible to generate a custom CA and sign your certificates with it. You can generate the CA and certificates using openssl, but I like to use a tool called mkcert for it's simplicity. Finally, you have to add your CA certificate to Android settings so that Android can recognize the certificates you signed with your CA as valid (link).

How do I restart Joplin on Windows (so that certain changes take effect)?

If Show tray icon is enabled, closing the Joplin window does not quit the application. To restart the application properly, one of the following has to be done to quit Joplin:

  • click File in the menu and then click Quit
  • right-click on the Joplin tray icon and then click Exit

Additionally the Windows Task Manager can be used to verify whether Joplin is still around.

Why is it named Joplin?

The name comes from the composer and pianist Scott Joplin, which I often listen to. His name is also easy to remember and type so it felt like a good choice.