From 39235bea7e19a028255edff9e63bb64f419cbbcb Mon Sep 17 00:00:00 2001 From: "github@kiekerjan.isdronken.nl" Date: Thu, 29 Apr 2021 22:06:37 +0200 Subject: [PATCH] fix solr download error --- management/daily_tasks.sh | 2 +- setup/solr.sh | 2 +- setup/start.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/management/daily_tasks.sh b/management/daily_tasks.sh index 8c36da5c..8341fcd6 100755 --- a/management/daily_tasks.sh +++ b/management/daily_tasks.sh @@ -14,7 +14,7 @@ export LC_TYPE=en_US.UTF-8 if [ `date "+%u"` -eq 1 ]; then management/mail_log.py -t week | management/email_administrator.py "Mail-in-a-Box Usage Report" - pflogsumm -u 5 -h 5 --problems_first /var/log/mail.log.1 | management/email_administrator.py "Postfix log analysis summary" + /usr/sbin/pflogsumm -u 5 -h 5 --problems_first /var/log/mail.log.1 | management/email_administrator.py "Postfix log analysis summary" fi # Take a backup. diff --git a/setup/solr.sh b/setup/solr.sh index eadb819a..4f7e0d81 100644 --- a/setup/solr.sh +++ b/setup/solr.sh @@ -45,7 +45,7 @@ if [ $needs_update == 1 ]; then wget_verify \ "https://www.apache.org/dyn/closer.lua?action=download&filename=lucene/solr/$VERSION/solr-$VERSION.tgz" \ $HASH \ - /tmp/solr.tgz + /tmp/solr-$VERSION.tgz tar xzf /tmp/solr-$VERSION.tgz -C /tmp solr-$VERSION/bin/install_solr_service.sh --strip-components=2 # install to usr/local, force update, do not start service on installation complete diff --git a/setup/start.sh b/setup/start.sh index 3a3414b4..54932d62 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -111,7 +111,7 @@ source setup/dns.sh source setup/mail-postfix.sh source setup/mail-dovecot.sh source setup/mail-users.sh -#source setup/solr.sh +source setup/solr.sh source setup/dkim.sh source setup/spamassassin.sh source setup/web.sh