Difference between revisions of "How to update"

From PartKeepr Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
* Download the new PartKeepr version and either:
 
* Download the new PartKeepr version and either:
 
** Overwrite the existing PartKeepr files -or-
 
** Overwrite the existing PartKeepr files -or-
** Move the data/ directory (excluding the proxies directory) as well as the config.php file to the new directory
+
** Move the data/ directory (excluding the proxies directory) as well as the <code>app/config/parameters.php</code> file to the new directory
  
* In any case, re-run setup! It doesn't delete your existing data, but updates your database schema to match the new version.
+
* In any case, re-run <code>web/setup</code>! 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 <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

Latest revision as of 22: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
  • Remove all existing cronjobs