Wiki Upgrade
Jump to navigation
Jump to search
EditDate | 2022/05/30 |
---|
Related Threads:
Periodically the wiki needs to be upgraded and there is so much content on it now I cannot afford to start from scratch.
Plan is to plan and document simplest upgrade process here with links and tools and then use this to trigger upgrades in the future.Web References https://johnnywunder.info/mywiki/index.php/Wiki Upgrade
Install Mediawiki Infrastructure one command line entry sudo apt-get install apache2 mariadb-server php php-mysql libapache2-mod-php php-xml php-mbstring
- Copy Production Wiki to New location and start running from there.
- Terminate upgrades...Turn off EmailToWiki. Turnoff cron
- Cleanup Database
- Copy database prefacing with current year.
- Use mysqldump -u root -p mywikiYEAR > dump.sql for backup
- And mysql -u root -p mywikiYEAR < dump.sql for restore
- Under YEAR directory Copy folder prefacing with past year.
- Point Apache to mywiki instance on old year with current database
- Validate access for read.
- Set images directory to www-data:www-data and tmp to www-data:adm
- Rename mywiki folder to test for upgrade and bring up.
- Upgrade actual Production wiki as test validating steps and access
- Composer, MediaWiki, Semantic MediaWiki and PH are a tough row. Do them without all the extensions as simple as possible.
- Upgrade MediaWiki
- Upgrade Semantic MediaWiki
- Once working copy LocalSettings.php
- Correct errors arising
- Still struggling with composer but have running version.
- Edit of this page with page form through unicode exception. Upgrade page forms to 4.3 with composer and testing edit with this edit.
- Shutdown Apache
- Composer, MediaWiki, Semantic MediaWiki and PH are a tough row. Do them without all the extensions as simple as possible.
- Rename test to mywiki in apache
- Run for a few weeks.
- Move old directories and databases to archive