Advertisement
taufanbudiman

error log

Dec 14th, 2021
1,115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 12.42 KB | None | 0 0
  1. ==============================================
  2. docker-compose -f /home/edxuser/.local/share/tutor/env/local/docker-compose.yml -f /home/edxuser/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local rm --stop --force
  3. Stopping tutor_local_nginx_1           ... done
  4. Stopping tutor_local_cms-worker_1      ... done
  5. Stopping tutor_local_cms_1             ... done
  6. Stopping tutor_local_lms-worker_1      ... done
  7. Stopping tutor_local_lms_1             ... done
  8. Stopping tutor_local_forum_1           ... done
  9. Stopping tutor_local_xqueue_consumer_1 ... done
  10. Stopping tutor_local_notes_1           ... done
  11. Stopping tutor_local_xqueue_1          ... done
  12. Stopping tutor_local_memcached_1       ... done
  13. Stopping tutor_local_rabbitmq_1        ... done
  14. Stopping tutor_local_mongodb_1         ... done
  15. Stopping tutor_local_mysql_1           ... done
  16. Stopping tutor_local_elasticsearch_1   ... done
  17. Stopping tutor_local_smtp_1            ... done
  18. Going to remove tutor_local_nginx_1, tutor_local_cms-worker_1, tutor_local_cms_1, tutor_local_lms-worker_1, tutor_local_lms_1, tutor_local_forum_1, tutor_local_xqueue_consumer_1, tutor_local_notes_1, tutor_local_xqueue_1, tutor_local_memcached_1, tutor_local_rabbitmq_1, tutor_local_mongodb_1, tutor_local_openedx-assets_1, tutor_local_mysql_1, tutor_local_elasticsearch_1, tutor_local_smtp_1
  19. Removing tutor_local_nginx_1           ... done
  20. Removing tutor_local_cms-worker_1      ... done
  21. Removing tutor_local_cms_1             ... done
  22. Removing tutor_local_lms-worker_1      ... done
  23. Removing tutor_local_lms_1             ... done
  24. Removing tutor_local_forum_1           ... done
  25. Removing tutor_local_xqueue_consumer_1 ... done
  26. Removing tutor_local_notes_1           ... done
  27. Removing tutor_local_xqueue_1          ... done
  28. Removing tutor_local_memcached_1       ... done
  29. Removing tutor_local_rabbitmq_1        ... done
  30. Removing tutor_local_mongodb_1         ... done
  31. Removing tutor_local_openedx-assets_1  ... done
  32. Removing tutor_local_mysql_1           ... done
  33. Removing tutor_local_elasticsearch_1   ... done
  34. Removing tutor_local_smtp_1            ... done
  35. =============================================
  36.         HTTPS certificates generation
  37. =============================================
  38. HTTPS is not activated: certificate generation skipped
  39. ======================================================
  40.         Starting the platform in detached mode
  41. ======================================================
  42. docker-compose -f /home/edxuser/.local/share/tutor/env/local/docker-compose.yml -f /home/edxuser/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local up --remove-orphans -d
  43. Creating tutor_local_mysql_1          ... done
  44. Creating tutor_local_memcached_1       ... done
  45. Creating tutor_local_openedx-assets_1 ... done
  46. Creating tutor_local_smtp_1           ... done
  47. Creating tutor_local_mongodb_1         ... done
  48. Creating tutor_local_elasticsearch_1   ... done
  49. Creating tutor_local_rabbitmq_1        ... done
  50. Creating tutor_local_notes_1           ... done
  51. Creating tutor_local_xqueue_consumer_1 ... done
  52. Creating tutor_local_xqueue_1          ... done
  53. Creating tutor_local_forum_1           ... done
  54. Creating tutor_local_lms_1             ... done
  55. Creating tutor_local_lms-worker_1      ... done
  56. Creating tutor_local_cms_1             ... done
  57. Creating tutor_local_cms-worker_1      ... done
  58. Creating tutor_local_nginx_1           ... done
  59. ================================================
  60.         Database creation and migrations
  61. ================================================
  62. Initialising all services...
  63. docker-compose -f /home/edxuser/.local/share/tutor/env/local/docker-compose.yml -f /home/edxuser/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /home/edxuser/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm mysql-job sh -e -c echo "Initialising MySQL..."
  64. mysql_connection_max_attempts=10
  65. mysql_connection_attempt=0
  66. until mysql -u root --password="bOfSrbvM" --host "mysql" --port 3306 -e 'exit'
  67. do
  68.     mysql_connection_attempt=$(expr $mysql_connection_attempt + 1)
  69.     echo "    [$mysql_connection_attempt/$mysql_connection_max_attempts] Waiting for MySQL service (this may take a while)..."
  70.     if [ $mysql_connection_attempt -eq $mysql_connection_max_attempts ]
  71.     then
  72.       echo "MySQL initialisation error" 1>&2
  73.       exit 1
  74.     fi
  75.     sleep 10
  76. done
  77. echo "MySQL is up and running"
  78.  
  79. # edx-platform database
  80. mysql -u root --password="bOfSrbvM" --host "mysql" --port 3306 -e 'CREATE DATABASE IF NOT EXISTS openedx;'
  81. mysql -u root --password="bOfSrbvM" --host "mysql" --port 3306 -e 'GRANT ALL ON openedx.* TO "openedx"@"%" IDENTIFIED BY "7hBFSECH";'
  82. Creating tutor_local_mysql-job_run ... done
  83. Initialising MySQL...
  84. Warning: Using a password on the command line interface can be insecure.
  85. MySQL is up and running
  86. Warning: Using a password on the command line interface can be insecure.
  87. Warning: Using a password on the command line interface can be insecure.
  88. Initialising lms...
  89. docker-compose -f /home/edxuser/.local/share/tutor/env/local/docker-compose.yml -f /home/edxuser/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /home/edxuser/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm lms-job sh -e -c dockerize -wait tcp://mysql:3306 -timeout 20s
  90.  
  91. export DJANGO_SETTINGS_MODULE=$SERVICE_VARIANT.envs.$SETTINGS
  92. echo "Loading settings $DJANGO_SETTINGS_MODULE"
  93.  
  94. ./manage.py lms migrate
  95.  
  96. # Create oauth credentials for Android application
  97. ./manage.py lms create_dot_application \
  98.     --client-id android \
  99.     --client-secret sOckQlfON7eVRAdUYY6FNbIg \
  100.     --grant-type password \
  101.     android \
  102.     login_service_user
  103.  
  104. # Fix incorrect uploaded file path
  105. if [ -d /openedx/data/uploads/ ]; then
  106.   if [ -n "$(ls -A /openedx/data/uploads/)" ]; then
  107.     echo "Migrating LMS uploaded files to shared directory"
  108.     mv /openedx/data/uploads/* /openedx/media/
  109.     rm -rf /openedx/data/uploads/
  110.   fi
  111. fi
  112. Creating tutor_local_lms-job_run ... done
  113. 2021/12/14 11:09:20 Waiting for: tcp://mysql:3306
  114. 2021/12/14 11:09:20 Connected to tcp://mysql:3306
  115. Loading settings lms.envs.tutor.production
  116. Operations to perform:
  117.   Apply all migrations: admin, announcements, api_admin, assessment, auth, badges, block_structure, bookmarks, branding, bulk_email, bulk_grades, calendar_sync, catalog, celery_utils, certificates, commerce, completion, consent, content_libraries, content_type_gating, contentserver, contenttypes, cornerstone, cors_csrf, course_action_state, course_date_signals, course_duration_limits, course_goals, course_groups, course_modes, course_overviews, courseware, coursewarehistoryextended, crawlers, credentials, credit, dark_lang, database_fixups, degreed, discounts, django_comment_common, django_notify, djcelery, edx_proctoring, edx_when, edxval, email_marketing, embargo, enterprise, entitlements, experiments, external_user_ids, grades, instructor_task, integrated_channel, lms_xblock, milestones, mobile_api, oauth2_provider, oauth_dispatch, organizations, program_enrollments, programs, redirects, rss_proxy, sap_success_factors, schedules, self_paced, sessions, shoppingcart, site_configuration, sites, social_django, splash, static_replace, status, student, submissions, super_csv, survey, system_wide_roles, teams, theming, third_party_auth, thumbnail, track, user_api, user_authn, util, verified_track_content, verify_student, video_config, video_pipeline, waffle, waffle_utils, wiki, workflow, xapi, xblock_django
  118. Running migrations:
  119.   No migrations to apply.
  120. 2021-12-14 11:09:52,150 INFO 25 [openedx.core.djangoapps.oauth_dispatch.management.commands.create_dot_application] [user None] create_dot_application.py:165 - Application with name android and user login_service_user already exists.
  121. Initialising cms...
  122. docker-compose -f /home/edxuser/.local/share/tutor/env/local/docker-compose.yml -f /home/edxuser/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /home/edxuser/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm cms-job sh -e -c dockerize -wait tcp://mysql:3306 -timeout 20s
  123.  
  124. export DJANGO_SETTINGS_MODULE=$SERVICE_VARIANT.envs.$SETTINGS
  125. echo "Loading settings $DJANGO_SETTINGS_MODULE"
  126.  
  127. ./manage.py cms migrate
  128.  
  129. # Fix incorrect uploaded file path
  130. if [ -d /openedx/data/uploads/ ]; then
  131.   if [ -n "$(ls -A /openedx/data/uploads/)" ]; then
  132.     echo "Migrating CMS uploaded files to shared directory"
  133.     mv /openedx/data/uploads/* /openedx/media/
  134.     rm -rf /openedx/data/uploads/
  135.   fi
  136. fi
  137. Creating tutor_local_cms-job_run ... done
  138. 2021/12/14 11:09:55 Waiting for: tcp://mysql:3306
  139. 2021/12/14 11:09:55 Connected to tcp://mysql:3306
  140. Loading settings cms.envs.tutor.production
  141. 2021-12-14 11:10:02,202 WARNING 15 [py.warnings] [user None] s3boto.py:48 - /openedx/venv/lib/python3.5/site-packages/storages/backends/s3boto.py:48: DeprecationWarning: The S3BotoStorage backend is deprecated in favor of the S3Boto3Storage backend and will be removed in django-storages 1.8. This backend is mostly in bugfix only mode and has been for quite a while (in much the same way as its underlying library 'boto'). For performance, security and new feature reasons it is _strongly_ recommended that you update to the S3Boto3Storage backend. Please see the migration docs https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#migrating-boto-to-boto3.
  142.   DeprecationWarning
  143.  
  144. Operations to perform:
  145.   Apply all migrations: admin, announcements, api_admin, assessment, auth, block_structure, bookmarks, catalog, celery_utils, completion, consent, content_libraries, content_type_gating, contentserver, contentstore, contenttypes, cornerstone, course_action_state, course_creators, course_date_signals, course_duration_limits, course_groups, course_modes, course_overviews, courseware, coursewarehistoryextended, crawlers, credit, dark_lang, database_fixups, degreed, discounts, django_comment_common, django_notify, djcelery, edx_proctoring, edx_when, edxval, embargo, enterprise, entitlements, experiments, external_user_ids, integrated_channel, milestones, oauth2_provider, oauth_dispatch, organizations, redirects, sap_success_factors, schedules, self_paced, sessions, site_configuration, sites, static_replace, student, submissions, survey, system_wide_roles, 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
  146. Running migrations:
  147.   No migrations to apply.
  148. Initialising forum...
  149. docker-compose -f /home/edxuser/.local/share/tutor/env/local/docker-compose.yml -f /home/edxuser/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /home/edxuser/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm forum-job sh -e -c export MONGOHQ_URL="mongodb://$MONGODB_AUTH$MONGODB_HOST:$MONGODB_PORT/cs_comments_service"
  150.  
  151. bundle exec rake search:initialize
  152. bundle exec rake search:rebuild_index
  153. Creating tutor_local_forum-job_run ... done
  154. Waiting for mongodb/elasticsearch...
  155. 2021/12/14 11:10:12 Waiting for: tcp://mongodb:27017
  156. 2021/12/14 11:10:12 Waiting for: http://elasticsearch:9200
  157. 2021/12/14 11:10:12 Received 200 from http://elasticsearch:9200
  158. 2021/12/14 11:10:12 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
  159. 2021/12/14 11:10:17 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
  160. 2021/12/14 11:10:22 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
  161. 2021/12/14 11:10:27 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
  162. 2021/12/14 11:10:32 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
  163. 2021/12/14 11:10:37 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
  164. ^CERROR: 130
  165. Error: Command failed with status 130: docker-compose -f /home/edxuser/.local/share/tutor/env/local/docker-compose.yml -f /home/edxuser/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /home/edxuser/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm forum-job sh -e -c export MONGOHQ_URL="mongodb://$MONGODB_AUTH$MONGODB_HOST:$MONGODB_PORT/cs_comments_service"
  166.  
  167. bundle exec rake search:initialize
  168. bundle exec rake search:rebuild_index
  169. edxuser@localhost:/usr/local/bin$ ./tutor --version
  170. tutor, version 10.0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement