# Can not upgrade from V13 to V14

**URL:** <https://www.dolibarr.org/forum/t/can-not-upgrade-from-v13-to-v14/22272>\
**Category:** Maintaining my Dolibarr\
**Tags:** v13, v14, Upgrades, Database, Setup-Configuration\
**Created:** [May 7, 2022, 4:20pm UTC](https://www.dolibarr.org/forum/t/can-not-upgrade-from-v13-to-v14/22272 "2022-05-07T16:20:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dolierp](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/dolierp/32/5229_2.png) [@Dolierp](https://www.dolibarr.org/forum/u/Dolierp)\
**Post date:** [May 7, 2022, 4:20pm UTC](https://www.dolibarr.org/forum/t/can-not-upgrade-from-v13-to-v14/22272/1 "2022-05-07T16:20:02Z")

</div>

Hi,  
i have installed Dolibarr V12.0.5 on linux with Nginx and Postgresql, but i had some problems (  
[Related topic](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271) ),  
so i decided to upgrade it to V15.0.1, i downloaded files and followed the instructions, it first upgradet to V13, but when i want to upgrade it to V14 i had errors like;

`ERROR DB_ERROR_42804: ALTER TABLE llx_product_fournisseur_price MODIFY COLUMN packaging real DEFAULT NULL; ERROR: 42804: column "packaging" cannot be cast automatically to type real HINT: You might need to specify "USING packaging::real". LOCATION: ATPrepAlterColumnType, tablecmds.c:11681`

Details;  
[https://pastebin.pl/view/b9bb74d8](https://pastebin.pl/view/b9bb74d8)

---

<div class="post-metadata">

**Author:** ![Dolierp](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/dolierp/32/5229_2.png) [@Dolierp](https://www.dolibarr.org/forum/u/Dolierp)\
**Post date:** [May 7, 2022, 5:00pm UTC](https://www.dolibarr.org/forum/t/can-not-upgrade-from-v13-to-v14/22272/2 "2022-05-07T17:00:39Z")

</div>

i could not wait for an answer and i clicked to ignore errors and continue, then i had almost same error when it comes to V14 to V15 and i again clicked to ignore errors.

---

<div class="post-metadata">

**Author:** ![Dolierp](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/dolierp/32/5229_2.png) [@Dolierp](https://www.dolibarr.org/forum/u/Dolierp)\
**Post date:** [May 7, 2022, 5:43pm UTC](https://www.dolibarr.org/forum/t/can-not-upgrade-from-v13-to-v14/22272/3 "2022-05-07T17:43:12Z")

</div>

wiped everything and start over with V15.

---

<div class="post-metadata">

**Author:** ![eldy](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/eldy/32/12_2.png) [@eldy](https://www.dolibarr.org/forum/u/eldy)\
**Post date:** [June 17, 2022, 7:28am UTC](https://www.dolibarr.org/forum/t/can-not-upgrade-from-v13-to-v14/22272/4 "2022-06-17T07:28:14Z")

</div>

Seems fixed in v15.0.3  
For 15.01, you can run manually  
`ALTER TABLE llx_product_fournisseur_price MODIFY COLUMN packaging real DEFAULT NULL USING packaging::real;`
