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

exec /lando-entrypoint.sh: exec format error #195

Closed
remaxrickerts opened this issue Aug 18, 2024 · 2 comments
Closed

exec /lando-entrypoint.sh: exec format error #195

remaxrickerts opened this issue Aug 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@remaxrickerts
Copy link

remaxrickerts commented Aug 18, 2024

I updated my Lando version to latest to deal with a docker-compose issue (which turns out was just an alias problem) and now my MySQL 5.7 database fails to start with the error:

exec /lando-entrypoint.sh: exec format error

My install process:

updating lando
Generating plugin/cli update matrix... done [see table below]
✔ Updated @lando/core to v3.21.2


You are now up to date! with the latest and greatest!
adding /usr/local/bin to PATH
...
DockerDesktop_InspectDB_PathEntrypoint

My last install was from Jan. 18, 2024. Is it possible to revert to this version and see if it works? I am running MacOS 14.6 and do not know if an update to my OS broke it.

I tried going back to the last packaged release: https://github.com/lando/lando/releases/tag/v3.20.8
but got this error output:

TypeError: Cannot read properties of undefined (reading 'buildEngine')
    at module.exports (/Users/rrickerts/.lando/plugins/@lando/core/tasks/setup.js:75:25)
    at /snapshot/cli/node_modules/@lando/core/lib/lando.js
From previous event:
    at process.processImmediate (node:internal/timers:471:21)
@remaxrickerts remaxrickerts added the bug Something isn't working label Aug 18, 2024
@remaxrickerts
Copy link
Author

I fixed the startup issue by pulling a newer MySQL version:

  database:
    overrides:
      image: bitnami/mysql:5.7.43-debian-11-r73

@reynoldsalec
Copy link
Member

reynoldsalec commented Sep 24, 2024

Interesting that it was an issue. I just pushed out a new version of lando/mysql that updates the pinned versions of the bitnami/mysql images, so that should fix your particular issue.

Note that most of the recipes will need to update their version of lando/mysql to take advantage, so if you're having this issue using the workaround could still be necessary.

lando/mysql#57

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

No branches or pull requests

2 participants