WeBWorK Main Forum

Upgrade from 2.17 to 2.18: Unknown server communication error.

Re: Upgrade from 2.17 to 2.18: Unknown server communication error.

by Wai Yan Pong -
Number of replies: 3
Glenn, thanks for letting me know. I will simply delete them then.
In reply to Wai Yan Pong

Re: Upgrade from 2.17 to 2.18: Unknown server communication error.

by Wai Yan Pong -
Hi I'm having the this trouble again :(
I have just upgraded from Ubuntu 22.04 to 24.04 but that WebWork is still 2.18 but get this

/webwork2/instructor_rpc
Unknown server communication error.

But this time for sure is not the problem of math4-overrides.css

As you know Ubuntu 24.04 is running php 8.3, I wonder whether mpm_prefork would have anything to do with it.
In reply to Wai Yan Pong

Re: Upgrade from 2.17 to 2.18: Unknown server communication error.

by Glenn Rice -

You should not be using mpm_prefork with webwork 2.18 or newer.  See https://webwork.maa.org/wiki/Installation_Manual_for_2.19_on_Ubuntu#Option_2:_Serving_via_Proxy_by_Apache2 for instructions on setting up mpm_event instead.

Do you have php 8.3 enabled on your server?  You don't need that for webwork2.  If you aren't using it for something else, then disable it.  If you are, then switch to using `php8.3-fpm`.  That is better and works with mpm_event.  I forget the name of the old cgi module for php8.3, but make sure to disable that.

In reply to Glenn Rice

Re: Upgrade from 2.17 to 2.18: Unknown server communication error.

by Wai Yan Pong -
Glenn, we do need php on that sever.

Also, following your advice, I dismoded php8.3, php8.1, mpm_prefork and enabled mpm_event.
However, we still get Unexpected token '<', " when I try to render the questions and Unknown server communication error when we try to review problem using Library browser.

Well, I don't think that's the cause but after upgrade to Ubuntu 24.02, we need to install the perl module DBD::MariaDB to have webwork2 runs.

What else can we try?