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

Moodle Bitnami problems with Mac M1 ARM architecture #4679

Closed
giliomeejg opened this issue Aug 31, 2022 · 2 comments
Closed

Moodle Bitnami problems with Mac M1 ARM architecture #4679

giliomeejg opened this issue Aug 31, 2022 · 2 comments
Assignees
Labels
moodle solved tech-issues The user has a technical issue about an application

Comments

@giliomeejg
Copy link

giliomeejg commented Aug 31, 2022

Name and Version

bitnami/moodle:3.11.9-debian-11-r2

What steps will reproduce the bug?

  1. Mac M1 Max
  2. docker-compose.yml
version: "3.8"
services:
  moodle:
    container_name: moodle_web
    build: .
    image: "docker.io/bitnami/moodle:3.11.9-debian-11-r2"
    platform: linux/amd64 # for mac m1
    ports:
      - "8080:8080"
      - "8443:8443"
    environment:
      - APACHE_HTTPS_PORT_NUMBER=443
      - MOODLE_WWWROOT=http://localhost:8080
      - MOODLE_DATABASE_TYPE=mysqli
      - MOODLE_DATABASE_HOST=host.docker.internal
      - MOODLE_DATABASE_PORT_NUMBER=3306
      - MOODLE_DATABASE_NAME=moodle
      - MOODLE_DATABASE_USER=moodle
      - MOODLE_DATABASE_PASSWORD=secret
      - MOODLE_SKIP_BOOTSTRAP=yes
      - MOODLE_SMTP_PROTOCOL=tls
      - BITNAMI_DEBUG=true
      - PHP_POST_MAX_SIZE=512M
      - PHP_UPLOAD_MAX_FILESIZE=500M
      - MOODLE_CRON_MINUTES=-1
    volumes:
      - "/path-to/moodle:/bitnami/moodle:delegated"
      - "/path-to/moodledata:/bitnami/moodledata:delegated"
  1. docker-compose up
moodle_web  | moodle 07:38:09.94 INFO  ==> ** Starting Apache **
moodle_web  | [Wed Aug 31 07:38:10.079334 2022] [core:emerg] [pid 1] (95)Operation not supported: AH00023: Couldn't create the mpm-accept mutex
moodle_web  | (95)Operation not supported: could not create accept mutex
moodle_web  | AH00015: Unable to open logs

What is the expected behavior?

Expecting for the system to boot up, given the:

platform: linux/amd64 # for mac m1

setting in the docker-compose.yml

What do you see instead?

Seeing the mentioned error:

moodle_web  | moodle 07:38:09.94 INFO  ==> ** Starting Apache **
moodle_web  | [Wed Aug 31 07:38:10.079334 2022] [core:emerg] [pid 1] (95)Operation not supported: AH00023: Couldn't create the mpm-accept mutex
moodle_web  | (95)Operation not supported: could not create accept mutex
moodle_web  | AH00015: Unable to open logs
@giliomeejg giliomeejg added the tech-issues The user has a technical issue about an application label Aug 31, 2022
@github-actions github-actions bot added the triage Triage is needed label Aug 31, 2022
@carrodher
Copy link
Member

Hi, we have created this issue bitnami/charts#7305 that is pinned in the Bitnami Helm Charts repository, on this way we can funnel all the conversation in a single place regarding ARM64 support.

We will close the rest of the existing issues just to avoid duplications, please visit the above-mentioned issue to see any news (when possible) about this topic.

@carrodher carrodher closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2022
@github-actions github-actions bot added solved and removed triage Triage is needed labels Aug 31, 2022
@carrodher
Copy link
Member

Hi all, we are more than happy to announce that from now on the Bitnami container catalog is available as multi-arch in Docker Hub 🎉 🎉

Screenshot 2023-02-24 at 08 16 50

This means you don’t need to specify anything when pulling the container images from Docker Hub, Docker (or any other software) will automatically pull the container image matching the host platform from which the pull command was issued.

Here you can find more info about this announcement.


As usual, please create a new GitHub issue if you would like to report any bug or problem or directly contribute by creating a PR. Here you can find the contributing guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moodle solved tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

2 participants