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

Failed with unknown shorthand flag: 'T' in -T #59

Closed
kaushalyap opened this issue Jul 19, 2024 · 3 comments
Closed

Failed with unknown shorthand flag: 'T' in -T #59

kaushalyap opened this issue Jul 19, 2024 · 3 comments
Labels

Comments

@kaushalyap
Copy link

kaushalyap commented Jul 19, 2024

lando start

 ⚠ The service "database" failed its healthcheck
 Failed with unknown shorthand flag: 'T' in -T
 This may be ok but we recommend you run the command below to investigate:
 Run lando logs -s database

❯ lando logs -s database

...
database_1  | 2024-07-19T11:41:57.815553Z 0 [Note] /opt/bitnami/mysql/bin/mysqld: ready for connections.
database_1  | Version: '5.7.29'  socket: '/opt/bitnami/mysql/tmp/mysql.sock'  port: 3306  MySQL Community Server (GPL)
database_1  | 2024-07-19T11:41:57.817462Z 2 [Note] Access denied for user 'root'@'localhost' (using password: NO)
database_1  | mysql_upgrade: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) while connecting to the MySQL server
database_1  | Upgrade process encountered error and will not continue.
database_1  | mysql 11:41:57.82 INFO  ==> Stopping mysql
...

.lando.yml

name: goallanka
recipe: lamp
config:
  webroot: .

Version Info:

❯ lando version                              
v3.21.2

❯ uname -a
Linux fedora 6.8.5-301.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 11 20:00:10 UTC 2024 x86_64 GNU/Linux
@rtfm-47 rtfm-47 transferred this issue from lando/lando Jul 19, 2024
@reynoldsalec
Copy link
Member

Do you see some docker-compose-v2 binaries in ~/.lando/bin? Almost sounds like the wrong Docker Compose is getting used.

@reynoldsalec
Copy link
Member

You could also run lando setup to make sure Lando has the right Docker Compose.

@kaushalyap
Copy link
Author

After installing docker error disappeared for what ever reason. Thanks for the support, I'll close now!

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

No branches or pull requests

3 participants