Moodle

Sessions2 error on upgrade to 1.8

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 2.0
  • Component/s: Installation
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

when upgrading to 1.8 from 1.6.4 I get the following error (screenshot also attached) - it does not seem to block installation.

Session Replace: Table 'moodle.mdl_sessions2' doesn't exist

will trace and try to post more details in the next hour or so....

Dan

Issue Links

Activity

Hide
Dan Marsden added a comment -

seems to be coming from adodb-session2.php line 778

Show
Dan Marsden added a comment - seems to be coming from adodb-session2.php line 778
Hide
Petr Škoda (skodak) added a comment -

This warning should be ok, it will disappear when you finish the first stage of upgrade. Session is not needed in the first stage of upgrade.

Show
Petr Škoda (skodak) added a comment - This warning should be ok, it will disappear when you finish the first stage of upgrade. Session is not needed in the first stage of upgrade.
Hide
Dan Marsden added a comment -

yeah - I agree, it disapears pretty quick (but we should "hide" the warning for normal install!)

Dan

Show
Dan Marsden added a comment - yeah - I agree, it disapears pretty quick (but we should "hide" the warning for normal install!) Dan
Hide
Petr Škoda (skodak) added a comment -

normal install with session data in database?

Show
Petr Škoda (skodak) added a comment - normal install with session data in database?
Hide
Dan Marsden added a comment -

upgrade with session data in database. - yup.

Dan

Show
Dan Marsden added a comment - upgrade with session data in database. - yup. Dan
Hide
Petr Škoda (skodak) added a comment -

It is recommended to disable db sessions before upgrading to 1.8.x or 1.9x; in 2.0 the db sessions should work fine in all cases
thanks for the report

Show
Petr Škoda (skodak) added a comment - It is recommended to disable db sessions before upgrading to 1.8.x or 1.9x; in 2.0 the db sessions should work fine in all cases thanks for the report

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: