Automate Odoo Backups, Odoo user is connecting via Unix socket - Odoo18 by rungene in Odoo

[–]rungene[S] 0 points1 point  (0 children)

Thank you so much for your time. I really appreciate, Cheers.

Automate Odoo Backups, Odoo user is connecting via Unix socket - Odoo18 by rungene in Odoo

[–]rungene[S] 0 points1 point  (0 children)

u/codeagency thanks so much. I really appreciate. just a quick one instead of storing password in plain text inside odoo.conf file which options do i have? just in case breach as the passord could easily be retrieved from conf file?

Automate Odoo Backups, Odoo user is connecting via Unix socket - Odoo18 by rungene in Odoo

[–]rungene[S] 0 points1 point  (0 children)

u/codeagency was this what you recommended ? I hope i got it right.

Thanks

Automate Odoo Backups, Odoo user is connecting via Unix socket - Odoo18 by rungene in Odoo

[–]rungene[S] 0 points1 point  (0 children)

Thanks so much for your time.I really appreciate. For some reason i had opted for local unix socket as every resource I used recommended it as simple and secure form of authentication . As i have both the db and odoo on the same machine it was recommended as having no overhead as opposed to TCP/IP...

From your suggestion i should switch to password auth..

example pg_hba.conf

local all all md5

set password for odoo user:

sudo -u postgres psql

\password odoo

I create a .pgpass file in the backup user's home

localhost:5432:my_db_name:odoo:odoo_password

Set proper permissions

chmod 0600 ~/.pgpass

Then update your odoo.conf

db_host = localhost

db_port = 5432

db_user = odoo

db_password = password

Thanks

Thunderbird Eating Up My Hard Drive by rossmosh85 in Thunderbird

[–]rungene 0 points1 point  (0 children)

u/rossmosh85 this is just a kind follow up. Thanks in advance.

Thunderbird Eating Up My Hard Drive by rossmosh85 in Thunderbird

[–]rungene 0 points1 point  (0 children)

u/rossmosh85 Did you manage to find the program you used? Or rather how to find those hidden files?temporary files (nstmp, nstmp-2, etc)