Hai,
Thanks for posting that qt.
Indeed, the migration command mentioned in old docu (see below) may have
been depreciated since DJango 1.7.
https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/60227913/Managing+OpenEdX+Tips+and+Tricks?focusedCommentId=64913431

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>



On Wed, Sep 12, 2018 at 1:20 PM, Eduardo Guglielmotti <[email protected]>
wrote:

> 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
>
> --
> 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
> <https://groups.google.com/d/msgid/edx-code/8b43411e-985b-41dd-a908-05d5c19bc87c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CA%2BaB0d-%3D2H-5TEorVSGFjA6Q6rFLg1UvZJdVH1Zj9ciga2r%2Bqg%40mail.gmail.com.

Reply via email to