# Cannot update

**URL:** <https://www.dolibarr.org/forum/t/cannot-update/16786>\
**Category:** Installing my Dolibarr\
**Created:** [July 28, 2018, 10:21am UTC](https://www.dolibarr.org/forum/t/cannot-update/16786 "2018-07-28T10:21:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonmcl74](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/35a633/32.png) [@simonmcl74](https://www.dolibarr.org/forum/u/simonmcl74)\
**Post date:** [July 28, 2018, 10:21am UTC](https://www.dolibarr.org/forum/t/cannot-update/16786/1 "2018-07-28T10:21:05Z")

</div>

I have tried to update but on running I get a screen for a full install where everything is greyed out so cannot uncheck the ‘create database’ and before update I got a message telling me that it was ‘unable to connect’

how is this resolved and how do I get Dolibarr working and my information back?

---

<div class="post-metadata">

**Author:** ![operakadabra](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/o/d26b3c/32.png) [@operakadabra](https://www.dolibarr.org/forum/u/operakadabra)\
**Post date:** [July 28, 2018, 3:18pm UTC](https://www.dolibarr.org/forum/t/cannot-update/16786/2 "2018-07-28T15:18:26Z")

</div>

I’m no dolibarr whiz but I have upgraded a couple of times recently and learned a little something…

You want to unpack the archive and you’ll have a directory like ./dolibarr-7.0.3  
Go inside that directory and select and copy (cut) everything and paste it into your old dolibarr directory (./dolibarr or whatever) overwriting the old contents. This way your documents and config files will remain but all of the old program files will be overwritten.

If you’re getting a new install screen it sounds like your old config file (./dolibarr/htdocs/conf/conf.php) is not there. Hopefully you didn’t delete it. On my initial attempt to upgrade I made a new ./dolibarr directory and then copied over the config files and documents, which seemed to work, but then I realized that was the wrong way. Good luck. It’s always intimidating for me as a non-expert to try this stuff and worry that everything is going to get screwed up. Of course it’s always recommended to back up your directories and database before upgrading.

-p

---

<div class="post-metadata">

**Author:** ![Withheld](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/withheld/32/466_2.png) [@Withheld](https://www.dolibarr.org/forum/u/Withheld)\
**Post date:** [July 30, 2018, 4:04pm UTC](https://www.dolibarr.org/forum/t/cannot-update/16786/3 "2018-07-30T16:04:23Z")

</div>

Verify your database settings in htdocs/conf/conf.php. Also, don’t forget to temporarily rename documents/install.lock before the installations
