Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
182 Zobrazení

Who may help me?

Avatar
Zrušit

As I would assume 'I can' is not an answer you're looking for, what is your actual question?

Autor

Hello Martin,
With command "sudo dnf install postgresql postgresql-server postgresql-contrib" I have installed my PostgreSQL server. This went smoothly.
Do you have a link for me , showing how to initialize to initialize a PostgreSQL database server.
Indeed I suppose that the missing dataserver is the cause of the errors in my previous reply.
Thanks in advance.
Best regards,
Pieter van Noorden

Are you sure you haven't already been running an instance of postgresql prior to you trying to install it a second time? 'Data directory /var/lib/pgsql/data is not empty' suggests that. Also, did you read /var/lib/pgsql/initdb_postgresql.log?

Autor

Hello Christoph,

Many thanks for your help and approach.

Almost two months I'am trying to configure ODOO IN Linux Fedora 42. First I was recommended to start with packages. Later the guy from the Odoo tickets suggested I was a developper and eventually someone helped me, also from the Odoo support technics team helped me with a tutorial. However she is not allowed to tell me what to do if an error occurs I can't deal with.

S o indeed in my first trial(s) I have duplicated a Odoo database and stored it in "/home/ODOO BOEKHOUDING".

I succeeded in reading "/var/lib/pgsql/initdb_postgresql.log". The content is attached by screenshot 1. Suppose this is the database I downloaded the first time, but I doubt if it still can be used, since I haven't been on-line with Odoo several weeks.

What do recommend me to do now?

Tanks in advance.

Best regards,

Pieter van Noorden
Tel.: + 32 11 60 53 44
file:///home/jeanine/Downloads/Screenshot%201%20dated%202025-08-12%2012-03-25.png

Nejlepší odpověď

Hi, how did you install your PostgreSQL server?

There are some basic steps to initialize a PostgreSQL database server that you can easily find online.

Once you have your PostgreSQL server running, you can continue with the Odoo setup.

Avatar
Zrušit
Autor Nejlepší odpověď

Thanks for your reply.

I  try to configure Odoo in Linux Fedora 42. Though I have got several tutorials, I do not succeed to finish the configuration successfully.

Very concrete : I executed the command :"sudo systemctl enable postgresql".

The system replied me with the following error messages :

" Data directory /var/lib/pgsql/data is not empty!"

"Initializing database failed, possibly see /var/lib/pgsql/initdb_postgresql.log"


I tried to duplicate my odoo database to my laptop, but despite the tutorial I was not able to do it. Besides that I ' am not even sure where to store the database. So far I have stored th.e sourcodes for both "odoo" and "enterprise" in the directory "/opt/src". Can I store the database into the same directory?

If you can help me already with answers on these questions, it would help a lot.

Thanks in advance.

Pieter van Noorden

Avatar
Zrušit