-
Notifications
You must be signed in to change notification settings - Fork 261
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
Webserver exits on M1 #248
Comments
Hi @mackensen,
Would you mind to give the quick&dirty patch below a test run in your M1? Clone the repo$ git clone https://github.com/moodlehq/moodle-php-apache Patch the
|
@scara Thanks, I can confirm it built and ran fine on my M1. |
So maybe we can just try adding this to the Dockerfile (disclaimer, not tested):
And done? |
Hi @stronk7,
Yes: I guess we need the help of @mackensen to perform the end test or just look at the Not sure why @andrewnicols didn't mention this issue when hardly working on https://github.com/moodlehq/moodle-php-apache in these days. Does he run Docker Engine on M1 too? HTH, |
Yes, both @stronk7 and I use M1 machines. I've not had any issues in the times that I use the docker image. |
Yes, while I still use an old x64 laptop as main one... I've a 2020 Mini M1 and I use to run stuff there here and there. I've just tried and it's working ok (nothing in logs apart from the requests) and apache serving perfectly ok:
I'm using latest Docker Desktop 4.17.0 (Engine 20.10.23), with "Use Virtualization framework" and "VirtioFS" enabled. Ciao :-) |
Hi @mackensen,
could you share here your configuration to compare it with the others? TIA, |
I updated to that version and changed my setting to VirtioFS I'm still seeing the error. The manual compilation workaround is still effective. |
Hi, we are really running out of possibilities (and ideas), at very least here. One last thing that may be happening... are you using the very latest moodle-php-apache images? Can you try pulling them manually, for example:
(or the version you are using) If you don't see a message saying "Status: Image is up to date for moodlehq/moodle-php-apache:8.0" it means that you weren't using the latest. If so, just restart all the moodle-docker machinery and try again, please. Apart from that... I cannot imagine many other causes for the behaviour of your M1, let's see. Ciao :-) |
@stronk7 that was it, I pulled the latest and the container comes up cleanly now. Thanks! |
Yay, so we can finally close this one? |
The webserver container exits immediately on an M1 laptop running Ventura 13.0.1:
May be related to https://stackoverflow.com/questions/73294020/docker-couldnt-create-the-mpm-accept-mutex
The text was updated successfully, but these errors were encountered: