Thanks Tim! I have been able to successfully run ant build. I am still not
through the upgrade process and today I am seeing a 503 when I try to go to the
development site with a message that reads:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.
I have checked the status of apache, postgres, and tomcat and they are all
running.
When I check the status of the handle server, it is not running. I start it and
it returns success, but still when I check the status it is not running. Can
you point me in the direction of what logs to start looking in to debug this
error?
- Chelsea
---------------
Chelsea Lobdell
Library Applications Programmer / Swarthmore College
clobd...@swarthmore.edu / (610)690-6818
----- Original Message -----
From: "Tim Donohue" <tdono...@duraspace.org>
To: "Chelsea Lobdell" <clobd...@swarthmore.edu>
Cc: dspace-tech@lists.sourceforge.net
Sent: Friday, March 13, 2015 4:35:24 PM
Subject: Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1
Assuming your tomcat user can read this directory:
/usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/
AND also write to "/var/dspace", then yes, running "ant update" as the tomcat
user should work properly.
Essentially, that "ant update" command needs to be able to *read* from the
[dspace-src]/dspace/target/dspace-installer/ folder, and *write* to your
[dspace.dir] (as configured in dspace.cfg). So, based on that, it needs to be
run as a user who has both of those access rights.
Hopefully that helps!
- Tim
On 3/13/2015 2:17 PM, Chelsea Lobdell wrote:
> Hi Tim,
>
> Our setup is such that all dspace files are owned by tomcat and group
> owned by a group called tomcat. I belong to the tomcat group. Should the
> update be run as the tomcat user? Or should I be able to run it under my
> own username? Or should I try running it as root?
>
> Thank,
> Chelsea
>
>
> /---------------/
> /Chelsea Lobdell/
> /Library Applications Programmer / Swarthmore College/
> /clobd...@swarthmore.edu / (610)690-6818/
>
> ------------------------------------------------------------------------
> *From: *"Tim Donohue" <tdono...@duraspace.org>
> *To: *"Chelsea Lobdell" <clobd...@swarthmore.edu>
> *Cc: *dspace-tech@lists.sourceforge.net
> *Sent: *Friday, March 13, 2015 3:04:08 PM
> *Subject: *Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1
>
> Hi Chelsea,
>
> This sounds like a possible file permissions issue. It sounds like the
> user which is running "ant update" may not have access to create
> files/directories under your "/var/dspace/solr/" directory.
>
> So, you may want to check the permissions on "/var/dspace/" (and
> everything under that), to see if your user account has proper access
> rights to read/write files.
>
> - Tim
>
>
> On 3/13/2015 1:38 PM, Chelsea Lobdell wrote:
> > Hi,
> >
> > I've gotten to step 6 (Update Dspace Installation**) of the upgrade
> > process and my build failed. Here is the output I saw:
> >
> > BUILD FAILED
> >
> /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:371:
>
> > Failed to copy
> >
> /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/solr-config-temp/authority/conf/admin-extra.html
>
> > to /var/dspace/solr/authority/conf/admin-extra.html due to failed to
> > create the parent directory for
> > /var/dspace/solr/authority/conf/admin-extra.html
> >
> > Does this mean I need to manually upgrade the solr indexes? Or can I
> > just copy of the file that failed to copy? Forgive me if this is a
> > simple question, I am new to supporting this application.
> >
> > Thanks,
> > Chelsea
> >
> >
> > /---------------/
> > /Chelsea Lobdell/
> > /Library Applications Programmer / Swarthmore College/
> > /clobd...@swarthmore.edu / (610)690-6818/
> >
> > ------------------------------------------------------------------------
> > *From: *"Tim Donohue" <tdono...@duraspace.org>
> > *To: *"Chelsea Lobdell" <clobd...@swarthmore.edu>,
> > dspace-tech@lists.sourceforge.net
> > *Sent: *Monday, March 9, 2015 2:44:51 PM
> > *Subject: *Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1
> >
> > Chelsea,
> >
> > Correct, you can upgrade directly from 3.x to 5.x per the DSpace 5
> > upgrade instructions:
> > https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace
> >
> > - Tim
> >
> > On 3/9/2015 12:46 PM, Chelsea Lobdell wrote:
> > > Hi,
> > >
> > > We will soon be upgrading our development instance of DSpace and I
> just
> > > wanted to confirm that we can upgrade directly from version 3.1 to
> > > version 5.1? Or is there an intermediate step of upgrading to version
> > > 4.x first?
> > >
> > > Thanks,
> > > Chelsea
> > >
> > > /---------------/
> > > /Chelsea Lobdell/
> > > /Library Applications Programmer / Swarthmore College/
> > > /clobd...@swarthmore.edu / (610)690-6818/
> > >
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
>
> > > Dive into the World of Parallel Programming The Go Parallel Website,
> > sponsored
> > > by Intel and developed in partnership with Slashdot Media, is your
> > hub for all
> > > things parallel software development, from weekly thought leadership
> > blogs to
> > > news, videos, case studies, tutorials and more. Take a look and
> join the
> > > conversation now. http://goparallel.sourceforge.net/
> > >
> > >
> > >
> > > _______________________________________________
> > > DSpace-tech mailing list
> > > DSpace-tech@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > > List Etiquette:
> > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> > >
> >
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette