45 | | # backup the databases |
46 | | /usr/local/bin/mysql_backup |
47 | | cd /web/wiki.dev.transitionnetwork.org/www |
48 | | wget http://download.wikimedia.org/mediawiki/mediawiki-1.16.0.tar.gz |
49 | | # check the gog dig |
50 | | wget http://download.wikimedia.org/mediawiki/mediawiki-1.16.0.tar.gz.sig |
51 | | gpg --verify mediawiki-1.16.0.tar.gz.sig |
52 | | gpg: Signature made Wed 28 Jul 2010 08:17:34 BST using DSA key ID F9F8CD79 |
53 | | gpg: Can't check signature: public key not found |
54 | | gpg --recv-keys F9F8CD79 |
55 | | gpg: Signature made Wed 28 Jul 2010 08:17:34 BST using DSA key ID F9F8CD79 |
56 | | gpg: Good signature from "Tim Starling <tstarling@wikimedia.org> |
57 | | # extract the tgz and copy it over the existing install |
58 | | tar -zxvf mediawiki-1.16.0.tar.gz |
59 | | rsync -av mediawiki-1.16.0/ www/ |
60 | | # run the update script |
61 | | cd /web/wiki.dev.transitionnetwork.org/www/maintenance |
62 | | php php update.php |
63 | | # i'm not sure why the update script generates this error, but it can be ignored i think |
64 | | ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/web/wiki.dev.transitionnetwork.org/www/maintenance/Maintenance.php', line 395) |
65 | | ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/web/wiki.dev.transitionnetwork.org/www/maintenance/Maintenance.php', line 655) |
| 45 | mediawiki-upgrade 1.16.0 |