Guides to follow when updating/upgrading your existing Developer Portal Installation Profile from version 2.0 to 2.1
Update your existing Installation Profile by running the following composer command:
composer update
(Please take note a new version of Apigee API Catalog ver.2.x will replace the old version which is used in this old installation profile.) Once the update is completed, kindly run the following drush command:
- drush updb or drush updatedb
- drush cr or drush cache-rebuild
By the time you have completed the update, you will notice a major changes on API Docs, wherein it is now part of a node content type (before, it is a separate Entity Type). Any custom fields you have created inside of the old API Doc entity will be converted and migrated as well to the new node content type. A new API Catalog view will be generated and all API Docs content will be converted to this new content type.
After the update, there are post update activities that needs to perform in order to re-configure and restore the same look and feel of the API Catalog from the old installation profile.
We need to perform an update-entity, to resolve the bug issue listed on Status Report related to the API Doc.
In order to do that, please follow the steps below:
- On Modules list (go to Extend), enabled the following modules:
- Entity Update
- Devel Entity Updates (requires Devel module)
- Once installed, please run the following drush command:
- drush update-entity
- drush cr or drush cache-rebuild
- After running the said commands, uninstall Entity Update and Devel Entity Updates modules
Comments
0 comments
Please sign in to leave a comment.