| 2 | |
| 3 | 0.12.1 -> 0.12.2 |
| 4 | |
| 5 | Do a Backup: |
| 6 | {{{ |
| 7 | trac-admin /home/sahana/trac hotcopy /root/trac_backup |
| 8 | NOW=$(date +"%Y-%m-%d") |
| 9 | tar cvf trac-$NOW.tar /root/trac_backup |
| 10 | bzip2 -9 trac-$NOW.tar |
| 11 | rm -rf /root/trac_backup |
| 12 | }}} |
| 13 | |
| 14 | Shut down Apache: |
| 15 | {{{ |
| 16 | apache2ctl stop |
| 17 | }}} |
| 18 | |
| 19 | Update Trac: |
| 20 | {{{ |
| 21 | easy_install --upgrade Trac==0.12.2 |
| 22 | }}} |
| 23 | |
| 24 | Update Plugins: |
| 25 | {{{ |
| 26 | cd /root/trac-install |
| 27 | cd accountmanagerplugin |
| 28 | svn up |
| 29 | python setup.py install |
| 30 | cd .. |
| 31 | cd externallinksnewwindowplugin |
| 32 | svn up |
| 33 | python setup.py install |
| 34 | cd .. |
| 35 | cd mathcaptchaplugin |
| 36 | svn up |
| 37 | python setup.py install |
| 38 | cd .. |
| 39 | cd recaptcharegisterplugin |
| 40 | svn up |
| 41 | python setup.py install |
| 42 | cd .. |
| 43 | cd screenshotsplugin |
| 44 | svn up |
| 45 | python setup.py install |
| 46 | cd .. |
| 47 | cd sectioneditplugin |
| 48 | svn up |
| 49 | python setup.py install |
| 50 | cd .. |
| 51 | cd tocmacro |
| 52 | svn up |
| 53 | python setup.py install |
| 54 | cd .. |
| 55 | cd trac-bzr |
| 56 | bzr pull |
| 57 | python setup.py install |
| 58 | cd .. |
| 59 | cd translatedpagesmacro |
| 60 | svn up |
| 61 | python setup.py install |
| 62 | }}} |
| 63 | |
| 64 | Upgrade Trac instance: |
| 65 | {{{ |
| 66 | trac-admin /home/sahana/trac upgrade |
| 67 | trac-admin /home/sahana/trac wiki upgrade |
| 68 | trac-admin /home/sahana/trac repository resync '*' |
| 69 | }}} |
| 70 | |
| 71 | Restart Apache: |
| 72 | {{{ |
| 73 | apache2ctl start |
| 74 | }}} |
| 75 | |
| 76 | Test! |
| 77 | |
| 78 | == Old: Migration from 0.11 to 0.12 via new VM == |