Update INSTALL.sh

This commit is contained in:
Stefan Pejcic
2024-11-19 18:48:13 +01:00
committed by GitHub
parent ba315ac8a3
commit ed904b7489

View File

@@ -866,7 +866,8 @@ docker_compose_up(){
if [ "$REPAIR" = true ]; then
echo "Deleting all existing MySQL data in volume root_openadmin_mysql due to the '--repair' flag."
docker volume rm root_openadmin_mysql > /dev/null 2>&1
cd /root && docker compose down > /dev/null 2>&1 # in case mysql was running
docker volume rm root_openadmin_mysql > /dev/null 2>&1 # delete database
fi