Migrating from Moodle 1.9.x to Moodle 2.1


This blog entry isn't intended to add anything to the Moodle 2.x conversation except serve as my notes on a conversation taking place on a MN Moodle list. Feel free to jump in....

Melissa Benson asks the following via an email list message to MN Moodlers:
Has anyone moved to Moodle 2.x yet? We recently installed a fresh copy 2.1.1 on a fresh ubuntu virtual server. We will be using that site for mainly professional development courses, but a few advanced users will be using it as well. Right now, we are planning on having most of our staff still use the 1.9 version and next summer we will hop over to the 2.x server. No upgrade. I'm not sure how we will get our 1.9 courses over to the 2.x server but at the very worst I'd move them over. Would be a few days work but it'll give us (and the staff) to weed out courses not used and will be less of a headache (i think) than an upgrade.
By way of response, I wrote the following....

Howdy! I've been working with 1.9.x and 2.1 and noticed the following:
  • You can now import 1.9.x courses into Moodle 2.1 directly. Works great!
  • Upgrading a 1.9.x or 2.0 Moodle instance to 2.1 is straightforward, just the way you might have in the past*.
As to migrating an entire database from 1.9 to 2.1, here's how it can be done:
Migrating Database from 1.9 to 2.0 readiness - A quick overview of how to convert your existing Moodle 1.9 MyISAM type MySQL database to INNODB type required for Moodle 2.x.

In consideration of the following:

Also, I think you can un zip uploaded files, but if you want to use them later, I'm just not sure where to go yet. (Source: Excerpt from email by Jon Fila)

...I'm not completely sold on the new file manager but that's just because I haven't completely come to grips with it yet! I did have fun over the weekend and read a nice tutorial on the Moodle Docs site about how to use it but forgot to bookmark it. Here are two possible ways of dealing with that problem that appear in the Moodle Forums:

Upload the zip into your 'My private files' area, and unzip it there. You can access your private files from the Navigation block on your profile page, to upload the files.
Then, anywhere else in Moodle where you need to access a file using the file-picker, you should see 'My private files' as one of the repositories available in the column on the left, alongside Upload file and Server files. 
although the file is logically copied into each resource, there is only one copy of each file kept on disc, not matter now many different people upload the same thing.
 (Source: Tim Hunt)
And the second response or approach to this is from Mary Cooch, which is the link I mentioned earlier:
http://docs.moodle.org/20/en/File_system_repository_configuration 

I really like the Repository idea shown above but that like is theoretical at this point. I'll have to work on Moodle 2.1 some more before I feel utterly confident about it.
;->


At the top of my response cited above, there's an asterisk next to how you might have upgraded Moodle "in the past." Here's how I have done it countless times, and this process works with Moodle 1.9.x to Moodle 2 and/or Moodle 2.0 to Moodle 2.1

Upgrading a Moodle 1.9 Instance to a Moodle 2.0 Instance in A Few Steps
  1. Migrate Your MySQL Database from 1.9 to 2.0 readiness - A quick overview of how to convert your existing Moodle 1.9 MyISAM type MySQL database to INNODB type required for Moodle 2.x.
  2. Back up your existing Moodle's MySQL database, PHP pages, and Moodledata. That way, you can restore from scratch if need be.
  3. Check compatibility of your mods, blocks with Moodle 2.0, downloading the new versions if necessary.
  4. Get the latest copy of Moodle 2.1+ and then copy your mods, blocks into the unzipped folder.
  5. In your Moodle 1.9 folder, delete everything EXCEPT the config.php file. Then,
  6. Copy the contents of the latest copy of Moodle 2.1+ into the old folder. This keeps your folder permissions intact. Once the copy is complete,
  7. Go to http://moodledomainnameforyourserver.net/admin and begin the upgrade process. Be sure to choose unattended.

Upgrading a Moodle 2.0 Instance to 2.1 in One Step
  1. Back up your existing Moodle's MySQL database, PHP pages, and Moodledata. That way, you can restore from scratch if need be.
  2. Check compatibility of your mods, blocks with Moodle 2.x, downloading the new versions if necessary.
  3. Get the latest copy of Moodle 2.1+ and then copy your mods, blocks into the unzipped folder.
  4. In your Moodle 2.0 folder, delete everything EXCEPT the config.php file. Then,
  5. Copy the contents of the latest copy of Moodle 2.1+ into the old folder. This keeps your folder permissions intact. Once the copy is complete,
  6. Go to http://moodledomainnameforyourserver.net/admin and begin the upgrade process. Be sure to choose unattended.
That's all there is to it. Take your time, though.

Get Blog Updates via Email!
Enter your email address:
Delivered by FeedBurner
PingIt!

Everything posted on Miguel Guhlin's blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure

Comments

Popular posts from this blog

#Chromecast Add-Ons to Play Various Video File Formats

Free Professional Learning! Education On Air #googleedu

10 Steps to a Blended Learning Classroom #MIEexpert #MIE #tceamie1