Skip to content
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

Updating to 1.0.178 on Linux using the script fails #2328

Closed
jmcastagnetto opened this issue Jan 20, 2020 · 3 comments
Closed

Updating to 1.0.178 on Linux using the script fails #2328

jmcastagnetto opened this issue Jan 20, 2020 · 3 comments
Labels
bug It's a bug

Comments

@jmcastagnetto
Copy link

According to the documentation, using:

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

should upgrade an existing install of Joplin, but with today's release, it fails.

Environment

Joplin version: (wanted) latest
Platform: Ubuntu Linux 18.04 LTS
OS specifcs: Ubuntu Linux 18.04 LTS

Steps To Reproduce

  1. Run: wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
  2. Get a 404 error, and the old version is gone
$ ls -l ~/.joplin/Joplin.AppImage
-rw-rw-r-- 1 jmcastagnetto jmcastagnetto 0 Jan 20 18:40 Joplin.AppImage

Describe what you expected to happen:

  • I'd expected to have the latest version of Joplin (1.0.178)

What is the problem?

The error that is produced gives a hint about the solution to this issue:

ERROR

wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
--2020-01-20 18:40:50--  https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4676 (4.6K) [text/plain]
Saving to: ‘STDOUT’

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

2020-01-20 18:40:50 (36.8 MB/s) - written to stdout [4676/4676]

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

Linux Installer and Updater
Downloading Joplin...
https://github.com/laurent22/joplin/releases/download/v1.0.178/Joplin-1.0.178-x86_64.AppImage:
2020-01-20 18:40:52 ERROR 404: Not Found.

The released AppImage is at: https://github.com/laurent22/joplin/releases/download/v1.0.178/Joplin-1.0.178.AppImage (missing "-x86_64")

Logfile

@jmcastagnetto jmcastagnetto added the bug It's a bug label Jan 20, 2020
@jmcastagnetto
Copy link
Author

Workaround:

$ wget https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh

Remove the string "-x86.64" in line 69

wget -nv --show-progress -O ~/.joplin/Joplin.AppImage https://github.com/laurent22/joplin/releases/download/v$RELEASE_VERSION/Joplin-$RELEASE_VERSION-x86_64.AppImage

Run:

$ bash Joplin_install_and_update.sh

$ ~/.joplin/Joplin.AppImage

@dpoulton-github
Copy link

@jmcastagnetto

For your information there appears to be a previous issue submitted re this and it looks like it has been actioned.

#2319 (comment)

@jmcastagnetto
Copy link
Author

Same issue as #2319, as mentioned by @dpoulton-github.
Closing this issue.

@lock lock bot locked and limited conversation to collaborators Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

2 participants