Closed dave-cross closed 8 months ago
I can't even run the uninstaller because lando poweroff
gives the same error. I went through the file and ran all the commands manually. Then, tried reinstalling from scratch and get the same error.
Please help.
Update:
lando-entrypoint.sh
was a directory inside of ~/.lando/scripts
. Not sure why that was happening, but I replaced it with the actual file from another computer and now I'm up and working again. I am running Node12.2.0, so that could be the issue here.
Can't test it right now, but I don't consider this issue closed. Something is buggering a fresh install. Please have a look when you have a moment.
@cloudsociety unless you are running lando from source the node version is not going to matter eg the Lando binary self-packages LTS node 10.x.
I've seen this behavior periodically happen but its usually when a user kills a process mid-execution and specifically when volumes are being reconciled. Without clear steps to replicate im not exactly what lando can do about it but i'll keep the issue open for now.
Also FWIW this is not something that is consistently happening on fresh installs or im guessing we'd see more issues or comments here indicating that.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.
For the ones that are having that issue:
I had the same issue lately. To fix that I opened Docker Desktop (on windows) and I turned off all containers/apps. After that it started working correctly
This happened to me today on a fresh install of latest alpha (3.21.alpha.10). Running on Windows 11 with WSL2 and Ubuntu 22.04.
The fix above by @michalkuchtapl worked, stopping manually in the Docker Desktop app 👍
Problem persisted in v3.21.0-beta.1, Win10 . I can start new lamp setup, but then lando stop/poweroff/update write above error . Restart Docker Desktop (4.23) did not help.
I'm having the same errors. I'm trying to lando composer key:generate after lando fresh install and getting a image from git repo.
Same error here with a lando destroy
lando ERROR Error: Error: EPERM: operation not permitted, lstat 'C:\Users\dev\.lando\scripts\lando-entrypoint.sh'
Windows 11 Pro 23H2 with lando-x64-v3.21.0-beta.1
I'm having this same issue, Windows 10 Enterprise 22H2 (19045.4046). Downloaded lando-x64-v3.21.0-beta.1, install went smoothly. I've tried viewing the lando-entrypoint.sh file, but Notepad doesn't believe the file exists. I tried going into WSL and chmodding the file but when I do ls on the directory, it says it cannot access, "no such file". Windows similarly refuses to show me or grant me permissions on it, despite being administrator. I copied the file over from another computer where Lando is working, but at some point during lando start the file got overwritten and is back to the same issue.
for people having this issue i would recommend:
~/.lando/config
and ~/.lando/scripts
lando update
but once you install from the package installer you should be safe to use lando update
with the exception of CLI updates on Windows, a fix is coming for this
Tell us about your setup
Example: v3.0.0-rc.16 on MacOS 10.14.5
Example:
This was a reduced test case for debugging why
lndo.site
urls were failing. The only other file in this project isindex.php
with this content:Tell us about the command you were running
Tell us generally about your bug
Since yesterday afternoon,
lndo.site
urls have failed. I finally stumbled on https://github.com/lando/lando/issues/1490.Deleted my
/.lando
directory and tried reinstalling 3.0.0rc16. Now, I get the above error on every project.