ServerHandbook live check: run log ------------------------------------------------------------------------------ Check scripts/live/checks/dspace-command-line.mjs (sha256 b35a5c79d74e08285098ff4c2cdfb6283132cb12866e3ce0822c1faec9facdd0) Ran at 2026-11-20T04:18:49Z (614 s) Result PASS, all 37 claims held Tested on System Ubuntu 26.04.1 LTS Kernel 7.0.0-43-generic Package openjdk-21-jdk-headless 21.0.13.1+2-1~26.04.1 Package maven 3.9.12-1 Package ant 1.10.15-1build1 Package postgresql-17 17.12-1.pgdg26.04+1 Package dspace 10.1 Package solr 9.11.0 Setup A fresh Ubuntu 26.04 server (8 GB of memory) with DSpace 10.1 installed as lesson 1 of the DSpace course installs it (PostgreSQL, Solr 9.11.0, the backend as services; done by the check before the first step shown), reached over SSH as a sudo user. Every version above was read from the server at run time. Passwords used on the throwaway test server are shown as [password]. How we test: https://serverhandbook.com/how-we-test ------------------------------------------------------------------------------ What the steps changed on the server (recorded before the first step and after the last) Packages added (0) Packages upgraded (0) Packages removed (0) Services enabled at boot (0) Services disabled (0) Listening sockets opened (0) Listening sockets closed (0) Files added in /etc (0) Files changed in /etc (0) Files removed from /etc (0) Disk used on / (includes logs written during the run): +21.1 MB ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Claims (37), each with what the run saw ------------------------------------------------------------------------------ 1. ok a bare Ubuntu 26.04 server box (web-server) starts 2. ok (setup) the tools: Java 21, Ant, git, Maven, Node 3. ok (setup) the PostgreSQL project's apt repository (26.04 ships 18; DSpace 10 supports up to 17) 4. ok (setup) PostgreSQL 17 5. ok (setup) role and database dspace 6. ok (setup) the dspace user and /dspace 7. ok (setup) Solr 9.11.0 on 127.0.0.1:8983 8. ok (setup) Solr answers 9. ok (setup) the DSpace 10.1 source and local.cfg 10. ok (setup) mvn package 11. ok (setup) ant fresh_install 12. ok (setup) database migrate 13. ok (setup) the Solr cores 14. ok (setup) Solr is back with the cores 15. ok (setup) the backend service 16. ok (setup) the REST API answers: DSpace 10.1 17. ok (setup) the administrator 18. ok `dspace` with no command lists the commands | rds and metadata when moving from one handle to another | - user: Manipulate a normal user account | - validate-date: interactively validate date values against the multi-format date parser (good for testing custom regular expression configurations) | - version: Display the version of DSpace and other troubleshooting information | | Commands from script service | - bulk-access-control: Bulk access control | - curate: Curation tasks | - export: Batch Export to Simple Archive Format (SAF) | - filter-media: Perform the media filtering to extract full text from documents and to create thumbnails | - harvest: Manage the OAI-PMH harvesting of external collections | - import: Batch Import from Simple Archive Format (SAF) | - import-loader-suggestions: Imports suggestions from external providers for publication claim | - import-openaire-events: Import new Openaire quality assurance broker events | - index-discovery: Update Discovery Solr Search Index | - item-enhancer: Script that checks and updated virtual stale metadata on all items | - metadata-deletion: Delete all the values of the specified metadata field | - metadata-export: Export metadata for batch editing | - metadata-export-filtered-items-report: Export metadata from item results in a Metadata Query Report | - metadata-export-search: export metadata from a discovery search | - metadata-import: Import metadata after batch editing | - object-deletion: Permanently delete the given object along with all child objects. WARNING: This action cannot be undone. | - orcid-bulk-push: Perform the bulk synchronization of all the BATCH configured ORCID entities placed in the ORCID queue | - process-cleaner: Cleanup all the old processes in the specified state | - retry-tracker: Retry all failed commits to the OpenURLTracker | - solr-database-resync: Update the database status of Items in solr | - submission-forms-migrate: Script for migrating submission forms to DSpace 7 | - subscription-send: Send emails related to Community/Collection/Item subscriptions 19. ok `dspace version` prints DSpace 10.1, Java and the OS | DSpace version: 10.1 | SCM revision: UNKNOWN_REVISION | SCM branch: UNKNOWN_BRANCH | OS: Linux(amd64) version 7.0.0-43-generic | Applications: | Discovery: enabled. | JRE: Ubuntu version 21.0.13.1 | Ant version: Apache Ant(TM) version 1.10.15 compiled on January 13 2026 | Maven version: 3.9.12 | DSpace home: /dspace 20. ok `database test` connects to PostgreSQL | Attempting to connect to database | Connected successfully! | | Database Type: postgres | Database URL: jdbc:postgresql://localhost:5432/dspace | Database Schema: public | Database Username: dspace | Database Software: PostgreSQL version 17.12 (Ubuntu 17.12-1.pgdg26.04+1) | Database Driver: PostgreSQL JDBC Driver version 42.7.13 | FlywayDB Version: 10.22.0 21. ok `database info` lists the migrations, all Success | Versioned | 7.6.2024.05.07 | process eperson constraint | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 7.6.2024.12.17 | workspaceitem add item id unique constraint | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 7.6.2025.10.29 | Fix-request-items-with-deleted-bitstreams | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 7.6.2026.03.25 | entity types caching | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 8.0.2023.08.07 | qaevent processed | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 8.0.2024.02.14 | ldn tables | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 8.4.2026.03.28 | Fix-bundle2bitstream-with-deleted-bitstreams | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 9.0.2024.11.09 | ldn service external actor | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 9.0.2025.02.13 | add access colums to requestitem table | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 9.0.2025.03.12 | registration data | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 10.0.2026.01.07 | create table items for update | SQL | 2026-11-20 04:24:39 | Success | No | | | Versioned | 10.0.2026.02.18 | add columns security level metadata value | SQL | 2026-11-20 04:24:39 | Success | No | | +-----------+-----------------+------------------------------------------------------------------+----------+---------------------+----------+----------+ 22. ok `dsprop` prints a setting as DSpace reads it | http://localhost:8080/server 23. ok `user --list` prints the accounts | 1668c14c-66c1-4164-bfa6-729dafb3b829 admin@example.org/null Admin, Ada 24. ok the structure file is written 25. ok `structure-builder` makes the community and its collection 26. ok its output file gives each one a handle | | ThesesMaster's theses 27. ok `index-discovery -b` rebuilds the search index | The script has started | (Re)building index from scratch. | Done with indexing | The script has completed 28. ok `metadata-export` writes a CSV of a community | The script has started | Exporting community 'Theses' (123456789/1) | The script has completed 29. ok the CSV has a header line | id,collection 30. ok `curate` without -e: what it prints (recorded; the source says -e is required) | usage: curate | -e,--eperson email address of curating eperson | -h,--help help | -i,--id Id (handle) of object to perform task on, or 'all' | to perform on whole repository | -p,--parameter a task parameter 'NAME=VALUE' | -q,--queue name of task queue to process | -r,--reporter relative or absolute path to the desired report | file. Use '-' to report to console. If absent, no | reporting | -s,--scope transaction scope to impose: use 'object', | 'curation', or 'open'. If absent, 'open' applies | -t,--task curation task name; options: [noop, noopdis, | profileformats, requiredmetadata, checklinks, | registerdoi] | -T,--taskfile file containing curation task names | -v,--verbose report activity to stdout | | whole repo: CurationCli -t estimate -i all | single item: CurationCli -t generate -i itemId | task queue: CurationCli -q monthly | org.apache.commons.cli.ParseException: Required parameter -e missing! | at org.dspace.curate.CurationCli.assignCurrentUserInContext(CurationCli.java:45) | at org.dspace.curate.Curation.setup(Curation.java:255) | at org.dspace.scripts.DSpaceRunnable.parse(DSpaceRunnable.java:122) | at org.dspace.scripts.DSpaceRunnable.initialize(DSpaceRunnable.java:95) | at org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:170) | at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:152) | at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:126) | at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:101) 31. ok `curate -t profileformats … -e -v` runs a curation task on the community | The script has started | Adding task: profileformats | Starting curation | Curating id: 123456789/1 | Curation task: profileformats performed on: 123456789/1 with status: 0. Result: '' | Ending curation. Elapsed time: 35 | The script has completed 32. ok `filter-media -v` runs (nothing to do on an empty repository) | The script has started | The following MediaFilters are enabled: | Full Filter Name: org.dspace.app.mediafilter.JPEGFilter | org.dspace.app.mediafilter.JPEGFilter | Full Filter Name: org.dspace.app.mediafilter.TikaTextExtractionFilter | org.dspace.app.mediafilter.TikaTextExtractionFilter | Full Filter Name: org.dspace.app.mediafilter.PDFBoxThumbnail | org.dspace.app.mediafilter.PDFBoxThumbnail | The script has completed 33. ok `cleanup -v` runs | Found 0 deleted bitstream to cleanup | Committing changes to the database... Done! 34. ok `healthcheck` prints its report | #### General Information [took: 0s] [# lines: 5] | Generated: 2026-11-20T04:28:17.891570683Z | From - Till: 2026-11-13 - 2026-11-20 | Url: http://localhost:4000 | | Directory [/dspace/assetstore] does not exist! | Log dir size : 31 MB | | ############################### | | | #### Checksum [took: 2s] [# lines: 1] | No md5 checks made! | | ############################### | | | #### Item summary [took: 0s] [# lines: 21] | Community [Theses]: 0 | | Collection sizes: | Total size: 0 bytes | Resource without policy: 0 | Deleted bitstreams: 0 | Orphan bitstreams: 0 [] | | Published items (archived, not withdrawn): 0 | Withdrawn items: 0 | Not published items (in workspace or workflow mode): 0 | Waiting for approval (workflow items): 0 | Count Bitstream : 0 | Count Bundle : 0 | Count Collection : 1 | Count Community : 1 | Count MetadataValue : 9 | Count EPerson : 1 | Count Item : 0 | Count Handle : 3 | Count Group : 2 | Count BasicWorkflowItem: 0 | Count WorkspaceItem : 0 | | ############################### | | | #### User summary [took: 0s] [# lines: 12] | Users : 1 | Have email : 1 | Self registered : 0 | Can log in (password): 1 | Have 2nd name : 1 | Have lang : 1 | Have 1st name : 1 | Have netid : 0 | | Empty groups: #1 | id=588c0c8c-09a2-4922-bbbb-4a897d8b74aa;name=Anonymous, | Subscribers: #0 [] | Subscribed cols.: #0 [] | | ############################### | | | #### Log Analyser Check [took: 0s] [# lines: 7] | Exceptions : 0 | Warnings : 0 | Archive browsed : unknown | Archive searched : 0 | Logged in : 0 | OAI requests : 0 | Items added since [2026-11-13] (db): 0 | | ############################### 35. ok as root (sudo, not sudo -iu dspace): what it prints (recorded) | DSpace version: 10.1 | SCM revision: UNKNOWN_REVISION | SCM branch: UNKNOWN_BRANCH | OS: Linux(amd64) version 7.0.0-43-generic | Applications: | Discovery: enabled. | JRE: Ubuntu version 21.0.13.1 | Ant version: Apache Ant(TM) version 1.10.15 compiled on January 13 2026 | Maven version: 3.9.12 | DSpace home: /dspace 36. ok files root left behind in /dspace/log (recorded: the reason to always use the dspace user) 37. ok (tested on) the box reports its OS, kernel and the version of 6 package(s) | PRETTY_NAME="Ubuntu 26.04.1 LTS" | VIRT=none | KERNEL=7.0.0-43-generic | PKG ant 1.10.15-1build1 | PKG maven 3.9.12-1 | PKG openjdk-21-jdk-headless 21.0.13.1+2-1~26.04.1 | PKG postgresql-17 17.12-1.pgdg26.04+1 | dspace: DSpace version: 10.1 | solr: /opt/solr-9.11.0 ------------------------------------------------------------------------------ Commands and what they printed (19) ------------------------------------------------------------------------------ $ sudo -iu dspace /dspace/bin/dspace You must provide at least one command argument Usage: dspace [command-name] {parameters} Commands from launcher.xml - anonymize-statistics: Anonymize the ip values of the solr statistics - bitstore-migrate: Assetstore migration tool - checker: Run the checksum checker - checker-emailer: Send emails related to the checksum checker - classpath: Calculate and display the DSpace classpath - cleanup: Remove deleted bitstreams from the assetstore - community-filiator: Tool to manage community and sub-community relationships - create-administrator: Create a DSpace administrator account - database: Perform database tasks like test database connection, migrate/repair database, remove database - doi-migrate: Migrate DOI metadata from legacy fields to new standard fields - doi-organiser: Run the DOI organiser - dsprop: View a DSpace property from dspace.cfg - dsrun: Run a class directly - embargo-lifter: Embargo manager tool used to check, list and lift embargoes - generate-sitemaps: Generate search engine and html sitemaps - harvest: Manage the OAI-PMH harvesting of external collections - healthcheck: Create health check report - iiif-canvas-dimensions: Automatically add the IIIF canvas width/height metadata to Bitstreams of IIIF enabled Items. - index-authority: Indexes all metadata fields that use solr authority - initialize-entities: Initialize the entities with a provided xml - itemupdate: Item update tool for altering metadata and bitstream content in items - make-handle-config: Run the handle server simple setup command - migrate-embargo: Embargo manager tool used to migrate old version of Embargo to the new one included in dspace3 - oai: OAI script manager - packager: Execute a packager - rdfizer: The RDFizer manages the attached triple store if dspace-rdf is enabled - read: Execute a stream of 'dspace' commands from a file or pipe - registry-loader: Load entries into a registry - retry-tracker: Retry all failed commits to the OpenURLTracker - solr-export-statistics: Export usage statistics data from Solr for back-up purposes - solr-import-statistics: Import usage statistics data (as previously exported using solr-export-statistics) into Solr - solr-reindex-statistics: Reindex the Solr-based usage statistics, for example after an upgrade that changes the schema - solr-upgrade-statistics-6x: Upgrade statistics (integer to UUID) to DSpace 6.x (or above) compatibility - 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 - stats-log-converter: Convert dspace.log files ready for import into solr statistics - stats-log-importer: Import previously converted log files into solr statistics - stats-util: Statistics Client for Maintenance of Solr Statistics Indexes - structure-builder: Build DSpace community and collection structure - test-email: Test the DSpace email server settings are OK - update-handle-prefix: Update handle records and metadata when moving from one handle to another - user: Manipulate a normal user account - validate-date: interactively validate date values against the multi-format date parser (good for testing custom regular expression configurations) - version: Display the version of DSpace and other troubleshooting information Commands from script service - bulk-access-control: Bulk access control - curate: Curation tasks - export: Batch Export to Simple Archive Format (SAF) - filter-media: Perform the media filtering to extract full text from documents and to create thumbnails - harvest: Manage the OAI-PMH harvesting of external collections - import: Batch Import from Simple Archive Format (SAF) - import-loader-suggestions: Imports suggestions from external providers for publication claim - import-openaire-events: Import new Openaire quality assurance broker events - index-discovery: Update Discovery Solr Search Index - item-enhancer: Script that checks and updated virtual stale metadata on all items - metadata-deletion: Delete all the values of the specified metadata field - metadata-export: Export metadata for batch editing - metadata-export-filtered-items-report: Export metadata from item results in a Metadata Query Report - metadata-export-search: export metadata from a discovery search - metadata-import: Import metadata after batch editing - object-deletion: Permanently delete the given object along with all child objects. WARNING: This action cannot be undone. - orcid-bulk-push: Perform the bulk synchronization of all the BATCH configured ORCID entities placed in the ORCID queue - process-cleaner: Cleanup all the old processes in the specified state - retry-tracker: Retry all failed commits to the OpenURLTracker - solr-database-resync: Update the database status of Items in solr - submission-forms-migrate: Script for migrating submission forms to DSpace 7 - subscription-send: Send emails related to Community/Collection/Item subscriptions $ sudo -iu dspace /dspace/bin/dspace version DSpace version: 10.1 SCM revision: UNKNOWN_REVISION SCM branch: UNKNOWN_BRANCH OS: Linux(amd64) version 7.0.0-43-generic Applications: Discovery: enabled. JRE: Ubuntu version 21.0.13.1 Ant version: Apache Ant(TM) version 1.10.15 compiled on January 13 2026 Maven version: 3.9.12 DSpace home: /dspace $ sudo -iu dspace /dspace/bin/dspace database test Attempting to connect to database Connected successfully! Database Type: postgres Database URL: jdbc:postgresql://localhost:5432/dspace Database Schema: public Database Username: dspace Database Software: PostgreSQL version 17.12 (Ubuntu 17.12-1.pgdg26.04+1) Database Driver: PostgreSQL JDBC Driver version 42.7.13 FlywayDB Version: 10.22.0 $ sudo -iu dspace /dspace/bin/dspace database info Database Type: postgres Database URL: jdbc:postgresql://localhost:5432/dspace Database Schema: public Database Username: dspace Database Software: PostgreSQL version 17.12 (Ubuntu 17.12-1.pgdg26.04+1) Database Driver: PostgreSQL JDBC Driver version 42.7.13 FlywayDB Version: 10.22.0 +-----------+-----------------+------------------------------------------------------------------+----------+---------------------+----------+----------+ | Category | Version | Description | Type | Installed On | State | Undoable | +-----------+-----------------+------------------------------------------------------------------+----------+---------------------+----------+----------+ | | 1 | << Flyway Baseline >> | BASELINE | 2026-11-20 04:24:38 | Baseline | No | | Versioned | 1.1 | Initial DSpace 1.1 database schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.2 | Upgrade to DSpace 1.2 schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.3 | Upgrade to DSpace 1.3 schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.3.9 | Drop constraint for DSpace 1 4 schema | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.4 | Upgrade to DSpace 1.4 schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.5 | Upgrade to DSpace 1.5 schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.5.9 | Drop constraint for DSpace 1 6 schema | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.6 | Upgrade to DSpace 1.6 schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.7 | Upgrade to DSpace 1.7 schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 1.8 | Upgrade to DSpace 1.8 schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 3.0 | Upgrade to DSpace 3.x schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 4.0 | Upgrade to DSpace 4.x schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 4.9.2015.10.26 | DS-2818 registry update | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 5.0.2014.08.08 | DS-1945 Helpdesk Request a Copy | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 5.0.2014.09.25 | DS 1582 Metadata For All Objects drop constraint | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 5.0.2014.09.26 | DS-1582 Metadata For All Objects | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 5.0.2014.11.04 | Enable XMLWorkflow Migration | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 5.6.2016.08.23 | DS-3097 | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 5.7.2017.04.11 | DS-3563 Index metadatavalue resource type id column | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 5.7.2017.05.05 | DS 3431 Add Policies for BasicWorkflow | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2015.03.06 | DS 2701 Dso Uuid Migration | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2015.03.07 | DS-2701 Hibernate migration | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2015.08.31 | DS 2701 Hibernate Workflow Migration | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2015.09.01 | DS 2701 Enable XMLWorkflow Migration | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.01.03 | DS-3024 | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.01.26 | DS 2188 Remove DBMS Browse Tables | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.02.25 | DS-3004-slow-searching-as-admin | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.04.01 | DS-1955 Increase embargo reason | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.04.04 | DS-3086-OAI-Performance-fix | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.04.14 | DS-3125-fix-bundle-bitstream-delete-rights | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.05.10 | DS-3168-fix-requestitem item id column | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.07.21 | DS-2775 | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.07.26 | DS-3277 fix handle assignment | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.0.2016.08.23 | DS-3097 | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 6.1.2017.01.03 | DS 3431 Add Policies for BasicWorkflow | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2017.10.12 | DS-3542-stateless-sessions | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2018.04.03 | Upgrade Workflow Policy | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2018.04.16 | dspace-entities | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2018.06.07 | DS-3851-permission | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2019.05.02 | DS-4239-workflow-xml-migration | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2019.06.14 | scripts-and-process | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2019.07.31 | Retrieval of name variant | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2019.11.13 | relationship type copy left right | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2020.01.08 | DS-626-statistics-tracker | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2020.10.31 | CollectionCommunity Metadata Handle | JDBC | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2021.01.22 | Remove basic workflow | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2021.02.08 | tilted rels | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2021.03.18 | Move entity type to dspace schema | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2021.09.24 | Move entity type from item template to collection | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.0.2021.10.04 | alter collection table drop workflow stem columns | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.1.2021.10.18 | Fix MDV place after migrating from DSpace 5 | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.3.2022.04.29 | orcid queue and history | SQL | 2026-11-20 04:24:38 | Success | No | | Versioned | 7.3.2022.05.16 | Orcid token table | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.3.2022.06.16 | process to group | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.3.2022.06.20 | add last version status column to relationship table | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.5.2022.12.01 | add table subscriptionparamter change columns subscription table | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.5.2022.12.06 | index action resource policy | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.5.2022.12.09 | Supervision Orders table | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.5.2022.12.15 | system wide alerts | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2023.03.17 | Remove unused sequence | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2023.03.24 | Update PNG in bitstream format registry | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2023.03.29 | orcid queue and history descriptions to text type | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2023.04.19 | process parameters to text type | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2023.09.28 | enforce group or eperson for resourcepolicy | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2023.10.12 | Fix-deleted-primary-bitstreams | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2024.03.07 | set eperson process nullable | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2024.05.07 | process eperson constraint | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2024.12.17 | workspaceitem add item id unique constraint | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2025.10.29 | Fix-request-items-with-deleted-bitstreams | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 7.6.2026.03.25 | entity types caching | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 8.0.2023.08.07 | qaevent processed | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 8.0.2024.02.14 | ldn tables | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 8.4.2026.03.28 | Fix-bundle2bitstream-with-deleted-bitstreams | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 9.0.2024.11.09 | ldn service external actor | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 9.0.2025.02.13 | add access colums to requestitem table | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 9.0.2025.03.12 | registration data | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 10.0.2026.01.07 | create table items for update | SQL | 2026-11-20 04:24:39 | Success | No | | Versioned | 10.0.2026.02.18 | add columns security level metadata value | SQL | 2026-11-20 04:24:39 | Success | No | +-----------+-----------------+------------------------------------------------------------------+----------+---------------------+----------+----------+ $ sudo -iu dspace /dspace/bin/dspace dsprop --property dspace.server.url http://localhost:8080/server $ sudo -iu dspace /dspace/bin/dspace user --list 1668c14c-66c1-4164-bfa6-729dafb3b829 admin@example.org/null Admin, Ada $ sudo -iu dspace bash -c "cat > /tmp/structure.xml" <<'EOF' $ $ $ Theses $ $ Master's theses $ $ $ $ EOF $ sudo -iu dspace /dspace/bin/dspace structure-builder -f /tmp/structure.xml -o /tmp/structure-out.xml -e admin@example.org $ sudo -iu dspace cat /tmp/structure-out.xml ThesesMaster's theses $ sudo -iu dspace /dspace/bin/dspace index-discovery -b The script has started (Re)building index from scratch. Done with indexing The script has completed $ sudo -iu dspace /dspace/bin/dspace metadata-export -i 123456789/1 -f /tmp/theses.csv The script has started Exporting community 'Theses' (123456789/1) The script has completed $ sudo -iu dspace head -n 3 /tmp/theses.csv id,collection $ sudo -iu dspace /dspace/bin/dspace curate -t profileformats -i 123456789/1 usage: curate -e,--eperson email address of curating eperson -h,--help help -i,--id Id (handle) of object to perform task on, or 'all' to perform on whole repository -p,--parameter a task parameter 'NAME=VALUE' -q,--queue name of task queue to process -r,--reporter relative or absolute path to the desired report file. Use '-' to report to console. If absent, no reporting -s,--scope transaction scope to impose: use 'object', 'curation', or 'open'. If absent, 'open' applies -t,--task curation task name; options: [noop, noopdis, profileformats, requiredmetadata, checklinks, registerdoi] -T,--taskfile file containing curation task names -v,--verbose report activity to stdout whole repo: CurationCli -t estimate -i all single item: CurationCli -t generate -i itemId task queue: CurationCli -q monthly org.apache.commons.cli.ParseException: Required parameter -e missing! at org.dspace.curate.CurationCli.assignCurrentUserInContext(CurationCli.java:45) at org.dspace.curate.Curation.setup(Curation.java:255) at org.dspace.scripts.DSpaceRunnable.parse(DSpaceRunnable.java:122) at org.dspace.scripts.DSpaceRunnable.initialize(DSpaceRunnable.java:95) at org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:170) at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:152) at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:126) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:101) $ sudo -iu dspace /dspace/bin/dspace curate -t profileformats -i 123456789/1 -e admin@example.org -v The script has started Adding task: profileformats Starting curation Curating id: 123456789/1 Curation task: profileformats performed on: 123456789/1 with status: 0. Result: '' Ending curation. Elapsed time: 35 The script has completed $ sudo -iu dspace /dspace/bin/dspace filter-media -v The script has started The following MediaFilters are enabled: Full Filter Name: org.dspace.app.mediafilter.JPEGFilter org.dspace.app.mediafilter.JPEGFilter Full Filter Name: org.dspace.app.mediafilter.TikaTextExtractionFilter org.dspace.app.mediafilter.TikaTextExtractionFilter Full Filter Name: org.dspace.app.mediafilter.PDFBoxThumbnail org.dspace.app.mediafilter.PDFBoxThumbnail The script has completed $ sudo -iu dspace /dspace/bin/dspace cleanup -v Found 0 deleted bitstream to cleanup Committing changes to the database... Done! $ sudo -iu dspace /dspace/bin/dspace healthcheck #### General Information [took: 0s] [# lines: 5] Generated: 2026-11-20T04:28:17.891570683Z From - Till: 2026-11-13 - 2026-11-20 Url: http://localhost:4000 Directory [/dspace/assetstore] does not exist! Log dir size : 31 MB ############################### #### Checksum [took: 2s] [# lines: 1] No md5 checks made! ############################### #### Item summary [took: 0s] [# lines: 21] Community [Theses]: 0 Collection sizes: Total size: 0 bytes Resource without policy: 0 Deleted bitstreams: 0 Orphan bitstreams: 0 [] Published items (archived, not withdrawn): 0 Withdrawn items: 0 Not published items (in workspace or workflow mode): 0 Waiting for approval (workflow items): 0 Count Bitstream : 0 Count Bundle : 0 Count Collection : 1 Count Community : 1 Count MetadataValue : 9 Count EPerson : 1 Count Item : 0 Count Handle : 3 Count Group : 2 Count BasicWorkflowItem: 0 Count WorkspaceItem : 0 ############################### #### User summary [took: 0s] [# lines: 12] Users : 1 Have email : 1 Self registered : 0 Can log in (password): 1 Have 2nd name : 1 Have lang : 1 Have 1st name : 1 Have netid : 0 Empty groups: #1 id=588c0c8c-09a2-4922-bbbb-4a897d8b74aa;name=Anonymous, Subscribers: #0 [] Subscribed cols.: #0 [] ############################### #### Log Analyser Check [took: 0s] [# lines: 7] Exceptions : 0 Warnings : 0 Archive browsed : unknown Archive searched : 0 Logged in : 0 OAI requests : 0 Items added since [2026-11-13] (db): 0 ############################### $ sudo /dspace/bin/dspace version DSpace version: 10.1 SCM revision: UNKNOWN_REVISION SCM branch: UNKNOWN_BRANCH OS: Linux(amd64) version 7.0.0-43-generic Applications: Discovery: enabled. JRE: Ubuntu version 21.0.13.1 Ant version: Apache Ant(TM) version 1.10.15 compiled on January 13 2026 Maven version: 3.9.12 DSpace home: /dspace $ sudo find /dspace/log -not -user dspace -printf '%u %p\n' | head -n 5 ------------------------------------------------------------------------------ The check's source (scripts/live/checks/dspace-command-line.mjs) As it ran. ------------------------------------------------------------------------------ /** * KB reference (DSpace course, "Run it"; plan04 hub-dspace.md work item 3): the DSpace command line, `[dspace]/bin/dspace`, * the commands an admin uses, each run with its real output. Rented server (LIVE_VPS + LIVE_VPS_NODOMAIN=1, 8 GB), per * release. Hidden setup: DSpace 10.1's backend as lesson 1 installs it (scripts/live/dspace-base.mjs, no web interface). * * Commands from DSpace 10.1's own lists (dspace/config/launcher.xml, dspace/config/spring/api/scripts.xml), never from * memory. What it proves: `dspace` with no command lists them; version, database info/test, dsprop, user --list, * structure-builder (a community and collection, so the other commands have something to work on), * index-discovery -b, curate -t checklinks, metadata-export, cleanup -v, filter-media -v, healthcheck; that the tool * must run as the dspace user (as root it refuses or cannot write its logs: what it prints is recorded). */ import { bareBox, reportBox } from '../lib.mjs' import { AS_DSPACE, basePackages, baseSetup, installDSpace } from '../dspace-base.mjs' export const meta = { box: 'vps' } const RELEASE = process.env.LIVE_BOX_RELEASE || '24.04' const DB_PASS = '[password]' const ADMIN_PASS = '[password]' const DS = `${AS_DSPACE} /dspace/bin/dspace` const STRUCTURE = ` Theses Master's theses ` const check = (ctx) => bareBox(ctx, async ({ sudoUser }) => { const sh = sudoUser() const { run, L } = sh installDSpace(ctx, sh, { release: RELEASE, dbPass: DB_PASS, adminEmail: 'admin@example.org', adminPass: ADMIN_PASS, ui: false }) const one = (id, args, claim, ok, opts = {}) => { const r = run(`${DS} ${args}`, { id, timeout: 900000, ...opts }) ctx.check(claim, ok(r), r.out.slice(-2000)) return r } one('list', '', '`dspace` with no command lists the commands', (r) => /generate-sitemaps/.test(r.out) && /index-discovery/.test(r.out)) one('version', 'version', '`dspace version` prints DSpace 10.1, Java and the OS', (r) => r.exit === 0 && /10\.1/.test(r.out)) one('db-test', 'database test', '`database test` connects to PostgreSQL', (r) => r.exit === 0 && /Connected successfully/i.test(r.out)) one('db-info', 'database info', '`database info` lists the migrations, all Success', (r) => r.exit === 0 && /Success/.test(r.out) && !/Failed/.test(r.out)) one('dsprop', 'dsprop --property dspace.server.url', '`dsprop` prints a setting as DSpace reads it', (r) => r.exit === 0 && /http:\/\/localhost:8080\/server/.test(r.out)) one('users', 'user --list', '`user --list` prints the accounts', (r) => r.exit === 0 && /admin@example\.org/.test(r.out)) const put = run(`${AS_DSPACE} bash -c "cat > /tmp/structure.xml" <<'EOF'\n${STRUCTURE}\nEOF`, { id: 'structure-file' }) ctx.check('the structure file is written', put.exit === 0, put.out) one('structure', 'structure-builder -f /tmp/structure.xml -o /tmp/structure-out.xml -e admin@example.org', '`structure-builder` makes the community and its collection', (r) => r.exit === 0) const out = run(`${AS_DSPACE} cat /tmp/structure-out.xml`, { id: 'structure-out' }) ctx.check('its output file gives each one a handle', /identifier="[^"]*\/\d+"/.test(out.out), out.out) const handle = / r.exit === 0) one('export', `metadata-export -i ${handle} -f /tmp/theses.csv`, '`metadata-export` writes a CSV of a community', (r) => r.exit === 0) const csv = run(`${AS_DSPACE} head -n 3 /tmp/theses.csv`, { id: 'export-csv' }) ctx.check('the CSV has a header line', /^id,/m.test(csv.out) || /"?id"?,/.test(csv.out), csv.out) // without -e (CurationCli.java at dspace-10.1: "Required parameter -e missing!"): the mistake readers make first one('curate-no-e', `curate -t profileformats -i ${handle}`, '`curate` without -e: what it prints (recorded; the source says -e is required)', () => true) one('curate', `curate -t profileformats -i ${handle} -e admin@example.org -v`, '`curate -t profileformats … -e -v` runs a curation task on the community', (r) => r.exit === 0 && !/usage: curate/.test(r.out)) one('filter-media', 'filter-media -v', '`filter-media -v` runs (nothing to do on an empty repository)', (r) => r.exit === 0) one('cleanup', 'cleanup -v', '`cleanup -v` runs', (r) => r.exit === 0) one('healthcheck', 'healthcheck', '`healthcheck` prints its report', (r) => r.exit === 0) // as root instead of the dspace user: what happens (recorded, then the files root made are checked) const root = run('sudo /dspace/bin/dspace version', { id: 'as-root' }) ctx.check('as root (sudo, not sudo -iu dspace): what it prints (recorded)', true, root.out.slice(-1500)) const owners = run(`sudo find /dspace/log -not -user dspace -printf '%u %p\\n' | head -n 5`, { id: 'as-root-files' }) ctx.check('files root left behind in /dspace/log (recorded: the reason to always use the dspace user)', true, owners.out) ctx.stepsDone() reportBox(ctx, L, baseSetup(RELEASE, { ui: false }), basePackages(RELEASE).packages, basePackages(RELEASE).extra) }) export default check