Hello, thank you for your prompt answer!
I tried to upgrade to version 10.0.6 by downloading the new binaries and using “tutor local quickstart”, but the following error occurred:
File "/openedx/venv/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 71, in execute
return self.cursor.execute(query, args)
File "/openedx/venv/lib/python3.5/site-packages/MySQLdb/cursors.py", line 209, in execute
res = self._query(query)
File "/openedx/venv/lib/python3.5/site-packages/MySQLdb/cursors.py", line 315, in _query
db.query(q)
File "/openedx/venv/lib/python3.5/site-packages/MySQLdb/connections.py", line 239, in query
_mysql.connection.query(self, query)
django.db.utils.IntegrityError: (1062, "Duplicate entry 'android' for key 'client_id'")
Error: Command failed with status 1: docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm lms-job sh -e -c dockerize -wait tcp://mysql:3306 -timeout 20s
echo "Loading settings $DJANGO_SETTINGS_MODULE"
./manage.py lms migrate
# Create oauth credentials for Android application
./manage.py lms create_dot_application \
--client-id android \
--client-secret 2H7BHqEagqLQUtJwHn1j8U02 \
--grant-type password \
android \
login_service_user
# 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
I don’t know why there is this “Duplicate entry ‘android’ for key ‘client_id’”, because I have never configured anything for android.
Should I drop everything and test a clean installation?