View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19396 | Bug reports | Installation | public | 2024-02-05 18:35 | 2024-02-12 14:43 |
Reporter | lavamind | Assigned To | mohabmes | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.4.x | ||||
Summary | 19396: Upgrade failure encountered at migration 620 | ||||
Description | Today I attempted to upgrade our self-hosted LimeSurvey instance, with a PostgreSQL 15 database backend, from 6.4.1+240108 to 6.4.5+240205, and it failed at the database upgrade step: Update pgsql:host=localhost;port=5432;user=limesurvey;password=[REDACTED];dbname=limesurvey; with prefix :lime_ from 619 to 623 If I look at the database, it seems to have upgraded up until DBVersion 620, so it seems like the cause of the failure is the 621 database migration. | ||||
Steps To Reproduce | Steps to reproduceInstall LimeSurvey 6.4.x Community Edition then upgrade to 6.4.5. Expected resultUpgrade works up to database version 623. Actual resultFails to upgrade to 623, stops at 620. | ||||
Tags | PostgreSQL, update | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 6.4.5+240205 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | PostgreSQL 15 | ||||
Server OS (if known) | Debian 12 | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 7.4.33 | ||||
I implemented this workaround before re-trying the database upgrade: alter table lime_users drop column user_status; Ran the database migrations again and this time it worked. |
|
There have been several regressions with database migrations under PostgreSQL in recent weeks, I'm hoping this will improve in the future. |
|
I can confirm this is happening (see screenshot below). |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36044 |
|
Tested and merged. |
|
Fixed in Release 6.4.6+240212 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-05 18:35 | lavamind | New Issue | |
2024-02-05 18:45 | lavamind | Note Added: 79420 | |
2024-02-05 18:45 | lavamind | Bug heat | 0 => 2 |
2024-02-05 18:53 | lavamind | Note Added: 79421 | |
2024-02-05 18:54 | lavamind | Tag Attached: PostgreSQL | |
2024-02-05 18:54 | lavamind | Tag Attached: update | |
2024-02-06 09:37 | tibor.pacalat | Assigned To | => mohabmes |
2024-02-06 09:37 | tibor.pacalat | Status | new => assigned |
2024-02-06 09:39 | tibor.pacalat | Note Added: 79422 | |
2024-02-06 09:39 | tibor.pacalat | File Added: Screenshot 2024-02-06 at 09.37.46.png | |
2024-02-06 09:39 | tibor.pacalat | Bug heat | 2 => 4 |
2024-02-06 17:24 | mohabmes | Changeset attached | => LimeSurvey master 0022905f |
2024-02-06 17:24 | mohabmes | Note Added: 79425 | |
2024-02-06 17:24 | mohabmes | Resolution | open => fixed |
2024-02-06 17:24 | tibor.pacalat | Bug heat | 4 => 6 |
2024-02-06 17:24 | tibor.pacalat | Status | assigned => resolved |
2024-02-06 17:24 | tibor.pacalat | Note Added: 79426 | |
2024-02-12 14:43 | LimeBot | Note Added: 79453 | |
2024-02-12 14:43 | LimeBot | Status | resolved => closed |
2024-02-12 14:43 | LimeBot | Bug heat | 6 => 8 |