Skip to content

Commit

Permalink
chore(Matomo): put matomo into maintenance mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Anefu committed Jan 3, 2024
1 parent 98450d7 commit 315bf55
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ abort() {

./console core:update --yes || abort "upgrade failed"

# Remove database from maintenance mode after upgrade
sed -i '/^maintenance_mode = 1$/d; /^\[Tracker\]$/d; /^record_statistics = 0$/d' init.sh

if ./console site:list; then
echo "site:list exit code was 0. do not create a new site"
else
Expand All @@ -28,3 +25,6 @@ fi

./console plugin:activate TagManager || abort "could not install tag manager"
./console plugin:deactivate ProfessionalServices Marketplace Feedback || echo "could not uninstall professional services, marketplace and feedback"

# Remove database from maintenance mode after upgrade
sed -i '/^maintenance_mode = 1$/d; /^\[Tracker\]$/d; /^record_statistics = 0$/d' init.sh

0 comments on commit 315bf55

Please sign in to comment.