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 update not updating CLI to latest version 7.37.1 #254

Closed
alan-morey opened this issue Dec 18, 2019 · 15 comments
Closed

sfdx update not updating CLI to latest version 7.37.1 #254

alan-morey opened this issue Dec 18, 2019 · 15 comments
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@alan-morey
Copy link

Summary

Executing sfdx update not updating to latest version 7.37.1

Steps To Reproduce:

sfdx update

Expected result

Should upgrade cli version to 7.37.1 as per latest version listed on npm and cli release notes

Actual result

sfdx update                                                                                                                                                    
sfdx-cli: Updating CLI... already on latest version: 7.36.0-b1c4e9c7c8
sfdx-cli: Updating plugins... done

Additional information

Looks like manifest (https://developer.salesforce.com/media/salesforce-cli/manifest.json) was not updated as part of 7.37.1 release

SFDX CLI Version: sfdx-cli/7.36.0-b1c4e9c7c8 linux-x64 node-v10.15.3
SFDX plugin Version:

@oclif/plugin-commands 1.2.3 (core)
@oclif/plugin-help 2.2.1 (core)
@oclif/plugin-not-found 1.2.3 (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-diff 0.0.4
@salesforce/sfdx-trust 3.0.5 (core)
analytics 1.2.1 (core)
generator 1.1.1 (core)
salesforcedx 47.9.0 (core)
├─ salesforcedx-templates 47.9.0 (core)
└─ salesforce-alm 47.10.0 (core)

sfdx-cli 7.36.0 (core)
sfdx-waw-plugin 1.5.0

OS and version: Ubuntu 16.04.6 LTS

@sinanbunni
Copy link

Similar issue I have when I ran the sfdx update command.

@kvor
Copy link

kvor commented Jan 10, 2020

@clairebianchi Any news on this issue? We are stuck on 7.36 and can not update to 7.41.0 where MaxListernersExceededWarning has been resolved.

@oclif/plugin-commands 1.2.3 (core)
@oclif/plugin-help 2.2.1 (core)
@oclif/plugin-not-found 1.2.3 (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.2.1 (core)
generator 1.1.1 (core)
salesforcedx 47.9.0 (core)
├─ salesforcedx-templates 47.9.0 (core)
└─ salesforce-alm 47.10.0 (core)

sfdx-cli 7.36.0 (core)

sfdx-cli/7.36.0-b1c4e9c7c8 darwin-x64 node-v10.15.3

OS version: Mac OS X 10.15.2

@clairebianchi
Copy link
Collaborator

Hi all, we are currently having issues with updating our installers. We should be getting those fixed today and the newest version of the CLI should be available via sfdx update. If you need the latest version of the CLI, which does have the MaxListernersExceededWarning, fix right now you can uninstall your CLI and do an NPM install https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm#sfdx_setup_install_cli_npm

@kvor
Copy link

kvor commented Jan 11, 2020

@clairebianchi Thanks. It seems to be a regression of #126 (June 2019). We will wait a bit as we do not want to repeat the process of uninstall/install again.

@aheber
Copy link

aheber commented Jan 13, 2020

@clairebianchi did the installers get fixed on Friday? I'm still showing the older version and sfdx update doesn't appear to find a new version yet. If you pushed updates maybe we need to uninstall and reinstall??

sfdx-cli: Updating CLI... already on latest version: 7.36.0-b1c4e9c7c8

@AngryBearDev
Copy link

I'm still getting the same issue. Stuck on version 7.36

sfdx-cli: Updating CLI... already on latest version: 7.36.0-b1c4e9c7c8

@clairebianchi clairebianchi added the bug Issue or pull request that identifies or fixes a bug label Jan 14, 2020
@clairebianchi
Copy link
Collaborator

We are still investigating the issue. If you need the most recent version of the CLI please install using NPM https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm#sfdx_setup_install_cli_npm

@alan-morey
Copy link
Author

Looks like it is fixed! 🎉

sfdx update
sfdx-cli: Updating CLI from 7.36.0-b1c4e9c7c8 to 7.41.0-86eabb70b5... done

@Srini4u
Copy link

Srini4u commented Jan 19, 2021

The issue could be due to version mismatch - jdk version(32 bit) and sfdx client version(64 bit). My issue got resolved once I installed sfdx client 32bit version

@vc4u
Copy link

vc4u commented May 28, 2021

I'm having the same issue now. I've been on version 7.94.3 and it has been on this detected as latest for a month now. How can this be fixed?

My installation was done couple of years back and it was using Windows Installer. Can I re-download and install CLI using current available version's installer?

`sfdx update

sfdx-cli: Updating CLI... already on latest version: 7.94.3-a4e7c7955b`

@jayree
Copy link

jayree commented May 28, 2021

@vc4u Have you installed the @salesforce/lwc-dev-server plug-in?

@vc4u
Copy link

vc4u commented May 28, 2021

Yes. My plugins list:

sfdx plugins
@salesforce/analytics 0.30.0
@salesforce/lwc-dev-server 2.10.0
├─ @oclif/plugin-help 2.2.3
└─ @oclif/plugin-update 1.3.10
@salesforce/sfdx-diff 0.0.6
@salesforce/sfdx-scanner 2.9.1
isvte-sfdx-plugin 1.1.12
sfdmu 4.4.1
shane-sfdx-plugins 4.43.0
├─ @mshanemc/sfdx-sosl 1.1.0
└─ @mshanemc/plugin-streaming 1.1.7

@jayree
Copy link

jayree commented May 28, 2021

@vc4u remove @salesforce/lwc-dev-server and try to update again.

@vc4u
Copy link

vc4u commented May 28, 2021

Damn. Yes, that did it. Awesome :-) ... is that a bug in LWC Dev Server? Can I track that if there is a link available?

@jayree
Copy link

jayree commented May 28, 2021

forcedotcom/lwc-dev-server-feedback#117

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

9 participants