Issues with the current ironwood.master - fresh install with default settings

435 views
Skip to first unread message

ODS_steel

unread,
Aug 30, 2019, 1:45:12 AM8/30/19
to General Open edX discussion

There are some errors in the latest version of ironwood.master(yesterday).


I can't seem to view the demonstration course:


After clicking on learn more 1


The following error occurs https://ibb.co/2hYN4dy


No customised theme has been installed - this is the default theme and all other settings are the default attributes


The LMS log files show this:

 ubuntu@ip-172-31-16-69:/edx/app/edxapp/edx-platform/themes/edx.custom-theme/themes/custom-theme/lms/templates/static_templates$ sudo tail -f /edx/var/log/lms/edx.log
Aug 30 04:45:02 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69  27238] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
Aug 30 04:50:03 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69  26865] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
Aug 30 04:55:03 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69  26972] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
Aug 30 05:00:04 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69  26924] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
Aug 30 05:05:04 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69  26972] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
Aug 30 05:10:00 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69  26846] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
Aug 30 05:15:00 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69  27130] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
Aug 30 05:20:01 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69  26891] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
Aug 30 05:22:01 ip-172-31-16-69 [service_variant=lms][openedx.core.djangoapps.catalog.utils][env:sandbox] WARNING [ip-172-31-16-69  26924] [utils.py:103] - Failed to get program UUIDs from the cache for site example.com.
Aug 30 05:23:20 ip-172-31-16-69 [service_variant=lms][openedx.core.djangoapps.catalog.utils][env:sandbox] WARNING [ip-172-31-16-69  27028] [utils.py:103] - Failed to get program UUIDs from the cache for site example.com.
Aug 30 05:24:26 ip-172-31-16-69 [service_variant=lms][py.warnings][env:sandbox] WARNING [ip-172-31-16-69  27238] [__init__.py:1564] - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py:1145: DeprecationWarning: Use of .. or absolute path in a resource path is not allowed and will raise exceptions in a future release.

self, resource_name
Aug 30 05:25:01 ip-172-31-16-69 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-172-31-16-69 26982] [log_utils.py:36] - ApiKeyHeaderPermission used: ip=“127.0.0.1”, path="/notifier_api/v1/users/"

The CMS log files show this:

ubuntu@ip-172-31-16-69:/edx/app/edxapp/edx-platform/themes/edx.custom-theme/themes/custom-theme/lms/templates/static_templates$ sudo tail -f /edx/var/log/cms/edx.log
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26580] [utils.py:50] - Could not import Registry from third_party_auth.provider
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26580] [utils.py:51] - cannot import name EnterpriseCustomerUser
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26588] [utils.py:50] - Could not import Registry from third_party_auth.provider
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26588] [utils.py:51] - cannot import name EnterpriseCustomerUser
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26549] [utils.py:50] - Could not import Registry from third_party_auth.provider
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26549] [utils.py:51] - cannot import name EnterpriseCustomerUser
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26552] [utils.py:50] - Could not import Registry from third_party_auth.provider
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26552] [utils.py:51] - cannot import name EnterpriseCustomerUser
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sandbox] WARNING [ip-172-31-16-69  26578] [utils.py:50] - Could not import Registry from third_party_auth.provider
Aug 29 19:23:33 ip-172-31-16-69 [service_variant=cms][enterprise.utils][env:sand

Guruprasad Lakshmi Narayanan

unread,
Sep 9, 2019, 1:53:42 AM9/9/19
to General Open edX discussion
Hi,


On Friday, August 30, 2019 at 11:15:12 AM UTC+5:30, ODS_steel wrote:

There are some errors in the latest version of ironwood.master(yesterday).


Can you provide more details on how you installed the Open edX instance and if there were any warnings/errors during the installation process?
 


I can't seem to view the demonstration course:


After clicking on learn more 1


The following error occurs https://ibb.co/2hYN4dy


No customised theme has been installed - this is the default theme and all other settings are the default attributes


The LMS log files show this:


As far as I can see, there are no error messages in the log output you have shared. Can you check the logs and share any relevant error/warning messages?

Cheers,
Guruprasad
 

ODS_steel

unread,
Sep 10, 2019, 5:50:26 AM9/10/19
to General Open edX discussion
Hi, 

The installation steps are as follows:

1) I launch the following EC2 instance: 
ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20190212 - ami-0f49c6ee8f381746f
Canonical, Ubuntu, 16.04 LTS, amd64 xenial image build on 2019-02-12

The storage is set to 100gb


2) SSH into the instance and then enter the following commands

sudo apt-get update -y
sudo apt-get upgrade -y
sudo reboot

2) SSH back into the instance and then type in following command:
 sudo su -

2) I enter export OPENEDX_RELEASE=open-release/ironwood.master 

3) Enter
 sudo nano config.yaml 

4) Enter 
EDXAPP_LMS_BASE: "IPv4 Public IP address goes here"
EDXAPP_CMS_BASE: "IPv4 Public IP address goes here"

** Close file**

5) Then enter:

  1. wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/ansible-bootstrap.sh -- | sudo bash
  2. wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/generate-passwords.sh -- | bash
  1. wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/native.sh -- | bash

After this I navigate to the Root url (IPv4 Public IP) and click on the demo course and the page displays page not found. The same thing occurs for course that I have made myself
Message has been deleted

Guruprasad Lakshmi Narayanan

unread,
Sep 16, 2019, 8:05:55 AM9/16/19
to General Open edX discussion
Hi,

It looks like you have used the native installation method to install your instance. Since I am not familiar with this method, I will have to check it out to see what it does.

Did you see any warnings or errors when running these installation steps - particularly when running the ansible playbooks?

--
Guruprasad

On Tuesday, September 10, 2019 at 3:20:26 PM UTC+5:30, ODS_steel wrote:
Hi, 

The installation steps are as follows:

ODS_steel

unread,
Sep 16, 2019, 12:18:07 PM9/16/19
to General Open edX discussion
I don't see any issues when I run the ansible playbook.

You say that you do not use the native installation method - how do you install edx?

Thanks
Reply all
Reply to author
Forward
0 new messages