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

WASP throws "exec /app/wasp: exec format error" when starting (on local VM - hosted Mac with ARM architecture) #5

Open
kmueller opened this issue Sep 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@kmueller
Copy link

kmueller commented Sep 29, 2022

Hi and thank you for the new shimmer/wasp & http/https docker setup !

Describe the bug
I followed your instructions in several environments:

  1. Public VPS (netcup.de) => https + Hornet + Wasp => OK
  2. Virtual Machine (Parallels) on MacBook Intel (Ubuntu Server v22.04 AMD64) => http + Hornet + Wasp => OK
  3. Virtual Machine (UTM) on MacBook Air Apple M1 Chip (ARM) with Ubuntu Server v22.04 ARM) => http/https + Hornet => OK (Wasp NOT OK)

When I start the docker containers with
docker-compose up -d
and
docker logs -f wasp

then I get "exec /app/wasp: exec format error" repeated in several lines.
Bildschirmfoto 2022-09-29 um 12 02 26

To Reproduce
Steps to reproduce the behavior:

  • Well, you needed to set-up a Virtual Machine (UTM) on a newer MacBook Air (ARM architecture) ...
  • Follow your own instructions using the .env file

COMPOSE_PROFILES=monitoring,wasp
NODE_HOST=shimmernode-vm2
DASHBOARD_USERNAME=myUser
DASHBOARD_PASSWORD=hexhex...
DASHBOARD_SALT=hexhex...

Expected behavior
No difference to the Intel-Mac.

Environment information:

  • OS: Ubuntu 22.04
  • RAM: 8 GB
  • Cores: 4 Cores
  • Type: VM (UTM)
  • node-docker-setup version: v1.0.0-rc.1

Additional context
I wonder that Hornet is starting successfully, although the ENTRYPOINT in the Dockerfile is similar defined
ENTRYPOINT ["/app/wasp"] vs. ENTRYPOINT ["/app/hornet"]

@kmueller kmueller added the bug Something isn't working label Sep 29, 2022
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

1 participant