klenwell information services : WikkaUpgradeCore

Revision history for WikkaUpgradeCore


Revision [3058]

Last edited on 2016-07-09 16:54:44 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
[[WikkaUpgrade13 | Version 1.3.2 Upgrade]]
[[WikkaUpgrade134 | Version 1.3.4 Upgrade]]
**3. Download [[http://wikkawiki.org/downloads | latest version of Wikka Wiki]] source and copy into wiki directory.**
~- NOTE: Search/Replace TYPE with ENGINE in setup/install.php to avoid [[http://stackoverflow.com/q/11752250/1093087 | this bug]]
Deletions:
[[WikkaUpgrade13 Version 1.3.2 Upgrade]]
[[WikkaUpgrade134 Version 1.3.4 Upgrade]]
**3. Download [[http://wikkawiki.org/downloads latest version of Wikka Wiki]] source and copy into wiki directory.**
~- NOTE: Search/Replace TYPE with ENGINE in setup/install.php to avoid [[http://stackoverflow.com/q/11752250/1093087 this bug]]


Revision [2445]

Edited on 2013-03-08 22:32:40 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
[[WikkaUpgrade13 Version 1.3.2 Upgrade]]
>>
Deletions:
[[WikkaUpgrade13 Version 1.3.2-p7 Upgrade]]


Revision [2444]

Edited on 2013-03-08 22:32:19 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
[[WikkaUpgrade13 Version 1.3.2-p7 Upgrade]]
[[WikkaUpgrade134 Version 1.3.4 Upgrade]]
Deletions:
[[WikkaUpgrade13 Version 1.3 Upgrade]]
[[WikkaUpgrade14 Version 1.4 Upgrade]]
>>


Revision [2434]

Edited on 2013-03-07 23:13:38 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
[[WikkaUpgrade14 Version 1.4 Upgrade]]


Revision [2257]

Edited on 2012-08-21 08:37:57 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
=====Wikka Upgrades=====
return to ProjectWikka>>====Upgrade Notes====
[[WikkaUpgrade13 Version 1.3 Upgrade]]
====Secure Upgrade====
**How do I securely upgrade a live Wikka Wiki site?**
Wikka wiki include a web-based upgrade script. However, this script exposes the upgrade form to any visitor while the site is upgrading. How can I upgrade my live public wiki site as an admin without exposing the upgrade form to other non-admin visitors?
===Steps===
**1. Backup database and current wiki directory.**
%%
cd /path/to/mywiki/wiki
cp -Rv ../wiki /tmp/wiki-backup-$(date +%Y%m%d)
mysqldump MY_WIKI_DB | bzip2 > /tmp/MY_WIKI_DB-$(date +%Y%m%d).bz2
%%
**2. Add plain text file name locked to your wiki directory with a temporary (plaintext) password on first line.**
%%
cd /path/to/mywiki/wiki
touch locked
echo "mytmppassword" > locked
%%
**3. Download [[http://wikkawiki.org/downloads latest version of Wikka Wiki]] source and copy into wiki directory.**
%%
cd /tmp
wget http://wikkawiki.org/downloads/Wikka-x.x.x.zip
unzip Wikka-x.x.x.zip
cp Wikka-x.x.x/* /path/to/mywiki/wiki
%%
~- NOTE: Search/Replace TYPE with ENGINE in setup/install.php to avoid [[http://stackoverflow.com/q/11752250/1093087 this bug]]
**4. Proceed with upgrade by visiting site in browser.**
~- You'll be prompted with a basic auth login prompt. Enter **admin** for user name and password in locked file.
**5. Removed locked file**
%%
cd /path/to/mywiki/wiki
rm locked
%%
Deletions:
=====Wikka Upgrades=====>>====Upgrade Notes====
[[WikkaUpgrade13 1.3 Upgrade]]
return to ProjectWikka
====Version 1.3 Upgrade====
New Version: [[http://docs.wikkawiki.org/Installing132 1.3.2-p7]]
Previous Version: [[http://docs.wikkawiki.org/Installing12 1.2-p1]]
Date: 2012.01.16
Duration: 4-6 hours
===Notes===
This update was complicated by several backwards compatibility issues. I also noticed a potential security liability with the installer script. I have detailed the issue and outlined a fix here: http://wikkawiki.org/KlenwellAdminOnlyInstaller
===Update Steps===
~1) Download and install code to base wikka dir
~1) Run wikka auto-update script from web-interface
~1) Reconcile old and new config files using [[WikkaConfigDiffTool config-diff tool]]
~1) Replace GetMethod() calls with GetHandler() in plugins/templates/klenwell/header.php
~1) Update custom login form in plugins/actions/usersettingsrecaptcha/usersettingsrecaptcha.php
~1) Update action class libs/action.class.php to use new comment permissions
~1) Restore menus in config directories to customized pre-config versions
~1) Update customized show handler LoadComments call and move from plugins/handlers/page/show.php to plugins/handlers/show/show.php
~1) Move custom actions from plugins/actions/action.php to plugins/actions/action/action.php subdirectory
~1) Update cli.php and move cli handler from plugins/handlers/page/cli.php to plugins/handlers/cli/cli.php
----


Revision [2254]

Edited on 2012-08-21 08:26:39 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
=====Wikka Upgrades=====>>====Upgrade Notes====
[[WikkaUpgrade13 1.3 Upgrade]]
>>
Deletions:
=====Wikka Upgrades=====


Revision [2066]

Edited on 2012-01-17 19:47:01 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
===Notes===
This update was complicated by several backwards compatibility issues. I also noticed a potential security liability with the installer script. I have detailed the issue and outlined a fix here: http://wikkawiki.org/KlenwellAdminOnlyInstaller
Deletions:
This update was complicated by several backwards compatibility issues.


Revision [2059]

Edited on 2012-01-16 22:40:09 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
New Version: [[http://docs.wikkawiki.org/Installing132 1.3.2-p7]]
Deletions:
New Version: [[http://docs.wikkawiki.org/Installing132 1.3.2]]


Revision [2034]

The oldest known version of this page was created on 2012-01-16 12:10:46 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]