Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
103 Widoki

Who may help me?

Awatar
Odrzuć

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?

Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć