View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20664 | Bug reports | Database design | public | 2026-08-31 20:59 | 2026-09-04 06:17 |
| Reporter | lavamind | Assigned To | c_schmitz | ||
| Priority | none | Severity | crash | ||
| Status | closed | Resolution | fixed | ||
| Summary | 20664: Unable to update 7.0.7 PostgreSQL database | ||||
| Description | We're currently trying to upgrade our LimeSurvey 7.0.7 installation to 7.0.12 notably because of major issues with active surveys failing to record responses (20640). The
It's unclear what's wrong, because the error message doesn't give much detail about what's going on, but it seems like the only database upgrade step that's supposed to be running is | ||||
| Tags | No tags attached. | ||||
| Bug heat | 10 | ||||
| Complete LimeSurvey version number (& build) | 7.0.7+260729 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Story point estimate | 0 | ||||
| Browser | |||||
| Database type & version | PostgreSQL 17.11 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.4.24 | ||||
|
In case you're wondering, yes I'm aware I accidentally published our database credentials, and I've regenerated them just now. |
|
|
Can you please try again with the attached file? It needs to replace the existing one in /application/helpers/update. |
|
|
It didn't work. The error message on the console was the same. However using the web-based updater displayed this message: |
|
|
very similar bug with mysql when trying to update 6.17.19 to 7.0.12: php application/commands/console.php updatedb --verbose more details if required with web-based update |
|
|
NB: it seems to be linked with our very big instances with a lot of surveys - I do not have this problem on my private limesurvey with few forms |
|
This update add the CDB command error in console ? We don't have an issue for this ? |
|
This might be : https://bugs.limesurvey.org/view.php?id=19385 |
|
|
thanks Denis but both web-based upgrade and command line bug with the same kind of message; |
|
|
@lavamind |
|
Thanks, the update succeeded with the new helper function. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40230 |
|
|
nice for @lavamind; for my very similar bug (but with MariaDB/MySQL) it didn't change anything (both on web-based upgrade and on command-line upgrade) one more info: I've tried a fresh v7 install, then tested export (lsa) v6 + import v7 datas from various forms where the global upgrade of the instance wasn't woking, result: it worked without any problem, but we have so many forms that this solution is not possible @limesurvey team:
|
|
|
Fixed in Release 7.0.13+260903 |
|
|
thks: this time it worked 99% (only one survey on hundreds bugged during the migration v6 to v7) |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-08-31 20:59 | lavamind | New Issue | |
| 2026-08-31 21:09 | lavamind | Note Added: 85529 | |
| 2026-08-31 21:09 | lavamind | Bug heat | 0 => 2 |
| 2026-08-31 22:42 | c_schmitz | Note Added: 85530 | |
| 2026-08-31 22:42 | c_schmitz | File Added: updatedb_helper.php | |
| 2026-08-31 22:42 | c_schmitz | Bug heat | 2 => 4 |
| 2026-08-31 22:42 | c_schmitz | Assigned To | => c_schmitz |
| 2026-08-31 22:42 | c_schmitz | Status | new => feedback |
| 2026-09-01 04:38 | lavamind | Note Added: 85531 | |
| 2026-09-01 04:38 | lavamind | Status | feedback => assigned |
| 2026-09-01 10:33 | fradeff | Note Added: 85532 | |
| 2026-09-01 10:33 | fradeff | Bug heat | 4 => 6 |
| 2026-09-01 11:05 | fradeff | Note Added: 85533 | |
| 2026-09-01 11:05 | DenisChenu | Note Added: 85534 | |
| 2026-09-01 11:05 | DenisChenu | Bug heat | 6 => 8 |
| 2026-09-01 12:51 | lavamind | Note Added: 85537 | |
| 2026-09-01 13:32 | fradeff | Note Added: 85538 | |
| 2026-09-01 14:25 | c_schmitz | Note Added: 85539 | |
| 2026-09-01 14:25 | c_schmitz | File Added: updatedb_helper-2.php | |
| 2026-09-01 14:26 | c_schmitz | File Deleted: updatedb_helper.php | |
| 2026-09-01 14:31 | c_schmitz | Status | assigned => feedback |
| 2026-09-01 18:40 | lavamind | Note Added: 85541 | |
| 2026-09-01 18:40 | lavamind | Status | feedback => assigned |
| 2026-09-01 20:45 | c_schmitz | Changeset attached | => LimeSurvey master 76237d25 |
| 2026-09-01 20:45 | c_schmitz | Note Added: 85542 | |
| 2026-09-01 20:45 | c_schmitz | Status | assigned => resolved |
| 2026-09-01 20:45 | c_schmitz | Resolution | open => fixed |
| 2026-09-02 08:31 | fradeff | Note Added: 85544 | |
| 2026-09-03 11:54 | LimeBot | Note Added: 85559 | |
| 2026-09-03 11:54 | LimeBot | Status | resolved => closed |
| 2026-09-03 11:54 | LimeBot | Bug heat | 8 => 10 |
| 2026-09-04 06:17 | fradeff | Note Added: 85563 |