Moodle

Upgrade from 1.6.3+ to 1.8 beta is confusing..

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.8
  • Fix Version/s: None
  • Component/s: Unicode
  • Labels:
    None
  • Environment:
    Apache 2.2, mysql 5

Description

When upgrading from 1.6.3+ to 1.8 Beta+ (De Moodledatabase van versie 1.6.3 + (2006050531) naar versie 1.8 Beta + (2007021401) aan het opwaarderen) I am getting an error that unicode is not installed.

The upgrade is telling me to fix this first, so I choose no to proceed. I get redirected to the upgrade page again, telling me the rules (license) and asking me to upgrade, effective placing me in a loop.

How can I fix things before upgrading if the only thing I can do in my install is upgrade?

Issue Links

Activity

Hide
Pieterjan Heyse added a comment -

I changed the default charset of my db to utf8_general_ci and all was ok.

Show
Pieterjan Heyse added a comment - I changed the default charset of my db to utf8_general_ci and all was ok.
Hide
Pieterjan Heyse added a comment -

Ok, all is not ok, after changing the DB charset, I am getting following error in the first phase of upgrading:

Error: no capabilitites defined!

When I click continue, I get asked to upgrade, but it is resulting in errors due to tables already existing.

Show
Pieterjan Heyse added a comment - Ok, all is not ok, after changing the DB charset, I am getting following error in the first phase of upgrading: Error: no capabilitites defined! When I click continue, I get asked to upgrade, but it is resulting in errors due to tables already existing.
Hide
Yu Zhang added a comment -

Hi Pieterjan, you need to migrate your site to unicode before upgrading to 1.8. You an either do it in 1.6, or 1.7, but you can not do it in 1.8. You might have some data corruption issues if you just change your db encoding diretly to utf_general_ci. We are currently working on the capability error from 1.6->1.8.

Show
Yu Zhang added a comment - Hi Pieterjan, you need to migrate your site to unicode before upgrading to 1.8. You an either do it in 1.6, or 1.7, but you can not do it in 1.8. You might have some data corruption issues if you just change your db encoding diretly to utf_general_ci. We are currently working on the capability error from 1.6->1.8.
Hide
Yu Zhang added a comment -

The upgrade error related to roles should have been fixed, for discussion on unicode requirement please refer to MDL-8951. closing this as duplicate.

Show
Yu Zhang added a comment - The upgrade error related to roles should have been fixed, for discussion on unicode requirement please refer to MDL-8951. closing this as duplicate.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: