Cannot install / upgrade Joplin (Database could not be updated)

Hi Joplin Team

I've installed Joplin on my Debian 10 machine. Today I installed Joplin on a second Linux machine (Mate). I sync the Database within Nextcloud. My new machine forced me to upgrade the Joplin App to 1.1.4. I installed it, all good. I tried than to sync with my existing Debian machine and it also complained that I need to upgrade. I had 1.0.175 before the upgrade. I tried than to upgrade, but it fails with the error message:

Debian:~$ wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
...
HTTP request sent, awaiting response... 200 OK
Length: 8122 (7.9K) [text/plain]
Saving to: ‘STDOUT’

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

2020-10-07 17:11:58 (26.7 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.ntMz0lKQGX/Joplin.Ap 100%[=================================================>] 142.42M 13.4MB/s in 11s
/tmp/tmp.ntMz0lKQGX/joplin.pn 100%[=================================================>] 22.45K --.-KB/s in 0.01s
Installing Joplin...
OK
Installing icon...
OK
Create Desktop icon...
The databases in [/home/xxx/.local/share/icons] could not be updated.

Do you have any ideas how I can fix this problem? I cannot install / start the App anymore.

Regards Emanuel

Fixed it now, it was a permission problem on my debian.