erseco / alpine-moodle

Moodle docker image based on Alpine Linux
https://hub.docker.com/r/erseco/alpine-moodle
MIT License
42 stars 33 forks source link

Error starting container #22

Closed kirtan403 closed 1 year ago

kirtan403 commented 1 year ago

I am having a Raspberry Pi 4B 8G. When I'm trying to start the docker compose file, getting below error:

moodle-moodle-1    | Starting startup scripts in /docker-entrypoint-init.d ...
moodle-moodle-1    | *** Running: /docker-entrypoint-init.d/01-uname.sh
moodle-moodle-1    | Linux 247c097e0ed8 5.15.0-1021-raspi #23-Ubuntu SMP PREEMPT Fri Nov 25 15:27:43 UTC 2022 aarch64 Linux
moodle-moodle-1    | *** Running: /docker-entrypoint-init.d/02-configure-moodle.sh
moodle-moodle-1    | Waiting for : to be ready
moodle-moodle-1    |  is ready
moodle-moodle-1    | Generating config.php file...
moodle-moodle-1    | Could not open input file: /var/www/html/admin/cli/install.php
moodle-moodle-1    | *** Failed with return value: 0

Can you please help with this?

erseco commented 1 year ago

Can you please run this commands and give the complete output?

docker-compose pull
docker-compose up
kirtan403 commented 1 year ago

Thanks for the quick reply. I guess it was due to local volumes. I mounted the local directories. I switched to the same file of docker-compose from the repo and it started the setup

erseco commented 1 year ago

Perfect so, I will close the issue. Best regards!