easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

ee uninstall option

Open anantshri opened this issue 11 years ago • 32 comments

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.

anantshri avatar Apr 11 '15 13:04 anantshri

@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

CelticParser avatar May 19 '16 16:05 CelticParser

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 avatar Aug 24 '16 19:08 suniel

@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

w33zy avatar Aug 24 '16 20:08 w33zy

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

AngelODeath avatar Sep 13 '16 13:09 AngelODeath

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 avatar Sep 13 '16 13:09 AngelODeath

AngelODeath - your answer does not work. Still getting example.com is exist

EBuzznet67 avatar Jan 03 '18 18:01 EBuzznet67

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.

rahul286 avatar May 29 '18 08:05 rahul286

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.

rahul286 avatar Aug 14 '18 09:08 rahul286

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 avatar Feb 27 '19 21:02 jonathanhatch

@jonathanhatch https://easyengine.io/commands/cli/self-uninstall

mrrobot47 avatar Feb 28 '19 05:02 mrrobot47

@jonathanhatch https://easyengine.io/commands/cli/self-uninstall

You're the best. Thank you, sir!

jonathanhatch avatar Feb 28 '19 14:02 jonathanhatch

@anantshri as you started this, please answer #488 (comment)

"Oops! That page can’t be found."

ZinkDifferent avatar Aug 14 '19 21:08 ZinkDifferent