> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrade issue

> Upgrade of flexdeploy from 8.0.0.9 to 8.0.0.12 failed due to migration script(v8.0.0.8 to 8.0.0.9) having a wrong version entry If you upgraded FlexDe

### Upgrade of flexdeploy from 8.0.0.9 to 8.0.0.12 failed due to migration script(v8.0.0.8 to 8.0.0.9) having a wrong version entry

If you upgraded FlexDeploy from version **8.0.0.9(Could be 8.0.0.x) to 8.0.0.12** before **March 25th**, you may be impacted by a known issue: [\[FLEXDEPLOY-14307\]](https://flexagon.atlassian.net/browse/FLEXDEPLOY-14307)

#### Resolution Steps:

* To fix this issue, before starting the upgrade to 9.0 using the automated installer, run the following query against your FlexDeploy database:

```
UPDATE fd.fd_flexdeploy_version
SET version = '8.0.0.9'
WHERE version = '9.0.0.0';
```

This will correct the versioning and allow the upgrade process to complete successfully.

#### If Already Stuck During Upgrade:

* In case you have not updated the table and during the installer if you stuck in Database migration error. Then you need to run the above query again and rerun the installer to fix all the Database migration issues.

* Release notes have the details under Known issues - [FlexDeploy 8.0 Release Notes - FlexDeploy 8.0 - Confluence](https://flexagon.atlassian.net/wiki/spaces/FD80/pages/10561717657/FlexDeploy+8.0+Release+Notes)

#### To Verify If above action Is Needed:

* To check whether this fix is required, run the following query

```
SELECT * FROM fd.fd_flexdeploy_version WHERE version = '9.0.0.0';
```

* If this returns any rows — and you upgraded from **8.0.0.9(Could be 8.0.0.x) to 8.0.0.12** before **March 25th** — then applying the fix is **definitely required**.
