How to Install Odoo Apps on Server?

September 27, 2023 by
How to Install Odoo Apps on Server?
Rahul Pandya

Odoo has the world's biggest third-party apps store, where more than 20,000 apps are available with different Open Source License, So when you purchase apps you will get the complete source code of apps then we must know how to do Server installation in odoo server. When we purchase any of the third-party apps from Odoo app store or we have any other customization module/app, we need to know How to do odoo implementation to configure local server in our odoo server.

Usually, There are 3 different kinds of Odoo servers

  1. On-premise Server or Cloud Server(i.e AWS EC2 cloud) or Digital Ocean or any dedicated
  2. Local Installation Server
  3. odoo.sh/ Server

How to install Odoo apps on On-premise Server?


Step:1 Download or Extract the app or module folder(either from .zip, .tar, .tar.gz)

When we purchase any app from the odoo app store, we'll get a download link of the app, So that we can download from that link and easily extract it. 

Step:2 Connect your server if possible by sftp/ftp/filezila (This Can Help) Connect to FTP server or SFTP server

Step:3 Transfer the app to the server.

3.1 First we have to find the path of the odoo setup(any version) usually the path as like /opt/odoo/openerp/addons or /home/odoo/odoo/openerp/addons

3.2 If you don’t know the path of the odoo, you have to connect to your server via ssh.

ssh username@ipaddress or hostname

For more information check the following link:
(This Can Help) The Developer’s Guide to Start Using SSH

3.3 Now we can find your odoo setup path by following command: 

locate odoo or whereis odoo or find odoo

This will give you the path of the odoo and you can also see the addons under that odoo by putting (path+/openerp/addons) or you can simply make a path of that odoo.

Now you have to transfer the module or odoo app under the addons.

If you are using AWS EC2 and your server is connected with the pem file then use following commands:

rsync -rave "ssh -i .pem file with path" source directory username@ipaddress:/destination

For example : rsync -rave "ssh -i example.pem" /home/ubuntu/odoo/workspace/test_app ubuntu@ipaddress:/home/odoo/openerp/addons

If you connected by the sftp you can direct copy and paste the module to the addons path. Otherwise you can use the scp by ssh and copy the module to addons directory.

source_file_path destination_file_path

Linux : 

scp /home/downloads/module_name user@ipaddress: /opt/odoo/openerp/addons/

Windows :

scp -vrC ~/Downloads root@192.168.1.3:/root/Downloads

How to find out the odoo service that you are using?

If you don’t know the service name you can go to /etc/init.d/ and see the service name it will either odoo/odoo-server/openerp/openerp-server then you can use the above command and restart the Odoo server.

If you still don’t know the service name then you have to reboot the server by following command:

sudo reboot

Step:4 Need to restart the Odoo service.

We have to restart the odoo service that we are using, we can simply use the following command:

sudo service odoo-server restart

Step:5 Install app on odoo URL:

Login to the odoo URL with your database(please first try to install on test db if there is no test db then make the duplicate database by duplicate option under the manage database option, if everything works well then install the module on live db) Once you logged in then update the module list from the setting in Odoo or go to apps(with debug mode) and update apps list(Odoo enterprise/community version).




How to install Odoo apps on a local Server?

If we are using a local server, we can simply extract our local module followed by the above steps till step 4 and then install it in our local server, after that restart the Odoo server.

How to install Odoo apps on Odoo.sh Server?

Odoo Sh is the latest and much more improvised version of Odoo released in the Odoo Enterprise category. A full-stack platform, it’s out-of-the-box and will help businesses with top-notch features that will ease the development of an ERP application suite. Some worth mentioning features are database replication, staging servers, email gateways, SSH access, DNS & routes, backup servers, and 24/24 monitoring.

If we are using odoo.sh server, We need to follow the given steps to install the odoo app/modules in odoo.sh server:

Step:1 Register/Login in Odoo.sh

Step:2 Setup GitHub repository

Step:3 After creating Project from Odoo.sh, Repository will be automatically created in the corresponding GitHub account.

Step:4 Commit the Module to your repository. If you don't have much idea about git, please go through the link: Basic Git commands

Step:5 After successfully committing the module, come back to your Odoo sh home and click on the "Connect" button.

Step:6 Once the instance is created successfully, it will be flagged as "Success". Then the database will link will open and you can search and install the module from the Apps menu.


External Dependency

If any external library has been used in the module code, then the requirements.txt file should be added in the module with the library name and version (same as the default Odoo requirements.txt file). Once building the instance, Odoo will read the dependencies from the file and install those libraries automatically.

How to Install Odoo Apps on Server?
Rahul Pandya September 27, 2023
Share this post
Our blogs
Archive