ant fresh_install fails

43 views
Skip to first unread message

Fru Emmanuel

unread,
May 4, 2022, 6:02:46 PM5/4/22
to DSpace Technical Support
Hello, 

I am following the steps to installing dspace but I run into an issue when I run ant fresh_install

Here's the output I get

ant_install.PNG

Please help

Thanks

darryl....@usask.ca

unread,
May 4, 2022, 7:06:26 PM5/4/22
to DSpace Technical Support
On our servers, Tomcat runs as the "tomcat" user, so all our source files are owned by that user and group, as is the DSpace target group.  It's been a while since I did a fresh install, but I probably did the initial setup of our target directory something like this:

     sudo mkdir /dspace
     sudo chown tomcat:tomcat /dspace
     sudo chmod 2775 /dspace

Then I would have run the "ant fresh_install" as the "tomcat" user.

Your setup make be slightly different of course, but it looks to me like whatever user you are running "ant" as does not have permissions to actually write to your "/dspace" directory.  I'd start with looking at permissions.

- Darryl




Mark H. Wood

unread,
May 5, 2022, 7:37:14 AM5/5/22
to dspac...@googlegroups.com
On Wed, May 04, 2022 at 02:33:53PM -0700, Fru Emmanuel wrote:
> I am following the steps to installing dspace but I run into an issue when
> I run *ant fresh_install*
>
> Here's the output I get
>
> [image: ant_install.PNG]

"Directory /dspace/bin creation was not successful for an unknown
reason"

I would check the ownership and permissions of /dspace, relative to
the user account which is running 'ant', to see if it is a permissions
issue. Or it's just possible that the volume on which /dspace resides
is entirely full. Just check all of the usual reasons why a file
cannot be created.

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc
Reply all
Reply to author
Forward
0 new messages