vagrant@precise64:~$ sudo -u www-data /edx/bin/python.edxapp ./manage.py lms syncdb --migrate --settings aws
/edx/bin/python.edxapp: can't open file './manage.py': [Errno 2] No such file or directory
The login is OK, But while I login the user it shows as below:THERE HAS BEEN A 500 ERROR ON THE YOUR PLATFORM NAME HERE SERVERSPlease wait a few seconds and then reload the page. If the problem persists, please email us at tech...@example.com.The Studio servers encountered an errorAn error occurred in Studio and the page could not be loaded. Please try again in a few moments. We've logged the error and our staff is currently working to resolve this error as soon as possible. If the problem persists, please email us at tech...@example.com.Who can tell me what's wrong?
And while I run as below, It shows can't open file './manage.py': [Errno 2] No such file or directoryvagrant@precise64:~$ sudo -u www-data /edx/bin/python.edxapp ./manage.py lms syncdb --migrate --settings aws
/edx/bin/python.edxapp: can't open file './manage.py': [Errno 2] No such file or directory
vagrant@precise64:~$ cd /edx/app/edxapp/edx-platform
vagrant@precise64:/edx/app/edxapp/edx-platform$ sudo -u www-data /edx/bin/python.edxapp ./manage.py lms syncdb --migrate --settings aws
It works!
My first error is most likely because of a recently renamed pip requirement. As they said https://gist.github.com/hkim823/068bb651c143c853bf98 on steps to try to fix this error.
And after this I run
vagrant@precise64:~$ cd /edx/app/edxapp/edx-platform
vagrant@precise64:/edx/app/edxapp/edx-platform$ sudo -u www-data /edx/bin/python.edxapp ./manage.py lms syncdb --migrate --settings aws
Then LMS and CMS all OK!
Regards,
Douglas
--
You received this message because you are subscribed to a topic in the Google Groups "Open edX operations" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openedx-ops/u3Z7ybwDxaY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openedx-ops...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.