Build Android App command - Error

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 ?

Attaching to tutor_local_nginx_1
nginx_1           | 80.67.176.14 - - [07/Apr/2020:08:33:35 +0000] https://blend-ed.com "GET / HTTP/1.1" 499 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" "-"
nginx_1           | 2020/04/07 08:34:42 [error] 6#6: *3 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 80.67.176.14, server: localhost, request: "GET / HTTP/1.1", upstream: "http://172.18.0.12:8000/", host: "blend-ed.com"
nginx_1           | 80.67.176.14 - - [07/Apr/2020:08:34:42 +0000] https://blend-ed.com "GET / HTTP/1.1" 504 176 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" "-"
nginx_1           | 80.67.176.14 - - [07/Apr/2020:08:34:43 +0000] https://blend-ed.com "GET /favicon.ico HTTP/1.1" 404 162 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" "-"
nginx_1           | 2020/04/07 08:35:14 [error] 6#6: *5 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 80.67.176.14, server: studio.localhost, request: "GET / HTTP/1.1", upstream: "http://172.18.0.9:8000/", host: "studio.blend-ed.com"
nginx_1           | 80.67.176.14 - - [07/Apr/2020:08:35:14 +0000] https://studio.blend-ed.com "GET / HTTP/1.1" 504 176 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" "-"
nginx_1           | 80.67.176.14 - - [07/Apr/2020:08:35:15 +0000] https://studio.blend-ed.com "GET /favicon.ico HTTP/1.1" 404 162 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" "-"
nginx_1           | 221.229.218.152 - - [07/Apr/2020:08:42:33 +0000] "HEAD / HTTP/1.1" 301 0 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML" "-"
nginx_1           | 221.229.218.152 - - [07/Apr/2020:08:42:33 +0000] "GET / HTTP/1.1" 301 186 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML" "-"
nginx_1           | 221.229.218.152 - - [07/Apr/2020:08:42:59 +0000] https://studio.blend-ed.com "HEAD / HTTP/1.1" 499 0 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML" "-"
nginx_1           | 61.219.11.153 - - [07/Apr/2020:08:49:27 +0000] "\x01\x02\x03\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" 400 174 "-" "-" "-"
nginx_1           | 2020/04/07 08:56:19 [error] 6#6: *11 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 137.97.130.137, server: localhost, request: "GET / HTTP/1.1", upstream: "http://172.18.0.12:8000/", host: "blend-ed.com"
nginx_1           | 137.97.130.137 - - [07/Apr/2020:08:56:19 +0000] https://blend-ed.com "GET / HTTP/1.1" 504 578 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/71.0.3578.98 Chrome/71.0.3578.98 Safari/537.36" "-"
nginx_1           | 2020/04/07 08:56:22 [error] 6#6: *14 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 137.97.130.137, server: studio.localhost, request: "GET / HTTP/1.1", upstream: "http://172.18.0.9:8000/", host: "studio.blend-ed.com"
nginx_1           | 137.97.130.137 - - [07/Apr/2020:08:56:22 +0000] https://studio.blend-ed.com "GET / HTTP/1.1" 504 578 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/71.0.3578.98 Chrome/71.0.3578.98 Safari/537.36" "-"

What kind of server are you running? t3a.medium/t3a.large? If possible, you should upgrade to t3a.large. This is relatively easy to do in AWS, just hit “resize” on your EC2 instance.

1 Like

t3a.medium

I changed it to t3a.large

After upgrading the instance my ip got changed. I configured the new ip, but now even blend-ed.com:3737 is not loading

:hot_face:

That’s good. The extra CPU will be necessary to run the additional ecommerce/discovery services.

This is normal: DNS propagation is slow. You can access your server at youripaddress:3737.

1 Like

Okay. Got it.

So will I be able to load the LMS and studio after some time ?
or should I do something ?

It’s already working from my side:

You should clear your DNS cache to access the LMS and the CMS. This is usually done with ctrl+shift+r.

1 Like

Great !
It worked now.

Thank you so much!

Now I’ll try to build the app.

android build failed at 38%

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.7
Unable to find image 'overhangio/openedx-android:3.11.7' locally
3.11.7: Pulling from overhangio/openedx-android
5b7339215d1d: Already exists 
14ca88e9f672: Already exists 
a31c3b1caad4: Already exists 
b054a26005b7: Already exists 
7797ed515873: Already exists 
b6e6102be8d1: Already exists 
715f0a1a179c: Already exists 
3943d626315a: Already exists 
7a9b52ad91bf: Already exists 
f36a4c649002: Pull complete 
91d95aa95c2e: Pull complete 
e2fc4684ea11: Pull complete 
580a6a1c5590: Pull complete 
6b9027b570c1: Pull complete 
ed454fd3d6aa: Pull complete 
Digest: sha256:6f2d2dec287a0e645282128049a3a7acd0ed3412b1a35e2c88741146aef6ebde
Status: Downloaded newer image for overhangio/openedx-android:3.11.7
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

> Configure project :OpenEdXMobile
Kotlin plugin should be enabled before 'kotlin-android-extensions'
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.

> Task :OpenEdXMobile:processProdDebuggableResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':OpenEdXMobile:processProdDebuggableResources'.
> Android resource linking failed
  /openedx/edx-app-android/OpenEdXMobile/build/intermediates/merged_manifests/prodDebuggable/AndroidManifest.xml:2: AAPT: error: attribute 'package' in <manifest> tag is not a valid Android package name: 'com.blend-ed'.
      

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 42s
38 actionable tasks: 38 executed
>

Here is the relevant error:

  /openedx/edx-app-android/OpenEdXMobile/build/intermediates/merged_manifests/prodDebuggable/AndroidManifest.xml:2: AAPT: error: attribute 'package' in <manifest> tag is not a valid Android package name: 'com.blend-ed'.

This error is new to me. It appears to be caused by the dash (“-”) in your domain name “blend-ed.com”.

Indeed: Configure the app module  |  Android Studio  |  Android Developers

And although the application ID looks like a traditional Java package name, the naming rules for the application ID are a bit more restrictive:

  • It must have at least two segments (one or more dots).
  • Each segment must start with a letter.
  • All characters must be alphanumeric or an underscore [a-zA-Z0-9_].

This bug will require that I make a new Tutor release and that you upgrade your locally-installed Tutor version. Shall we do that?

1 Like

You can now upgrade to 3.11.9, as before:

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

You may have to rebuild your images: tutor images build openedx

And then you can run quickstart again.

Thanks for your patience, I think we are getting close to resolution.

1 Like

It worked !
Thank you so much for finding time to help me !

the bad news is that the app crashes while taking courses / clicking register.