Hi,
We are trying to migrate from DSpace 6.0 to DSpace-CRIS 6RC2 and we have
followed the instructions to Upgrade an existent DSpace (not CRIS)
<https://wiki.lyrasis.org/display/DSPACECRIS/Installation#Installation-UpgradeanexistentDSpace(notCRIS)installation>.
After successfully building and deploying the application, if I run:
~ $ dspace/bin/dspace database info
the error is:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at
org.dspace.app.util.DailyFileAppender.activateOptions(DailyFileAppender.java:94)
at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
at org.apache.log4j.Logger.getLogger(Logger.java:117)
at
org.dspace.core.ConfigurationManager.<clinit>(ConfigurationManager.java:50)
at
org.dspace.app.launcher.ScriptLauncher.getConfig(ScriptLauncher.java:256)
at
org.dspace.app.launcher.ScriptLauncher.<clinit>(ScriptLauncher.java:35)
I think the culprit is a wrong configuration, although I copied the
necessary files to the new source directory. Please, does anyone have an
idea where the mistake is?
Thank you very much,
Liviu
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/14733cd7-098b-4221-8007-64347b43706fn%40googlegroups.com.