How to uninstall


#1

Hello. I was experimenting with the software. At this point I’d like to uninstall it from my Ubuntu server. How do I do that?

Thanks,
JPD


#2

@virmundi

How did you install it? Wekan can be installed in many ways.


#3

Valid question. I’m sorry I didn’t include that before. I used the bash script spoke of here, https://github.com/wekan/wekan/wiki/Install-and-Update#install-manually-releases


#4

First stop and remove Wekan service:

sudo service wekan stop
sudo update-rc.d -f wekan remove
sudo rm /etc/init.d/wekan

All Wekan data is in MongoDB database. If you want to save MongoDB database data, see:

If you don’t use MongoDB database for any other apps in your server, remove MongoDB and all it’s data:

sudo service mongod stop
sudo update-rc.d -f mongod remove
sudo apt-get --purge remove mongodb-server
sudo apt-get autoremove

If you don’t use GCC compiler that’s installed with script you can uninstall it:

sudo apt-get --purge remove make g++ gcc build-essential libssl-dev
sudo apt-get autoremove

If it seems that purge above removes too much important extra packages like xserver, kernel or similar then don’t use that purge option.

Remove Node.js, Wekan and IP address script files:

sudo rm -rf /root/.nvm /root/bundle
sudo rm /usr/local/bin/get-ip-address /etc/network/if-up.d/show-ip-address

This bash script by anselal is for older Wekan version, there wil be new version for Wefork sometime appearing to new repo at https://github.com/wefork/wekan-autoinstall

I just wrote those above instructions by looking at that bash install script source, I did not find uninstall script.

Current way to install newest Wefork from source is at:

Also see:



#5

Also I assume ~/.NVM and ~/bundle/ should be removed too


#6

Yes, if NVM is used in install. I usually use n.