How to remove Odoo from Ubuntu

How to remove Odoo from Ubuntu

Overview

Sometimes we need to remove all settings and files from our Linux system. There are some easy steps to do that and Odoo remove from ubuntu

Steps of work

Follow the below steps to remove Odoo from ubuntu:

Stop Server odoo server

sudo service odoo-server stop

Remove all odoo files
sudo rm -R /opt/odoo

Now We can Remove Configuration Files
sudo rm -f /etc/odoo-server.conf
sudo rm -f /etc/odoo.conf

If your Odoo system is a hook with startup. Then run those commands
update-rc.d -f odoo-server remove
sudo rm -f /etc/init.d/odoo-server

Delete User and User group

userdel -r postgres
groupdel postgres

Now Remove Database

sudo apt-get remove postgresql -y
sudo apt-get --purge remove postgresql\* -y
sudo rm -r -f /etc/postgresql/
sudo rm -r -f /etc/postgresql-common/
sudo rm -r -f /var/lib/postgresql/

Follow those steps and you can easily remove odoo from your ubuntu. If you have any suggestion you can email me.

Shariful Islam Nayon

Shariful Islam | Full Stack Python/Django Developer I am Linux lover self motivated software craftsman open source contributor.My interested area Data Structure,Algorithm,Big data,Machine learning Dhaka, Bangladesh http://nayon.net/

Leave a Reply


Your email address will not be published. Required fields are marked *