Difference between revisions of "How to update"

From PartKeepr Wiki
Jump to: navigation, search
Line 13: Line 13:
  
 
* Note that the path to the frontend has been changed. Previously, it used to be <code>frontend/</code>, now it is <code>web/</code>. Please adjust accordingly.
 
* Note that the path to the frontend has been changed. Previously, it used to be <code>frontend/</code>, now it is <code>web/</code>. Please adjust accordingly.
 +
* Copy your legacy config.php file into the root of your new PartKeepr installation. It will automatically be parsed by the setup. Remove it after setup is complete, as the new config file is in <code>app/config/parameters.php</code<
 
* Remove all existing cronjobs
 
* Remove all existing cronjobs

Revision as of 23:01, 3 December 2015

Updating PartKeepr to a never version:

  • Create a database backup of your PartKeepr installation
  • Create a filesystem backup of your PartKeepr installation
  • Download the new PartKeepr version and either:
    • Overwrite the existing PartKeepr files -or-
    • Move the data/ directory (excluding the proxies directory) as well as the app/config/parameters.php file to the new directory
  • In any case, re-run web/setup! It doesn't delete your existing data, but updates your database schema to match the new version.

Upgrading from 0.1.9 or earlier

  • Note that the path to the frontend has been changed. Previously, it used to be frontend/, now it is web/. Please adjust accordingly.
  • Copy your legacy config.php file into the root of your new PartKeepr installation. It will automatically be parsed by the setup. Remove it after setup is complete, as the new config file is in app/config/parameters.php</code<
  • Remove all existing cronjobs