Open sivashankerN opened 6 years ago
** Celery errors after moving AWS ami server on a new machine (Studio Error)
Error occurs while creating a new course in a vm launched from an ami. Log file: =/edx/var/log/lms/edx.log=. This [[https://groups.google.com/forum/#!topic/openedx-ops/1SsdJ39IQRc/Execute][error]] is discussed in [[https://groups.google.com/forum/#!topic/openedx-ops/1SsdJ39IQRc/Execute][forum]]
sudo rabbitmqctl list_users
sudo rabbitmqctl list_permissions -p /celery
Execute following in lms machine to resolve this issue:
sudo rabbitmqctl add_user celery celery
sudo rabbitmqctl set_permissions celery "." "." ".*"
sudo service rabbitmq-server restart
Update Virtualhost entry in Reverse proxy server or in systems-model/playbooks
`<VirtualHost *:80> ServerAdmin engg@vlabs.ac.in
ServerName virtual-labs.ac.in ServerAlias vlabs.ac.in ErrorLog logs/virtual-labs.ac.in-error_log CustomLog logs/virtual-labs.ac.in-access_log combined Redirect / https://vlabs.ac.in/
<VirtualHost *:443> ServerAdmin engg@vlabs.ac.in
ServerName virtual-labs.ac.in ServerAlias vlabs.ac.in ErrorLog logs/virtual-labs.ac.in-error_log CustomLog logs/virtual-labs.ac.in-access_log combined
ProxyPass http://virtual-labs.ac.in/ ProxyPassReverse http://virtual-labs.ac.in/ `
Reference for redirecting site from http to https https://wiki.apache.org/httpd/RedirectSSL
Need to Update following variable in lms.env.json and cms.env.json in edx platform
SITE_NAME
Configure OpenedX platform