Unable to update (AppImage)

Joplin version: 1.0.233

New joplin version: 1.1.4

OS: Manjaro KDE

I tried to get a log but after adding flags I get: Unknown flag: --debug


I started getting a sync error:

Error: Sync version of the target (2) does not match sync version supported by client (1). Please upgrade your client.

So I checked for an update, and there was one. I ran the script as recommended:

wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash

Update
❯ wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
--2020-09-21 10:19:06--  https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8122 (7.9K) [text/plain]
Saving to: ‘STDOUT’

-                                       100%[============================================================================>]   7.93K  --.-KB/s    in 0s      

2020-09-21 10:19:07 (48.3 MB/s) - written to stdout [8122/8122]


     _             _ _       
    | | ___  _ __ | (_)_ __  
 _  | |/ _ \| '_ \| | | '_ \ 
| |_| | (_) | |_) | | | | | |
 \___/ \___/| .__/|_|_|_| |_|
            |_|

Linux Installer and Updater

Checking architecture...
The latest version is 1.1.4, but you have 1.0.233 installed.
Downloading Joplin...
/tmp/tmp.qhLMoGvKIj/Joplin.AppImage     100%[============================================================================>] 142.42M  4.68MB/s    in 34s     
/tmp/tmp.qhLMoGvKIj/joplin.png          100%[============================================================================>]  22.45K  --.-KB/s    in 0.006s  
Installing Joplin...
OK
Installing icon...
OK
Create Desktop icon...
Could not parse file "/home/merritt/.local/share/applications/org.kde.kate.desktop": Invalid key name: Path[$e]
Could not parse file "/home/merritt/.local/share/applications/YakYak.desktop": Invalid key name: Path[$e]
Could not parse file "/home/merritt/.local/share/applications/test.desktop": Invalid key name: Path[$e]
Could not parse file "/home/merritt/.local/share/applications/com.valvesoftware.Steam.desktop": No such file or directory
Could not parse file "/home/merritt/.local/share/applications/Steam Native.desktop": Invalid key name: Path[$e]
Could not parse file "/home/merritt/.local/share/applications/Blender.desktop": Invalid key name: Path[$e]
OK
Joplin version 1.1.4 installed.
Cleaning up...
OK

After updating, despite a success message and the VERSION file reporting the new version, when I start Joplin it still has a sync error and still reports the old version.

I thought maybe it could be an issue because of zsh, so I tried again from plain bash. It still fails to update in the same manner:

Update from bash
[merritt@SHODAN ~]$ wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
--2020-09-21 11:36:31--  https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8122 (7.9K) [text/plain]
Saving to: ‘STDOUT’

-                                       100%[============================================================================>]   7.93K  --.-KB/s    in 0s      

2020-09-21 11:36:31 (81.3 MB/s) - written to stdout [8122/8122]


     _             _ _       
    | | ___  _ __ | (_)_ __  
 _  | |/ _ \| '_ \| | | '_ \ 
| |_| | (_) | |_) | | | | | |
 \___/ \___/| .__/|_|_|_| |_|
            |_|

Linux Installer and Updater

Checking architecture...
The latest version is 1.1.4, but you have no version installed.
Downloading Joplin...
/tmp/tmp.dabXo8m8xq/Joplin.AppImage     100%[============================================================================>] 142.42M  1.34MB/s    in 91s     
/tmp/tmp.dabXo8m8xq/joplin.png          100%[============================================================================>]  22.45K  --.-KB/s    in 0.006s  
Installing Joplin...
OK
Installing icon...
OK
Create Desktop icon...
Could not parse file "/home/merritt/.local/share/applications/org.kde.kate.desktop": Invalid key name: Path[$e]
Could not parse file "/home/merritt/.local/share/applications/YakYak.desktop": Invalid key name: Path[$e]
Could not parse file "/home/merritt/.local/share/applications/test.desktop": Invalid key name: Path[$e]
Could not parse file "/home/merritt/.local/share/applications/com.valvesoftware.Steam.desktop": No such file or directory
Could not parse file "/home/merritt/.local/share/applications/Steam Native.desktop": Invalid key name: Path[$e]
Could not parse file "/home/merritt/.local/share/applications/Blender.desktop": Invalid key name: Path[$e]
OK
Joplin version 1.1.4 installed.
Cleaning up...
OK

I tried deleting the contents of ~/.joplin and running the script, same result.

I tried manually downloading the latest AppImage from GitHub and putting that in ~/.joplin to the same failure to update.

Officially out of ideas, appreciate if anyone has a suggestion. :slight_smile:

Double-check the version in the About dialog as this message doesn't exist in version 1.1.x so there must be something wrong with the way it's installed:

Error: Sync version of the target (2) does not match sync version supported by client (1). Please upgrade your client.

I just replied to someone yesterday with the same issue, please take a look at my comment there and see if it helps

Alright, you'd think I had never worked tech support - lol. :laughing:

I usually make it a point to close Joplin by doing File --> Quit so that it for sure isn't running in the background, so I didn't expect this to be an issue. I gave it a reboot anyway and it seems to be using the new version now & working as expected.

Thank you :heart:

1 Like