# Dolibarr on linux with nginx and postgresql

**URL:** <https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271>\
**Category:** Installing my Dolibarr\
**Tags:** PHP-Issues, Server-Issues, Linux, Setup-Configuration, Database\
**Created:** [May 7, 2022, 1:51am UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271 "2022-05-07T01:51:49Z")\
**Posts on this page:** 20\
**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, 1:51am UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/1 "2022-05-07T01:51:49Z")

</div>

Hi,  
i have successfully installed Dolibarr 12.0.5 on linux with nginx and postgresql 14, everything seems fine i dont get any errors, i have many questions but lets start with the first one; if i want to create new group and user, it doesnt create any, and i dont get any error, it just simply doesnt create it.  
i fill Last name, First name, Login and Employment Start Date then i hit save button but nothing changes.  
what could possibly go wrong?  
kinds.

---

<div class="post-metadata">

**Author:** ![pcbleu](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/pcbleu/32/3120_2.png) [@pcbleu](https://www.dolibarr.org/forum/u/pcbleu)\
**Post date:** [May 7, 2022, 6:43am UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/3 "2022-05-07T06:43:23Z")

</div>

Hello 🙂

for more information you can activate the debugs logs module in Setup, Modules/Applications function  
then you will have more information about what is happening with your system

Good continuation

---

<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, 3:47pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/4 "2022-05-07T15:47:42Z")

</div>

Thank you for reply, how can i use it after enabling debugs/logs module?  
this is what i get after i click save button on create group section;  
LOG:

 ![Screen Shot 2022-05-07 at 18.44.29](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/c/cf2b8042a27fe47121fa76792d52c4b7f7c15cb4.png)  
DATABASE:

> **[Screen-Shot-2022-05-07-at-18-45-33](https://ibb.co/1rJSjTt)**
>
> Image Screen-Shot-2022-05-07-at-18-45-33 hosted in ImgBB

i think Dolibarr is not 100% compatible with Postgresql!

---

<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:44pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/5 "2022-05-07T16:44:27Z")

</div>

i thought it is maybe an old version issue so i decided to upgrade to V15 which is not labeled as latest on github, i am in trouble right now;  
please see: [Can not upgrade topic](https://www.dolibarr.org/forum/t/can-not-upgrade-from-v13-to-v14/22272)

---

<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:02pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/6 "2022-05-07T17:02:43Z")

</div>

i upgrade it to V15 with errors which i mentioned in [Can not upgrate topic](https://www.dolibarr.org/forum/t/can-not-upgrade-from-v13-to-v14/22272) i still have the same problems so i will delete everything and start over with V15.

---

<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:42pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/7 "2022-05-07T17:42:26Z")

</div>

ugrading to V15 did not solved the problem, i still have the same problem, can not create group and user, i did not get it.

---

<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, 9:00pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/8 "2022-05-07T21:00:32Z")

</div>

Here is log file if you are interested;  
[https://drive.google.com/file/d/11thVFIJwXg-p7jVHTDld0MrCT12jM20D/view?usp=sharing](https://drive.google.com/file/d/11thVFIJwXg-p7jVHTDld0MrCT12jM20D/view?usp=sharing)

---

<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 8, 2022, 12:12pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/9 "2022-05-08T12:12:39Z")

</div>

Postgresql 14 is installed but Dolibarr’s libpq version 12.9 is it something related to this?

 ![Screen Shot 2022-05-08 at 15.11.03](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/7/71ae2fd519006f2a81f0f1b8918b02d8e9cb4d48.png)

---

<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 8, 2022, 4:09pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/10 "2022-05-08T16:09:38Z")

</div>

Ok, i installed on MariaDb from scratch, it is the same, nothing is changed!!, what is wrong with Dolibarr or what is the thing i am doing wrong?  
@eldy can you check? please.

---

<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:** [May 8, 2022, 4:30pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/11 "2022-05-08T16:30:07Z")

</div>

No way to reproduce your trouble.  
Are you sure you are using a valid supported PHP version (so between 5.6.0 and 7.4.\*) ?

---

<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 8, 2022, 5:13pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/13 "2022-05-08T17:13:14Z")

</div>

the php version is 7.4.3. i installed from scratch 2 times, 1st on postgresql and 2nd on Mariadb, i had problem on both of them. and i saw on forum there are other people had the same problem one of them; [Can't create anything](https://www.dolibarr.org/forum/t/cant-create-anything/21989)

---

<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 10, 2022, 1:11am UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/14 "2022-05-10T01:11:09Z")

</div>

@aljawaid @eldy  
it is not a database issue because i activated Resources Module and created a resource successfully on postgresql but i can not create Group, User, Product or any other.

---

<div class="post-metadata">

**Author:** ![pcbleu](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/pcbleu/32/3120_2.png) [@pcbleu](https://www.dolibarr.org/forum/u/pcbleu)\
**Post date:** [May 10, 2022, 6:11am UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/15 "2022-05-10T06:11:27Z")

</div>

The log file you sent is ok  
But you did not make any group or user creation, so there is no 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 10, 2022, 3:35pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/16 "2022-05-10T15:35:40Z")

</div>

Actually i am trying to create things but it just refresh the page and nothing is created, and there is nothing on debug or log files. That is simply this. i will record the screen and post here to show you.

---

<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 10, 2022, 5:47pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/17 "2022-05-10T17:47:15Z")

</div>

@pcbleu , @eldy , @aljawaid ,  
here is the 6 minute video shows it from the beginning;

> **[vlc-output.mp4](https://disk.yandex.com.tr/i/5MVc80g5IVWysA)**
>
> Görüntüle ve Yandex.Disk'ten indir

Kinds.

---

<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:** [May 11, 2022, 12:16am UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/18 "2022-05-11T00:16:12Z")

</div>

Is it possible to access one of your instance that fails remotely ? If yes can you send me credentials in PM ?

---

<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 11, 2022, 12:58pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/19 "2022-05-11T12:58:47Z")

</div>

i am afraid not, because it is behind CGNAT at home, but i can send whole virtual instance, it is ~4GB something as OVA . it has postgresql, mariadb, nginx and 2 different setup of Dolibarr inside. Nothing special for me.

---

<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 11, 2022, 3:42pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/20 "2022-05-11T15:42:35Z")

</div>

i’ve sent you the link of whole instance with credentials.

---

<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 13, 2022, 7:54pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/21 "2022-05-13T19:54:32Z")

</div>

@eldy did you had time to check it?

---

<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 12, 2022, 6:40pm UTC](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271/22 "2022-06-12T18:40:02Z")

</div>

Sorry, I have no way to diagnose since i have no way to reproduce. Everything works correctly with postgresql on my side.  
Do you have a proxy or some plugins on you browser that modify your http requests ?

[Next page](https://www.dolibarr.org/forum/t/dolibarr-on-linux-with-nginx-and-postgresql/22271.md?page=2)
