# Bug OP-8789 - Database migration fails on upgrade from 11.2.2 to 11.3.X

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8789

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 11.3.3 |
| Observed in versions | 11.2.0 |
| Sprint | 11.3.3 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: 11.2.2

Operating System / Browser / OpenProject language:  Debian 10

### **Logs**

\[openproject\] ./bin/postinstall  
I, \[2021-06-07T11:56:51.309386 [<mention class="mention" data-id="8973" data-type="work_package" data-text="#8973">#8973</mention>](https://community.openproject.org/work_packages/8973)\]  INFO -- : Migrating to MakeProjectIdentifierUnique (20210512121322)  
\== 20210512121322 MakeProjectIdentifierUnique: migrating ======================  
\-- remove\_index(:projects, :identifier)  
rake aborted\!

Also see attached Logs.txt for more detail.

### **Steps to reproduce:**

1.  apt-get update
2.  apt-get install --only-upgrade openproject
3.  openproject configure

### **Actual Behavior**

Database fails to migrate.

### **Expected Behavior**

Migration successful and openproject starts up again.
