Fullstack error after running sudo /edx/bin/update edx-platform master

1,602 views
Skip to first unread message

Douglas Tang

unread,
Sep 1, 2014, 11:45:04 PM9/1/14
to opene...@googlegroups.com
Hi, all

Hi, Han Su Kim

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 SERVERS

Please 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 error
An 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 directory

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



Regards,

Omar Al-Ithawi

unread,
Sep 2, 2014, 4:13:13 AM9/2/14
to opene...@googlegroups.com
On Tue, Sep 2, 2014 at 6:45 AM, Douglas Tang <tangx...@gmail.com> wrote:
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 SERVERS

Please 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 error
An 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?
Looks like you're installing the fullstack, you might want to start with the devstack for your convenient and more verbose error reports. Either way you can see the logs to know more about the issue. 
 
And while I run as below, It shows can't open file './manage.py': [Errno 2] No such file or directory

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

Before running the command above, always go to `$ cd /edx/app/edxapp/edx-platform`. It should work fine.


Thanks,
--
Omar Al-Ithawi
Senior Engineer, Edraak.org
Queen Rania Foundation
for Education & Development
t.   +962 6 4016464 ext. 700
m. +962 7 90754407 

Douglas Tang

unread,
Sep 4, 2014, 3:36:40 AM9/4/14
to opene...@googlegroups.com
Hi, Omar Al-Ithawi

Thank you for your reply, 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

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.



--
I shall return!

Omar Al-Ithawi

unread,
Sep 4, 2014, 7:20:17 AM9/4/14
to opene...@googlegroups.com
:)


--
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.

For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages