Uninstalling Allegra#

Docker-based#

If you had installed Allegra on Docker Composer using the script docker-compose.yml, you can uninstall Allegra completely by stopping and deleting the associated Docker containers:

docker compose stop
docker compose down
docker image rm allegrapm/core:8.0
docker image rm postgres:13-bullseye

Afterwards delete the Allegra working directory as you had specified it in your docker-compose.yml configuration file:

rm -rf $ALLEGRA_HOME

Done!

Custom installation#

If you had installed Allegra manually, proceed as follows:

  1. Stop the Tomcat service with

service tomcat9 stop
  1. Delete the directory $TOMCAT_HOME/webapps/allegra and the file $TOMCAT_HOME/webapps/allegra.war:

cd $TOMCAT_HOME/webapps
rm -rf allegra allegra.war
  1. Then delete the Allegra working directory:

rm -rf $ALLEGRA_HOME
  1. Finally delete the corresponding database. The exact procedure depends on the type of database server you have used.