croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
197 stars 20 forks source link

2.5.9 Upgrade Error #124

Closed micultra76 closed 10 years ago

micultra76 commented 10 years ago

I'm running EE version 2.9.2 and attempting to upgrade from version 2.1 to 2.5.9. After following the upgrade instructions, I'm getting the following error after running the modules update:

Error Number: 1091

Can't DROP 'site_id'; check that column/key exists

ALTER TABLE exp_stash_bundles DROP site_id

Filename: third_party/stash/upd.stash.php

Line Number: 169

Table exp_stash_bundles has a 'id' column but not a 'site_id' so I guess this is causing the error, but I'm unsure how I should resolve it. Thanks in advance for your help.

GDmac commented 10 years ago

Unless you have tonnes of special bundles stored, uninstall 2.1, move new version to third_party, install

croxton commented 10 years ago

GDmac is correct, there is no harm in simply uninstalling and re-installing the new version, unless you are also a Mustash user who has created custom bundles (and being v2.1 you couldn't be anyway as that's too old for Mustash).

micultra76 commented 10 years ago

Yep. Uninstall/Re-install worked. Thanks for your help.