Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

How to install odoo12 step by step not by using any script.

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
installationstepsodoo12
9 Respuestas
12372 Vistas
Avatar
Pallavi

Hi,

I want to install odoo12 but not by using any script. Could anyone provide me the step by step process to install odoo12 without any script

Thanks in advance!

0
Avatar
Descartar
Sehrish

How to install odoo: https://goo.gl/vjzEoH

Avatar
Ermin Trevisan
Mejor respuesta

You may also want to read the official directions of Odoo at Odoo Documentation

1
Avatar
Descartar
Yenthe Van Ginneken (Mainframe Monkey)

I've slightly improved your link but this is the good answer :)

Avatar
Hilar Andikkadavath
Mejor respuesta

Here I am Sharing the Step By Step procedure of ODOO 11 Installation. Change the version and dependency accordingly.


If Python is already installed, make sure it is 3.5 or above that, previous versions are not compatible with Odoo 11

Open the terminal and execute below commands step-by-step to achieve excellence:

Step 1: 

Update apt source-lists:

sudo apt-get update

Step 2: 

Create the Odoo user that will own and run the application

sudo adduser --system --home=/opt/odoo --group odoo

Step 3: 

Install and configure the database server, PostgreSQL

sudo apt-get install -y postgresql postgresql-contrib

Once the PostgreSQL is installed, next we set up a new PostgreSQL user for our application. This user will be used for making all the database interaction from the Odoo.

sudo service postgresql start

sudo su - Postgres

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo
Enter password for new role: *****
Enter it again:*****

Finally exit from the Postgres user account:

exit


FIX 2: Check if your PostgreSQL has proper encoding(UTF-8) or not, used in Odoo Application, if not you can do like this:


sudo su - postgres
psql
update pg_database set encoding = pg_char_to_encoding('UTF8');
\q
exit

FIX 3: Set The Locale To UTF-8 For Python 3, if you are getting UnicodeEncodeError /UnicodeDecodeError, you can fix it, as You can also check this LINK

Directly execute these commands:

locale-gen en_US.UTF-8

export LANG=en_US.UTF-8 LANGUAGE=en_US.en LC_ALL=en_US.UTF-8

FIX 4: In PostgreSQL, allow TCP connection, if you are getting error like:

psycopg2.OperationalError: FATAL: Peer authentication failed for user

To fix it,in /etc/postgresql/9.5/main/pg_hba.conf change peer to md5:

# "local" is for Unix domain socket connections only
local     all all     peer md5

Then

sudo service postgresql restart

Step 5: 

Install the necessary Python libraries & other needed libraries needed for the application:

