SUNScholar/Install DSpace/S09
Jump to navigation
Jump to search
NEXT - STEP 10
Step 9: Perform system tests
Database Tests
Type the following in a terminal:
cd
- Test Connection
sudo $HOME/bin/dspace database test
PLEASE NOTE: This command changed with the release of DSpace versions =>5.X. The previous command was: test database.
Example Output
Attempting to connect to database: - URL: jdbc:postgresql://localhost:5432/dspace - Driver: org.postgresql.Driver - Username: XXXXXXX - Password: XXXXXXX - Schema: null Testing connection... Connected successfully!
- Test Schema Updates
sudo $HOME/bin/dspace database info
Example Output
Database URL: jdbc:postgresql://localhost:5432/dspace Database Schema: public Database Software: PostgreSQL version 9.3.7 Database Driver: PostgreSQL Native Driver version PostgreSQL 9.1 JDBC4 (build 901) +----------------+----------------------------+---------------------+---------+ | Version | Description | Installed on | State | +----------------+----------------------------+---------------------+---------+ | 1.1 | Initial DSpace 1.1 databas | | PreInit | | 1.2 | Upgrade to DSpace 1.2 sche | | PreInit | | 1.3 | Upgrade to DSpace 1.3 sche | | PreInit | | 1.3.9 | Drop constraint for DSpace | | PreInit | | 1.4 | Upgrade to DSpace 1.4 sche | | PreInit | | 1.5 | Upgrade to DSpace 1.5 sche | | PreInit | | 1.5.9 | Drop constraint for DSpace | | PreInit | | 1.6 | Upgrade to DSpace 1.6 sche | | PreInit | | 1.7 | Upgrade to DSpace 1.7 sche | | PreInit | | 1.8 | Upgrade to DSpace 1.8 sche | | PreInit | | 3.0 | Upgrade to DSpace 3.x sche | | PreInit | | 4.0 | Initializing from DSpace 4 | 2015-05-25 10:12:33 | Success | | 5.0.2014.08.08 | DS-1945 Helpdesk Request a | 2015-05-25 10:12:33 | Success | | 5.0.2014.09.25 | DS 1582 Metadata For All O | 2015-05-25 10:12:37 | Success | | 5.0.2014.09.26 | DS-1582 Metadata For All O | 2015-05-25 10:12:37 | Success | +----------------+----------------------------+---------------------+---------+
Email Test
Type the following in a terminal:
cd
sudo $HOME/bin/dspace test-email
Check your DSpace admin email account to see if you received a message.
- Example Output
About to send test email: - To: XXXXXX@XXX.XX.XX - Subject: DSpace test email - Server: mail.sun.ac.za Email sent successfully!
PREVIOUS - STEP 8