-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[bitnami/moodle] realpath: /bitnami/apache/conf: No such file or directory #67724
Comments
|
Hi, It seems that you are using docker library/mariadb image. I'm afraid we cannot guarantee support with non-bitnami images. Could you try with bitnami/mariadb? |
|
It seems there is a networking issue in your docker-compose configuration, as it is unable to resolve the host mariadb. |
direct use $ docker run --name moodle bitnami/moodle:latest
Unable to find image 'bitnami/moodle:latest' locally
latest: Pulling from bitnami/moodle
20cc929570e9: Pull complete
Digest: sha256:d7a0fabf3ed9efd5d46d23c6ae7878a72fa83bcf5b1f45b80b05695b5cc40366
Status: Downloaded newer image for bitnami/moodle:latest
moodle 15:58:38.02 INFO ==>
moodle 15:58:38.02 INFO ==> Welcome to the Bitnami moodle container
moodle 15:58:38.03 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
moodle 15:58:38.03 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
moodle 15:58:38.03 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
moodle 15:58:38.03 INFO ==>
moodle 15:58:38.04 INFO ==> ** Starting Moodle setup **
moodle 15:58:38.09 INFO ==> Generating sample certificates
Certificate request self-signature ok
subject=CN = example.com
realpath: /bitnami/apache/conf: No such file or directory
moodle 15:58:41.71 INFO ==> Configuring Apache ServerTokens directive
moodle 15:58:41.76 INFO ==> Configuring PHP options
moodle 15:58:41.77 INFO ==> Setting PHP expose_php option
moodle 15:58:41.79 INFO ==> Setting PHP output_buffering option
moodle 15:58:41.82 INFO ==> Validating settings in MYSQL_CLIENT_* env vars
moodle 15:58:41.83 INFO ==> Validating settings in POSTGRESQL_CLIENT_* env vars
moodle 15:58:41.88 ERROR ==> The MOODLE_DATABASE_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow a blank password. This is only recommended for development environments.
$ docker rm moodle
moodle
$ docker run -d --name moodle \
-p 8080:8080 \
-p 8443:8443 \
-e MOODLE_DATABASE_HOST=mariadb \
-e MOODLE_DATABASE_PORT_NUMBER=3306 \
-e MOODLE_DATABASE_USER=moodle \
-e MOODLE_DATABASE_PASSWORD=moodlepassword \
-e MOODLE_DATABASE_NAME=moodledb \
--network moodle-network \
--volume moodle_data:/bitnami/moodle \
bitnami/moodle:latest
7465a7d7bc8e094727aabe499747275c231c6a8f8c70886c38aa0ea353f895be
$ docker logs moodle
moodle 16:00:56.63 INFO ==>
moodle 16:00:56.64 INFO ==> Welcome to the Bitnami moodle container
moodle 16:00:56.64 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
moodle 16:00:56.64 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
moodle 16:00:56.64 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
moodle 16:00:56.65 INFO ==>
moodle 16:00:56.65 INFO ==> ** Starting Moodle setup **
moodle 16:00:56.69 INFO ==> Generating sample certificates
Certificate request self-signature ok
subject=CN = example.com
realpath: /bitnami/apache/conf: No such file or directory
moodle 16:01:00.54 INFO ==> Configuring Apache ServerTokens directive
moodle 16:01:00.58 INFO ==> Configuring PHP options
moodle 16:01:00.59 INFO ==> Setting PHP expose_php option
moodle 16:01:00.61 INFO ==> Setting PHP output_buffering option
moodle 16:01:00.65 INFO ==> Validating settings in MYSQL_CLIENT_* env vars
moodle 16:01:00.66 INFO ==> Validating settings in POSTGRESQL_CLIENT_* env vars
moodle 16:01:00.81 INFO ==> Ensuring Moodle directories exist
moodle 16:01:00.85 INFO ==> Trying to connect to the database server |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Name and Version
[bitnami/moodle] realpath: /bitnami/apache/conf: No such file or directory
Linux debian 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64
What architecture are you using?
amd64
What steps will reproduce the bug?
What is the expected behavior?
no error
What do you see instead?
The text was updated successfully, but these errors were encountered: