# AgroPortal v2.7.0 deployment documentation

* Merge the code to master
  * goo  **(done)**
    * <https://github.com/ontoportal-lirmm/goo/pull/44>
    * <https://github.com/ontoportal-lirmm/goo/pull/45>
    * <https://github.com/ontoportal-lirmm/goo/pull/35>
  * ontologies_linked_data **(done)**
    * <https://github.com/ontoportal-lirmm/ontologies_linked_data/pull/96>
    * <https://github.com/ontoportal-lirmm/ontologies_linked_data/pull/97>
    * <https://github.com/ontoportal-lirmm/ontologies_linked_data/pull/81>
  * API  **(done)**
    * <https://github.com/ontoportal-lirmm/ontologies_api/pull/44> (**need configuration files update )**
    * <https://github.com/ontoportal-lirmm/ontologies_api/pull/42> **need solr schema update, to disable notifications and to re-index all ontologies)**
    * <https://github.com/ontoportal-lirmm/ontologies_api/pull/43> (**need to migrate data to new model)**
    * <https://github.com/ontoportal-lirmm/ontologies_api/pull/35>
  * cron **(done)**
    * <https://github.com/ontoportal-lirmm/ncbo_cron/pull/16/files>
  * UI  **(done)**
    * <https://github.com/ontoportal-lirmm/bioportal_web_ui/pull/399>
    * <https://github.com/ontoportal-lirmm/bioportal_web_ui/pull/336>
    * <https://github.com/ontoportal-lirmm/bioportal_web_ui/pull/240>
* Create an snapshot of the production server
* Create a data backup of the Triple store
* Update NCBO cron configs
  * Disable notifications
* Deploy new NCBO cron
* Update SOLR  schema
  * This PR to work in the server we need to update the server SOLR `schema.xml` file that is in this path `/srv/ontoportal/data/solr/config/term_search` like this one <https://github.com/ontoportal-lirmm/ontologies_linked_data/blob/master/config/solr/term_search/schema.xml>
* Update API configs
  * Disable notifications
  * App oauth providers configuration
* Put AgroPortal in maintenance mode
* Deploy new API
* Migrate data

  [Data migration ](/doc/data-migration-TWncPvj3Hh)
* Re-index all ontologies
* Update UI configs ✅
  * Update footer and header configuration
  * Add oauth config
  * remove the usage of .`en` in configs
* Deploy new UI
* Enable notifications

---

**Documents**

- [💁‍♂️ Acknowledgments](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/acknowledgments-15GdRXLQdm)
- [📚Publications and references](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/publications-and-references-87tEoeoGKy)
- [🗽Terms & Conditions](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/terms-conditions-naDsDo2Zxq)
- [🧞‍♂️Metadata guidelines and recommendations](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/metadata-guidelines-and-recommendations-pOFbK9sIfp)
- [📜 AgroPortal Release Notes](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/agroportal-release-notes-btKjZk5tU2)
- [ 👩‍🚀 User Guide](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/user-guide-ZszoBwfjGF)
- [📎 API Documentation](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/api-documentation-kMCurGKD97)
- [🤖 Developer Documentation](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/developer-documentation-LhsrucqGTa)
- [🗃External Documentation](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/external-documentation-vNPQCdArrr)
- [AgroPortal infrastructure](https://wiki.agroportal.eu/s/e6158eda-c109-4385-852c-51a42de9a412/doc/agroportal-infrastructure-ietsAU4kPs)