After struggling with incomplete, and sometimes just wrong documentation, I finally figured out how to install Odoo without any immediate error messages. I haven't done much with Odoo, so I'm not sure if my instructions are complete. Regardless, I thought the instructions might save a lot of people a lot of time. Comments are welcome if I got anything wrong.
Disclaimer: I am NOT a Linux Guru. This might not be perfect, or even right, but I found it works for me.
root @ server: ~ # apt-get install postgresql
root @ server: ~ # cd ..
root @ server: ~ # su postgres
postgres @ server: ~ $ psql -U postgres
Type "help" for help.
postgres = # update pg_database set datallowconn = TRUE where datname = 'template0';
postgres = # \c template0
You are now connected to database "template0".
template0 = # update pg_database set datistemplate = FALSE where datname = 'template1';
template0 = # drop database template1;
template0 = # create database template1 with template = template0 encoding = 'UTF8';
template0 = # update pg_database set datistemplate = TRUE where datname = 'template1';
template0 = # \c template1
You are now connected to database "template1".
template1 = # update pg_database set datallowconn = FALSE where datname = 'template0';
Ctrl + Z
postgres @ server: ~ $ exit (Repeat if it doesn't exit)
root @ server: ~ #
root @ server: ~ # wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
root @ server: ~ # echo "deb http://nightly.odoo.com/8.0/nightly/deb/ ./" >> /etc/apt/sources.list
root @ server: ~ # apt-get update && apt-get install odoo
Also, you'll probably have to run this line:
root @ server: ~ # apt-get update && apt-get install odoo --fix-missing
You can now access it at port 8069
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/2/15, 3:07 PM|
|Seen: 795 times|
|Last updated: 4/2/15, 6:50 PM|