Skip to content

Instantly share code, notes, and snippets.

@dehamzah
Last active May 3, 2017 10:24
Show Gist options
  • Save dehamzah/08b8d257eb7f02d3075ebf5935eeb7bb to your computer and use it in GitHub Desktop.
Save dehamzah/08b8d257eb7f02d3075ebf5935eeb7bb to your computer and use it in GitHub Desktop.
Fix Celery Error
#!/bin/bash
# check the celery status
sudo tail -f /edx/var/log/{lms,cms,nginx}/*log | grep celery
# create the same celery account that used in lms.auth.json & cms.auth.json
sudo rabbitmqctl add_user celery celery
sudo rabbitmqctl set_permissions celery ".*" ".*" ".*"
# restart the service
sudo service rabbitmq-server restart
# reboot system
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment