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

Rebuild gives error if database is disabled #3538

Open
Aldo-f opened this issue Mar 16, 2023 · 2 comments
Open

Rebuild gives error if database is disabled #3538

Aldo-f opened this issue Mar 16, 2023 · 2 comments
Labels
bug Something aint working right!

Comments

@Aldo-f
Copy link

Aldo-f commented Mar 16, 2023

With lando it is possible to disable a tool such as a database.
But when rebuilding (lando rebuild -y) we get an error:

lando rebuild -y
Rising anew like a fire phoenix from the ashes! Rebuilding app...
Killing lap_appserver_1 ... done
Going to remove lap_appserver_1
Removing lap_appserver_1 ... done
ERROR: No such service: database
ERROR ==>  

What I expect to happen:
No issues, because lando start does run successfully.

My recipe:
name: lap
recipe: lamp
services:
  database: disabled

Sources:

@Aldo-f Aldo-f added the bug Something aint working right! label Mar 16, 2023
@Zakini
Copy link

Zakini commented Jun 8, 2023

FWIW lando destroy --yes then lando start does work, although I'm not sure if that's the same as lando rebuild --yes

@wtflm
Copy link

wtflm commented May 22, 2024

Also, lando rebuild -s appserver -y works to specify appserver only, effectively skipping the problematic database service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something aint working right!
Projects
None yet
Development

No branches or pull requests

3 participants