ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Upgrading from 2.2.0 to 2.4.0 failed

February 12, 2012 7:13pm

Subscribe [2]
  • #1 / Feb 12, 2012 7:13pm

    Hello,

    As the title says when trying to upgrade from 2.2.0 to 2.4.0 I got this failure message:

    ==============================
    A Database Error Occurred
    Error Number: 1091
    Can’t DROP ‘site_id’; check that column/key exists
    ALTER TABLE `exp_sessions` DROP `site_id`
    Filename: updates/ud_230.php
    Line Number: 68
    ==============================

    I got no idea at all what this means, so any help would be appreciated.
    Thanks

  • #2 / Feb 13, 2012 5:46pm

    Shane Eckert

    7174 posts

    Hello Yiannis Konstantakopoulos,

    I am sorry to hear you are running into this problem.

    Can I get a little history with the site?

    Was this the first update, or had you updated before this to 2.2.0? What version were you at before 2.2.0?

    We have some troubleshooting directions for a failed update. If you are in a pinch you can follow those directions and that will usually solve the problem. If you can wait a bit, then post back here with the answer to the question I asked above.

    Cheers,

  • #3 / Feb 13, 2012 6:55pm

    Hi Shane,

    I managed to upgrade the second time I tried (after restoring the DB).

    Thanks for the reply.

  • #4 / Feb 13, 2012 7:02pm

    Shane Eckert

    7174 posts

    Hello Yiannis Konstantakopoulos,

    That is awesome. Glad to hear!!

    Have a great week.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases