PREP 2015 System Administration

Database problem in all courses after git pull

Database problem in all courses after git pull

by Jim Fischer -
Number of replies: 1
I did a git pull to change from 2.9 to 2.10. I get errors when trying to login to any course including admin. I need to first upgrade course tables in admin course, but Im not sure how to follow the instructions in the error message below.


It looks like the database is missing a column. You may need to upgrade your course tables. If this is the admin course then you will need to upgrade the admin tables using the upgrade_admin_db.pl script. at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm line 823.<br />
In reply to Jim Fischer

Re: Database problem in all courses after git pull

by Jim Fischer -
I was able to figure this out. I found the script in the bin directory under webwork2. Ran the script and can now login to admin course. Will update other courses using webwork admin course tool.