All Versions
DSpace Documentation
...
config directory, and its subdirectories, concentrating on configurations your previously customized in your local.cfg. See also the Configuration Reference.[dspace]/config/spring/api/bte.xml Spring Configuration. This file is no longer needed as the BTE framework was removed in favor of Live Import from external sources.First, create a temporary folder to copy your old v6 configurations into
| Code Block |
|---|
# Example of creating a [dspace]/config/temp folder for this migration # You must replace [dspace] with the full path of your DSpace 7 installation. cd [dspace]/config mkdir temp |
Run the command-line migration script to migrate them to v7 configuration files
| Code Block |
|---|
# This example uses [dspace] as a placeholder for all paths. # Replace it with either the absolute or relative path of these files [dspace]/bin/dspace submission-forms-migrate -s [dspace]/config/temp/item-submission.xml -f [dspace]/config/temp/input-forms.xml |
[dspace]/config/item-submission.xml.migrated [dspace]/config/submission-forms.xml.migrated [dspace]/config/ folder, therefore retaining the inline comments in those default files.[dspace]/config/GeoLiteCity.dat file is no longer maintained by its provider. You can delete it. The new file is named GeoLite2-City.mmdb by default. If you have configured a different name and/or location for this file, you should check the setting of usage-statistics.dbfile in [dspace]/config/modules/usage-statistics.cfg (and perhaps move your custom setting to local.cfg).dspace.cfg and/or local.cfg all lines referencing org.dspace.app.mediafilter.WordFilter and uncomment all lines referencing org.dspace.app.mediafilter.PoiWordFilter.solr.server to point at your new Solr external service. It will probably become something like solr.server = https://localhost:8983/solr. Solr only needs to be accessible to the DSpace backend, and should not be publicly available on the web. It can either be run on localhost or via a hostname (if run on a separate server from the backend). Also review the values ofdiscovery.search.serveroai.solr.urlsolr.authority.serversolr-statistics.serversitemap.cron setting exists in the dspace.cfg which controls when Sitemaps are generated. By default they are enabled to update once per day, for optimal SEO. See Search Engine Optimization docs for more detail./dspace generate-sitemaps", this system cron job can be removed in favor of the new sitemap.cron setting.If you are using SOLR Statistics and wish to retain your statistical data in the latest version of DSpace, then you MUST import your old Solr statistics data from your existing site. (This step is using the same data that you exported above)
| Anchor | ||||
|---|---|---|---|---|
|
authority and statistics from the CSV dumps that you made earlier in Step 2 above.| Code Block | ||
|---|---|---|
| ||
[dspace]/bin/dspace solr-import-statistics -i authority
[dspace]/bin/dspace solr-import-statistics -i statistics |
This could take quite some time.
If you had sharded your statistics, you will need to load the dump of each shard separately into the "statistics" core. DSpace 7 does not support Solr shards at this time. Unfortunately, this will involve renaming all CSV export files to remove the year (e.g. rename "statistics-2012_export_2013-12_5.csv" to "statistics_export_2013-12_5.csv") and rerunning "[dspace]/bin/dspace solr-import-statistics -i statistics". More advice on this process can be found in this dspace-tech mailing list thread.
For the Statistics core(s) only, upgrade legacy DSpace Object Identifiers (pre-6.4 statistics) to UUID Identifiers.
| Code Block |
|---|
[dspace]/bin/dspace solr-upgrade-statistics-6x -i statistics |
Again If you had sharded your statistics, you will need to run this for each shard separately. See also SOLR Statistics Maintenance#UpgradeLegacyDSpaceObjectIdentifiers(pre-6xstatistics)toDSpace6xUUIDIdentifiers
| Anchor | ||||
|---|---|---|---|---|
|
geoipupdate tool directly via their package manager. You will still need to configure your license key prior to usage.usage-statistics.dbfile in your local.cfg configuration file . config/ directory (if they exist).usage-statistics.dbfile in your local.cfg configuration file . Older versions of DSpace used an older Handle Server. If you are using the built-in Handle Server with hdl.handle.net URLs, then you'll need to add the follow to the end of the server_config section of your [dspace]/handle-server/config.dct file (the only new line is the "enable_txn_queue" line)
| Code Block |
|---|
"case_sensitive" = "no"
"storage_type" = "CUSTOM"
"storage_class" = "org.dspace.handle.HandlePlugin"
"enable_txn_queue" = "no" |
Alternatively, you could re-run the ./dspace make-handle-config script, which is in charge of updating this config.dct file.