Upgrade notices for 5.0.x
Also available in Deutsch[link1] and Русский[link2]Upgrade your WackoWiki from 4.x to 5.0.x.
See also the migration guides for WackoWiki versions 5.1.x[link3], 5.4.x[link4], 5.5.x[link5], 6.0.x[link6] and 6.1.x[link7].
1. Preparations
- Check ReleaseNotes[link8] for requirements
- PHP is supported only up to PHP 5.3
- you can use XAMPP 1.7.7[link9] (PHP: 5.3.8) to upgrade your legacy application
- PHP is supported only up to PHP 5.3
- Back up your files to save important data.
- Download[link10] the final version. wacko.r5.0.5.zip[link11]
- pull your site in a local htdocs/test folder
- get the database dump
- import the database dump (e.g. via phpMyAdmin)
- rename or remove changed default pages, the installer can only rely on the user 'WackoInstaller' in the pages table to identify and update those pages
- remove all files and folders under htdocs/test except wakka.config.php and files/
- modify the wakka.config.php so it will work with your local environment (database, path, theme, etc.)
- now pull / copy the repo head into the same folder (just the content of the wacko/ folder)
- check database tables for abandoned or inconsistent data
Call the URI in your browser -> the installer starts and tell you that you are upgrading from 4.2 / 4.3 to 5.0.x
2. Installer
- go through all steps
Now you should have your upgraded Wiki. Login as Admin and create a page called UpgradeRoutine and add there the action
{{adminupdate}}
-> save (the installer will try to create this page e.g. /Users/WikiAdmin/MigrateDataToR50
)3. Migrate data from R4.x to R5.0
Action:{{adminupdate}}
The upgrade utilities are only in this release available.
Steps
- convert files per page
- move global files to new sub folder
- migrate user settings
- update user statistics
- move user pages into user name space
- set page title based on tag
- set page depth based on tag
- set version_id for revision
- set new ACL permissions 'create' and 'upload'
Notices:
- check character_set_client and character_set_connection
- check for empty lines in the old bookmark field if conversion of user settings fails and remove them
Renamed Actions[link12]
-
a
->anchor
-
comments
->comment
-
orphanedpages
->orphaned
-
recentchanges
->changes
-
recentlycommented
->commented
-
recentcomments
->comments
-
showparagraphs
/p
->paragraphs
-
tableofcontents
->toc
-
wantedpages
->wanted
Renamed Formatters[link13]
%%([formatter]) content %%
-
comments
->comment
You can use search to find the old strings and replace each with the new one.
change user links
-
((/UserName UserName))
->((user:UserName UserName))
- set in config/interwiki.conf
user /Users?profile=
- if your Wiki does not resides in root add the folders
user /folder_test/wacko/Users?profile=
- if your Wiki does not resides in root add the folders
Edit default menu items
- login as Admin
- via action
{{menu system=1}}
you can edit the default bookmarks
4. Admin Panel
The new Admin panel[link14] is in Beta stage.- to login define the
recovery_password
in the config file first- call ther
{{admin_recovery}}
action as Admin and generate the password hash for your recovery_password - add the password hash: 'recovery_password' => 'add hash here',
- call ther
- Don't forget to delete the _cache/config/config.php afterwards.
- call yourwiki/admin.php
- enter your recovery_password
If your Admin panel[link14] gets locked, reset config/lock_ap from
1
to 0
.5. Captcha
To use Captcha, you must ensure that the session settings in freecap.php do not differ from the default values or your config settings,else Captcha can't pass its values to the session. In the following link you find a workaround for this from our Development-Blog:
- Fixing Captcha And Session[link15]
6. Notes
- Leave a comment here if something is not clear or you have further questions.
- Do not hesitate to improve this instructions and the wording.
- [link1] https://wackowiki.org/doc/Doc/Deutsch/LegacyUpgrade
- [link2] https://wackowiki.org/doc/Doc/Русский/НаследиеОбновление
- [link3] https://wackowiki.org/doc/Dev/Release/R5.1/Upgrade
- [link4] https://wackowiki.org/doc/Dev/Release/R5.4/Upgrade
- [link5] https://wackowiki.org/doc/Dev/Release/R5.5/Upgrade
- [link6] https://wackowiki.org/doc/Dev/Release/R6.0/Upgrade
- [link7] https://wackowiki.org/doc/Dev/Release/R6.1/Upgrade
- [link8] https://wackowiki.org/doc/Dev/Release/R5.0/ReleaseNotes
- [link9] https://sourceforge.net/projects/xampp/files/
- [link10] https://wackowiki.org/doc/Download
- [link11] https://bitbucket.org/wackowiki/wackowiki/get/5.0.5.zip
- [link12] https://wackowiki.org/doc/Doc/English/Actions
- [link13] https://wackowiki.org/doc/Doc/English/Formatters
- [link14] https://wackowiki.org/doc/Doc/English/AdminPanel
- [link15] https://wackowiki.org/doc/Dev/Release/R5.0/CaptchaAndSession