# Bug OP-15164 - Typo in historic migation

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.1.1 |
| Observed in versions | 14.1.0 |
| Sprint | 14.1.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.1.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 | Klaus Zanders |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Have a version of OpenProject where migration `20230731153909_add_file_link_journals_to_existing_containers.rb` has not been executed (Alternatively, roll back the migration individually using `rails db:migrate:down VERSION=20230731153909`) **and** have file storage containers set up
    
2.  Run `db:migrate`
    
3.  See an error that `Jounal::CausedBySystemUpdate` is not defined
    

### What is the buggy behavior?

*   Migration is not executed&nbsp;
    

### What is the expected behavior?

*   Migration runs as expected
    

### Other Info

Bug happens when running OpenProject &lt; 12.5.8 and directly updating to a version &gt;= 14.0

  

Reported by [https://github.com/IchbinkeinReh](https://github.com/IchbinkeinReh) in https://github.com/opf/openproject/commit/349d43500aaa7186fc25bbf65a1df599f50bae27#commitcomment-142533205
