Installation

WebWorK 2.16 won't start after upgrade to Ubuntu 22.04

WebWorK 2.16 won't start after upgrade to Ubuntu 22.04

by Timothy Lucas -
Number of replies: 6

After upgrading from Ubuntu 20 to 22.04 I get the following error and I cannot understand how to address this.  Any help would be appreciated.

Error record identifier

db072e67-08b8-5279-b716-98597d1b8aa0::88267479-3856-11ed-9eb8-e09205805b8b

Warning messages

Error messages

Attempt to reload WeBWorK/DB/Schema/NewSQL/NonVersioned.pm aborted. Compilation failed in require at (eval 740) line 1.

Call stack

The following information can help locate the source of the problem.

  • in WeBWorK::Utils::runtime_use called at line 272 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
  • in WeBWorK::DB::init_table called at line 228 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
  • in WeBWorK::DB::new called at line 317 of /opt/webwork/webwork2/lib/WeBWorK.pm

Request information

The HTTP request information is included in the following table.

HTTP request information
ItemData
MethodGET
URI/webwork2/Calculus_Readiness/instructor/progress/
HTTP Headers
HTTP request headers
KeyValue
Accept-Languageen-US,en;q=0.9
Connectionkeep-alive
User-AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Hostmathplacement.pepperdine.edu
Cookie_fbp=fb.1.1663617979478.292219938; _ga=GA1.2.56632079.1663617979; _gat=1; _gat_landscapeTracker=1; _gid=GA1.2.1718023320.1663617979
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encodinggzip, deflate, br
In reply to Timothy Lucas

Re: WebWorK 2.16 won't start after upgrade to Ubuntu 22.04

by Timothy Lucas -

After a reboot, I now get the following error message.  I can see that sql is up and running, but unfortunately I don't really have a way to diagnose this error.


Error record identifier

e83c53e4-4474-5254-8218-f427a61f75e2::99749b01-38f2-11ed-a9af-f92911e7afd8

Warning messages

Error messages

Base class package "SQL::Abstract::Classic" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in @INC (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl /etc/apache2). at /opt/webwork/webwork2/lib/WeBWorK/DB/Utils/SQLAbstractIdentTrans.pm line 31. BEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/DB/Utils/SQLAbstractIdentTrans.pm line 31. Compilation failed in require at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm line 33. BEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm line 33. Compilation failed in require at (eval 672) line 1.

Call stack

The following information can help locate the source of the problem.

  • in WeBWorK::Utils::runtime_use called at line 272 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
  • in WeBWorK::DB::init_table called at line 228 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
  • in WeBWorK::DB::new called at line 317 of /opt/webwork/webwork2/lib/WeBWorK.pm

Request information

The HTTP request information is included in the following table.

