Hi
A possible new lead in this case has surfaced.
On the AT serve, when the folder with the tenant id inside the “course”-folder (/root/adapt_authoring/temp/5655a38a86279c5b04a454d5/adapt_framework/courses/5655a38a86279c5b04a454d5) is empty, we are NOT able to export source code. It throws this error:
“Internal Server Error:
Command failed: grunt server-build:prod --outputdir=courses/5655a38a86279c5b04a454d5/59ba69edb27b798504c3d189/build --theme=58ddecc6b27b798504c3b40d --menu=adapt-tdc-videoMenu”
But, if we generate a preview first, so that the “tenant id”-folder is no longer empty, then we are able to export source code.
If we then choose a new theme, through the theme-picker, we are no longer able to generate a preview. Even if we choose the same theme as is already on the course. It throws this error:
“Error generating preview, please contact an administrator.”
And the export source code fails again as well, and throws the same error as before.
This is very strange behaviour and any guidance will be very well received!