OpenEdx Enable LTI Provider Functionality

76 views
Skip to first unread message

Eduardo Guglielmotti

unread,
Sep 12, 2018, 9:59:45 AM9/12/18
to General Open edX discussion
Hi, I'm installing open edx on ubuntu 16.04 and I want to enable it to be an LTI provider.

I modified the lms.env.json as indicated by https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/lti/enable_lti.html but then it indicates Run database migrations and I do not know what form to make this migration.

I have been searching for days without result. Has anyone been able to solve it?

I hope yourhelp

regards

Lupus Furyo

unread,
Sep 12, 2018, 11:17:22 AM9/12/18
to edx-...@googlegroups.com
Hai,
Thanks for posting that qt.
Indeed, the migration command mentioned in old docu (see below) may have been depreciated since DJango 1.7.

Instead you should use:

# 1. Run migrations after you restart your platform
sudo su edxapp -s /bin/bash
cd ~
source edxapp_env
python /edx/app/edxapp/edx-platform/manage.py lms migrate --settings=aws

# 2. Then do check the mentioned tables exit in the db:

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| analytics-api      |
| dashboard          |
| discovery          |
| ecommerce          |
| edx_hive_metastore |
| edxapp             |
| edxapp_csmh        |
| mysql              |
| notes              |
| performance_schema |
| reports            |
| xqueue             |
+--------------------+
13 rows in set (0.00 sec)


mysql> USE edxapp;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+------------------------------------------------------------------+
| Tables_in_edxapp                                                 |
+------------------------------------------------------------------+
| api_admin_apiaccessconfig                                        |
....................
| lms_xblock_xblockasidesconfig                                    |
| lti_provider_gradedassignment                                    |
| lti_provider_lticonsumer                                         |
| lti_provider_ltiuser                                             |
| lti_provider_outcomeservice                                      |
| microsite_configuration_microsite                                |
| microsite_configuration_micrositehistory                         |
..................
| xblock_django_xblockstudioconfigurationflag                      |
+------------------------------------------------------------------+

365 rows in set (0.00 sec)

mysql>



--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/8b43411e-985b-41dd-a908-05d5c19bc87c%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages