Disbaling browser archiving triggering directly in config.ini.file


#1

Hello,

I want to disable Archiving triggerering directly in config.ini.file and perform archiving by a cron, so i added the following lines in config.ini.php, in “[General]” section :

enable_browser_archiving_triggering = 0
time_before_today_archive_considered_outdated = 3600

But this settings do not seem to be used, as if i go to Admin panel> General Preferences in Piwik UI , I still get the following values :
Allow Piwik archiving to trigger when reports are viewed from the browser = Yes
Reports for today (or any other Date Range including today) will be processed at most every = 10

Is it normal ? The problem is that I want to do these changes directly in config files and not in the UI. Do I have to change these settings directly in DB ?

Thanks in advance !

David


(Matthieu Aubry) #2

Use the latest Git (I pushed a fix: Fix issue that when the General settings are disabled, then the setti… · matomo-org/matomo@2ca3e2a · GitHub )

Then set enable_general_settings_admin=0

Then settings from the config file will be used, and the UI will be disabled like you want it :slight_smile:

Cheers