# Automatic updates not working on Linux

**URL:** <https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412>\
**Category:** Support\
**Created:** [27 March 2020 11:21 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412 "2020-03-27T11:21:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamishmb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/hamishmb/32/2348_2.png) [@hamishmb](https://discourse.joplinapp.org/u/hamishmb)\
**Post date:** [27 March 2020 11:21 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/1 "2020-03-27T11:21:18Z")

</div>

I’m running version 1.0.179 on Linux Mint 19.3.

I’ve checked the automatic updates checkbox, but alas I get no updates, and no update notifications either. This recently led to a bit of a faff where notes from Android wouldn’t be decrypted. Am I doing something wrong?

The install and update script didn’t work from updating to 1.0.195 either - I had to update manually for some reason.

All is working now I’ve updated, but I thought it was worth mentioning.

---

<div class="post-metadata">

**Author:** ![bedwardly-down](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bedwardly-down/32/3236_2.png) [@bedwardly-down](https://discourse.joplinapp.org/u/bedwardly-down)\
**Post date:** [27 March 2020 12:53 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/2 "2020-03-27T12:53:30Z")

</div>

This was an issue with 179 for all platforms that was fixed in a later release. Version 193 onwards has a new encryption method, meaning that updating the Android app could have broken encryption methods for older desktop clients and you should go to `Tools=>Options=>Encryption` and click `Re-encrypt Data` if you haven’t already.

There are quite a few posts here about all of this. 😉

---

<div class="post-metadata">

**Author:** ![hamishmb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/hamishmb/32/2348_2.png) [@hamishmb](https://discourse.joplinapp.org/u/hamishmb)\
**Post date:** [27 March 2020 13:36 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/3 "2020-03-27T13:36:26Z")

</div>

Yeah, the encryption is now being sorted 🙂

The problem was that I didn't know there was an update, because I didn't get notified.

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [27 March 2020 17:12 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/4 "2020-03-27T17:12:27Z")

</div>

Hi I’m try to track down that second bug you experienced (install script not running). If I may ask, what is the output of running `uname -a` in your terminal?

---

<div class="post-metadata">

**Author:** ![hamishmb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/hamishmb/32/2348_2.png) [@hamishmb](https://discourse.joplinapp.org/u/hamishmb)\
**Post date:** [27 March 2020 18:29 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/5 "2020-03-27T18:29:33Z")

</div>

uname -a returns:

```
Linux Ryzen-PC 5.3.0-42-generic #34~18.04.1-Ubuntu SMP Fri Feb 28 13:42:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
```

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [27 March 2020 18:41 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/6 "2020-03-27T18:41:45Z")

</div>

Thanks! Looks like that isn’t causing the problem, which is good!

---

<div class="post-metadata">

**Author:** ![hamishmb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/hamishmb/32/2348_2.png) [@hamishmb](https://discourse.joplinapp.org/u/hamishmb)\
**Post date:** [27 March 2020 20:01 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/7 "2020-03-27T20:01:49Z")

</div>

Good to know.

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [27 March 2020 21:00 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/8 "2020-03-27T21:00:45Z")

</div>

Could you try the below command and send me the output?

```auto
wget -O - https://raw.githubusercontent.com/CalebJohn/joplin/arch-check/Joplin_install_and_update.sh | bash

```

I’ve made some debug modifications to the script. I’m not able to reliably reproduce this issue.

---

<div class="post-metadata">

**Author:** ![hamishmb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/hamishmb/32/2348_2.png) [@hamishmb](https://discourse.joplinapp.org/u/hamishmb)\
**Post date:** [27 March 2020 21:14 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/9 "2020-03-27T21:14:14Z")

</div>

```
--2020-03-27 21:12:41-- https://raw.githubusercontent.com/CalebJohn/joplin/arch-check/Joplin_install_and_update.sh
Resolving ...... 199.232.56.133
Connecting to <> (<>)|199.232.56.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5579 (5.4K) [text/plain]
Saving to: ‘STDOUT’

- 0%[] 0 --.-KB/s _ _ _       
    | | ______ | (_)_ __  
 _ | |/ _ \| '_ \| | | '_ \ 
| |_| | (_) | |_) | | | | | |
 \ ___/ \___ /| .__/|_|_|_| |_|
            |_|

Linux Installer and Updater
0
0
0
- 100%[===================>] 5.45K --.-KB/s in 0.1s    

2020-03-27 21:12:46 (45.8 KB/s) - written to stdout [5579/5579]

```

Links removed because I’m not allowed more than 4.

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [27 March 2020 21:28 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/10 "2020-03-27T21:28:01Z")

</div>

Did it succeed? it looks like it might have downloaded

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [27 March 2020 23:44 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/11 "2020-03-27T23:44:53Z")

</div>

I think they changed something to the AppImage format so the grep call is failing, but since it’s after a pipe the error is not printed. However since the script has “set -e”, it is stopped immediately.

There’s an open PR that fixes the grep call.

---

<div class="post-metadata">

**Author:** ![dpoulton](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/dpoulton/32/29723_2.png) [@dpoulton](https://discourse.joplinapp.org/u/dpoulton)\
**Post date:** [27 March 2020 23:57 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/12 "2020-03-27T23:57:49Z")

</div>

@CalebJohn

I do not know if @laurent 's post above means that this is no longer required but, regardless, this is a failed one.

**uname -a**  
`Linux linuxmint193-vm 5.3.0-42-generic #34~18.04.1-Ubuntu SMP Fri Feb 28 13:42:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux`

**Output**

```nohighlight
vbox@limuxmint193-vm:~$ wget -O - https://raw.githubusercontent.com/CalebJohn/joplin/arch-check/Joplin_install_and_update.sh | bash
--2020-03-27 23:52:11-- https://raw.githubusercontent.com/CalebJohn/joplin/arch-check/Joplin_install_and_update.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.192.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: 5579 (5.4K) [text/plain]
Saving to: ‘STDOUT’

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

2020-03-27 23:52:11 (27.4 MB/s) - written to stdout [5579/5579]

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

Linux Installer and Updater
0
0
0
vbox@limuxmint193-vm:~$ 

```

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [28 March 2020 04:47 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/13 "2020-03-28T04:47:38Z")

</div>

Thank you @dpoulton! This is helpful! It basically confirms what @laurent says above, the failure is happening in the grep call for getting the release version. There’s already a pull request to fix it so we should be in good shape.

---

<div class="post-metadata">

**Author:** ![lambu](https://avatars.discourse-cdn.com/v4/letter/l/e56c9b/32.png) [@lambu](https://discourse.joplinapp.org/u/lambu)\
**Post date:** [17 December 2020 20:09 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/14 "2020-12-17T20:09:24Z")

</div>

404: Not Found

Joplin 1.3.18 (prod, linux)

Client ID: 7622986f03a94dae97d86d94f0f1a0ae  
Sync Version: 2  
Profile Version: 34  
Keychain Supported: No

Revision: 6b75485 (master)

_uname -a_  
Linux HAL9000 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86\_64 x86\_64 x86\_64 GNU/Linux

_wget -O - [https://raw.githubusercontent.com/CalebJohn/joplin/arch-check/Joplin\_install\_and\_update.sh](https://raw.githubusercontent.com/CalebJohn/joplin/arch-check/Joplin_install_and_update.sh) | bash_  
--2020-12-17 20:01:46-- [https://raw.githubusercontent.com/CalebJohn/joplin/arch-check/Joplin\_install\_and\_update.sh](https://raw.githubusercontent.com/CalebJohn/joplin/arch-check/Joplin_install_and_update.sh)  
Resolving [raw.githubusercontent.com](http://raw.githubusercontent.com) ([raw.githubusercontent.com](http://raw.githubusercontent.com))... 151.101.0.133, 151.101.128.133, 151.101.64.133, ...  
Connecting to [raw.githubusercontent.com](http://raw.githubusercontent.com) ([raw.githubusercontent.com](http://raw.githubusercontent.com))|151.101.0.133|:443... connected.  
HTTP request sent, awaiting response... _404 Not Found_  
_2020-12-17 20:01:46 ERROR 404: Not Found_.

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [17 December 2020 21:42 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/15 "2020-12-17T21:42:44Z")

</div>

Hi @lambu

The code that I posted above was only to help debugging the original issue. It has been fixed and I removed that debug script. 404 is the expected result because the file no longer exists.

---

<div class="post-metadata">

**Author:** ![lambu](https://avatars.discourse-cdn.com/v4/letter/l/e56c9b/32.png) [@lambu](https://discourse.joplinapp.org/u/lambu)\
**Post date:** [17 December 2020 22:07 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/16 "2020-12-17T22:07:01Z")

</div>

Thank you Sir.  
So updating is running smooth in my case? ![Screenshot from 2020-12-17 22-08-57](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/f/f5d519d6adabed71f13739ccd3334f9c016ddc95.png)

Sry for beiing stupid, i am new Bee with the desktop App

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [17 December 2020 22:39 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/17 "2020-12-17T22:39:01Z")

</div>

No worries, not stupid, auto updating isn't supported on linux so you'll need to use the below command to update.  
The automatic update option was accidentally made available on linux platforms (even though it doesn't work). It's removed now which should help with any confusion.

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

```

---

<div class="post-metadata">

**Author:** ![lambu](https://avatars.discourse-cdn.com/v4/letter/l/e56c9b/32.png) [@lambu](https://discourse.joplinapp.org/u/lambu)\
**Post date:** [17 December 2020 23:33 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/18 "2020-12-17T23:33:57Z")

</div>

* * *

```
| | ______ | (_)_ __  

```

\_ | |/ \_ | '\_ | | | '\_ \  
| |_| | (_) | |_) | | | | | |  
\_ **/ \_** /| .\_\_/|_|_|_| |_|  
|_|

Linux Installer and Updater

Checking architecture...  
The latest version is 1.4.19, but you have 1.3.18 installed.  
Downloading Joplin...  
/tmp/tmp.Lj7bX6xwDC/Joplin.AppImage 100%[=====================================================================================================\>] 139,02M 991KB/s in 2m 23s  
/tmp/tmp.Lj7bX6xwDC/joplin.png 100%[=====================================================================================================\>] 22,45K --.-KB/s in 0,02s  
Installing Joplin...  
OK  
Installing icon...  
OK  
Create Desktop icon...  
grep: /tmp/tmp.Lj7bX6xwDC/squashfs-root/joplin.desktop: No such file or directory  
OK  
Joplin version 1.4.19 installed.  
Cleaning up...  
OK

Thank you  
sometimes its very comfortable to be stupid  
but if not u are in trouble

---

<div class="post-metadata">

**Author:** ![hamishmb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/hamishmb/32/2348_2.png) [@hamishmb](https://discourse.joplinapp.org/u/hamishmb)\
**Post date:** [23 December 2021 11:22 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/19 "2021-12-23T11:22:50Z")

</div>

Thanks for letting me know this is fixed, I completely forgot about this issue and apparently wasn't notified. Marking as solved.

---

<div class="post-metadata">

**Author:** ![trymeout](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@trymeout](https://discourse.joplinapp.org/u/trymeout)\
**Post date:** [17 June 2022 05:14 UTC](https://discourse.joplinapp.org/t/automatic-updates-not-working-on-linux/7412/20 "2022-06-17T05:14:07Z")

</div>

Please add Joplin to pacstall
