Difference between revisions of "How to update"

From PartKeepr Wiki
Jump to: navigation, search
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 `app/config/parameters.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 `web/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.
 +
* Remove all existing cronjobs

Revision as of 11:20, 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.
  • Remove all existing cronjobs