Contribute to the DSpace Development Fund

The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.

The DSpace command launcher or CLI interface offers the execution of different maintenance operations. As most of these are already documented in related parts of the documentation, this page is mainly intended to provide an overview of all available CLI operations, with links to the appropriate documentation.

Executing command line operations

The CLI interface is found at [dspace]/bin/dspace.  Execute it without arguments or with the -h option to see all available operations.  Execute dspace op -h to see details about the op operation.

Examples:

bin/dspace -h
bin/dspace cleanup -h
bin/dspace cleanup
bin/dspace cleanup --verbose

Available operations

Some operations can also be run as "Processes" (or Scripts) from the administrative User Interface or REST API.   Those Scripts have a detailed description in our REST API documentation at https://github.com/DSpace/RestContract/blob/main/scripts/

General use

Legacy statistics

DSpace 7.x does not yet support

Legacy/log based statistics are not available in DSpace 7.x. They are under discussion as this feature is not widely used. Tentatively, they are scheduled for possible removal. See https://github.com/DSpace/DSpace/issues/2852

Legacy statistics parse the DSpace log files and compile information based on the "[dspace]/config/dstat.cfg" configuration file. They are no longer actively maintained, but still exist in the codebase because there is information they report on that is not yet accessible in (or replaced by) SOLR Statistics. Where possible, we recommend using SOLR Statistics and/or Google Analytics for more accurate data.

  • stat-general: Compile the general statistics
  • stat-initial: Compile the initial statistics
  • stat-monthly: Compile the monthly statistics
  • stat-report-general: Create the general statistics report
  • stat-report-initial: Create the initial statistics report
  • stat-report-monthly: Create the monthly statistics report

SOLR Statistics

Scripts for the statistics that are stored in SOLR:

  • No labels