-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
lando update
always shows lando/cli as update available
#259
Comments
lando update
always shows lando/cli as update availblelando update
always shows lando/cli as update available
I can confirm this happens with |
If this is happening its because you aren't actually running the correct CLI likely because an older version of start by opening a new terminal. # which lando is running
which lando
# this should report the "older" version eg not beta.18
lando version --component @lando/cli
# remove the older lando
sudo rm -rf /path/from/which/lando
# verify the new one is being used
which lando
lando version --component @lando/cli If that all works you should be good. For more detail: https://docs.lando.dev/cli/guides/adding-lando-2-path.html |
Thanks. This started me on the correct path to fix. Turns out it was not a path issue. The permissions on the cache for the files in the |
Thanks, after removing older path to lando |
This happened to me when updating to the release I used the cached version mentioned here by running this from inside my home folder: This copied the downloaded version over to my path folder and then |
Ran into this again when trying to update cli to v3.21.0 from v3.21.0-beta. Only solution that seems to work for me is to just reinstall lando.
|
In most cases, this should be resolved by Pirog's comment in #259 (comment) Going to close out, but if you're facing this issue and those guidelines don't work for you, feel free to comment here or (preferably) to reach out on the Lando Slack (link to join). |
Not sure if this issue belongs here or in lando/lando repo but just thought Id start here.
Lando version: v3.21.0-beta.18
When running
lando update
and completing update, lando/cli still shows as needs to update. Ive tried updating many times but it just always says update available.Ive included a screenshot to illustrate.
The text was updated successfully, but these errors were encountered: