Download

OpenPublish 1.7 -> 2.0 Update Instructions

  1. Make full backup of your 1.7 installation!
  2. Download openpublish 2.0 tar.gz
  3. Save customized portions of your 1.7 installation, in a convenient place, most importantly: settings.php and probably your theme (unless you created your theme as a subtheme of openpublish_theme, which is the recommended approach).
  4. Unpack openpublish 2.0 tar.gz on top of 1.7 installation. Make sure unpack overwrote corresponding parts of 1.7 and did not just create a subfolder in 1.7.
  5. Manually delete multimedia.inc, events.inc and resources.inc in openpublish_core/views/. These views are now respectively stored in op_misc, op_event and op_resource.
  6. Restore the settings.php from 1.7, since unpack may have overridden it.
  7. You may start seeing error messages. They are ok. Update process is not completed and things are broken until all steps complete.
  8. Disable/Enable Following Modules (please do in the exact sequence they are listed below and one module at a time. This is a long and tedious process, so using "drush enable" command is highly recommended. Using drush can also avoid running into errors of half-way updated installation):

    Modules to disable:

    • fckeditor
    • op_advuser_config
    • op_scheduler_config

    Modules to enable:

    • advanced_help
    • ckeditor
    • jcarousel
    • twitter_pull
    • viewscarousel
    • op_defaults
    • premium_default_off
  9. Run: http://yourdomain.com/admin/content/clearcache
  10. Run update, via http://yourdomain.com/update.php (Please don't use Drush for this step, it did not work in our tests). You may see some minor warnings. They are ok, you are making significant changes and some minor things may get broken, temporarily.
  11. Run: http://yourdomain.com/admin/content/clearcache
  12. Go to admin/build/features and if you see any features showing "overriden" status, go into the feature, check overriden components and click on "revert components". Repeat for all other overridden features, until all of them show status: "default".