After changing the theme of the Juniper installation, a few pages are broken. Some of the issues are as follows.
-
The clickable stuff(for example: Expand all, Course content items etc.) are not responding to
click.
-
The course-content are not loading.
-
There are a lot of JS errors in the console.
This is happening with red-theme and dark-theme as well as my custom-theme. It looks like some of the javascript files are not loading but I am not sure why.
These are the steps I followed:
First, I edited following values in the /edx/etc/lms.yml and /edx/etc/studio.yml.
“COMPREHENSIVE_THEME_DIRS”: [
“/edx/app/edxapp/edx-platform/themes”
],
“DEFAULT_SITE_THEME”: “red-theme”,“ENABLE_COMPREHENSIVE_THEMING”: true,
Then I ran the following commands:
sudo -H -u edxapp bash
source /edx/app/edxapp/edxapp_env
cd /edx/app/edxapp/edx-platform
paver update_assets lms --settings=production
paver update_assets cms --settings=production
exit
sudo /edx/bin/supervisorctl restart lms
sudo /edx/bin/supervisorctl restart cms
sudo /edx/bin/supervisorctl restart edxapp_worker:
I think there is some issue with the commands I am using to update the assets but don’t exactly know what is the issue. Could someone please help with this? Thank you.