Hello there!
I’m currently install edx on the amazon ec2 instance. When I’m run the “tutor local quickstart” then it will end with the Killed.
Preformatted text==================================================
Interactive platform configuration
==================================================
Your website domain name for students (LMS) [lms.ibiz-sp.com]
Your website domain name for teachers (CMS) [studio.lms.ibiz-sp.com]
Your platform name/title [WHAO LMS]
Your public contact email address [contact@lms.ibiz-sp.com]
The default language code for the platform [en]
Activate SSL/TLS certificates for HTTPS access? Important note: this will NOT work in a development environment. [Y/n] Y
Configuration saved to /home/ubuntu/.local/share/tutor/config.yml
================================================
Updating the current environment
================================================
Environment generated in /home/ubuntu/.local/share/tutor/env
==============================================
Stopping any existing platform
==============================================
docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local rm --stop --force
Going to remove tutor_local_openedx-assets_1, tutor_local_smtp_1, tutor_local_mysql_1, tutor_local_elasticsearch_1, tutor_local_rabbitmq_1, tutor_local_mongodb_1, tutor_local_memcached_1
Removing tutor_local_openedx-assets_1 ... done
Removing tutor_local_smtp_1 ... done
Removing tutor_local_mysql_1 ... done
Removing tutor_local_elasticsearch_1 ... done
Removing tutor_local_rabbitmq_1 ... done
Removing tutor_local_mongodb_1 ... done
Removing tutor_local_memcached_1 ... done
=============================================
HTTPS certificates generation
=============================================
docker run --rm -it --volume /home/ubuntu/.local/share/tutor/data/letsencrypt:/etc/letsencrypt/ -p 80:80 --entrypoint=sh docker.io/certbot/certbot:latest -e -c certbot certonly --standalone -n --agree-tos -m admin@lms.ibiz-sp.com -d lms.ibiz-sp.com -d studio.lms.ibiz-sp.com -d preview.lms.ibiz-sp.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Cert not yet due for renewal
Keeping the existing certificate
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate not yet due for renewal; no action taken.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
======================================================
Starting the platform in detached mode
======================================================
docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local up --remove-orphans -d
Creating tutor_local_memcached_1 ...
Creating tutor_local_mysql_1 ...
Creating tutor_local_smtp_1 ...
Creating tutor_local_elasticsearch_1 ...
Creating tutor_local_openedx-assets_1 ...
Creating tutor_local_mongodb_1 ...
Creating tutor_local_rabbitmq_1 ...
================================================
Database creation and migrations
================================================
Initialising all services...
docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local exec mysql sh -e -c echo "Initialising MySQL..."
mysql_connection_max_attempts=10
mysql_connection_attempt=0
until mysql -u root --password="Pix8yRxz" --host "mysql" --port 3306 -e 'exit'
do
mysql_connection_attempt=$(expr $mysql_connection_attempt + 1)
echo " [$mysql_connection_attempt/$mysql_connection_max_attempts] Waiting for MySQL service (this may take a while)..."
if [ $mysql_connection_attempt -eq $mysql_connection_max_attempts ]
then
echo "MySQL initialisation error" 1>&2
exit 1
fi
sleep 10
done
echo "MySQL is up and running"
mysql -u root --password="Pix8yRxz" --host "mysql" --port 3306 -e 'CREATE DATABASE IF NOT EXISTS openedx;'
mysql -u root --password="Pix8yRxz" --host "mysql" --port 3306 -e 'GRANT ALL ON openedx.* TO "openedx"@"%" IDENTIFIED BY "DOlznNYj";'
Initialising lms...
docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local exec lms sh -e -c dockerize -wait tcp://mysql:3306 -timeout 20s
export DJANGO_SETTINGS_MODULE=$SERVICE_VARIANT.envs.$SETTINGS
echo "Loading settings $DJANGO_SETTINGS_MODULE"
./manage.py lms migrate
./manage.py lms create_oauth2_client \
"http://androidapp.com" "http://androidapp.com/redirect" public \
--client_id android --client_secret XwRx23Kso7B7mn4FjtxYa2ib \
--trusted
# Fix incorrect uploaded file path
if [ -d /openedx/data/uploads/ ]; then
if [ -n "$(ls -A /openedx/data/uploads/)" ]; then
echo "Migrating LMS uploaded files to shared directory"
mv /openedx/data/uploads/* /openedx/media/
rm -rf /openedx/data/uploads/
fi
fi
Killed
Pls kindly give me a hand to solve this .
Thanks.