question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot deploy stack after upgrade from 1.45.0 to 1.46.0

See original GitHub issue

On upgrading to 1.46.0 from 1.45.0, I can no longer deploy due to some bootstrap failure.

Reproduction Steps

cdk deploy ProjectFoo

Environment

  • CLI Version : aws-cli/1.16.280 Python/3.8.0 Linux/4.15.0-106-generic botocore/1.13.16
  • Framework Version: 1.46.0 (build 63860b2)
  • Node.js Version: v12.14.0
  • OS : Ubuntu 18.04
  • Language (Version): TypeScript (3.9.3)

Other

Deploy fails with the following error:

ProjectFoo failed: Error: ProjectFoo: publishing assets requires bootstrap stack version '3', found '2'. Please run 'cdk bootstrap' with a newer CLI version.

I run cdk bootstrap per error message and get the error message:

Environment aws://123456789012/eu-west-1 failed bootstrapping: Error: Not downgrading existing bootstrap stack from version '2' to version '0'. Use --force to force.

I have been deploying successfully with 1.45.0 using the new style stack synthesis as documented here.


This is 🐛 Bug Report

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shivlakscommented, Jun 24, 2020

seems like you’re all set @damonmcminn - thanks for jumping in and providing guidance @hoegertn I’m resolving this issue as I don’t believe further action is required.

Feel free to reopen if I missed something.

0reactions
mirgjcommented, Aug 27, 2020

@mariusingjer is referring at the linked comment in the OP message:

You can find it here: https://github.com/aws/aws-cdk/issues/3463#issuecomment-643226516

Read more comments on GitHub >

github_iconTop Results From Across the Web

NCP Upgrade from 1.45.0 to 1.46.7 does not work
Hi, I am running NextCloudPi on Docker on a Debian 10 system. I am trying to upgrade from 1.45.0 to 1.46.7. However, it...
Read more >
Bootstrapping - AWS Cloud Development Kit (AWS CDK) v2
This is the simplest method and works well if you have only a few environments to bootstrap. Deploy the template provided by the...
Read more >
awslabs/aws-cdk - Gitter
After upgrading to 1.45.0 Cognito UserPool update fails. ... I have just upgraded CDK (1.46.0 build 63860b2) and am trying to deploy a...
Read more >
Release Notes — Fleet Command documentation
Fleet Command Cloud Services (ngc.nvidia.com)¶. Fix: Resolved an issue where remote application access times out in some cases.
Read more >
Unable to install grpcio using pip install grpcio - Stack Overflow
First, upgrade pip pip3 install --upgrade pip. Then, update the setup tools: python3 -m pip install --upgrade setuptools ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found