ee uninstall option
There should be an option if someone wants to completly remove ee from the system.
You might want to warn them but let the user have an option to remove ee completely.
@rahul286
See above comment:220208797
ee system remove hasn't been supported for many versions ago usage: ee (sub-commands ...) [options ...] {arguments ...} ee: error: unrecognized arguments: system remove
Hi there @rahul286 I am bit confused here. I already had LEMP setup on my machine. Then I came across EasyEngine found it really useful :+1: But I already had LEMP setup. So I wanted to uninstall it. Will ee uninstall --stack remove all my pre-installed LEMP stacks.
@suniel
You'll have to uninstall everything yourself and ee has its own configs for the LEMP apps. For this reason it is a good idea to start with a fresh install of Ubuntu
I have this issue now.
I already had a LEMP stack installed
Then I installed ee using the recommended method: wget -qO ee rt.cx/ee && sudo bash ee
Now I wanted to remove ee from my system, but keep my previously instelled LEMP stack
So I ran sudo ee stack remove
Got error: Cannot Remove! Nginx Stable version not found.
Run sudo ee stack status
Got:
Nginx is not installed
HHVM is not installed
php5.6-fpm: Running
php7.0-fpm: Running
mysql : Running
postfix : Running
Problem is, This is not what I wanted, I need my nginx and HHVM back, but I do not want the ee file on my system anymore.
which ee
/usr/local/bin/ee
ee is still on my system
dpkg and apt does not show EasyEngine or ee as being installed
I think I need to do a whole reinstallation of linux, what the hell???
Please can you list all files and folders created by EasyEngine so I can remove them manually.
This is quite frustrating!
Regards Angel Of Death
I found this page: http://www.galih.us/2014/12/cara-uninstall-easyengine.html
But I do not know what language it is... Anyway
So this seems to be what they suggest:
First:
sudo ee system purge
changed to stack, so:
sudo ee stack purge
Then:
sudo rm -rf /etc/easyengine/
sudo rm -rf /etc/bash_completion.d/ee
sudo rm -rf /usr/local/sbin/ee
sudo rm -rf /usr/local/bin/ee
sudo rm -rf /usr/local/sbin/easyengine
sudo rm -rf /usr/share/easyengine
sudo rm -rf /var/www/*
sudo rm -rf /etc/nginx
sudo rm -rf /etc/php5
sudo rm -rf /etc/mysql
sudo rm -rf /var/lib/mysql
sudo rm -rf /etc/postfix
And finally:
sudo apt-get autoremove
Hope this helps someone
AngelODeath - your answer does not work. Still getting example.com is exist
We are cleaning up issue tracker and closing this one because we couldn't reach an agreement as what exactly needs to be removed when EasyEngine needs to uninstalled.
The best way for users is to start a fresh VPS, move content (source + files + DB) to the new system and just destroy the old machine.
We would be happy to review this topic again if somebody sends a detailed proposal which outlines all practical scenarios.
Update: We have added this option in v4 https://github.com/EasyEngine/easyengine/issues/1125
Since v4 is docker based, its very easy to do a clean uninstall.
Update: We have added this option in v4 #1125
Since v4 is docker based, its very easy to do a clean uninstall.
Great. Can you tell me how?
@jonathanhatch https://easyengine.io/commands/cli/self-uninstall
@jonathanhatch https://easyengine.io/commands/cli/self-uninstall
You're the best. Thank you, sir!