Build Android App command - Error

Dear @regis,

I’m new to tutor and open edx and have a beginner level technical background only. I configured everything upto theming indigo on my website blend-ed.com. after that I tried to build android app using the command provided android build debug. It gets stuck in some 40% or so and the following error message is shown:

*docker run --rm -it --volume=/home/tutor/.local/share/tutor/env/android:/openedx/config/ --volume=/home/tutor/.local/share/tutor/data/android:/openedx/data/ overhangio/openedx-android:3.11.3*
*Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details*

*> Configure project :OpenEdXMobile*
*WARNING: API 'variantOutput.getPackageApplication()' is obsolete and has been replaced with 'variant.getPackageApplicationProvider()'.*
*It will be removed at the end of 2019.*
*For more information, see https://d.android.com/r/tools/task-configuration-avoidance.*
*To determine what is calling variantOutput.getPackageApplication(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.*
*WARNING: API 'variant.getConnectedInstrumentTest()' is obsolete and has been replaced with 'variant.getConnectedInstrumentTestProvider()'.*
*It will be removed at the end of 2019.*
*For more information, see https://d.android.com/r/tools/task-configuration-avoidance.*
*To determine what is calling variant.getConnectedInstrumentTest(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.*

*> Task :android-iconify:compileDebugJavaWithJavac*
*Note: Some input files use or override a deprecated API.*
*Note: Recompile with -Xlint:deprecation for details.*
*The message received from the daemon indicates that the daemon has disappeared.*
*Build request sent: Build{id=10a33ec2-46a5-4d6d-9104-bee3197b964f, currentDir=/openedx/edx-app-android}*
*Attempting to read last messages from the daemon log...*
*Daemon pid: 27*
*  log file: /root/.gradle/daemon/4.10.1/daemon-27.out.log*
*----- Last  20 lines from daemon log file - daemon-27.out.log -----*
*02:29:52.214 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] resetting idle timer*
*02:29:52.214 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes.*
*02:29:52.215 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=10a33ec2-46a5-4d6d-9104-bee3197b964f, currentDir=/openedx/edx-app-android}. Dispatching build started information...*
*02:29:52.215 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted*
*02:29:52.220 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: {ANDROID_SDK_PATH=/openedx/android-sdk, PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin, ANDROID_SDK_VERSION=4333796, HOSTNAME=5d018ba63a99, TERM=xterm, OLDPWD=/openedx/edx-app-android, PWD=/openedx/edx-app-android, SHLVL=0, HOME=/root, ANDROID_HOME=/openedx/android-sdk}*
*02:29:52.228 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection.*
*02:29:52.228 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 27). The daemon log file: /root/.gradle/daemon/4.10.1/daemon-27.out.log*
*02:29:52.231 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] Starting build in new daemon [memory: 954.7 MB]*
*02:29:52.239 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.*
*02:29:52.241 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=097ab7f5-5881-429d-ae2e-47f9037fefcd,javaHome=/usr/lib/jvm/java-8-openjdk-amd64,daemonRegistryDir=/root/.gradle/daemon,pid=27,idleTimeout=10800000,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=US-ASCII,-Duser.country=US,-Duser.language=en,-Duser.variant]*
*WARNING: API 'variantOutput.getPackageApplication()' is obsolete and has been replaced with 'variant.getPackageApplicationProvider()'.*
*It will be removed at the end of 2019.*
*For more information, see https://d.android.com/r/tools/task-configuration-avoidance.*
*To determine what is calling variantOutput.getPackageApplication(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.*
*WARNING: API 'variant.getConnectedInstrumentTest()' is obsolete and has been replaced with 'variant.getConnectedInstrumentTestProvider()'.*
*It will be removed at the end of 2019.*
*For more information, see https://d.android.com/r/tools/task-configuration-avoidance.*
*To determine what is calling variant.getConnectedInstrumentTest(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.*
*Note: Some input files use or override a deprecated API.*
*Note: Recompile with -Xlint:deprecation for details.*
*----- End of the daemon log -----*


*FAILURE: Build failed with an exception.*

** What went wrong:*
*Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)*

** Try:*
*Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.*

** Get more help at https://help.gradle.org*

Can you explain as simple as possible if you don’t mind ?

@nadheemabdulla This is an issue with v3.11.3. I suggest you upgrade to 3.11.7. To do so, you should connect by ssh to your server, and then run:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v3.11.7/tutor-Linux_x86_64" -o /usr/local/bin/tutor
sudo chmod +x /usr/local/bin/tutor
sudo systemctl restart tutor-webui

You should then be able to rebuild your docker images (with images build all), restart your platform (with local quickstart) as well as the Android app.

1 Like

@regis Thank you so much for finding time to respond. After executing the first command, I got this message-

Blockquote
Warning: Failed to create the file /usr/local/bin/tutor: Text file busy
0 30.9M 0 16360 0 0 16181 0 0:33:26 0:00:01 0:33:25 89890
curl: (23) Failed writing body (0 != 16360)

Try to run sudo systemctl stop tutor-webui first.

1 Like

this worked. and I rebuilt docker images after that, but when restarted the platform with local quickstart - the following error occurs -
ERROR: manifest for localhost:5000/rabbitmq:3.6.10-management-alpine not found: manifest unknown: manifest unknown

**==================================================**
**        Interactive platform configuration**
**==================================================**
**Your website domain name for students (LMS) [blend-ed.com] **
**Your website domain name for teachers (CMS) [studio.blend-ed.com] **
**Your platform name/title [Blend-Ed Classroom] **
**Your public contact email address [contact@blend-ed.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] **
**Configuration saved to /home/tutor/.local/share/tutor/config.yml**
================================================
        Updating the current environment
================================================
Environment generated in /home/tutor/.local/share/tutor/env
==============================================
        Stopping any existing platform
==============================================
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local rm --stop --force
No stopped containers
=============================================
        HTTPS certificates generation
=============================================
docker run --rm -it --volume /home/tutor/.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@blend-ed.com -d blend-ed.com -d studio.blend-ed.com -d preview.blend-ed.com
certbot certonly --standalone -n --agree-tos -m admin@blend-ed.com -d notes.blend-ed.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.**
**- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**
**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/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local up --remove-orphans -d**
**Pulling rabbitmq (localhost:5000/rabbitmq:3.6.10-management-alpine)...**
**ERROR: manifest for localhost:5000/rabbitmq:3.6.10-management-alpine not found: manifest unknown: manifest unknown**

Right. This is due to the fact that the rabbitmq image was modified. To address this, run:

docker pull $(tutor config printvalue DOCKER_IMAGE_RABBITMQ)
docker tag $(tutor config printvalue DOCKER_IMAGE_RABBITMQ) localhost:5000/$(tutor config printvalue DOCKER_IMAGE_RABBITMQ)

@regis Thank you for your prompt response.

I executed these commands. Then I got a permission issue Got permission denied while trying to connect to the Docker daemon socket
Then I executed sudo chmod 666 /var/run/docker.sock which helped to solve the issue.

Thereafter I restarted the platform with local quickstart to get the following error (and the website is not up now :frowning: )

        Interactive platform configuration
==================================================
Your website domain name for students (LMS) [blend-ed.com] 
Your website domain name for teachers (CMS) [studio.blend-ed.com] 
Your platform name/title [Blend-Ed Classroom] 
Your public contact email address [contact@blend-ed.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] 
Configuration saved to /home/tutor/.local/share/tutor/config.yml
================================================
        Updating the current environment
================================================
Environment generated in /home/tutor/.local/share/tutor/env
==============================================
        Stopping any existing platform
==============================================
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local rm --stop --force
Stopping tutor_local_cms-worker_1    ... done
Stopping tutor_local_nginx_1         ... done
Stopping tutor_local_lms-worker_1    ... done
Stopping tutor_local_cms_1           ... done
Stopping tutor_local_lms_1           ... done
Stopping tutor_local_mongodb_1       ... done
Stopping tutor_local_mysql_1         ... done
Stopping tutor_local_smtp_1          ... done
Stopping tutor_local_memcached_1     ... done
Stopping tutor_local_rabbitmq_1      ... done
Stopping tutor_local_elasticsearch_1 ... done
Stopping tutor_local_forum_1         ... done
Going to remove tutor_local_cms-worker_1, tutor_local_nginx_1, tutor_local_lms-worker_1, tutor_local_cms_1, tutor_local_lms_1, tutor_local_mongodb_1, tutor_local_mysql_1, tutor_local_smtp_1, tutor_local_memcached_1, tutor_local_openedx-assets_1, tutor_local_rabbitmq_1, tutor_local_elasticsearch_1
Removing tutor_local_cms-worker_1     ... done
Removing tutor_local_nginx_1          ... done
Removing tutor_local_lms-worker_1     ... done
Removing tutor_local_cms_1            ... done
Removing tutor_local_lms_1            ... done
Removing tutor_local_mongodb_1        ... done
Removing tutor_local_mysql_1          ... done
Removing tutor_local_smtp_1           ... done
Removing tutor_local_memcached_1      ... done
Removing tutor_local_openedx-assets_1 ... done
Removing tutor_local_rabbitmq_1       ... done
Removing tutor_local_elasticsearch_1  ... done
=============================================
        HTTPS certificates generation
=============================================
docker run --rm -it --volume /home/tutor/.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@blend-ed.com -d blend-ed.com -d studio.blend-ed.com -d preview.blend-ed.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/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local up --remove-orphans -d
Creating tutor_local_smtp_1           ... done
Creating tutor_local_mongodb_1        ... done
Creating tutor_local_openedx-assets_1 ... done
Creating tutor_local_mysql_1          ... done
Creating tutor_local_rabbitmq_1       ... done
Creating tutor_local_elasticsearch_1  ... done
Creating tutor_local_memcached_1      ... done
tutor_local_forum_1 is up-to-date
Creating tutor_local_cms_1            ... done
Creating tutor_local_lms_1            ... done
Creating tutor_local_lms-worker_1     ... done
Creating tutor_local_nginx_1          ... done
Creating tutor_local_cms-worker_1     ... done
================================================
        Database creation and migrations
================================================
Initialising all services...
docker-compose -f /home/tutor/.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="MNku0Pgl" --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="MNku0Pgl" --host "mysql" --port 3306 -e 'CREATE DATABASE IF NOT EXISTS openedx;'
mysql -u root --password="MNku0Pgl" --host "mysql" --port 3306 -e 'GRANT ALL ON openedx.* TO "openedx"@"%" IDENTIFIED BY "w8rA7wr6";'
Initialising MySQL...
Warning: Using a password on the command line interface can be insecure.
MySQL is up and running
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Initialising lms...
docker-compose -f /home/tutor/.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 vbWBzqUAdUxKPgpIPFvtOEal \
    --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
2020/04/06 13:58:20 Waiting for: tcp://mysql:3306
2020/04/06 13:58:20 Connected to tcp://mysql:3306
Loading settings lms.envs.tutor.production
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-06 14:01:05,203 WARNING 35 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-06 14:01:05,204 WARNING 35 [enterprise.utils] utils.py:51 - cannot import name _LTI_BACKENDS
Operations to perform:
  Apply all migrations: admin, api_admin, assessment, auth, badges, block_structure, bookmarks, branding, bulk_email, catalog, celery_utils, certificates, commerce, completion, consent, content_type_gating, contentserver, contenttypes, cors_csrf, course_action_state, course_duration_limits, course_goals, course_groups, course_modes, course_overviews, courseware, crawlers, credentials, credit, dark_lang, database_fixups, degreed, django_comment_common, django_notify, django_openid_auth, djcelery, edx_oauth2_provider, edx_proctoring, edxval, email_marketing, embargo, enterprise, entitlements, experiments, external_auth, figures, grades, instructor_task, integrated_channel, lms_xblock, microsite_configuration, milestones, mobile_api, notes, oauth2, oauth2_provider, oauth_dispatch, oauth_provider, organizations, programs, redirects, rss_proxy, sap_success_factors, schedules, self_paced, sessions, shoppingcart, site_configuration, sites, social_django, splash, static_replace, status, student, submissions, survey, teams, theming, third_party_auth, track, user_api, user_authn, util, verified_track_content, verify_student, video_config, video_pipeline, waffle, waffle_utils, wiki, workflow, xapi, xblock_django
Running migrations:
  No migrations to apply.
  Your models have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-06 14:05:38,349 WARNING 233 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-06 14:05:38,696 WARNING 233 [enterprise.utils] utils.py:51 - cannot import name _LTI_BACKENDS
{
    "name": "", 
    "url": "http://androidapp.com", 
    "logout_uri": null, 
    "redirect_uri": "http://androidapp.com/redirect", 
    "client_id": "android", 
    "user": null, 
    "client_type": 1, 
    "client_secret": "vbWBzqUAdUxKPgpIPFvtOEal"
}
Initialising cms...
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local exec cms 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 cms migrate

# Fix incorrect uploaded file path
if [ -d /openedx/data/uploads/ ]; then
  if [ -n "$(ls -A /openedx/data/uploads/)" ]; then
    echo "Migrating CMS uploaded files to shared directory"
    mv /openedx/data/uploads/* /openedx/media/
    rm -rf /openedx/data/uploads/
  fi
fi
2020/04/06 14:08:05 Waiting for: tcp://mysql:3306
2020/04/06 14:08:05 Connected to tcp://mysql:3306
Loading settings cms.envs.tutor.production
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-06 14:10:34,496 WARNING 208 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-06 14:10:34,748 WARNING 208 [enterprise.utils] utils.py:51 - cannot import name EnterpriseCustomerUser
Operations to perform:
  Apply all migrations: admin, api_admin, assessment, auth, block_structure, bookmarks, catalog, celery_utils, completion, consent, content_type_gating, contentserver, contentstore, contenttypes, course_action_state, course_creators, course_duration_limits, course_groups, course_modes, course_overviews, courseware, crawlers, credit, dark_lang, database_fixups, degreed, django_comment_common, django_notify, django_openid_auth, djcelery, edx_oauth2_provider, edx_proctoring, edxval, embargo, enterprise, entitlements, experiments, external_auth, integrated_channel, microsite_configuration, milestones, oauth2, oauth2_provider, oauth_dispatch, oauth_provider, organizations, redirects, sap_success_factors, schedules, self_paced, sessions, site_configuration, sites, static_replace, student, submissions, survey, tagging, theming, track, user_api, user_authn, user_tasks, verified_track_content, verify_student, video_config, video_pipeline, waffle, waffle_utils, wiki, workflow, xapi, xblock_config, xblock_django
Running migrations:
  No migrations to apply.
Initialising forum...
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local exec forum sh -e -c export MONGOHQ_URL="mongodb://$MONGODB_AUTH$MONGODB_HOST:$MONGODB_PORT/cs_comments_service"

bundle exec rake search:initialize
bundle exec rake search:rebuild_index
cannot exec in a stopped state: unknown
>

You should not have to change the permissions of docker.sock. DO NOT EVER DO THAT! Instead, all commands should be run as user “tutor” which should have the permissions to run docker commands.

Stop the platform and make sure that there are no running container left:

tutor local stop
docker ps

After all containers have been stopped you may run quickstart again.

1 Like

Dear @regis

I did as you have told

-stopped all the docker containers

Connecting by ssh to server, when I executed
docker ps / docker run hello-world

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied

Then I followed docker documentation to add user tutor

sudo usermod -aG docker tutor

even then docker commands return permission denied message.

then with local quickstart

This is what comes -

==================================================
        Interactive platform configuration
==================================================
Your website domain name for students (LMS) [blend-ed.com] 
Your website domain name for teachers (CMS) [studio.blend-ed.com] 
Your platform name/title [Blend-Ed Classroom] 
Your public contact email address [contact@blend-ed.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] 
Configuration saved to /home/tutor/.local/share/tutor/config.yml
================================================
        Updating the current environment
================================================
Environment generated in /home/tutor/.local/share/tutor/env
==============================================
        Stopping any existing platform
==============================================
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local rm --stop --force
Stopping tutor_local_memcached_1     ... done
Stopping tutor_local_elasticsearch_1 ... done
Stopping tutor_local_rabbitmq_1      ... done
Stopping tutor_local_smtp_1          ... done
Stopping tutor_local_mysql_1         ... done
Stopping tutor_local_mongodb_1       ... done
Going to remove tutor_local_cms_1, tutor_local_forum_1, tutor_local_memcached_1, tutor_local_elasticsearch_1, tutor_local_rabbitmq_1, tutor_local_openedx-assets_1, tutor_local_smtp_1, tutor_local_mysql_1, tutor_local_mongodb_1
Removing tutor_local_cms_1            ... done
Removing tutor_local_forum_1          ... done
Removing tutor_local_memcached_1      ... done
Removing tutor_local_elasticsearch_1  ... done
Removing tutor_local_rabbitmq_1       ... done
Removing tutor_local_openedx-assets_1 ... done
Removing tutor_local_smtp_1           ... done
Removing tutor_local_mysql_1          ... done
Removing tutor_local_mongodb_1        ... done
=============================================
        HTTPS certificates generation
=============================================
docker run --rm -it --volume /home/tutor/.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@blend-ed.com -d blend-ed.com -d studio.blend-ed.com -d preview.blend-ed.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/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local up --remove-orphans -d
Creating tutor_local_mysql_1          ... done
Creating tutor_local_smtp_1           ... done
Creating tutor_local_elasticsearch_1  ... done
Creating tutor_local_openedx-assets_1 ... done
Creating tutor_local_rabbitmq_1       ... done
Creating tutor_local_mongodb_1        ... done
Creating tutor_local_memcached_1      ... done
Creating tutor_local_forum_1          ... done
Creating tutor_local_cms_1            ... done
Creating tutor_local_cms-worker_1     ... done
Creating tutor_local_lms_1            ... done
Creating tutor_local_nginx_1          ... done
Creating tutor_local_lms-worker_1     ... done
================================================
        Database creation and migrations
================================================
Initialising all services...
docker-compose -f /home/tutor/.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="MNku0Pgl" --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="MNku0Pgl" --host "mysql" --port 3306 -e 'CREATE DATABASE IF NOT EXISTS openedx;'
mysql -u root --password="MNku0Pgl" --host "mysql" --port 3306 -e 'GRANT ALL ON openedx.* TO "openedx"@"%" IDENTIFIED BY "w8rA7wr6";'
Initialising MySQL...
Warning: Using a password on the command line interface can be insecure.
MySQL is up and running
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Initialising lms...
docker-compose -f /home/tutor/.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 vbWBzqUAdUxKPgpIPFvtOEal \
    --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
2020/04/06 22:09:07 Waiting for: tcp://mysql:3306
2020/04/06 22:09:07 Connected to tcp://mysql:3306
Loading settings lms.envs.tutor.production
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-06 22:10:06,164 WARNING 27 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-06 22:10:06,168 WARNING 27 [enterprise.utils] utils.py:51 - cannot import name _LTI_BACKENDS
Operations to perform:
  Apply all migrations: admin, api_admin, assessment, auth, badges, block_structure, bookmarks, branding, bulk_email, catalog, celery_utils, certificates, commerce, completion, consent, content_type_gating, contentserver, contenttypes, cors_csrf, course_action_state, course_duration_limits, course_goals, course_groups, course_modes, course_overviews, courseware, crawlers, credentials, credit, dark_lang, database_fixups, degreed, django_comment_common, django_notify, django_openid_auth, djcelery, edx_oauth2_provider, edx_proctoring, edxval, email_marketing, embargo, enterprise, entitlements, experiments, external_auth, grades, instructor_task, integrated_channel, lms_xblock, microsite_configuration, milestones, mobile_api, notes, oauth2, oauth2_provider, oauth_dispatch, oauth_provider, organizations, programs, redirects, rss_proxy, sap_success_factors, schedules, self_paced, sessions, shoppingcart, site_configuration, sites, social_django, splash, static_replace, status, student, submissions, survey, teams, theming, third_party_auth, track, user_api, user_authn, util, verified_track_content, verify_student, video_config, video_pipeline, waffle, waffle_utils, wiki, workflow, xapi, xblock_django
Running migrations:
  No migrations to apply.
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-06 22:14:00,436 WARNING 211 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-06 22:14:00,436 WARNING 211 [enterprise.utils] utils.py:51 - cannot import name _LTI_BACKENDS
{
    "name": "", 
    "url": "http://androidapp.com", 
    "logout_uri": null, 
    "redirect_uri": "http://androidapp.com/redirect", 
    "client_id": "android", 
    "user": null, 
    "client_type": 1, 
    "client_secret": "vbWBzqUAdUxKPgpIPFvtOEal"
}
Initialising cms...
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local exec cms 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 cms migrate

# Fix incorrect uploaded file path
if [ -d /openedx/data/uploads/ ]; then
  if [ -n "$(ls -A /openedx/data/uploads/)" ]; then
    echo "Migrating CMS uploaded files to shared directory"
    mv /openedx/data/uploads/* /openedx/media/
    rm -rf /openedx/data/uploads/
  fi
fi
2020/04/06 22:15:28 Waiting for: tcp://mysql:3306
2020/04/06 22:15:28 Connected to tcp://mysql:3306
Loading settings cms.envs.tutor.production
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-06 22:16:43,569 WARNING 805 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-06 22:16:43,571 WARNING 805 [enterprise.utils] utils.py:51 - cannot import name EnterpriseCustomerUser
Operations to perform:
  Apply all migrations: admin, api_admin, assessment, auth, block_structure, bookmarks, catalog, celery_utils, completion, consent, content_type_gating, contentserver, contentstore, contenttypes, course_action_state, course_creators, course_duration_limits, course_groups, course_modes, course_overviews, courseware, crawlers, credit, dark_lang, database_fixups, degreed, django_comment_common, django_notify, django_openid_auth, djcelery, edx_oauth2_provider, edx_proctoring, edxval, embargo, enterprise, entitlements, experiments, external_auth, integrated_channel, microsite_configuration, milestones, oauth2, oauth2_provider, oauth_dispatch, oauth_provider, organizations, redirects, sap_success_factors, schedules, self_paced, sessions, site_configuration, sites, static_replace, student, submissions, survey, tagging, theming, track, user_api, user_authn, user_tasks, verified_track_content, verify_student, video_config, video_pipeline, waffle, waffle_utils, wiki, workflow, xapi, xblock_config, xblock_django
Running migrations:
  No migrations to apply.
Initialising forum...
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local exec forum sh -e -c export MONGOHQ_URL="mongodb://$MONGODB_AUTH$MONGODB_HOST:$MONGODB_PORT/cs_comments_service"

bundle exec rake search:initialize
bundle exec rake search:rebuild_index
cannot exec in a stopped state: unknown
>

Please run the following commands and paste here the full output:

tutor local stop
docker ps

tutor local stop

docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local rm --stop --force
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Error: Command failed with status 1: docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local rm --stop --force

docker ps

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied```

With which user did you log in?

I used ssh to connect to the server with .pem key.
Then executed those commands.

I’m sorry I’m very new to this.

After ssh, please login as the “tutor” user: sudo su tutor and then run the above commands. All commands should be run as this user.

1 Like

Done.

after tutor local stop, I think containers are still running.

docker ps returns

3aef32b2593f        localhost:5000/overhangio/openedx-forum:3.11.7   "docker-entrypoint.s…"   8 hours ago         Up 8 hours          4567/tcp                 tutor_local_forum_1
594b8a77ba7d        registry:2.7.1                                   "/entrypoint.sh /etc…"   2 months ago        Up 14 hours         0.0.0.0:5000->5000/tcp   docker_registry

Shall I run quickstart now ?

You should first stop the forum container with docker stop 3aef32b2593f. Then run quickstart.

1 Like

I stopped all the containers and run local quickstart which is completed showing no errors
Even then I’m unable to load the website - shows “504 Gateway time-out”
Then I rebuilt images ( images build all ) and run quickstart again.
No improvements :frowning:

  Interactive platform configuration
==================================================
Your website domain name for students (LMS) [blend-ed.com] 
Your website domain name for teachers (CMS) [studio.blend-ed.com] 
Your platform name/title [Blend-Ed Classroom] 
Your public contact email address [contact@blend-ed.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] 
Configuration saved to /home/tutor/.local/share/tutor/config.yml
================================================
        Updating the current environment
================================================
Environment generated in /home/tutor/.local/share/tutor/env
==============================================
        Stopping any existing platform
==============================================
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local rm --stop --force
Stopping tutor_local_lms-worker_1    ... done
Stopping tutor_local_nginx_1         ... done
Stopping tutor_local_lms_1           ... done
Stopping tutor_local_cms-worker_1    ... done
Stopping tutor_local_cms_1           ... done
Stopping tutor_local_forum_1         ... done
Stopping tutor_local_elasticsearch_1 ... done
Stopping tutor_local_rabbitmq_1      ... done
Stopping tutor_local_mysql_1         ... done
Stopping tutor_local_smtp_1          ... done
Stopping tutor_local_memcached_1     ... done
Stopping tutor_local_mongodb_1       ... done
Going to remove tutor_local_lms-worker_1, tutor_local_nginx_1, tutor_local_lms_1, tutor_local_cms-worker_1, tutor_local_cms_1, tutor_local_forum_1, tutor_local_elasticsearch_1, tutor_local_rabbitmq_1, tutor_local_openedx-assets_1, tutor_local_mysql_1, tutor_local_smtp_1, tutor_local_memcached_1, tutor_local_mongodb_1
Removing tutor_local_lms-worker_1     ... done
Removing tutor_local_nginx_1          ... done
Removing tutor_local_lms_1            ... done
Removing tutor_local_cms-worker_1     ... done
Removing tutor_local_cms_1            ... done
Removing tutor_local_forum_1          ... done
Removing tutor_local_elasticsearch_1  ... done
Removing tutor_local_rabbitmq_1       ... done
Removing tutor_local_openedx-assets_1 ... done
Removing tutor_local_mysql_1          ... done
Removing tutor_local_smtp_1           ... done
Removing tutor_local_memcached_1      ... done
Removing tutor_local_mongodb_1        ... done
=============================================
        HTTPS certificates generation
=============================================
docker run --rm -it --volume /home/tutor/.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@blend-ed.com -d blend-ed.com -d studio.blend-ed.com -d preview.blend-ed.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/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local up --remove-orphans -d
Creating tutor_local_openedx-assets_1 ... done
Creating tutor_local_mongodb_1        ... done
Creating tutor_local_elasticsearch_1  ... done
Creating tutor_local_mysql_1          ... done
Creating tutor_local_memcached_1      ... done
Creating tutor_local_rabbitmq_1       ... done
Creating tutor_local_smtp_1           ... done
Creating tutor_local_forum_1          ... done
Creating tutor_local_cms_1            ... done
Creating tutor_local_cms-worker_1     ... done
Creating tutor_local_lms_1            ... done
Creating tutor_local_nginx_1          ... done
Creating tutor_local_lms-worker_1     ... done
================================================
        Database creation and migrations
================================================
Initialising all services...
docker-compose -f /home/tutor/.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="MNku0Pgl" --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="MNku0Pgl" --host "mysql" --port 3306 -e 'CREATE DATABASE IF NOT EXISTS openedx;'
mysql -u root --password="MNku0Pgl" --host "mysql" --port 3306 -e 'GRANT ALL ON openedx.* TO "openedx"@"%" IDENTIFIED BY "w8rA7wr6";'
Initialising MySQL...
Warning: Using a password on the command line interface can be insecure.
MySQL is up and running
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Initialising lms...
docker-compose -f /home/tutor/.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 vbWBzqUAdUxKPgpIPFvtOEal \
    --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
2020/04/07 07:46:33 Waiting for: tcp://mysql:3306
2020/04/07 07:46:34 Connected to tcp://mysql:3306
Loading settings lms.envs.tutor.production
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-07 07:51:37,361 WARNING 47 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-07 07:51:37,407 WARNING 47 [enterprise.utils] utils.py:51 - cannot import name _LTI_BACKENDS
Operations to perform:
  Apply all migrations: admin, api_admin, assessment, auth, badges, block_structure, bookmarks, branding, bulk_email, catalog, celery_utils, certificates, commerce, completion, consent, content_type_gating, contentserver, contenttypes, cors_csrf, course_action_state, course_duration_limits, course_goals, course_groups, course_modes, course_overviews, courseware, crawlers, credentials, credit, dark_lang, database_fixups, degreed, django_comment_common, django_notify, django_openid_auth, djcelery, edx_oauth2_provider, edx_proctoring, edxval, email_marketing, embargo, enterprise, entitlements, experiments, external_auth, grades, instructor_task, integrated_channel, lms_xblock, microsite_configuration, milestones, mobile_api, notes, oauth2, oauth2_provider, oauth_dispatch, oauth_provider, organizations, programs, redirects, rss_proxy, sap_success_factors, schedules, self_paced, sessions, shoppingcart, site_configuration, sites, social_django, splash, static_replace, status, student, submissions, survey, teams, theming, third_party_auth, track, user_api, user_authn, util, verified_track_content, verify_student, video_config, video_pipeline, waffle, waffle_utils, wiki, workflow, xapi, xblock_django
Running migrations:
  No migrations to apply.
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-07 08:00:04,062 WARNING 352 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-07 08:00:04,482 WARNING 352 [enterprise.utils] utils.py:51 - cannot import name _LTI_BACKENDS
{
    "name": "", 
    "url": "http://androidapp.com", 
    "logout_uri": null, 
    "redirect_uri": "http://androidapp.com/redirect", 
    "client_id": "android", 
    "user": null, 
    "client_type": 1, 
    "client_secret": "vbWBzqUAdUxKPgpIPFvtOEal"
}
Initialising cms...
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local exec cms 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 cms migrate

# Fix incorrect uploaded file path
if [ -d /openedx/data/uploads/ ]; then
  if [ -n "$(ls -A /openedx/data/uploads/)" ]; then
    echo "Migrating CMS uploaded files to shared directory"
    mv /openedx/data/uploads/* /openedx/media/
    rm -rf /openedx/data/uploads/
  fi
fi
2020/04/07 08:03:21 Waiting for: tcp://mysql:3306
2020/04/07 08:03:22 Connected to tcp://mysql:3306
Loading settings cms.envs.tutor.production
WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
  warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

2020-04-07 08:06:45,684 WARNING 275 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
2020-04-07 08:06:45,743 WARNING 275 [enterprise.utils] utils.py:51 - cannot import name EnterpriseCustomerUser
Operations to perform:
  Apply all migrations: admin, api_admin, assessment, auth, block_structure, bookmarks, catalog, celery_utils, completion, consent, content_type_gating, contentserver, contentstore, contenttypes, course_action_state, course_creators, course_duration_limits, course_groups, course_modes, course_overviews, courseware, crawlers, credit, dark_lang, database_fixups, degreed, django_comment_common, django_notify, django_openid_auth, djcelery, edx_oauth2_provider, edx_proctoring, edxval, embargo, enterprise, entitlements, experiments, external_auth, integrated_channel, microsite_configuration, milestones, oauth2, oauth2_provider, oauth_dispatch, oauth_provider, organizations, redirects, sap_success_factors, schedules, self_paced, sessions, site_configuration, sites, static_replace, student, submissions, survey, tagging, theming, track, user_api, user_authn, user_tasks, verified_track_content, verify_student, video_config, video_pipeline, waffle, waffle_utils, wiki, workflow, xapi, xblock_config, xblock_django
Running migrations:
  No migrations to apply.
Initialising forum...
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local exec forum sh -e -c export MONGOHQ_URL="mongodb://$MONGODB_AUTH$MONGODB_HOST:$MONGODB_PORT/cs_comments_service"

bundle exec rake search:initialize
bundle exec rake search:rebuild_index
/openedx/cs_comments_service/lib/tasks/flags.rake:6: warning: already initialized constant ROOT
/openedx/cs_comments_service/lib/tasks/kpis.rake:7: warning: previous definition of ROOT was here
/openedx/cs_comments_service/lib/tasks/deep_search.rake:7: warning: already initialized constant ROOT
/openedx/cs_comments_service/lib/tasks/flags.rake:6: warning: previous definition of ROOT was here
/openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:52: warning: constant ::Fixnum is deprecated
/openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:54: warning: constant ::Fixnum is deprecated
/openedx/cs_comments_service/models/constants.rb:2: warning: already initialized constant COURSE_ID
/openedx/cs_comments_service/lib/tasks/db.rake:28: warning: previous definition of COURSE_ID was here
W, [2020-04-07T08:11:30.526419 #39]  WARN -- : Overwriting existing field _id in class User.
W, [2020-04-07T08:11:32.064964 #39]  WARN -- : MONGODB | Unsupported client option 'max_retries'. It will be ignored.
W, [2020-04-07T08:11:32.065077 #39]  WARN -- : MONGODB | Unsupported client option 'retry_interval'. It will be ignored.
W, [2020-04-07T08:11:32.065397 #39]  WARN -- : MONGODB | Unsupported client option 'timeout'. It will be ignored.
I, [2020-04-07T08:11:35.937994 #39]  INFO -- : Skipping initialization. The 'content' alias already exists. If 'rake search:validate_index' indicates a problem with the mappings, you could either use 'rake search:rebuild_index' to reload from the db or 'rake search:initialize[true]' to force initialization with an empty index.
/openedx/cs_comments_service/lib/tasks/flags.rake:6: warning: already initialized constant ROOT
/openedx/cs_comments_service/lib/tasks/kpis.rake:7: warning: previous definition of ROOT was here
/openedx/cs_comments_service/lib/tasks/deep_search.rake:7: warning: already initialized constant ROOT
/openedx/cs_comments_service/lib/tasks/flags.rake:6: warning: previous definition of ROOT was here
/openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:52: warning: constant ::Fixnum is deprecated
/openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:54: warning: constant ::Fixnum is deprecated
/openedx/cs_comments_service/models/constants.rb:2: warning: already initialized constant COURSE_ID
/openedx/cs_comments_service/lib/tasks/db.rake:28: warning: previous definition of COURSE_ID was here
W, [2020-04-07T08:12:11.424694 #47]  WARN -- : Overwriting existing field _id in class User.
W, [2020-04-07T08:12:13.751119 #47]  WARN -- : MONGODB | Unsupported client option 'max_retries'. It will be ignored.
W, [2020-04-07T08:12:13.751223 #47]  WARN -- : MONGODB | Unsupported client option 'retry_interval'. It will be ignored.
W, [2020-04-07T08:12:13.751264 #47]  WARN -- : MONGODB | Unsupported client option 'timeout'. It will be ignored.
I, [2020-04-07T08:12:22.432889 #47]  INFO -- : Added mappings to index: content_20200407081218578.
I, [2020-04-07T08:12:22.432993 #47]  INFO -- : Created new index: content_20200407081218578.
I, [2020-04-07T08:12:23.276673 #47]  INFO -- : Catch up from 2020-04-07 08:07:18 UTC complete.
I, [2020-04-07T08:12:25.790239 #47]  INFO -- : Alias [content] now points to index [content_20200407081218578].
I, [2020-04-07T08:12:25.852602 #47]  INFO -- : Catch up from 2020-04-07 08:07:22 UTC complete.
I, [2020-04-07T08:12:25.852710 #47]  INFO -- : Rebuild index complete.
All services initialised.
The Open edX platform is now running in detached mode
Your Open edX platform is ready and can be accessed at the following urls:

    https://blend-ed.com
    https://studio.blend-ed.com
>

What is the output of tutor local logs --tail=200 lms ?

docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml --project-name tutor_local logs --tail 200 lms
Attaching to tutor_local_lms_1
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
lms_1             | 
lms_1             | WARNING:py.warnings:/openedx/edx-platform/lms/djangoapps/courseware/__init__.py:5: DeprecationWarning: Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported
lms_1             |   warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)

What about tutor local logs --tail=200 nginx ?