WeBWorK Main Forum

Moving an old webwork course to a new webwork server

Moving an old webwork course to a new webwork server

by Daniel An -
Number of replies: 2

I am currently using WeBWork 2.13 (which means I haven't been updating the server for a while...)

Since the Ubuntu version is old and several updates are causing headaches, I would like to install a fresh Linux + WeBwork 2.17 and move all the courses. 

Would this be possible? I presume the method will be 1.archive course , 2.upload it to the new server, 3.unarchive course and then 4.update the database. Am I right? 

Any comment would be appreciated. Thanks.

In reply to Daniel An

Re: Moving an old webwork course to a new webwork server

by Alex Jordan -
Hi Daniel,

I have done that process that you outlined from 2.13 to 2.16, and it mostly worked as expected. And it's probably no different with 2.17. However there was one time that strange things kept happening. The instructor was directly using the course that had been unarchived and upgraded, and they would occasionally have student answers disappear. This was not user error, as both they and I could verify in some way that a student actually had submitted something. I could not diagnose this, and I couldn't help but think there was some database issue across versions.

In all other cases, we just used the unarchived course to copy its templates folder into a new course (possibly after exporting exercise sets). So courses that were in use were actually bona fide 2.16 courses.

Do you really need the database contents from the old courses, like student data and user accounts? If you don't actually need that stuff to carry over, you could add a few steps:

step 5: export what exercise sets you want to keep in the newly unarchived course
step 6: make a new course, with templates copied from the old course
step 7: remove the unarchived course from active use



In reply to Alex Jordan

Re: Moving an old webwork course to a new webwork server

by Daniel An -

Dear Alex,

Ah! Thanks for the tip! I love your idea. I'll do that. Now I'm less worried.