The Future of Software Development - Devin AI Innovative Approach.pdf
Complex Joomla! Migrations
1. Complex Joomla! Migrations
JoomlaDay Deutschland 2014
Sander Potjer - @sanderpotjer - Joomla! Community Leadership Team
2. Sander Potjer
!
Involved in the local Dutch Joomla community
Joomla Community Leadership Team (CLT) member
Company: Perfect Web Team
ACL Manager developer
E-mail: sander.potjer@community.joomla.org
3. Sander Potjer
!
Involved in the local Dutch Joomla community
Joomla Community Leadership Team (CLT) member
Company: Perfect Web Team
ACL Manager developer
E-mail: sander.potjer@community.joomla.org
Slides: www.sanderpotjer.nl
11. 3.3.3
[major].[minor].[maintenance]
(An increment of the maintenance number usually indicates bug fixing within the minor release and possibly small
enhancements and limited new features.)
109. 1. Backup
2. Create copy of website (www.site.com/15)
110. 1. Backup
2. Create copy of website (www.site.com/15)
3. Install new Joomla version (www.site.com/3)
111. 1. Backup
2. Create copy of website (www.site.com/15)
3. Install new Joomla version (www.site.com/3)
4. Migrate website data (.com/15 -> .com/3)
112. 1. Backup
2. Create copy of website (www.site.com/15)
3. Install new Joomla version (www.site.com/3)
4. Migrate website data (.com/15 -> .com/3)
5. Install Joomla 3 version of extensions
113. 1. Backup
2. Create copy of website (www.site.com/15)
3. Install new Joomla version (www.site.com/3)
4. Migrate website data (.com/15 -> .com/3)
5. Install Joomla 3 version of extensions
6. Adjust files, like templates & Joomla settings
114. 1. Backup
2. Create copy of website (www.site.com/15)
3. Install new Joomla version (www.site.com/3)
4. Migrate website data (.com/15 -> .com/3)
5. Install Joomla 3 version of extensions
6. Adjust files, like templates & Joomla settings
7. Test result of migration
115. 1. Backup
2. Create copy of website (www.site.com/15)
3. Install new Joomla version (www.site.com/3)
4. Migrate website data (.com/15 -> .com/3)
5. Install Joomla 3 version of extensions
6. Adjust files, like templates & Joomla settings
7. Test result of migration
8. Publish new website (.com -> .com/old & .com/3 -> .com)
118. Case:
Complex Migration Request
- Migration within max 1,5 day freeze, max 2 hours
downtime during evening hours
- Identical layout, functionality, URLs, menus, articles, etc.
- In short: the visitor should not see or experience
differences between Joomla 1.5 and Joomla 2.5 version
119. 1. Backup
2. Create copy of website (www.site.com/15)
3. Install new Joomla version (www.site.com/3)
4. Migrate website data (.com/15 -> .com/3)
5. Install Joomla 3 version of extensions
6. Adjust files, like templates & Joomla settings
7. Test result of migration
8. Publish new website (.com -> .com/old & .com/3 -> .com)
126. Change Modules with ID’s
223, 294 and 357
- “startLevel” of module with ID 233 is changed from 2 to 3.
- “menutype” is added for module with ID 294
- “You are here” text is set to “hide” for the breadcrumbs
module with ID 357.
147. 11:00 - 12:30 hour
Exact.nl backup maken & compare:
- Create Backup of Joomla 1.5 version
- Install locally
- Compare Backup with version used for preparations
- Adjust Joomla 2.5 site if needed
148. 11:00 - 12:30 hour
Joomla 1.5 site preparations:
- Empty categories trash
- Empty articles trash
- Empty menu trash
- General Check-In
149. 11:00 - 12:30 hour
Joomla 2.5 site preparations:
- Create new database with "clean" dataset (without
exact.nl content data)
- SP Upgrade configuration
- Static server files sync between 1.5 site and 2.5 site
- Publish Joomla 2.5 base version with static files on
www.exact.nl/25/
151. 13:00 - 16:00 hour
Test migrations
- Test migraties according "Migration Manual"
- After test, restore as "Joomla 2.5 site preparation"
status
!
Check result of test migrations [Client]
- Test migration result and report issues
152. 13:00 - 16:00 hour
Roll-out fixes
- In case of issues, improve migration script
!
Prepare off-line page
- Specific page visible during the migration downtime
153. 16:00 - 17:30 hour
Final opportunity for content changes on live site
- No content changes after 16:00 hour
- Administration area restricted
- Visitors can still use the full functionality of the website,
form submissions won’t get lost
154. 16:00 - 17:30 hour
Final test migration
- Final test migraties according "Migration Manual"
!
Final Joomla 2.5 site preparations:
- Create new database with "clean" dataset
- Static server files sync between 1.5 site and 2.5 site
- Publish Joomla 2.5 base version with static files on
156. 19:00 - 19:15 hour
Final checks
- Check if Joomla 1.5 site is ready
- Check if Joomla 2.5 site is ready
- Check database tables
- Check if required software & connections are ready
- Check if hosting provider is ready
157. 19:15 - 19:30 hour
Migrations www.exact.nl
- Final migraties according "Migration Manual"
- During this period www.exact.nl is offline, visitors can’t
use the website
158. 19:30 - ? : ? hour
Monitoring of www.exact.nl
- Monitoring of migrated website
- Apply small bug-fixes if needed
- In case of bigger issues a revert of the Joomla 1.5 site
according the "Emergency Revert Manual"
- Old Joomla 1.5 version available for reference on
www.exact.nl/15/
166. 5) Manual operations in 2.5 site (+/- 2 minutes)
- Install Advanced Module Manager
- Install RSEventsPro
- Install RSFormPro
- Install RSFirewall
- Run VirtueMart Tools -> Update tables
- Run SP Upgrade
- Run custom Exact conversion script
167. 5) Manual operations in 2.5 site (+/- 2 minutes)
- Run Joomla Advanced Search (Finder) indexer
- Fix Asset Issues with ACL Manager
- Configure frontend/backend .htaccess files
- Check memcache configuration
- Publish obGrapper pipes
- Clear cache
168. 6) Check result (+/- 2 minutes)
Check migration result on www.exact.nl/25/
169. 7) Move Joomla 1.5 site (+/- 0,5 minute)
Move www.exact.nl to www.exact.nl/15/
170. 8) Move Joomla 2.5 site (+/- 0,5 minute)
Move www.exact.nl/25/ to www.exact.nl/
171. 9) Adjust configuration.php paths (+/- 0,5 minute)
Adjust the /tmp/ and /log/ folder paths in
www.exact.nl/configuration.php and
www.exact.nl/15/configuration.php
174. 1) Set exact.nl (Joomla 2.5) site off-line (+/- 0,5 minute)
175. 2) Move Joomla 2.5 site (+/- 0,5 minute)
Move www.exact.nl to www.exact.nl/25/
176. 3) Move Joomla 1.5 site (+/- 0,5 minute)
Move www.exact.nl/15/ to www.exact.nl/
177. 4) Adjust configuration.php paths (+/- 0,5 minute)
Adjust the /tmp/ and /log/ folder paths in
www.exact.nl/configuration.php and
www.exact.nl/25/configuration.php