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

sfdx not automatically updating #126

Closed
aheber opened this issue Jun 28, 2019 · 2 comments
Closed

sfdx not automatically updating #126

aheber opened this issue Jun 28, 2019 · 2 comments
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@aheber
Copy link

aheber commented Jun 28, 2019

Summary

It seems that before the ocliff cutover DX was correctly checking for updates. It seems to have lost that functionality somewhere in here. DX is no longer reporting that updates are available or automatically updating itself. We didn't notice for a little while so I don't have specific versions to identify.

Just yesterday (6/27) I ran sfdx --version which used to reliably report if a new version was available and it reported nothing. I then ran sfdx update and it found and updated to the new version.

Steps To Reproduce:

  1. Confirm that you do NOT have an environment variable SFDX_AUTOUPDATE_DISABLE set.
  2. Install an older version, either the current binary version available, 7.8.1 or the immediately previous version 7.12.3.
  3. Run a variety of DX commands
  4. Run sfdx --version and note that the version number has not increased

Expected result

DX should be auto-updating or at least notifying of new versions as it used to.

Actual result

DX sits at whatever version was most recently installed or manually updated to and doesn't notify the user that an update is available.

Additional information

image

This was discussed in the Good Day, Sir! Slack team and included other individuals reporting the same: https://gooddaysir.slack.com/archives/C0ZNTTU20/p1561658506020700

To work around this I had to figure out how to check for updates myself and built a notification system to alert me when a new version is available.

SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.13.0-27dbcb37d3 win32-x64 node-v10.15.3

SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)

@oclif/plugin-commands 1.2.2 (core)
@oclif/plugin-help 2.2.0 (core)
@oclif/plugin-not-found 1.2.2 (core)
@oclif/plugin-plugins 1.7.8 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.5 (core)
analytics 1.1.2 (core)
generator 1.1.0 (core)
salesforcedx 46.3.0 (core)
├─ force-language-services 46.8.0 (core)
└─ salesforce-alm 46.7.0 (core)

sfdx-cli 7.13.0 (core)
sfdx-heber 0.0.2 (link) C:\Users\aheber\dev\sfdx-heber
sfdx-typegen 0.6.2
shane-sfdx-plugins 3.19.0

OS and version:
Windows 10

@clairebianchi clairebianchi added the bug Issue or pull request that identifies or fixes a bug label Jun 28, 2019
@clairebianchi
Copy link
Collaborator

@aheber We currently are having an issue with our installers for Mac due to a migration we just underwent for our release process. We think this has something to do with it. The installers are scheduled to be fixed mid-July, if this does not fix this issue then we will investigate further.

@mshanemc
Copy link
Contributor

closed as not reproducible on W-6294054 9/8/2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

No branches or pull requests

3 participants