HTTP request information
ItemData
MethodGET
URI/webwork2/Calculus_Readiness/
HTTP Headers
HTTP request headers
KeyValue
User-AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Hostmathplacement.pepperdine.edu
Accept-Encodinggzip, deflate, br
Connectionkeep-alive
CookiePS_LASTSITE=https://csm.pepperdine.edu/psc/csprd/; PS_TOKENEXPIRE=20_Sep_2022_14:15:22_GMT; psback=%22%22url%22%3A%22https%3A%2F%2Fwavenet.pepperdine.edu%2Fpsp%2Fihprd%2FEMPLOYEE%2FSA%2Fc%2FSA_LEARNING_MANAGEMENT.SS_FACULTY.GBL%3FZP_FAC_CTR%3DTRUE%26cmd%3Duninav%26Rnode%3DSA%26uninavpath%3DRoot%7BPORTAL_ROOT_OBJECT%7D.Pepperdine%7BZP_PEPPERDINE%7D.Menu%7BZP_PEPPERDINE_MENU%7D.Faculty%7BZP_TOPMENU_FACULTY_TAB%7D.Faculty%2520Services%7BZP_FACULTY_SERVICE%7D%22%20%22label%22%3A%22Unofficial%20Transcript%22%20%22origin%22%3A%22PIA%22%20%22layout%22%3A%220%22%20%22refurl%22%3A%22https%3A%2F%2Fcsm.pepperdine.edu%2Fpsc%2Fcsprd%2FEMPLOYEE%2FSA%22%22; PS_LOGINLIST=https://csm.pepperdine.edu/csprd https://wavenet.pepperdine.edu/ihprd; SignOnDefault=; csprd-lnxmt-1-ad2-2021-8000-PORTAL-PSJSESSIONID=Ug5bQI8MPLSmBRAY3ML4H3B0w7TUth5T!1984591441; _ga=GA1.2.56632079.1663617979; _gid=GA1.2.1718023320.1663617979; ps_theme=node:EMPL portal:EMPLOYEE theme_id:ZP_BB_THEME accessibility:N formfactor:3 piamode:2; HPTabName=ZP_FACULTY_TAB; HPTabNameRemote=; LastActiveTab=ZP_FACULTY_TAB; PS_DEVICEFEATURES=width:2560 height:1440 pixelratio:1 touch:0 geolocation:1 websockets:1 webworkers:1 datepicker:1 dtpicker:1 timepicker:1 dnd:1 sessionstorage:1 localstorage:1 history:1 canvas:1 svg:1 postmessage:1 hc:0 maf:0; ExpirePage=https://wavenet.pepperdine.edu/psp/ihprd/; PS_TOKEN=pAAAAAQDAgEBAAAAvAIAAAAAAAAsAAAABABTaGRyAk4Abwg4AC4AMQAwABSEpZdSEbSCyx7zR+S2Li6P82cra2QAAAAFAFNkYXRhWHicHYxNDkAwFIS/llhYukcbrb/aE2xEXMQFHc7om2R+8jLzAGVhjZG+lnxNoM2Y6MUdiWrlZKM+2Lm4WeijXlFw0ln8Z5drnqCiZ9CAZ5QPeSrBB0QKCrg=; PS_TokenSite=https://wavenet.pepperdine.edu/psc/ihprd/?ihprd-PORTAL-PSJSESSIONID; ihprd-PORTAL-PSJSESSIONID=y2hbQIGDjsV-ZLLjcSLa4WX2ERAJFwvC!2098057675; lcsrftoken=UAriLVU8oA4CRsR9FgmR06Jz8BsFVNoFeT8nHKIM8XA=; FINANCE=8d6c5b184bf17728e27f9b4ee369c9555d22bc5d; HR=0bf7ecdecaeeee60a2cd3d789fa8c1c09b210032; CAMPUS=53f468b16fbf4ed38744ef1ee2bdded8d43a0dbe; _fbp=fb.1.1663617979478.292219938
Accept-Languageen-US,en;q=0.9
Refererhttps://mathplacement.pepperdine.edu/webwork2/


In reply to Timothy Lucas

Re: WebWorK 2.16 won't start after upgrade to Ubuntu 22.04

by Mark Hamrick -

I hit this error on one of my test vm installs.    cpanm  --reinstall SQL::Abstract::Classic fixed it.   

In reply to Mark Hamrick

Re: WebWorK 2.16 won't start after upgrade to Ubuntu 22.04

by Timothy Lucas -
Thank you. I think this helped, but now I am stuck with a new error. I have a feeling I need to reinstall a bunch of things, but I am not sure what that list is. The new error is

Attempt to reload WeBWorK/DB/Schema/NewSQL/Std.pm aborted. Compilation failed in require at /usr/share/perl/5.34/base.pm line 137. ...propagated at /usr/share/perl/5.34/base.pm line 159. BEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/NonVersioned.pm line 18. Compilation failed in require at (eval 763) line 1.

or sometimes it is just this

Attempt to reload WeBWorK/DB/Schema/NewSQL/Std.pm aborted. Compilation failed in require at (eval 792) line 1.
In reply to Timothy Lucas

Re: WebWorK 2.16 won't start after upgrade to Ubuntu 22.04

by Glenn Rice -

What does the check_modules.pl script show?  Does it show that all modules are found and loaded?

In reply to Glenn Rice

Re: WebWorK 2.16 won't start after upgrade to Ubuntu 22.04

by Timothy Lucas -
Thank you for that advice. It appears it is all installed. 

I did one more reboot and now everything is miraculously working.  The reinstallation of SQL::Abstract::Classic must have required some service to restart that I didn't restart. I really appreciate all of the help from Mark and Glenn.
In reply to Timothy Lucas

Re: WebWorK 2.16 won't start after upgrade to Ubuntu 22.04

by Glenn Rice -
Did you restart apache2 after reinstalling SQL::Abstract::Classic? Anytime you change perl modules, apache2 needs to be restarted to get the changes.