Installation - Upgrade: Difference between revisions

Jump to navigation Jump to search
m
Line 138: Line 138:


<source lang="bash">
<source lang="bash">
$ mkdir documents ; chown www-data documents
$ mkdir -p /var/lib/dolibarr/documents ; chown www-data /var/lib/dolibarr/documents
</source>
</source>


Line 152: Line 152:
* Follow instructions of setup steps until end of install process.
* Follow instructions of setup steps until end of install process.


* For security reason, we recommend, once setup is finished, to create a file install.lock into Dolibarr installed directory that only root user can delete. This will lock the call of the install process again (you will have to remove this file for upgrades).
* For security reason, we recommend, once setup is finished, to create a file install.lock into Dolibarr document directory that only root user can delete. This will lock the call of the install process again (you will have to remove this file for upgrades).
If this is not done, Dolibarr will show you a warning once logged by an administrator user.
If this is not done, Dolibarr will show you a warning once logged by an administrator user.
<source lang="bash">
<source lang="bash">
$ touch /var/www/dolibarr/documents/install.lock; chmod go-w /var/www/dolibarr;
$ touch /var/lib/dolibarr/documents/install.lock; chmod go-w /var/lib/dolibarr/documents;
</source>
</source>


Navigation menu