@boblet

lest I forget (Oli Studholme)

ExpressionEngine 2 upgrade/install notes

preflight

  • check server is capable
  • if new install…
    • create database if necessary
  • if upgrade…
    • backup database
    • save all templates as files
    • backup files
    • double-check your backup
    • confirm any plugins have EE2+ compatible versions (they’re automatically disabled, so any essential ones will stop your site from working)

install

  • download EE2 (“new EE”) to where you want it (same place as before is easy) to prep it
  • change new EE’s permissions (check again after upload if these files are not on the server)
    • chmod 666 system/expressionengine/config/config.php system/expressionengine/config/database.php
    • chmod 777 system/expressionengine/cache images/avatars/uploads images/captchas images/member_photos images/pm_attachments images/signature_attachments images/uploads
  • if upgrade…
    • copy templates from old EE’s system/templates to new EE’s system/expressionengine/templates/site_short_name
      • if you were migrating from non-multisite your site_short_name is default_site, eg a default about template should be system/expressionengine/templates/default_site/site/about.php
    • copy old EE’s system/config.php to new EE’s system/expressionengine/config/
  • when you’re ready to swap take current site offline (cp system/utilities/offline.html index.html and/or via control panel)
    • move/rename old EE /index.php plus /system and /themes folders
    • move/upload new EE /index.php plus /system and /themes folders to install location (site root)
    • obsfucate new /system/ to a different name, and add to /index.php
  • if new install…
    • access site at your-domain.com/system and follow instructions
  • if old install…
    • access site at your-domain.com/system and follow instructions; it should detect old templates and auto-import
    • once the process finishes (and after you delete /install and log in), double-check your posts haven’t been trimmed

Notes

  1. grow-vegetable-garden reblogged this from boblet
  2. wetteronline95 reblogged this from boblet
  3. boblet posted this