Odoo Help

0

Uninstall odoo?

By
kitcle
on 3/12/15, 2:00 PM 2,817 views

i can install odoo on ubuntu by odoo8.sh script

but...

how can i uninstall  odoo?

0
Ray Carnes
On 3/12/15, 2:05 PM

Something like this:

https://github.com/mathi123/howtodoo/blob/master/odoo-v7-uninstall-ubuntu12-04.sh

(for version 7)

#!/bin/sh
####################################
#
# Completely remove OpenERP v7 from ubuntu server
# !!!!! This will delete postgresql databases !!!!!!
#
####################################

## Stop service 
service openerp-server stop

# Remove config file(s)
rm -f /etc/openerp-server.conf
rm -f /etc/odoo.conf

# Remove application code
rm -R /opt/openerp

# Remove startup process
update-rc.d -f openerp-server remove
rm -f /etc/init.d/openerp-server

# Remove logs
rm -R /var/log/openerp

# Remove databases
sudo service postgresql stop
apt-get remove postgresql -y
apt-get --purge remove postgresql\* -y
rm -r -f /etc/postgresql/
rm -r -f /etc/postgresql-common/
rm -r -f /var/lib/postgresql/

# Delete users and groups
userdel -r postgres
groupdel postgres
userdel -r openerp

0
kitcle
On 3/12/15, 4:01 PM

it 's work   

thank you very much Ray Carnes

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/12/15, 2:00 PM
Seen: 2817 times
Last updated: 3/16/15, 8:10 AM