Actions

Typo3 upgrade

From zen2

Prelim

/var/lib/php5 must be writable by apache

Disable front end users

  1. Hide the following root pages
    1. Members
    2. Course Providers
    3. Administration

Backup

  1. Backup website files. In /pub:
    1. tar -cf nzda20110903.tar .
    2. gzip -9 nzda20110903.tar
  2. Download file nzda20110903.tar.gz
  3. Backup database
    1. Select All Fields
    2. Add Drop table
    3. Complete inserts, Extended inserts
    4. Save as file, zipped

Upgrade to 4.1.12

  1. Move typo3_src-4.1.12.tar.gz to pub directory
  2. tar -xzpvf typo3_src-4.1.12.tar.gz
  3. mv typo3_src typo3_src-old
  4. mv typo3_src-4.1.12 typo3_src
  5. If you cannot get into the back end do the following
    1. http://localhost/pub/typo3/install/index.php
      1. Go to Basic Configuration and check all ok
  6. Log in to back end
  7. In The left hand men choose Install in the Tools section
  8. In Basic Configuration everything should be ok
  9. In Database Analyser in Update required tables - compare, ensure nothing bad will happen, see pictures 1 and 2. Drop tables in pic 2 doesn't seem to work, but that's ok.
  10. In install tool Take Update Wizard and click "Next" button in changeCompatibility Version
  11. Click "Perform Updates"
  12. Clear caches
  13. Check site

Upgrade to 4.5.5

  1. Move typo3_src-4.5.5.tar.gz to pub directory
  2. tar -xzpvf typo3_src-4.5.5.tar.gz
  3. mv typo3_src typo3_src-4.1.12-old
  4. mv typo3_src-4.5.5 typo3_src
  5. cd typo3conf
  6.  touch ENABLE_INSTALL_TOOL
  7. http://localhost/pub/typo3/install/index.php
    1. Go to Basic Configuration and check all ok
      1. in development typo3/ext wasn't writable
        cd ..
        chmod -R 775 typo3/ext
        May need to chgrp or chown as well
        DOESN'T MATTER - ext aren't stored here anyway
  8. In Database Analyser in Update required tables - compare, ensure nothing bad will happen, see pic 3, "Write to Database"
  9. There may be an error in truncating cache_hash and altering it.
    1. Using phpmyadmin empty this table cache_hash
    2. Retry the "Write to Database"
    3. It should have worked - now in Changing Fields ALTER TABLE cache_hash - tick and "Write to Database" again
  10. Upgrade Wizard
    1. database character set "Next", "Perform Update"
    2. Version Compatibility "Next", check all (down the bottom), "Perform Updates"
    3. "Go to the next update wizard"
    4. Split Typoscript templates from CSS Styled Content "Perform Updates"
    5. "Go to the next update wizard"
    6. Update Pages with Pagetype "Advanced" "Perform updates"
    7. "Go to the next update wizard"
    8. Install Outsourced System Extensions "Perform updates"
    9. "Go to the next update wizard"
    10. Install New System Extensions "Perform updates"
    11. "Go to the next update wizard"
    12. Update Existing Text with Image Content Elements "Perform updates"
    13. "Go to the next update wizard"
    14. Versioning and Workspaces "Perform Updates"
  11. Logout from Install Tool
  12. Log into the back end
    1. If the css is mucked up:
    2. in typo3conf directory
    3. rm temp_CACHED_*
    4. Edit typo3conf/localconf.php
      1. Comment out $TYPO3_CONF_VARS['EXT']['extList'] (line 18)
      2. Comment out $TYPO3_CONF_VARS['EXT']['extList_FE'] (line 45)
  13. Re-enable Extensions - Extension Manager, Install Extensions
    1. Backend Modules
      1. Statistics
        1. Ignore Backend-Users - tick
      2. phpmyadmin
    2. Miscellaneous
      1. PHPExcel Library
    3. Frontend
      1. Frontend forms code library
    4. Frontend Plugins
      1. Accredited Courses Report
      2. Add NV CPD
      3. Add Retro Course
      4. Admin General Session Search
      5. Approve CDE Provider Courses
      6. Approve Sessions
      7. CDE Edit Sessions
      8. CDE Provider Application
      9. CDE Provider Application Approval
      10. CDE Provider View Courses
      11. CPD Add Course
      12. CPD Add Session
      13. CPD Printout
      14. CPD Printout Non Verified
      15. CPD Printout NV 4Letterhead
      16. CPD Printout Ver 4Letterhead
      17. CPD Printout Verified
      18. CPD Summary
      19. Edit Contact Info - CDE Provider
      20. Edit Login Details
      21. Edit Personal Info
      22. Indexed Search Engine
        1. Ignore this suggestion - tick
        2. Default options otherwise
      23. New front end login box
      24. NZDA Admin Add Verified CPD
      25. NZDA Admin Couese/Session Ver.2
      26. NZDA FE Admin Courses
      27. NZDA FE Admin Course Session
      28. NZDA FE Administration
      29. NZDA FE Administration Password
      30. NZDA FE Administration User Info
      31. NZDA FE Administration User Info CDE
      32. NZDA FE Admin Non Verified CPD
      33. NZDA FE Admin Sessions
      34. NZDA FE Admin Verified CPD
      35. NZDA Non Verifiable CPD Claims Database
      36. NZD FE Administration for CDE Providers
      37. Seminar Manager
      38. Session Approval
      39. Total Number of Verifiable Hours
    5. []
      1. verifyaccred
  14. Replace extensions class.tx_CPDsummary_pi1.php & class.tx_nzdafeadminaccredreport_pi1.php

Clear all caches

Enable front end login

  1. Unhide:
    1. Members
    2. Course Providers
    3. Administration