augur icon indicating copy to clipboard operation
augur copied to clipboard

Apple Silicon Weirdness when launching through `docker compose`

Open GaryPWhite opened this issue 11 months ago • 3 comments

Description: When using docker compose --env-file ./environment.txt up on an Apple Silicon chip (tested M1/M2) we notice output:

command not found: backend

Through my investigation, I've found that this likely refers to the last line of init.sh. changing "backend" to anything else confirms this.

I suspect this has something to do with shell and exec form but haven't found anything concrete -- so that could be a red herring.

How to reproduce:

  1. Go to the base of this repository, on apple silicon chips
  2. populate your environment.txt with some values (they don't need to be real, the app doesn't get far enough)
  3. run docker compose --env-file environment.txt up
  4. wait for failure

Expected behavior: docker compose ... up should allow us to run the augur application.

Screenshots N/A

Log files Attach the relevant log files here. Server and installation logs can be found in the logs/ directory in the root augur/ directory, and the logs for each worker are stored in their respective directories. If the logs are pretty long (> 50ish lines or just use your best judgement) please use a Gist or a pastebin. These logs file are required if you would like help solving your issue.

Software versions:

  • Augur: main branch
  • OS: sw_vers
  • Browser: N/A

GaryPWhite avatar Feb 27 '24 16:02 GaryPWhite

Starting to look at this tm morning

JamesKunstle avatar Feb 29 '24 00:02 JamesKunstle

@GaryPWhite : We are working on this still. :)

sgoggins avatar Mar 07 '24 16:03 sgoggins

@GaryPWhite I can build and run Augur on M2 Pro without hitting that error

JamesKunstle avatar Mar 10 '24 18:03 JamesKunstle