Thanks again Arnie, in case anyone else is reading , still no luck. Has anyone setup the AWS image and had everything just work ? Since other than security settings for http/ssh I did nothing other than 'launch' the instance.
Not that it should matter, but can you confirm that you are on the "master" branch of webwork2 and pg, which is presently version 2.15?
Is it possible to give a link (even with IP address) to the instance? (Also not much hope that would help but maybe I/we see something there as a clue.)
"Not that it should matter, but can you confirm that you are on the "master" branch of webwork2 and pg, which is presently version 2.15?" - sorry not 100% sure what you mean ? or how to check
So, today I terminated the AWS image, deleted everything and started fresh, following https://webwork.maa.org/wiki/Installing_from_WW2.15_Ubuntu20.04_Server_Virtual_Machine_Image
Same issue persists, the server is, http://ec2-3-133-102-106.us-east-2.compute.amazonaws.com
I'm happy to give anyone ssh access, as it is just a test case with nothing sensitive, let me know, since I am well out of my dept in terms of server stuff. Given that I have followed the instructions and taken the official image I cannot see how I have done anything wrong. I am based in Ireland, so I had to change my AWS default from here to Ohio, if that makes any difference, my security settings are SSH and HTTP added, with 0.0.0.0/0 as the IP, I have tried this with 'anywhere' too and it makes no difference. As you can see the apache page works fine, but webwork nope, all the settings are default so I am happy to let anyone play and see if they can shed some light.
- The serving of the WeBWorK pages themselves is not the problem. If you fetch a page like http://ec2-3-133-102-106.us-east-2.compute.amazonaws.com/webwork2/myTestCourse/ using a tool such as wget or curl it is almost instant, so the problem isn't with WeBWorK processing pages.
- Looking at the Browser Console in Firefox (under "Web Developer"), it shows the following:
Loading failed for the <script> with source “http://aws.apizer.org:8080/webwork2_files/mathjax/MathJax.js?config=TeX-MML-AM_HTMLorMML-full”.
Most likely in your configuration you need to find the mention of aws.apizer.org, and change it to the name of your server. Since it is coded for port 8080 it is likely expecting lighttpd to be set up to serve static content, so if you set it to port 8080 then you will need to make sure that you have lighttpd running and configured properly.
And egg on my face! I read the instructions for installation and got to editing the config files, and it talks about emailing the admin etc none of which I wanted and on previous (iso) installs by the time I got this far all was done, of course as you pointed out replacing aws.aspizer.org is mentioned and the 'solution'
Total egg on my face sorry for wasting the communities time and thank you for everyone help!