Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Matomo): put matomo into maintenance mode (#490) #492

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ echo "
[General]
always_load_commands_from_plugin=ExtraTools
force_ssl = 1
maintenance_mode = 1

[Tracker]
record_statistics = 0
" >> /usr/src/matomo/config/config.ini.php

rsync --checksum --recursive --links --times --omit-dir-times --no-owner --no-group --no-perms --delete \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,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
Loading