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

Unable to update deployment with the same name #50

Open
andreisaikouski opened this issue Jun 16, 2021 · 2 comments
Open

Unable to update deployment with the same name #50

andreisaikouski opened this issue Jun 16, 2021 · 2 comments

Comments

@andreisaikouski
Copy link

Expected behavior

Publishing with the same name would update the existing deployment.

Actual behavior

mdb-cli throws the following, requesting a new name:

Error The project name is already taken by one of your other projects. Please choose a different name.

Context

  • mdb-cli version 3.4.0
  • system: Mac BigSur v11.3
@catchmareck
Copy link
Member

Try running mdb publish --override once - it should resolve the issue.

It's probably happening because of the change that we made to disallow creating projects with the same name. The --override flag should do the trick. Note that you only need to use it once - no need to add it every time.

@andreisaikouski
Copy link
Author

andreisaikouski commented Jun 22, 2021

Hi @catchmareck,
Thanks for the response.

This does not resolve the issue as running mdb backend publish -p node12 -n project-name --override throws:

   Error Could not publish: There were some errors.

Running mdb backend logs -n project-name just shows

   Fetching data...

NOTE: this codebase does work as expected and produces logs when creating a net new project

Furthermore, subsequently running mdb backend publish -p node12 -n project-name continues to throw the original error:

   Error The project name is already taken by one of your other projects. Please choose a different name.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants