Hi,
I would like to know what's the best way to fully uninstall Odoo, what folders I would have to delete or if there is a command that does all of the process.
I'm using Ubuntu 18.04 and it's to learn the right way to do it.
Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I would like to know what's the best way to fully uninstall Odoo, what folders I would have to delete or if there is a command that does all of the process.
I'm using Ubuntu 18.04 and it's to learn the right way to do it.
Thank you.
* Stop Server
* Remove all odoo files
* Remove postgresql from system
STOP SERVER
sudo service odoo stop
or sudo service odoo-server stop (if odoo-server instead of odoo)
REMOVE ALL ODOO FILES
sudo rm -R /opt/odoo
REMOVE CONFIG FILES
sudo rm -f /etc/odoo.conf
sudo rm -f /etc/odoo/odoo.conf (if any)
sudo rm -f /etc/odoo-server.conf (if any)
sudo update-rc.d -f odoo remove
sudo update-rc.d -f odoo-server remove (if odoo-server instead of odoo)
sudo rm -f /etc/init.d/odoo (or odoo-server)
REMOVE USER AND USER GROUP
sudo userdel -r postgres
sudo groupdel postgres
REMOVE DATABASE
sudo apt-get remove postgresql -y
sudo apt-get --purge remove postgresql\* -y
sudo rm -rf /etc/postgresql/
sudo rm -rf /etc/postgresql-common/
sudo rm -rf /var/lib/postgresql/
How to uninstall odoo 15 that Installed in Odoo 14 Server?
I did the wrong installation
A little response for a BIG question:
Just revert the steps of your installation process.
For the BIG response, you must first tell us how did you install it !!! (the steps you followed when installing odoo)
Lines added after comment (from Duvan):
For the the second method from getopenerp all you have to do is to delete the odoo directory under /opt/odoo created at step 9, and if you want you can also delete the log and configuration files created at step 10 and 11.
I repeat, just revert the steps 9, 10 and 11.
For the first method from https://www.odoo.yenthevg.com/installing-odoo-11-enterprise-ubuntu/ you must revert some steps inside the install script.
The most important part of this script is located from line 111 till the end of the script.
Begin by deleting the following files and directories (folders):
- enterprise folder and all its subfolders under $OE_HOME/
- custom folder and its subfolders under $OE_HOME/
- the server configuration file ${OE_CONFIG}.conf located under /etc/
- the startup file start.sh located under $OE_HOME_EXT/
- delete the odoo init file (initscript) $OE_CONFIG located under /etc/init.d/
- and at last delete odoo from the startup by applying the following command: update-rc.d -f $OE_CONFIG remove
Hope this can help you !
N.B:
$OE_HOME/ = odoo
${OE_CONFIG}.conf = odoo.conf
$OE_HOME_EXT/ = /odoo/odoo-server
Thank you for your answer, I use 2 methods, the yenthe Odoo script https://www.odoo.yenthevg.com/installing-odoo-11-enterprise-ubuntu/ and this from getopenerp https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ But I will try reverting the instalation process as you said :)
https://medium.com/@amirul_m/how-to-remove-odoo-completely-e62b1646b26c
Check out this link please
I actually realized that before uninstalling odoo, the odoo server wasn't aware of my custom addon path so i just deleted the files in the home directory that has the name odoo.
After reinstalling it worked just fine.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Dec 18
|
7497 | ||
|
1
Mar 15
|
3450 | ||
|
1
Jan 24
|
1310 | ||
Unistall command line module
Solved
|
|
1
Jul 19
|
7555 | |
|
1
Dec 18
|
3851 |