Error while updating to moodle 2.0

Error while updating to moodle 2.0

Daniel Sánchez -
回帖数:5

I have a moodle in 1.9.x version and i am trying to update to moodle 2.0, the problem is when the automatic upgrade freezes in the middle of the work, i think this is beacuse mi moodledata folder it almost 4gb, beacuse i made a test with only the 25% of my moodledata and the upgrade work perfectly.

Any idea? what can i do?

回复Daniel Sánchez

Re: Error while updating to moodle 2.0

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像

What exactly do you mean by "the automatic upgrade freezes". What exactly do you see. Have you tried upgrading from the command line, rather than through your web browser? The option is explained on CLI.

回复Tim Hunt

Re: Error while updating to moodle 2.0

Daniel Sánchez -

Thank you for your answers, actually it doesn't show any error my error log of apache, the only thing i see is the web browser workin and that's all, but this weekend i left the upgrade runniung and nothing.

My server is a windows server, for what i have read CLI mode it's not compatible with windows platforms.

Any further ideas?

回复Daniel Sánchez

Re: Error while updating to moodle 2.0

Eloy Lafuente (stronk7) -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Testers的头像

Hi Daniel,

First of all I'd recommend you to try upgrading using the CLI interface instead of the web one (as far as there are various potential problems when using the later, like browser timeouts...).

Also, it's highly recommended to take a look to your webserver error logs, because there you can find information about what happened with the upgrade process and information there could give us a clue.

Ciao 微笑

回复Eloy Lafuente (stronk7)

Re: Error while updating to moodle 2.0

Luis de Vasconcelos -
Particularly helpful Moodlers的头像

Can Moodle 1.9 installations running under Windows and IIS be upgraded to 2.0 via this CLI interface?

All the documentation seems to assume that Moodle is running on Unix. "$ sudo..." is a unix command and no Windows equivalent is given, if one even exists.

回复Luis de Vasconcelos

Re: Error while updating to moodle 2.0

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像

The documentation may assume a linux command line, but I am pretty sure the scripts themselves will happily run on any platform - if you make the appropriate adjustments to the commands so that they work on Windows. However, I expect CLI upgrade has not had as much testing on Windows yet, so be cautious.