| | 49 | To update Piwik, switch off the recording of stats by setting {{{record_statistics}}} to {{{0}}} in {{{/web/stats.transitionnetwork.org/piwik/config/config.ini.php}}}: |
| | 50 | |
| | 51 | {{{ |
| | 52 | [Tracker] |
| | 53 | record_statistics = 0 |
| | 54 | }}} |
| | 55 | |
| | 56 | Backup the config file: |
| | 57 | |
| | 58 | {{{ |
| | 59 | cd /web/stats.transitionnetwork.org/ |
| | 60 | cp piwik/config/config.ini.php . |
| | 61 | }}} |
| | 62 | |
| | 63 | |
| | 64 | Download, extract, and update the database and restart php-fpm: |
| | 65 | |
| | 66 | {{{ |
| | 67 | export PIWIK="2.5.0" |
| | 68 | wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz" |
| | 69 | wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz.asc" |
| | 70 | gpg --verify piwik-$PIWIK.tar.gz.asc |
| | 71 | tar -zxvf piwik-$PIWIK.tar.gz |
| | 72 | cp config.ini.php piwik/config/ |
| | 73 | chown -R www-data:www-data piwik/ |
| | 74 | php /web/stats.transitionnetwork.org/piwik/console core:update |
| | 75 | /etc/init.d/php5-fpm restart |
| | 76 | }}} |
| | 77 | |
| | 78 | Switch recording of stats back on by setting {{{record_statistics}}} to {{{1}}} in {{{/web/stats.transitionnetwork.org/piwik/config/config.ini.php}}}: |
| | 79 | |
| | 80 | {{{ |
| | 81 | [Tracker] |
| | 82 | record_statistics = 1 |
| | 83 | }}} |
| | 84 | |
| | 85 | Login and do a [https://stats.transitionnetwork.org/index.php?module=Installation&action=systemCheckPage&idSite=1&period=day&date=today system check]. |
| | 86 | |
| | 87 | == Logo == |
| | 88 | |
| | 89 | For a while there was an error because we have overwritten three logo files, see ticket:672, but now the Transition Network logo is now uploaded via the web interface, see ticket:697#comment:3 and this isn't an issue. |
| | 90 | |
| | 91 | Past update tickets: |
| | 92 | |
| | 93 | * 2.13.0 ticket:848#comment:3 |
| 79 | | |
| 80 | | To update Piwik, switch off the recording of stats by setting {{{record_statistics}}} to {{{0}}} in {{{/web/stats.transitionnetwork.org/piwik/config/config.ini.php}}}: |
| 81 | | |
| 82 | | {{{ |
| 83 | | [Tracker] |
| 84 | | record_statistics = 0 |
| 85 | | }}} |
| 86 | | |
| 87 | | Backup the config file: |
| 88 | | |
| 89 | | {{{ |
| 90 | | cd /web/stats.transitionnetwork.org/ |
| 91 | | cp piwik/config/config.ini.php . |
| 92 | | }}} |
| 93 | | |
| 94 | | |
| 95 | | Download, extract, and update the database and restart php-fpm: |
| 96 | | |
| 97 | | {{{ |
| 98 | | export PIWIK="2.5.0" |
| 99 | | wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz" |
| 100 | | wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz.asc" |
| 101 | | gpg --verify https://builds.piwik.org/piwik-$PIWIK.tar.gz.asc |
| 102 | | tar -zxvf piwik-$PIWIK.tar.gz |
| 103 | | cp config.ini.php piwik/config/ |
| 104 | | chown -R www-data:www-data piwik/ |
| 105 | | php /web/stats.transitionnetwork.org/piwik/console core:update |
| 106 | | /etc/init.d/php5-fpm restart |
| 107 | | }}} |
| 108 | | |
| 109 | | Switch recording of stats back on by setting {{{record_statistics}}} to {{{1}}} in {{{/web/stats.transitionnetwork.org/piwik/config/config.ini.php}}}: |
| 110 | | |
| 111 | | {{{ |
| 112 | | [Tracker] |
| 113 | | record_statistics = 1 |
| 114 | | }}} |
| 115 | | |
| 116 | | Login and do a [https://stats.transitionnetwork.org/index.php?module=Installation&action=systemCheckPage&idSite=1&period=day&date=today system check]. |
| 117 | | |
| 118 | | == Logo == |
| 119 | | |
| 120 | | For a while there was an error because we have overwritten three logo files, see ticket:672, but now the Transition Network logo is now uploaded via the web interface, see ticket:697#comment:3 and this isn't an issue. |
| 121 | | |