Lando: RC11 - sh: 0: getcwd() failed: No such file or directory

Created on 20 Feb 2019  路  3Comments  路  Source: lando/lando

After upgrade to RC11:

lando ssh returns:

sh: 0: getcwd() failed: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

and the consequence is lando wp db import filename.sqldoesn't works.
It returns Pass --path=path/to/wordpress or run wp core download.

bug

Most helpful comment

@davideprevosto ive seen other people restart docker to resolve issues like this. I think it could be an upstream issue there and not specific to lando.

All 3 comments

I was able to import SQL DB using:

lando ssh
wp db import filename.sql --path=../app

It happens only in one project. All my recipes are identical. Any idea?

Thank you

@davideprevosto ive seen other people restart docker to resolve issues like this. I think it could be an upstream issue there and not specific to lando.

@pirog you're totally right. thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jcmartinez picture jcmartinez  路  3Comments

RobLoach picture RobLoach  路  3Comments

ChandeepKhosa picture ChandeepKhosa  路  3Comments

neclimdul picture neclimdul  路  3Comments

gitressa picture gitressa  路  4Comments