Hi Joshua,

If you are encountering this error during​ the "ant update", then the problem 
likely is that the copy of local.cfg/dspace.cfg that Ant is looking at has the 
wrong "db.password".

If you are encountering this when starting Tomcat, then I'd recommend checking 
the DSpace and Tomcat (and possibly Postgres) logs to see if there are more 
errors listed there.

Essentially, you have the right idea...but the context of how you got this 
error matters. Whatever script you ran that resulted in this error seems to be 
having trouble connecting to the database, possibly because it's using an 
outdated "db.password".

Tim
________________________________
From: Joshua Kim <josh...@udel.edu>
Sent: Monday, February 14, 2022 1:14 PM
To: Tim Donohue <tim.dono...@lyrasis.org>
Cc: DSpace Technical Support <dspace-tech@googlegroups.com>
Subject: Re: [dspace-tech] update failure from 7.1 to 72.

Tim,

Thank you. THere was an error in "dspace.dir" line.  After fixing it, it seems 
to pass. Now I have another error as below:
[java] Caught exception:
     [java] java.sql.SQLException: Cannot create PoolableConnectionFactory 
(FATAL: password authentication failed for user "dspace")

I only stopped the tomcat server (httpd, solr, postgres db are running). I am 
able to access dspace DB in the command line by using the same id and passwd. I 
double checked the passwd in db.password in local.cfg file. Any thoughts?




----------------
Joshua Kim
Web Developer, Library IT
Library, Museums and Press
University of Delaware



On Mon, Feb 14, 2022 at 12:46 PM Tim Donohue 
<tim.dono...@lyrasis.org<mailto:tim.dono...@lyrasis.org>> wrote:
Hi Joshua,

What version of Ant are you using locally?

The error seems to be talking about a missing "ant.properties" file...but, 
that's a bit odd, because that file doesn't exist in DSpace (v7 or below).  So, 
I'm assuming it might be something you either created locally, or maybe 
something having to do with the version of Ant you are using.

Also, it looks like "ant update" is trying to install your DSpace 7.2 backend 
to the "/dspace" folder.  Is that the correct location?  If not, you should 
change the "dspace.dir" setting in your local.cfg for DSpace 7.2 before​ 
running "ant update"...that way it'll install everything to the location you 
specify in "dspace.dir".

If you have other questions, let us know on this list!

Tim

________________________________
From: dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com> 
<dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com>> on behalf 
of Joshua Kim <josh...@udel.edu<mailto:josh...@udel.edu>>
Sent: Monday, February 14, 2022 11:09 AM
To: DSpace Technical Support 
<dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com>>
Subject: [dspace-tech] update failure from 7.1 to 72.

HI,

I am trying to dspace 7.1 to dspace 7.2. dspace 7.1 works well. Following 
update instructions,
when I type : ant update at dspace-installer directory, I got this error 
message. Can someone help me out?

[copy] Copying 195 files to /dspace/config
Attempt to copy 
/home/dspace/DSpace-dspace-7.2/dspace/target/dspace-installer/config-temp/ant.properties
 to /dspace/config/ant.properties using NIO Channels failed due to 'failed to 
create the parent directory for /dspace/config/ant.properties'.  Falling back 
to streams.

BUILD FAILED
/home/dspace/DSpace-dspace-7.2/dspace/target/dspace-installer/build.xml:191: 
Failed to copy 
/home/dspace/DSpace-dspace-7.2/dspace/target/dspace-installer/config-temp/ant.properties
 to /dspace/config/ant.properties due to java.nio.file.NoSuchFileException 
/dspace/config/ant.properties


----------------
Joshua Kim
Web Developer, Library IT
Library, Museums and Press
University of Delaware


--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAOE6Kn518jOT-wGrSLWEWtfxq8n9h2j6z%2B1XumOJHYWDpS0NLw%40mail.gmail.com<https://groups.google.com/d/msgid/dspace-tech/CAOE6Kn518jOT-wGrSLWEWtfxq8n9h2j6z%2B1XumOJHYWDpS0NLw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/BN6PR2201MB1137FA13A0683ACE05230A83ED339%40BN6PR2201MB1137.namprd22.prod.outlook.com.

Reply via email to