Tuesday, April 12, 2022

[SOLVED] Odoo11 install on CentoOS7

Issue

I just bought new VPS server installed CentOS7 and tried to install Odoo11 on my server.

So I researched some articles and tried following.

// Install requirement packages
[root@odoo ~]# yum update -y 
[root@odoo ~]# yum install epel-release -y 
[root@odoo ~]# yum install fontconfig libpng libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi wkhtmltopdf yum-utils -y 

// Install PostgreSQL
[root@odoo ~]# yum install postgresql-server -y 
[root@odoo ~]# postgresql-setup initdb
[root@odoo ~]# systemctl enable postgresql
[root@odoo ~]# systemctl start postgresql

// Install Odoo
[root@odoo ~]# yum-config-manager --add-repo=https://nightly.odoo.com/11.0/nightly/rpm/odoo.repo 
[root@odoo ~]# yum install odoo -y 

After run last command, I get error.

...

Error: Package: odoo-11.0.post20171110-1.noarch (odoo-nightly) Requires: python3-psutil Error: Package: odoo-11.0.post20171110-1.noarch (odoo-nightly) Requires: python3-requests Error: Package: odoo-11.0.post20171110-1.noarch (odoo-nightly) Requires: python3-greenlet

...

How can I fix this?


Solution

This was due to python3 dependency missing problem though I installed python3 successfully on CentOS.

Finally, I restarted server and it solved the problem. I'm not sure exactly why restart was required.



Answered By - Tornike
Answer Checked By - Dawn Plyler (WPSolving Volunteer)