View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08519 | Bug reports | Installation | public | 2014-01-08 16:36 | 2014-01-25 17:22 |
Reporter | i_meyer | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 08519: Error during upgrade vom 2.00 to 2.05 on a PostgreSQL-Backend | ||||
Description | While training an update from 2.00 (latest build) to 2.05 (build 131219) the following error occured: CDbCommand failed to execute the SQL statement: SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction block The update was performed as follows:
| ||||
Additional Information | No database-prefix is used. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 131219 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox | ||||
Database type & version | PostgreSQL 9.1 | ||||
Server OS (if known) | Ubuntu-Linux | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 5.3 | ||||
I have the same problem with easyphp and Postgresql 9.1 If I typed in the address: update.limesurvey.org / updates how to build value found? |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13706 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13708 |
|
I updated to Build 140116 via Comfort-Update and got the same Error. After Fixing as recommended here, now i get this Error: "CDbCommand failed to execute the SQL statement: SQLSTATE[42804]: Datatype mismatch: 7 ERROR: column "active" is of type boolean but expression is of type integer What should i do? |
|
When exactly do you get this error? Did you activate any plugins? |
|
No I just updatet to Build 140116 via Comfort-Update. Step 4 showed a white screen. CDbCommand failed to execute the SQL statement: SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction block. After fixing it with the procedure her (08519) i get this errors: "CDbCommand failed to execute the SQL statement: SQLSTATE[42804]: Datatype mismatch: 7 ERROR: column "active" is of type boolean but expression is of type integer |
|
The error appears, when i want to get to the admin-panel |
|
Did you apply both patches below? |
|
yes, i did. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13712 |
|
Did some more changes - please let me know if it is alright now. |
|
Still get the error: "CDbCommand failed to execute the SQL statement: SQLSTATE[42804]: Datatype mismatch: 7 ERROR: column "active" is of type boolean but expression is of type integer With an empty postgress-database everything works. The dump of the postgress is the dump after the failed update. |
|
I think I found the issue. It should be enough to change the column 'active' in table 'plugins' to type 'integer'. |
|
Did that. |
|
After i did that, If i install a ne LS i get this Error-Message: If i install with an empty database and edit the config-file later to a cleaned-up dump i only get access to the label set and the user-administration |
|
Data-Integrity-Check: Couldn't make backup of the survey table. Please try again. The database reported the following error: |
|
I can access the formular of each survey, modifying the specific "sid" in the url, but the surveys are not shown up in the admin Panel. |
|
I if i click on them i get this error: "Fehler No permission" |
|
Reminder sent to: c_schmitz As u see, the problem is still there. Should I need to edit the dump? |
|
it looks to me like the rest of your problems are coming from incomplete update tries. You will need to revert your database to the state from before you tried the update for the first time (I hope you created a backup before you updated). Then do the update again. |
|
Actually i was so dumb, to not dump the db before. |
|
YOu will need to add permissions in the permission table. Check the permissions on the new installation then try to replicate that in the old one. |
|
Thanks a lot. Here the way i did it: for each survey execute in Postgres this SQL: INSERT INTO permissions VALUES (SID_OF_YOUR_SURVEY, 1, 'responses', 1, 1, 1, 1, 1, 1, 'survey', NUMBER_STARTING_FROM_100); |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13733 |
|
2.05+ Build 140125 released |
|
LimeSurvey: master 5798462f 2014-01-17 15:44 Details Diff |
Fixed issue 08519: Error during upgrade vom 2.00 to 2.05 using PostgreSQL |
Affected Issues 08519 |
|
mod - application/helpers/update/updatedb_helper.php | Diff File | ||
LimeSurvey: master cb2bf2eb 2014-01-17 16:06 Details Diff |
Fixed issue 08519: Error during upgrade vom 2.00 to 2.05 using PostgreSQL Dev Also fixed non-appearing inputs for username and password in login mask when using Postgres |
Affected Issues 08519 |
|
mod - application/libraries/PluginManager/PluginManager.php | Diff File | ||
LimeSurvey: master aac90ac5 2014-01-18 01:14 Details Diff |
Fixed issue 08519: Error during upgrade vom 2.00 to 2.05 using PostgreSQL |
Affected Issues 08519 |
|
mod - application/controllers/admin/authentication.php | Diff File | ||
mod - application/views/installer/precheck_view.php | Diff File | ||
mod - installer/sql/create-pgsql.sql | Diff File | ||
LimeSurvey: master 0abd4aef 2014-01-20 01:46 Details Diff |
Fixed issue 08519: Error during upgrade vom 2.00 to 2.05 using PostgreSQL |
Affected Issues 08519 |
|
mod - application/config/version.php | Diff File | ||
mod - application/helpers/update/updatedb_helper.php | Diff File | ||
mod - installer/sql/create-mssql.sql | Diff File | ||
mod - installer/sql/create-mysql.sql | Diff File | ||
mod - installer/sql/create-pgsql.sql | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-08 16:36 | i_meyer | New Issue | |
2014-01-13 15:55 | riqcles | Note Added: 27838 | |
2014-01-17 15:43 | c_schmitz | Assigned To | => c_schmitz |
2014-01-17 15:43 | c_schmitz | Status | new => assigned |
2014-01-17 15:43 | c_schmitz | Changeset attached | => LimeSurvey master 5798462f |
2014-01-17 15:43 | c_schmitz | Note Added: 27962 | |
2014-01-17 15:43 | c_schmitz | Resolution | open => fixed |
2014-01-17 15:44 | c_schmitz | Status | assigned => resolved |
2014-01-17 15:44 | c_schmitz | Fixed in Version | => 2.05+ |
2014-01-17 16:16 | c_schmitz | Changeset attached | => LimeSurvey master cb2bf2eb |
2014-01-17 16:16 | c_schmitz | Note Added: 27963 | |
2014-01-17 20:34 | dichteros | Note Added: 27970 | |
2014-01-17 21:14 | c_schmitz | Note Added: 27973 | |
2014-01-17 21:19 | dichteros | Note Added: 27974 | |
2014-01-17 21:43 | dichteros | Note Added: 27976 | |
2014-01-17 22:24 | c_schmitz | Note Added: 27977 | |
2014-01-17 23:00 | dichteros | Note Added: 27978 | |
2014-01-18 01:13 | c_schmitz | Changeset attached | => LimeSurvey master aac90ac5 |
2014-01-18 01:13 | c_schmitz | Note Added: 27979 | |
2014-01-18 01:14 | c_schmitz | Note Added: 27980 | |
2014-01-19 23:55 | dichteros | Note Added: 28016 | |
2014-01-20 01:38 | c_schmitz | Note Added: 28017 | |
2014-01-20 11:31 | dichteros | Note Added: 28022 | |
2014-01-20 11:49 | dichteros | Note Added: 28025 | |
2014-01-20 12:19 | dichteros | Note Added: 28027 | |
2014-01-20 19:12 | dichteros | Note Added: 28030 | |
2014-01-21 11:33 | dichteros | Note Added: 28037 | |
2014-01-21 12:51 | dichteros | Note Added: 28042 | |
2014-01-21 13:23 | c_schmitz | Note Added: 28043 | |
2014-01-21 13:32 | dichteros | Note Added: 28044 | |
2014-01-21 14:32 | c_schmitz | Note Added: 28047 | |
2014-01-21 17:39 | dichteros | Note Added: 28051 | |
2014-01-22 09:04 | c_schmitz | Changeset attached | => LimeSurvey master 0abd4aef |
2014-01-22 09:04 | c_schmitz | Note Added: 28066 | |
2014-01-25 17:22 | c_schmitz | Note Added: 28154 | |
2014-01-25 17:22 | c_schmitz | Status | resolved => closed |