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

Apple M1 - Getting an "Unknown Error" #46

Open
theaor opened this issue Dec 30, 2022 · 4 comments
Open

Apple M1 - Getting an "Unknown Error" #46

theaor opened this issue Dec 30, 2022 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@theaor
Copy link

theaor commented Dec 30, 2022

M1 Mac Mini running OSX 11.5.2, latest version of Matchering, and Docker 4.15.0. Getting an "Unknown Error" after Matchering performs its analysis steps. This was working at one point, but for some reason now I can't get any set of files to complete. Works perfectly on my other Mac, which is a Macbook Pro Retina 2016, running OSX 10.14 (same version of Matchering and Docker). Are there any troubleshooting steps I should attempt? Thank you!

@sergree sergree added bug Something isn't working help wanted Extra attention is needed labels Dec 30, 2022
@sergree
Copy link
Owner

sergree commented Dec 30, 2022

Hey, @theaor.
Thank you for reporting this issue.
It looks like one of the dependencies is not supported on Apple Silicon, or something like that..
I'm unlikely to be able to figure this out, since I don't own an M1 device.

What can I recommend:

A) Try to find more specific error, please run this command in the Terminal:

  • docker logs mgw-app

Probably more specific reasons for the error will be indicated there

B) Please make sure that more than 4 GB of memory is available to the Docker
https://github.com/sergree/matchering/blob/master/DOCKER_MACOS.md

C) Try to increase RAM even more (maybe on M1 numpy/scipy algorithms are not so optimized and more memory is needed, just a guess..)

D) Try to downgrade to matchering-web 0.1.6
Run these Terminal commands in a row:

  • docker stop mgw-app
  • docker rm mgw-app
  • docker volume rm mgw-data
  • docker pull sergree/matchering-web:0.1.6
  • docker run -dp 8360:8360 -v mgw-data:/app/data --name mgw-app --restart always sergree/matchering-web

Try again at http://127.0.0.1:8360

That's all I can think of at the moment.

@sergree sergree changed the title Getting an "Unknown Error" Apple M1 - Getting an "Unknown Error" Dec 30, 2022
@sergree sergree pinned this issue Dec 30, 2022
@theaor
Copy link
Author

theaor commented Dec 30, 2022

I decided to completely remove the container, image, etc. Re-installed docker and Matchering and tried again and it worked once, but then stopped after when attempted a second time. I've attached the logs, but still looking through them myself. Going to run through your other recommended steps as well. Thank you!!!

2022-12-30 Docker Logs.txt

@sergree
Copy link
Owner

sergree commented Dec 30, 2022

Thanks for the logs, yep, the reason for the error is not clear from them.

It is very strange that one session is successful.

I have an opinion that this may be related to the Docker problem itself.
Something like this
docker/for-mac#6219

To the previous items, I can add this

E) Try to run Matchering without "Docker Volume"
Run these Terminal commands in a row:

  • docker stop mgw-app
  • docker rm mgw-app
  • docker volume rm mgw-data
  • docker run -dp 8360:8360 --name mgw-app --restart always sergree/matchering-web

@sergree
Copy link
Owner

sergree commented Dec 30, 2022

F) Check: Docker Settings -> Resources -> Advanced -> Disk Image Size
It should be more than 10 GB+

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

No branches or pull requests

2 participants