If you have previously installed COmanage Registry, follow these steps to upgrade your installation.
Download New Source
Checkout the source as described in Registry Installation - Source. Depending on how you set things up previously, you will likely need to:
- Update
app/tmp
to point to your production tmp directory. - Re-install your authentication configuration. (eg: On Apache, copy
app/webroot/auth/login/.htaccess
andapp/webroot/auth/logout/.htaccess
. - Re-install your database configuration. (
app/Config/database.php
) - Update your
registry-source
link to point to the new directory.
Update Database Schewa
Generally, updating the database schema is required when upgrading COmanage Registry. You may need to run this command as a user that has permission to write to your tmp directory.
$ cd app $ ./Console/cake database [...] Database schema update successful
Updating On Postgres May Throw Error
When upgrading the database schema (past 0.3) on Postgres, you may see "Possibly failed to update database schema" instead. In all likelihood, the database schema successfully updated. (CO-165)