Page History
Info | |
---|---|
|
Upgrade Steps
Step one is, of course, to *back up all your data* before proceeding\!\! Include all of the contents of {{\Wiki Markup [dspace
\]
}} and the PostgreSQL database in your backup.- Get the new DSpace 1.3.x source code from the DSpace page on SourceForge and unpack it somewhere. Do not unpack it on top of your existing installation!!
Copy the PostgreSQL driver JAR to the source tree. For example: _cd \ [dspace\]/lib{_}{_}cp postgresql.jar \ [dspace-1.2.2-source\]/lib_Wiki Markup - Take down Tomcat (or whichever servlet container you're using).
Remove the old version of _xerces.jar_ from your installation, so it is not inadvertently later used:_rm \ [dspace\]/lib/xerces.jar_Wiki Markup Install the new config files by moving _dstat.cfg_ and _dstat.map_ from _\[dspace-1.3.x-source\]/config/_ to _\[dspace\]/config_unmigrated-wiki-markupWiki Markup - You need to add new parameters to your _\[dspace\]/dspace.cfg_:
Code Block ###### Statistical Report Configuration Settings ###### # should the stats be publicly available? should be set to false if you only # want administrators to access the stats, or you do not intend to generate # any report.public = false # directory where live reports are stored report.dir = /dspace/reports/
Wiki Markup - Build and install the updated DSpace 1.3.x code. Go to the _\[dspace-1.3.x-source\]_ directory, and run:_ant \ -Dconfig=\[dspace\]/config/dspace.cfg update_unmigrated-wiki-markup
- You'll need to make some changes to the database schema in your PostgreSQL database. _\[dspace-1.3.x-source\]/etc/database_schema_12-13.sql_ contains the SQL commands to achieve this. If you've modified the schema locally, you may need to check over this and make alterations. To apply the changes, go to the source directory, and run: _psql \ -f etc/database_schema_12-13.sql \ [DSpace database name\] \ -h localhost_
- Customize the stat generating statistics as per the instructions in System Statistical Reportsunmigrated-wiki-markup
- Initialize the statistics using: _\[dspace\]/bin/stat-initial{_}_\[dspace\]/bin/stat-general{_}_\[dspace\]/bin/stat-report-initial{_}_\[dspace\]/bin/stat-report-general_unmigrated-wiki-markup
- Rebuild the search indexes: _\[dspace\]/bin/index-all_
Copy the _.war_ Web application files in _\[dspace-1.3.x-source\]/build_ to the _webapps_ sub-directory of your servlet container (e.g. Tomcat). e.g.:_cp \ [dspace-1.3.x-source\]/build/*.war \ [tomcat\]/webapps_Wiki Markup - Restart Tomcat.
Overview
Content Tools