forcedotcom / cli

Salesforce CLI
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/
BSD 3-Clause "New" or "Revised" License
482 stars 78 forks source link

sfdx update not updating CLI to latest version 7.37.1 #254

Closed alan-morey closed 4 years ago

alan-morey commented 4 years ago

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 commented 4 years ago

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

kvor commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

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

aheber commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Looks like it is fixed! :tada:

sfdx update
sfdx-cli: Updating CLI from 7.36.0-b1c4e9c7c8 to 7.41.0-86eabb70b5... done
Srini4u commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

vc4u commented 3 years ago

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 commented 3 years ago

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

vc4u commented 3 years ago

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 commented 3 years ago

forcedotcom/lwc-dev-server-feedback#117