Page History
...
Info | ||
---|---|---|
| ||
A word of warning: in order to ensure proper permissions and file ownership is are maintained, you are advised to run these ant targets as the service user (commonly 'dspace' or 'tomcat'). This is a change for DSpace 5.0. Running them as any other user is likely to cause problems, especially with the new Solr index maintenance targets. |
...
Target | Effect |
---|---|
update | Creates backup copies of the [dspace]/bin, /etc, /lib, and /webapps directories with the form /<directory>.bak-<date-time>. Creates new copies of [dspace]/config, /etc, and /lib directories. Does not affect data files or the database. (See overwrite, config, war options.) |
update_configs | Updates the [dspace]/config directory with new configuration files. (See config option.) |
update_geolite | Dowload and install GeoCity database into [dspace]/config. |
update_code | Creates backup copies of the [dspace]/bin, /etc, and /lib directories with the form /<directory>.bak-<date-time>. Creates new copies of [dspace]/config, /etc, and /lib directories. (See config option.) |
update_webapps | Updates [dspace]/webapps directory. (See config, war options.) |
update_solr_indexes | Checks if any Solr indexes need upgrading (to latest Solr), and if so, upgrades them. |
init_configs | Writes configuration files to [dspace]/config. (See overwrite, config options.) |
install_code | Deletes existing [dspace]/bin, /lib, and /etc directories, and installs new copies; overwrites /solr application files, leaving data intact. (See config option.) |
fresh_install | Performs a fresh installation of the software, including the database & config. (See config, war options.) |
test_database | Tests database connection using parameters specified in dspace.cfg. (See config option.) |
setup_database | Creates database tables. Database schema must exist and relevant parameters specified in dspace.cfg. (See config option.) |
load_registries | Loads metadata & file format registries into the database. (See config option.) |
clean_backups | Removes [dspace]/bin, /etc, /lib, and /webapps directories with .bak* extensions. |
clean_database | Drops all DSpace database tables, destroying all data. (See config option.) |
Overview
Content Tools