# Messed up Installation of Dolibarr 21 using DoliDeb

**URL:** <https://www.dolibarr.org/forum/t/messed-up-installation-of-dolibarr-21-using-dolideb/30198>\
**Category:** Installing my Dolibarr\
**Created:** [April 3, 2025, 1:35pm UTC](https://www.dolibarr.org/forum/t/messed-up-installation-of-dolibarr-21-using-dolideb/30198 "2025-04-03T13:35:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IAmTheRealBeef](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/iamtherealbeef/32/8876_2.png) [@IAmTheRealBeef](https://www.dolibarr.org/forum/u/IAmTheRealBeef)\
**Post date:** [April 3, 2025, 1:35pm UTC](https://www.dolibarr.org/forum/t/messed-up-installation-of-dolibarr-21-using-dolideb/30198/1 "2025-04-03T13:35:52Z")

</div>

I had Dolibarr 20.0.3 installed, and wanted to upgrade to 21.0.0. I used the Dolideb installation method.

However after downloading and running the 21.0.0 deb, it appears my database has been wiped clean. It also displayed some errors related to creation of database tables during the installation. I am not sure the steps to take in order to restore the database and fix the broken install. I cannot login as it displays the following

![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/1/1cd9955ec127c99f95261ad86952c6da395ca72c.png)

---

<div class="post-metadata">

**Author:** ![IAmTheRealBeef](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/iamtherealbeef/32/8876_2.png) [@IAmTheRealBeef](https://www.dolibarr.org/forum/u/IAmTheRealBeef)\
**Post date:** [April 3, 2025, 2:06pm UTC](https://www.dolibarr.org/forum/t/messed-up-installation-of-dolibarr-21-using-dolideb/30198/2 "2025-04-03T14:06:30Z")

</div>

I was able to solve it by visiting

[http://localhost/dolibarr/install/](http://localhost/dolibarr/install/) and re-doing the upgrade from 20.x to 21.x

Some personalization options were lost but the database was successfully recovered.
