Preview button makes internal server error

Solution
https://discuss.openedx.org/t/error-with-preview-and-notes/8283