question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dockstore CLI 1.8.2 tag installs 1.8.0, and --upgrade flag does not upgrade

See original GitHub issue

Describe the bug

This may need to be split into two issues.

On a fresh install of dockstore on Ubuntu 18.04, I am downloading the dockstore binary from the 1.8.2 tag, but the command line interface version that is reported is 1.8.0.

When trying to upgrade to 1.8.2 using the --upgrade flag, the command line utility says the download is complete and I am now on version 1.8.2, but when I check the version again, it still says 1.8.0.

To Reproduce

I am creating a Vagrant box with a fresh install of Ubuntu 18.04. To install dockstore, I am using the following commands:

mkdir -p ~/bin
curl -L -o ~/bin/dockstore https://github.com/dockstore/dockstore/releases/download/1.8.2/dockstore
chmod +x ~/bin/dockstore
echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

Output behavior

Actual behavior:

vagrant@ubuntu-bionic:~$ which dockstore
/home/vagrant/bin/dockstore
vagrant@ubuntu-bionic:~$ dockstore --version
Dockstore version 1.8.0
The latest stable version is 1.8.2
Please upgrade with the following command:
   dockstore --upgrade
vagrant@ubuntu-bionic:~$ dockstore --upgrade
Current Dockstore version: 1.8.0
Upgrading to most recent stable release (1.8.0 -> 1.8.2)
Download complete. You are now on version 1.8.2 of Dockstore.
vagrant@ubuntu-bionic:~$ dockstore --version
Dockstore version 1.8.0
The latest stable version is 1.8.2
Please upgrade with the following command:
   dockstore --upgrade

Expected behavior:

  • Version should be 1.8.2 to begin with (since that is the version that I used curl to download)
  • The --upgrade flag should either upgrade or report an error

Please let me know if there is a better place to put this issue. I noticed issues are disabled in the dockstore/dockstore-cli repo.

┆Issue is synchronized with this Jira Story ┆Fix Versions: Dockstore 1.9 ┆Issue Number: DOCK-1334 ┆Sprint: Sprint 36 Krill ┆Issue Type: Story

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
denis-yuencommented, Apr 27, 2020

Thanks for the heads-up. Basically, 1.8.0 is the current version of the CLI code. We recently split out the CLI code from the webservice which is now on 1.8.2 and the help text seems to be assuming that the two should be the same.

0reactions
NatalieEOcommented, Jul 15, 2020

after running the commands in the ticket, it asks me to update to version 1.9.0. Doing dockstore --upgrade does correctly update the version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.9.0 Milestone · GitHub
Dockstore CLI 1.8.2 tag installs 1.8.0, and --upgrade flag does not upgrade bug cli documentation review merged but pending a third party look...
Read more >
Dockstore CLI FAQ
I was running a WDL locally, but some of my tasks are failing randomly and/or now I cannot use Docker. The CLI is...
Read more >
Advanced CLI Features - Dockstore Documentation!
When running a tool or workflow, you may want to add additional parameters or flags to the executor. You can do this by...
Read more >
Install Dockstore CLI
Setup our Dockstore CLI application to start launching workflows from the command line. ... sudo apt-get update -q && sudo apt install -y...
Read more >
FAQ - Dockstore Documentation!
What happens if I rename my GitHub repository? Permissions. How do I add other users as maintainers of a workflow? Why are my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found