BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Update failed

Open mgateno opened this issue 3 years ago • 4 comments

Describe the bug

Update (nightly) fails with status 404

Couldn't complete the update: Error: Cannot download "https://github.com/microsoft/BotFramework-Composer-Nightlies/releases/download/v2.1.2-nightly.306976.7df3a17/electron.exe", status 404:

Cannot update

Version

Version: 2.1.2-nightly.303944.169112f Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

Browser

  • [ ] Electron distribution
  • [X ] Chrome
  • [ ] Safari
  • [ ] Firefox
  • [X ] Edge

OS

  • [ ] macOS
  • [X ] Windows
  • [ ] Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Help'
  2. Click on 'Check for Updates'
  3. Scroll down to 'Install the update and restart Composer'
  4. See error

Expected behavior

Update completed

Screenshots

Additional context

mgateno avatar Jun 13 '22 22:06 mgateno

I am able to reproduce. Using Electron version 2.1.2 and then enabling 'Early Adopters` setting.

dmvtech avatar Jun 14 '22 16:06 dmvtech

I also tested by uninstalling v2.1.2 and ensuring install directory was empty. Then installed v2.1.1 and had same error still:

Couldn't complete the update: Error: Cannot download "https://github.com/microsoft/BotFramework-Composer-Nightlies/releases/download/v2.1.2-nightly.306976.7df3a17/electron.exe", status 404:

dmvtech avatar Jun 15 '22 22:06 dmvtech

Hi @tracyboehrer, @tonyanziano, We reviewed this issue and found that the latest.yml file uploaded with the release, changed after merging this PR. The 'githubArtifactName' field switched from BotFramework-Composer-2.1.2-windows-setup.exe to electron.exe. We think this is the reason behind the 404 error when trying to find electron.exe in the update process. We ran the scripts locally but the latest.yml file is generated correctly. As we don't have access to the pipeline that creates these releases, we couldn't reproduce the error.

Can you share with us the pipeline's yaml to have a better understanding of the release process?

ceciliaavila avatar Jul 22 '22 17:07 ceciliaavila

Hello is there any update on this issue? unfortunately I have the same situation on my side. I have installed BotFramework-Composer directly from installation file 2.1.2 - https://learn.microsoft.com/en-us/composer/install-composer?tabs=windows

image

DawidKaz avatar Oct 31 '22 15:10 DawidKaz