Content
View differences
Updated by Jean-Baptiste Bugeaud over 5 years ago
### **Environment**:
Your OpenProject Version: 11.1.1
Operating System / Browser / OpenProject language:
### **Logs**
```text
I, [2021-01-08T15:46:11.419660 #5901] INFO -- : Migrating to RenamePlanningElemntTypeColorsToColors (20180510184732)
== 20180510184732 RenamePlanningElemntTypeColorsToColors: migrating ===========
-- index_name_exists?(:planning_element_type_colors, :timelines_colors_pkey)
-> 0.0037s
-- rename_table(:planning_element_type_colors, :colors)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::UndefinedTable: ERROR: relation "planning_element_type_colors_pkey" does not exist
```
I've followed mitigation from <mention class="mention" data-id="#28556" data-type="work_package" data-text="#28556">#28556</mention> without success as the element does not exist at all (hence no point in alter).
### **Steps to reproduce:**
1. Old Openproject version 7 ? on MySQL up and running
2. Follow the upgrade procedure [https://docs.openproject.org/installation-and-operations/misc/packaged-postgresql-migration/](https://docs.openproject.org/installation-and-operations/misc/packaged-postgresql-migration/)
3. Reconfigure as required
### **Actual Behavior**
Fail to complete upgrade
### **Expected Behavior**
Upgrade completed
Your OpenProject Version: 11.1.1
Operating System / Browser / OpenProject language:
### **Logs**
```text
I, [2021-01-08T15:46:11.419660 #5901] INFO -- : Migrating to RenamePlanningElemntTypeColorsToColors (20180510184732)
== 20180510184732 RenamePlanningElemntTypeColorsToColors: migrating ===========
-- index_name_exists?(:planning_element_type_colors, :timelines_colors_pkey)
-> 0.0037s
-- rename_table(:planning_element_type_colors, :colors)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::UndefinedTable: ERROR: relation "planning_element_type_colors_pkey" does not exist
```
I've followed mitigation from <mention class="mention" data-id="#28556" data-type="work_package" data-text="#28556">#28556</mention> without success as the element does not exist at all (hence no point in alter).
### **Steps to reproduce:**
1. Old Openproject version 7 ? on MySQL up and running
2. Follow the upgrade procedure [https://docs.openproject.org/installation-and-operations/misc/packaged-postgresql-migration/](https://docs.openproject.org/installation-and-operations/misc/packaged-postgresql-migration/)
3. Reconfigure as required
### **Actual Behavior**
Fail to complete upgrade
### **Expected Behavior**
Upgrade completed