Upgrade notices for 5.5.x
Upgrade your WackoWiki from 5.x.y to 5.5.x.See also the migration guides for WackoWiki versions 5.0.x[link1], 5.1.x[link2], 5.4.x[link3], 6.0.x[link4] and 6.1.x[link5].
1. Preparations
- Check Release Notes[link6] for requirements
- Back up your data.
- your wiki database (e.g. via phpMyAdmin or the backup module in the Admin Panel[link7] )
- your wiki folder
IMPORTANT
Backup your data! Before doing anything, backup your existing database and files. Also ensure that during migration nobody uses the database, because it may cause loss of data.
Backup your data! Before doing anything, backup your existing database and files. Also ensure that during migration nobody uses the database, because it may cause loss of data.
- It is imperative that you make a backup of your WackoWiki database before you upgrade.
- The upgrade procedure transfers your installation instance data from the old version to the new version. Migration from the new version back to the old version is not supported.
2. Download
- Download the archive[link8]
- Extract the archive
- Remove all wacko folders and files from you current installation, except
-
config/config.php
-
file/
(rename the existing folderfiles
tofile
) - replace the old
.htaccess
files from the remaining folders with the new ones from the distribution package
-
- Copy the new wacko.5.5.x files in your wacko folder
- Pull the release[link9]
- Delete the cached config files under
_cache/config/
before you proceed
- Delete the cached config files under
- Check file permissions[link10]
3. Installer
Call the URI of your Wiki in your browser. The installer starts and tells you (IMPORTANT) that you are upgrading from 5.x.y to 5.5.x
- go through all steps
- Data base configuration: If the installer asks you for charset, select the appropriate character set
- cp1251 Windows Cyrillic
- cp1252 Western European
- cp1257 Windows Baltic
- ISO 8859-2 Central European
- ISO 8859-7 Greek
- Screenshots from Upgrade procedure[link11]
4. Post-Upgrade
The following issues apply only if you upgrade for the first time to WackoWiki 5.5.x.4.1. Passwords
- You must recreate your
recovery_password
for your Admin panel[link7], because it uses the newpassword_hash()
andpassword_verify()
API, if you upgrade from a version prior to R5.5 . - Call the
{{admin_recovery}}
action as Admin and generate a new password hash for yourrecovery_password
.
4.2. Configuration
If you've had set custom values inconstant.php
, router.conf
, csp_custom.conf
or or otherwise, you must set or merge these values again.4.3. Re-Synchronize data
After successful upgrade you can perform a re-rendering for all intrasite links to rebuild the records of thepage_link
and file_link
table.- Admin Panel -> Synchronizing data -> Wiki-links
4.4. Converting Tables from MyISAM to InnoDB
If you have existing MyISAM tables, that you want to convert to InnoDB for better reliability and scalability, use the following routine.- Admin Panel -> Database -> Convert
4.5. Converting Columns to SQL strict
If you have existing tables, that you want to convert to comply with the SQL strict mode, use the following routine.- Admin Panel -> Database -> Convert
4.6. Replace the action parameter for/root
with page
If you have existing actions using the depreciated parameter for=
, replace it with the parameter page=
, otherwise the parameter gets ignored and the default argument for page is used in the action.- e.g.
{{changes for="Dev"}}
-->{{changes page="Dev"}}
5. 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/Dev/Release/R5.0/Upgrade
- [link2] https://wackowiki.org/doc/Dev/Release/R5.1/Upgrade
- [link3] https://wackowiki.org/doc/Dev/Release/R5.4/Upgrade
- [link4] https://wackowiki.org/doc/Dev/Release/R6.0/Upgrade
- [link5] https://wackowiki.org/doc/Dev/Release/R6.1/Upgrade
- [link6] https://wackowiki.org/doc/Dev/Release/R5.5/ReleaseNotes
- [link7] https://wackowiki.org/doc/Doc/English/AdminPanel
- [link8] https://wackowiki.org/doc/Download/LegacyVersions
- [link9] https://wackowiki.org/doc/Org/Tools/Repository
- [link10] https://wackowiki.org/doc/Doc/English/FilePermissions
- [link11] https://wackowiki.org/doc/Doc/English/Upgrade/Screenshots