我从Studio页面收到错误,我想看看服务器端的错误是什么。
我也在这里看到https://github.com/edx/configuration/wiki/edX-Developer-Stack#signing-up-a-new-user-activation-message-problems提到有一个控制台。登录edX VM后,如何监控此控制台?
答案 0 :(得分:2)
我从Studio页面收到错误,我想看看服务器端的错误是什么
尝试查看/ edx / var / log
登录edX VM后,如何监控此控制台?
这些是devstack的说明,如果你使用devstack,你将在控制台中运行runserver,这就是那些消息会出现的地方。
答案 1 :(得分:2)
我从Studio页面收到错误,我想看看服务器端的错误是什么。
对于Studio错误,请查看虚拟机VM中的/edx/var/log/cms/edx.log。
登录edX VM后,如何监控此控制台?
要运行并监控控制台,请从主机上已安装的vagrant目录(带有Vagrantfile的目录)开始执行以下步骤:
首先,ssh进入VM:
class="active"
然后成为edxapp用户:
vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '14.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*******************************************************************
* ___ _ __ __ *
* / _ \ _ __ ___ _ _ ___ __| |\ \/ / *
* | |_| | '_ \ -_) ' \ / -_) _` | > < *
* \___/| .__/___|_|_| \___\__,_|/_/\_\ *
* |_| *
* *
* Instructions and troubleshooting: *
* https://github.com/edx/configuration/wiki/edX-Developer-Stack *
*******************************************************************
Last login: Tue May 12 22:21:14 2015 from 10.0.2.2
启动Studio应用程序( - fast是可选的):
vagrant@precise64:~$ sudo su edxapp -s /bin/bash
edxapp@precise64:~/edx-platform$ cd ~
edxapp@precise64:~$ source edxapp_env
在此示例中,控制台输出的第一行是:
edxapp@precise64:~$ cd edx-platform/
edxapp@precise64:~/edx-platform$ paver devstack --fast studio
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
Enter CTL-C to end
Validating models...
0 errors found
Django version 1.4.18, using settings 'cms.envs.devstack'
Development server is running at http://0.0.0.0:8001/
Quit the server with CONTROL-C.