Odoo 12 installation postgresql problems all over
So I tried to install odoo 12 as a first time user. Since it's a browser accessible thin I started with a clean Ubuntu setup on an old laptop (core2duo with 4gb ram). Running Ubuntu on that is a breeze. But installing odoo 12 is a hell. It started out fine with installing postgresql. Then with the echo to some sources.list file it went wrong. The file does not exist. Since I'm not a Linux guru I decided to abandon that and go for the windows approach. Installed a clean win 10 pro on the same laptop and downloaded odoo 12. Started the installer and finished it without errors. (Linux can learn something from that)
Though my hopes were very high the installer ended with the question if I wanted to start odoo? Well yes, I sure do. So my browser popped up with http://localhost:8069/ in it. Spinning for a while and ended with a 500 error.
The odoo log file said a whole lot of things normal people can't make anything of but the one thing I did understand was the fact that odoo could not connect with the database. So I checked task manager and odoo was not wrong. Postgresql service is not there. Nowhere to be found. So now what? I tried to start postgresql myself with pg_ctl from command line. But the database path stated in odoo.conf is not a database cluster. Tried initdb but the folder isn't empty. Tried initdb on a new folder but it gave some wierd error about message_lc.
Why is it so hard to make a solid stable installation process? Is it postgresql? Choose mariadb then? But for the love of God why not make installing such a program as intuitive as an app on my phone? It that so much to ask?