WeBWorK Main Forum

Version 12 failing to render mathematical expressions

Version 12 failing to render mathematical expressions

by tim Payer -
Number of replies: 3
Greetings,

It seems that with the update to version 12 all mathematical expressions are failing to render in all homework assignments.

Rather than seeing an expression the user sees only this:   [math]

Does this mean there is something wrong with the loading of Mathjax?

Is there something I can do on my end to help with a fix?

Thanks, Tim
In reply to tim Payer

Re: Version 12 failing to render mathematical expressions

by Alex Jordan -
How old was your previous version? The 2.8 release notes may be relevant:
http://webwork.maa.org/wiki/Release_notes_for_WeBWorK_2.8#.V6UVYUb0c_U

See the first box under Cautions.
In reply to tim Payer

Re: Version 12 failing to render mathematical expressions

by Arnold Pizer -
Hi Tim,

Not sure what went wrong.  When we finished upgrading the servers, MathJax was working.  Weird.   As a temporary fix I set the default display mode to images on ftcourses and courses1.

Arnie
In reply to tim Payer

Re: Version 12 failing to render mathematical expressions

by Arnold Pizer -
Hi,

TO BE EXPLICIT THIS WAS A PROBLEM WITH THE MAA SERVERS, NOT WITH VERSION 12.

OK, MathJax is working again and I reset the default image mode to MathJax on MAA servers.

The problem was that we were running MathJax under lighttpd rather than under Apache which is more resource efficient.  However, one of the last things we did was to switch Apache to run under ssl but we did not switch  lighttpd to run under ssl (and after the switch we certainly did not test things sufficiently).  At this point we are back to running MathJax under Apache.  There are instructions for running lighttpd under ssl ( http://webwork.maa.org/wiki/Installation_Manual_for_2.12_on_Ubuntu_16.04#Configure_lighttpd_to_use_SSL ).  However with official certificates a few more steps may be required and we have not implemented them yet.

Also there is a problem with email on the upgraded servers.  We are aware of the problem and are working on it.

Arnie