Moodle 1.5.3 upgrade path

Moodle 1.5.3 upgrade path

Frank B發表於
Number of replies: 12

I found someone still using moodle 1.5.3. I found nothing 1.5 related anymore on the download page. Should I try to upgrade it to 1.6.9 then on and on until 2.3?

評比平均分數: -
In reply to Frank B

Re: Moodle 1.5.3 upgrade path

Howard Miller發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片

Yes - I would probably try:

1.5 - 1.6

1.6 - 1.9

1.9 - 2.2

2.2 - 2.3

Take backups at each stage just in case that's as far as you get.

In reply to Howard Miller

Re: Moodle 1.5.3 upgrade path

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
Hi Frank

Few details to what Howard already said:

- 1.5 -> 1.6 -> 1.9
Almost compulsory, since 1.9 is the oldest version still supported.

- 1.9 -> 2.2
Do a test (parallel) migration first. Moodle 2 is something completely different from Moodle 1. The owner your Moodle may or may not like the new ideas.

Here's the documentation:
- http://docs.moodle.org/en/Upgrade
- http://docs.moodle.org/19/en/Upgrading_to_Moodle_1.6
- http://docs.moodle.org/19/en/Upgrading_to_Moodle_1.9
- http://docs.moodle.org/22/en/Upgrading_to_Moodle_2.2
- http://docs.moodle.org/23/en/Upgrading_to_Moodle_2.3
In reply to Visvanath Ratnaweera

Re: Moodle 1.5.3 upgrade path

Frank B發表於

Thanks guys your help has been invaluable.  However I'm stuck at processing role assignments with moodle 1.6 -> 1.9 upgrade. It's like my browser timeout waiting for it. It only get to process like 9000  role assignments before it times out. IS there anything I can do to extend the session timeout?

In reply to Frank B

Re: Moodle 1.5.3 upgrade path

G. M.發表於
In reply to G. M.

Re: Moodle 1.5.3 upgrade path

Frank B發表於

That's I had to go with an execution time of 6000 for script go past that processing roles part.

Now it's just stuck at (mysql): ALTER TABLE mdl_quiz MODIFY COLUMN timelimit BIGINT(10) unsigned NOT NULL DEFAULT 0 after timemodified  with a SUCCESS in GREEN at the bottom. SO I guess techically the script is finished even though it hasn't reached its max execution time.

In reply to Frank B

Re: Moodle 1.5.3 upgrade path

Howard Miller發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片

Make sure you have Debugging on! If you are setting it in config.php make sure you have the right numbers for 1.6/1.9 微笑

Those bigint changes can take a while - are you sure it finished?

In reply to Howard Miller

Re: Moodle 1.5.3 upgrade path

Frank B發表於

We are talking like 15 minutes past... Normally it tells you it's doing something without a SUCCESS. in this case there is none of that. There is GREEN SUCCESS and no operation follows.

In reply to Frank B

Re: Moodle 1.5.3 upgrade path

Howard Miller發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片

Ok - Debugging, check your error logs etc etc

Now might be a good time to give us some detail about your system and the versions of PHP, MySQL etc etc.


PS - I deleting your other thread for the same problem. All the info is here, so it just cconfuses things

In reply to Howard Miller

Re: Moodle 1.5.3 upgrade path

Frank B發表於

I decided to go through 1.7 and 1.8 first before getting to 1.9.

I have mysql-5 php-5 and Apache2 running. It's a debian squeeze server.

Max_execution time is set at 6000 so my scripts don't get cut off.

php_memory is set to 380 for the moment to make sure I have enough for the migrations.

After the upgrade to 1.7 completed smoothly. I lost my administrator priviledges. So I have to resolve that before I can continue.

In reply to Frank B

Re: Moodle 1.5.3 upgrade path

Howard Miller發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片

Please confirm that you set up Debugging... I'm saying this because it matters not because I enjoy typing it. Often a small warning that would otherwise not be displayed can make all the difference. Keep a close eye on your error logs too.

You might have to do some database schema checking/cleaning but let's call that a last resort at the moment 眨眼


Can we get the *exact* versions of MySQL and PHP please. PHP, in particular, is reasonably version critical (but debugging would show the problem, most likely).

In reply to Frank B

Re: Moodle 1.5.3 upgrade path

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
> I decided to go through 1.7 and 1.8 first before getting to 1.9.

Reason? The advice was go to 1.9 from 1.6 in one step: http://moodle.org/mod/forum/discuss.php?d=209636#p914022.
In reply to Visvanath Ratnaweera

Re: Moodle 1.5.3 upgrade path

Howard Miller發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片

Yeh - 1.7 is probably best avoided. 1.6 to 1.9 should be safe. If there are problems, I doubt taking smaller steps would make much difference.