Conversation
Currently, Devstack and MYSQL interact poorly with newer Apple Machines which use "M1" Chips. An error causes provisioning to fail. A workaround is to specify ``platform: linux/amd64`` under the heading ``mysql57`` in ``docker-compose.yml`` and attempting to provision again. Solution found in: https://onexlab-io.medium.com/apple-m1-chip-no-matching-manifest-for-linux-arm64-v8-docker-mysql-5142060a9309 . Update a result of https://docs.google.com/document/d/1XU0z92O_OvVczFavhsxhj-7beWXOc1_4SPPzwwexKho/edit
|
Does this kind of documentation of workarounds help, while we work to maybe retire devstack? |
dianakhuang
left a comment
There was a problem hiding this comment.
I definitely think it's worth updating the docs with what you find! I know there was other previous work to get devstack working with M1s which were less successful (#852) so if this helps fix things at all, that's worth it.
| @@ -370,7 +370,7 @@ because services are in the process of being upgraded to Elasticsearch 7, but no | |||
| support Elasticsearch 7 yet. As we complete these migrations, we will update the dependencies | |||
| of these containers. | |||
There was a problem hiding this comment.
While you're in here, could you also remove this paragraph? We didn't remove it when we should. 😅
There was a problem hiding this comment.
I agree that this update is worth.
The same issue happens for Tutor Devstack too.
Also there is an issue building all frontend apps on M1.
|
BTW I'm using |
|
Do we need to add another workaround for MFEs? This is my log from Devstack fresh installation: Related ticket from tutor-mfe: overhangio/tutor-mfe#31 |
|
@cmltaWt0 just to pin down, when you say "MFEs" do you mean |
It happens for all MFEs having optipng as dependency - it simply can’t be build in docker container for linux/arm64. In my case it affects learning, profile, account and maybe gradebook (don’t remember for sure). So everything that works with images. |
|
Hmm, this seems to have a solution/workaround to the optipng issue. Maybe we can get them into frontend-platform to make sure that it builds properly on M1 Macs? https://www.giters.com/nystudio107/craft/issues/71 |
|
Working on a compatible set of changes here: #920 please check out that branch and let me know your thoughts. |

Currently, Devstack and MYSQL interact poorly with newer Apple Machines which use "M1" Chips. An error causes provisioning to fail. A workaround is to specify
platform: linux/amd64under the headingmysql57indocker-compose.ymland attempting to provision again. Solution found in: https://onexlab-io.medium.com/apple-m1-chip-no-matching-manifest-for-linux-arm64-v8-docker-mysql-5142060a9309 . Update a result of https://docs.google.com/document/d/1XU0z92O_OvVczFavhsxhj-7beWXOc1_4SPPzwwexKho/editI've completed each of the following or determined they are not applicable: