Browse Source

update.sh: fix mailcow fts update versioning

DerLinkman 7 months ago
parent
commit
4708b1398b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      update.sh

+ 2 - 2
update.sh

@@ -676,7 +676,7 @@ migrate_solr_config_options() {
 
   solr_volume=$(docker volume ls -qf name=^${COMPOSE_PROJECT_NAME}_solr-vol-1)
   if [[ -n $solr_volume ]]; then
-    echo -e "\e[34mSolr has been replaced within mailcow since 2024-12.\e[0m"
+    echo -e "\e[34mSolr has been replaced within mailcow since 2025-01.\e[0m"
     sleep 1
     echo -e "\e[34mTherefore the volume $solr_volume is unused.\e[0m"
     sleep 1
@@ -697,7 +697,7 @@ migrate_solr_config_options() {
   fi
 
   # Delete old fts.conf before forced switch to flatcurve to ensure update is working properly
-  FTS_CONF_PATH="data/conf/dovecot/conf.d/fts.conf"
+  FTS_CONF_PATH="${SCRIPT_DIR}/data/conf/dovecot/conf.d/fts.conf"
   if [[ -f "$FTS_CONF_PATH" ]]; then
     if grep -q "Autogenerated by mailcow" "$FTS_CONF_PATH"; then
       rm -rf $FTS_CONF_PATH