Hello,
I am having trouble with DSpace Report Config for basic web statistics. We
want to enable these statistics for our repository.
I am trying to run this in the CLI and I keep getting errors.
C:\dspace-backend>docker-compose -p d7 -f docker-compose-cli.yml run --rm
dspace-cli stat-general
time=*"2022-09-07T14:29:57-04:00" level=warning msg="Found orphan
containers ([dspace dspacedb dspacesolr]) for this project*. If you removed
or renamed this service in your compose file, you can run this command with
the --remove-orphans flag to clean it up."
C:\dspace-backend>docker-compose -p d7 -f docker-compose-cli.yml run --rm
dspace-cli stat-initial
*time="2022-09-07T14:31:44-04:00" level=warning msg="Found orphan
containers ([dspace dspacedb dspacesolr]) for this project*. If you removed
or renamed this service in your compose file, you can run this command with
the --remove-orphans flag to clean it up."
C:\dspace-backend>docker-compose -p d7 -f docker-compose-cli.yml run --rm
dspace-cli stat-monthly
time="2022-09-07T14:32:12-04:00" level=warning msg="Found orphan containers
([dspace dspacedb dspacesolr]) for this project. If you removed or renamed
this service in your compose file, you can run this command with the
--remove-orphans flag to clean it up."
C:\dspace-backend>docker-compose -p d7 -f docker-compose-cli.yml run --rm
dspace-cli stat-report-monthly
time="2022-09-07T14:36:22-04:00" level=warning msg="Found orphan containers
([dspace dspacedb dspacesolr]) for this project. If you removed or renamed
this service in your compose file, you can run this command with the
--remove-orphans flag to clean it up."
*Failed to read input file: /dspace/log/dspace-log-monthly-2022-9.dat*
Exception: null
java.lang.NullPointerException
at
org.dspace.app.statistics.ReportGenerator.processReport(ReportGenerator.java:421)
at
org.dspace.app.statistics.ReportGenerator.processReport(ReportGenerator.java:290)
at
org.dspace.app.statistics.CreateStatReport.statReportMonthly(CreateStatReport.java:381)
at
org.dspace.app.statistics.CreateStatReport.main(CreateStatReport.java:151)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
C:\dspace-backend>docker-compose -p d7 -f docker-compose-cli.yml run --rm
dspace-cli stat-report-initial
time="2022-09-07T14:36:49-04:00" level=warning msg="Found orphan containers
([dspace dspacedb dspacesolr]) for this project. If you removed or renamed
this service in your compose file, you can run this command with the
--remove-orphans flag to clean it up."
*Failed to read input file: /dspace/log/dspace-log-monthly-2005-1.dat*
Exception: null
java.lang.NullPointerException
at
org.dspace.app.statistics.ReportGenerator.processReport(ReportGenerator.java:421)
at
org.dspace.app.statistics.ReportGenerator.processReport(ReportGenerator.java:290)
at
org.dspace.app.statistics.CreateStatReport.statReportInitial(CreateStatReport.java:347)
at
org.dspace.app.statistics.CreateStatReport.main(CreateStatReport.java:147)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
C:\dspace-backend>docker-compose -p d7 -f docker-compose-cli.yml run --rm
dspace-cli stat-report-general
time="2022-09-07T14:37:53-04:00" level=warning msg="Found orphan containers
([dspace dspacedb dspacesolr]) for this project. If you removed or renamed
this service in your compose file, you can run this command with the
--remove-orphans flag to clean it up."
*Failed to read input file: /dspace/log/dspace-log-general-2022-9-7.dat*
Exception: null
java.lang.NullPointerException
at
org.dspace.app.statistics.ReportGenerator.processReport(ReportGenerator.java:421)
at
org.dspace.app.statistics.ReportGenerator.processReport(ReportGenerator.java:290)
at
org.dspace.app.statistics.CreateStatReport.statReportGeneral(CreateStatReport.java:306)
at
org.dspace.app.statistics.CreateStatReport.main(CreateStatReport.java:143)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
Any help is appreciated,
Thank you.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/c5b341af-d4a6-4ddd-9bdc-618660839a98n%40googlegroups.com.