Odoo 11 will use python 3.5(which is pre-installed on our Ubuntu), previously it uses python 2.7, so to install all dependent libraries easily we`ll install pip3 in our server, as:

sudo apt-get install -y python3-pip

Once pip3 is installed on your server, we can proceed with installing other dependent libraries using pip3 as:

pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd Pypdf2

or after cloning ODOO Source in step 6 do:

pip3 install wheel
pip3 install -r path_to_odoo_folder_source/requirements.txt

Next is to install Odoo Web Dependencies:

sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

Once all the packages are installed we are ready to proceed with installing Odoo server.


Step 6:

Installing ODOO version 11 Community Edition hosted on GITHUB.

Make sure you have GIT installed on your system and if not then install with the simple command:

sudo apt-get install -y git

Switch to the Odoo user:

sudo su - odoo -s /bin/bash

Clone the latest branch of Odoo, in our case it is 11.0 from Github:

git clone https://www.github.com/odoo/odoo --depth 1 --branch 11.0 --single-branch .

(This might take a little while depending on the speed of your Internet connection.)

Finally exit from the odoo user account:

exit

Step 7:

The next step is to create a configuration file for Odoo. But before doing so we'll first create the directory for storing logs of Odoo server and assigning proper ownership to the directory:

sudo mkdir /var/log/odoo

sudo chown odoo:root /var/log/odoo

Next is to create the configuration file for the odoo server. Odoo application will use these configurations to run so fill in the configuration as per your requirements.

sudo nano /etc/odoo-server.conf

A sample configuration file will look like this:

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
logfile = /var/log/odoo/odoo-server.log
addons_path = /opt/odoo/addons,/opt/odoo/odoo/addons

(* You need to use the same password you used back in step 3.)

Once the configuration file is created we will set the ownership rights

sudo chown odoo: /etc/odoo-server.conf
sudo chmod 640 /etc/odoo-server.conf

Create a systemd unit file
To run odoo as a service we will create an odoo11.service unit file in the /etc/systemd/system/ directory with the following contents:

[Unit]
Description=Odoo11
Requires=postgresql.service
After=network.target postgresql.service

[Service]
Type=simple
SyslogIdentifier=odoo11
PermissionsStartOnly=true
User=odoo
Group=odoo
ExecStart=/opt/odoo/odoo11-venv/bin/python3 /opt/odoo/odoo11/odoo-bin -c /etc/odoo11.conf
StandardOutput=journal+console

[Install]
WantedBy=multi-user.target

Notify systemd that we created a new unit file and start the Odoo service:

sudo systemctl daemon-reload
sudo systemctl start odoo11
check the service status:

sudo systemctl status odoo11

If successful you will get output something like below.

odoo11.service - Odoo11
   Loaded: loaded (/etc/systemd/system/odoo11.service; disabled; vendor preset: enabled)
   Active: active (running) since Thu 2018-05-03 21:23:08 UTC; 3s ago
 Main PID: 18351 (python3)
    Tasks: 4 (limit: 507)
   CGroup: /system.slice/odoo11.service
           └─18351 /opt/odoo/odoo11-venv/bin/python3 /opt/odoo/odoo11/odoo-bin -c /etc/odoo11.conf

if there are no errors you can enable the Odoo service to be automatically started at boot time.

sudo systemctl enable odoo11
to see the messages logged by the Odoo service you can use:
sudo journalctl -u odoo11

Step 8:

Installing the boot script

For the final step, we need to install a script that will be used to start-up & shut-down the Odoo server automatically, with the correct user.

Please Check The Link.

ODOO BOOT SCRIPT

​ Reference:

 https://www.odoo.com/documentation/13.0/setup/install.html

https://www.postgresql.org/

​https://webkul.com/blog/setup-locale-python3/

2
Avatar
Descartar
Pallavi
Autor

Thanks, @Hilar AK

Andre de Kock

Great guide, thanks for sharing

Avatar
Niyas Raphy (Walnut Software Solutions)
Mejor respuesta

Hi,

There is lot of blogs/writings available over the net on the same, see: How to Install Odoo 12

Thanks

1
Avatar
Descartar
Ermin Trevisan

Why installing on Ubuntu 16.04 and not on Ubuntu 18.04?

Pallavi
Autor

Hi Niyas,

I am following the blog for installation but when I execute

"sudo tail -f /var/log/odoo12/odoo12.log"

it gives me error

tail: cannot open '/var/log/odoo12/odoo12.log' for reading: No such file or directory

tail: no files remaining

I have properly mentioned log file path in conf file also.

Avatar
vondes
Mejor respuesta

For the final step, we need to install a script that will be used to start-up & shut-down the Odoo server automatically, with the correct user.

0
Avatar
Descartar
Hilar Andikkadavath

A link for bootscript is updated in answer.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
how to install sassc? Resuelto
installation odoo12
Avatar
Avatar
Avatar
Avatar
Avatar
12
jul 24
81135
Errors while instalation Odoo 12 + Ubunty 16.04
installation ubuntu odoo12
Avatar
Avatar
1
nov 20
22999
Psycopg2 error while installing odoo12 on ubuntu18
installation psycopg2 odoo12
Avatar
Avatar
Avatar
4
jun 24
8842
Cannot initialize DB in Odoo12 Resuelto
development installation database odoo12
Avatar
Avatar
Avatar
2
may 23
24875
unable to install and run odoo 12 ValueError: Name node can't be used with 'None' constant
installation python3 odoo12 cybrosis
Avatar
Avatar
Avatar
Avatar
Avatar
13
oct 20
9986
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now