Uninstalling Allegra¶
Docker-based¶
If you had installed Allegra on Docker using the script adocker
,
you can uninstall Allegra completely by stopping and deleting the associated
Docker containers:
docker stop allegra
docker stop mysql-allegra
docker rm allegra
docker rm mysql-allegra
Afterwards delete the Allegra working directory as you had specified it in your adocker configuration file:
rm -rf $WORKDIR
Done!
Custom installation¶
If you had installed Allegra manually, do the following:
Stop the Tomcat service with
service tomcat9 stop
Delete the directory
$TOMCAT_HOME/webapps/allegra
and the file$TOMCAT_HOME/webapps/allegra.war
:
cd $TOMCAT_HOME/webapps
rm -rf allegra allegra.war
Then delete the Allegra working directory:
rm -rf $WORKDIR
Finally delete the corresponding database. The exact procedure depends on the type of the database server you have used.