I've installed WebWorK 2.17 on RHEL 8, and I've found that WebWorK does not generate math images in the library browser. MathJax has been installed, $webwork_dir and $webwork2_files are correct, hardcopy prints correctly, as do the homework sets in the browser. When I unarchive a course from 2.16, math displays properly in all three situations.
Checking /opt/webwork/webwork2/tmp after resetting $WeBWorK::PG::ImageGenerator::PreserveTempFiles = 1; there are no files generated, though hardcopy does generate image files. Setting SELinux to permissive doesn't change the problem.
I assume MathJax is not being invoked?
Help would be appreciated! It is possible the permissions on htdocs and subdirectories are the problem, though the file permissions are set to "r" for "Other", which is what Apache would be in this case. I assume js files are read rather than executed.