View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09768 | Bug reports | ComfortUpdate | public | 2015-07-09 08:03 | 2015-08-04 08:40 |
Reporter | wallingd | Assigned To | c_schmitz | ||
Priority | normal | Severity | block | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 2.06+ | ||||
Summary | 09768: "Column already exists" error when upgrading DB, but no duplicate column found. | ||||
Description | Upon running the database upgrade to update to 2.06, the following error is reported:
I have inspected every table, found two tables with single "created" columns, and have found no duplicate columns named "created" | ||||
Steps To Reproduce | Run comfort update to the point of database upgrade. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 150629 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | IE 11 | ||||
Database type & version | MSSQL | ||||
Server OS (if known) | Windows 2012 | ||||
Webserver software & version (if known) | IIS | ||||
PHP Version | 5.4 | ||||
Reminder sent to: c_schmitz Any information on this issue? Thanks |
|
What was your previous version? |
|
I do not recall the previous version and none of the screens indicate the version (since I can't log in to the admin center). Is there a way to tell from the DB? To my recollection, this was the first attempt to upgrade the DB. |
|
Don't you have a database backup? |
|
Yes, of course I took a full dump of the db. However I didn't think to check it prior to beginning the upgrade and it appears corrupt - it created so all is assumed well, right? However it appears to only contain lime_answers, so I don't think that's going to do me any good. Perhaps at this point I should find and manually run the sql statements one by one to see which is erroring? |
|
Used Neor Profiler to profile the SQL queries and figure out that it was the lime_participants table causing the collision on the Created, Modified, and Created_by columns. Deleted those columns, re-ran the DB upgrade and everything completed successfully. No other DB issues required correcting. I note with interest that all DB upgrades were being completed in what appears to be a single transaction; it is odd the columns would exist in the first place. Found a note that makes me believe I was upgrading from 1.96. Regardless, my issue is resolved so my issue can be closed; not sure if there is an underlying bug in the upgrade process or not. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-09 08:03 | wallingd | New Issue | |
2015-07-09 08:03 | wallingd | Status | new => assigned |
2015-07-09 08:03 | wallingd | Assigned To | => c_schmitz |
2015-07-31 07:48 | wallingd | Note Added: 32841 | |
2015-07-31 09:55 | c_schmitz | Note Added: 32843 | |
2015-07-31 09:55 | c_schmitz | Status | assigned => feedback |
2015-07-31 18:39 | wallingd | Note Added: 32860 | |
2015-07-31 18:39 | wallingd | Status | feedback => assigned |
2015-08-03 14:31 | c_schmitz | Note Added: 32867 | |
2015-08-03 14:31 | c_schmitz | Status | assigned => feedback |
2015-08-03 19:51 | wallingd | Note Added: 32872 | |
2015-08-03 19:51 | wallingd | Status | feedback => assigned |
2015-08-04 06:34 | wallingd | Note Added: 32873 | |
2015-08-04 08:40 | c_schmitz | Status | assigned => closed |
2015-08-04 08:40 | c_schmitz | Resolution | open => unable to reproduce |