Upgrade woes from 6.0 to 6.3

51 views
Skip to first unread message

Paul Wallace

unread,
May 11, 2021, 5:00:24 PM5/11/21
to DSpace Technical Support
HI all:

I've inherited responsibility for upgrading a DSpace server  (RHEL) that is hosted by a central group.   I've tried to run the upgrade instructions from https://wiki.lyrasis.org/display/DSDOC6x/Upgrading+DSpace but have had no success.

When I run mvn -U clean package  and cd [dspace-source]/dspace/target/dspace-installer
ant update with my credentials, the version shown by /dspace/bin/dspace version doesn't change from 6.0

When I run both commands as sudo, the version updates, but it must reset all of the permissions to root, because when I restart tomcat, the server doesn't respond.

Luckily, we're able to snapshot and revert on this demonstration server, but it doesn't seem like it should be that hard to upgrade from 6.0 to 6.3.

What permissions are needed to perform an upgrade from 6.0 to 6.3?

gonza...@gmail.com

unread,
May 12, 2021, 7:15:02 PM5/12/21
to DSpace Technical Support
I guess it depends on how it was installed previously.

You could take a look at the installation guide's guidelines on Tomcat and 'dspace' user for compile, running the servlet, etc.

"As noted in the prerequisites above, Tomcat (or Jetty, etc) must run as an operating system user account that has full read/write access to the DSpace installation directory (i.e. [dspace]).  Either you must ensure the Tomcat owner also owns [dspace], OR you can create a new "dspace" user account, and ensure that Tomcat also runs as that account:"

Paul Wallace

unread,
May 27, 2021, 2:32:20 PM5/27/21
to DSpace Technical Support
Thanks for your help.  It turns out the install was successful, but the Mirage 2 theme was the issue. The web page looked like the web app wasn't running, but it just couldn't load the theme.

When I try to compile with the Mirage 2 theme, I come up with the
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 1 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 1

So, i just went with the default theme and it seems to be working.  I'm not sure why Mirage 2 would compile/run with 6.0, but not 6.3.  I looked at the notes for that error, and they point me down paths upon which I fear to tread.  Since I don't have Ruby installed, I guess I cannot use this theme.

Reply all
Reply to author
Forward
0 new messages