Date: Thu, 28 Mar 2024 14:32:00 -0400 (EDT) Message-ID: <603693690.28606.1711650720491@lyrasis1-roc-mp1> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_28605_2061146136.1711650720491" ------=_Part_28605_2061146136.1711650720491 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This document refers to the install directory for your existing DSpace i=
nstallation as [dspace]
, and to the source directory for DSpac=
e 1.2 as [dspace-1.2-source]. Whenever you see these path referenc=
es below, be sure to replace them with the actual path names on your local =
system.
The process for upgrading to 1.2 from either 1.1 or 1.1.1 is the same. I= f you are running DSpace 1.0 or 1.0.1, you need to follow the instructions = for Upgrading From= 1.0.1 to 1.1 before following these instructions.
Note also that if you've substantially modified DSpace, these instructio= ns apply to an unmodified 1.1.1 DSpace instance, and you'll need to adapt t= he process to any modifications you've made.
[dspace]
and the=
PostgreSQL database in your backup.cd [ds= pace]/lib cp activation.jar servlet.jar mail.jar =09[dspace-1.2-source]/lib
##### M= edia Filter settings ##### # maximum width and height of generated thumbnails thumbnail.maxwidth =3D 80 thumbnail.maxheight =3D 80
config.= template.oai-web.xml =3D =09[dspace]/oai/WEB-INF/web.xml
[dspace]
) has changed somewhat since 1.1.1. First up,=
your 'localized' JSPs (those in jsp/local) now need to be maintained in th=
e source directory. So make a copy of them now! Once you've done t=
hat, you can remove [dspace]/jsp and [dspace]/oai, these =
are no longer used. (.war Web application archive files are used instead). =
Also, if you're using the same version of Tomcat as before, you need to <Con= text path=3D"/dspace" docBase=3D"dspace" debug=3D"0" reloadable=3D"true" =09crossContext=3D"true"> <Resources className=3D"org.apache.naming.resources.FileDirContext" =09allowLinking=3D"true" /> </Context>
ant -Dc= onfig=3D [dspace]/config/dspace.cfg update
cp [ds= pace-1.2-source]/config/news-* =09[dspace-1.2-source]/config/mediafilter.cfg =09[dspace-1.2-source]/config/dc2mods.cfg =09[dspace]/config
psql -f= etc/database_schema_11-12.sql [DSpace database name] -h =09localhost
[dspace= ]/bin/dsrun =09org.dspace.administer.Upgrade11To12
[dspace= ]/bin/index-all
cp [ds= pace-1.2-source]/build/*.war =09[tomcat]/webapps
# Run t= he media filter at 02:00 every day 0 2 * * * [dspace]/bin/filter-media