Closed joswr1ght closed 1 month ago
I'm not convinced this is actually an ARM vs. amd64 issue, though I can't get RITA to run on my MBP M3 and it runs fine on my MBP x64 system. On the M3, I used export DOCKER_DEFAULT_PLATFORM=linux/amd64
to force the use of x64 images, but I still get the same RITA error on import. Steps:
docker image prune -a && docker volume prune -a
export DOCKER_DEFAULT_PLATFORM=linux/amd64
./rita.sh import -l DIR -d DATABASE
This produces the same Another instance of RITA is currently running
error. Confirmed that the containers are linux/amd64 using docker inspect
.
The ghcr.io/activecm/rita
docker image is built for both amd64
and arm64
. If you're running in development using Docker, then setting DOCKER_DEFAULT_PLATFORM
will determine which platform to build for when running docker compose build
.
This issue should be resolved by https://github.com/activecm/rita/commit/10c186ec6ca7e24961d114d7ec53a34dd6a03faf, where the compose project was brought up before the check for an existing instance was made.
I'm also running on an M3 and noticed that sometimes the initial rita container would be brought down fast enough to allow the rest of the script to continue. Not sure why it would behave differently than a x64 install of Docker... but nonetheless a simple fix.
When running RITA on a macOS ARM system, RITA fails to start an import with the error
Another instance of RITA is currently running
.MacBookPro M3, up-to-date macOS and Docker Desktop:
RITA error:
I haven't looked into this in detail yet, but stopping running containers and trying again does not fix:
This error does not happen on an Intel MBP: