wiki:GeoNetworkStartupImprovements

Create or migrate DB on startup

Date 2010/06/07
Contact(s) Francois
Last edited Timestamp
Status On going
Assigned to release
Resources
Ticket

Overview

  • Create a separate directory to store all users files
    • database (if embedded)
    • logos ?
    • thesaurus
    • data (thumbnails, uploaded document)
  • Define a GEONETWORK_DATA_DIR environment variable (default data directory in the root of the war file)
  • Use the GEONETWORK_DATA_DIR on startup
    • Connect to the database
      • Create the database if schema is empty
      • Migrate to current version if schema is an old version (where to store the GeoNetwork version number ?)
      • Create a logo with old uuid (Administrator need to copy data and old logo)

Proposal Type

  • Type:
  • App: GeoNetwork
  • Module:

  • Email discussions:
  • IRC discussions:

Voting History

  • Vote proposed
  • Votes:

Proposal details

  • Easier setup of the database
  • Fix GAST issue :
    • does not work if you rename geonetwork webapp

Backwards Compatibility Issues

None.

Risks

Participants

  • Mathieu
  • Francois
Last modified 14 years ago Last modified on 06/07/10 13:36:39
Note: See TracWiki for help on using the wiki.