[Update] Remove old migration options
parent
7f8b13434d
commit
4662796c33
11
update.sh
11
update.sh
|
@ -434,12 +434,6 @@ fi
|
||||||
# Checking for old project name bug
|
# Checking for old project name bug
|
||||||
sed -i 's#COMPOSEPROJECT_NAME#COMPOSE_PROJECT_NAME#g' mailcow.conf
|
sed -i 's#COMPOSEPROJECT_NAME#COMPOSE_PROJECT_NAME#g' mailcow.conf
|
||||||
|
|
||||||
echo -e "Fixing PHP-FPM worker ports for Nginx sites..."
|
|
||||||
sed -i 's#phpfpm:9000#phpfpm:9002#g' data/conf/nginx/*.conf
|
|
||||||
if ls data/conf/nginx/*.custom 1> /dev/null 2>&1; then
|
|
||||||
sed -i 's#phpfpm:9000#phpfpm:9002#g' data/conf/nginx/*.custom
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fix Rspamd maps
|
# Fix Rspamd maps
|
||||||
if [ -f data/conf/rspamd/custom/global_from_blacklist.map ]; then
|
if [ -f data/conf/rspamd/custom/global_from_blacklist.map ]; then
|
||||||
mv data/conf/rspamd/custom/global_from_blacklist.map data/conf/rspamd/custom/global_smtp_from_blacklist.map
|
mv data/conf/rspamd/custom/global_from_blacklist.map data/conf/rspamd/custom/global_smtp_from_blacklist.map
|
||||||
|
@ -452,11 +446,6 @@ echo -e "\e[32mStarting mailcow...\e[0m"
|
||||||
sleep 2
|
sleep 2
|
||||||
docker-compose up -d --remove-orphans
|
docker-compose up -d --remove-orphans
|
||||||
|
|
||||||
if [[ -f "data/web/nextcloud/occ" ]]; then
|
|
||||||
echo "Setting Nextcloud Redis timeout to 0.0..."
|
|
||||||
docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "php /web/nextcloud/occ config:system:set redis timeout --value=0.0 --type=integer"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo -e "\e[32mCollecting garbage...\e[0m"
|
echo -e "\e[32mCollecting garbage...\e[0m"
|
||||||
docker_garbage
|
docker_garbage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue