Re: [dspace-tech] Re: Generate legacy stats from SOLR query

2019-08-05 Thread Terry Brady
The following presentation describes how to construct Solr queries for
DSpace.

https://gitpitch.com/terrywbrady/TutorialSolrAdmin?grs=github=white#/

Terry

On Mon, Aug 5, 2019 at 2:08 AM euler  wrote:

> SOLR experts anyone?
>
> Thanks in advance!
>
> On Wednesday, July 31, 2019 at 5:21:29 PM UTC+8, euler wrote:
>>
>> Dear All,
>>
>> I was tasked to list the monthly statistics based on the legacy
>> statistics (/statistics). Unfortunately, some dspace logs are missing (it
>> could be that the stats were corrupt or was not generated because of
>> permission issues or lack of disk space). Is it possible to generate the
>> monthly stats per year for Item views, collection views, community views,
>> user logins and searches performed by using SOLR query? Note that I did not
>> include the bitstream views because there is an example for that in the
>> DSpace SOLR wiki page:
>> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Statistics:breakdownofdownloadspermonth
>> .
>>
>> Thanks in advance!
>>
>> euler
>>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/8171e646-2cfd-46eb-b59c-75a2582df9ea%40googlegroups.com
> 
> .
>


-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAMp2YEzy1GHx56QuwFQ5%2BA%2BDAF%2BRMqAL%3DwdKPdRpdh7mk0kM1Q%40mail.gmail.com.


[dspace-tech] ant fresh_install error

2019-08-05 Thread Piyush
C:\dspace-6.3-src-release\dspace\target\dspace-installer>ant fresh_install
Buildfile: 
C:\dspace-6.3-src-release\dspace\target\dspace-installer\build.xml

init_installation:

prepare_configs:
[mkdir] Created dir: 
C:\dspace-6.3-src-release\dspace\target\dspace-installer\config-temp
 [copy] Copying 158 files to 
C:\dspace-6.3-src-release\dspace\target\dspace-installer\config-temp
 [copy] Copying 1 file to 
C:\dspace-6.3-src-release\dspace\target\dspace-installer\config-temp
 [copy] Copying 16 files to 
C:\dspace-6.3-src-release\dspace\target\dspace-installer\config-temp

init_configs:
 [copy] Copying 1 file to C:\dspace\config
   [delete] Deleting directory 
C:\dspace-6.3-src-release\dspace\target\dspace-installer\config-temp

test_database:
 [java] 2019-08-03 08:49:25,547 WARN  
org.apache.commons.configuration.DefaultConfigurationBuilder @ Internal 
error
 [java] org.apache.commons.configuration.ConfigurationException: Cannot 
locate configuration source local.cfg
 [java] at 
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:259)
 [java] at 
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:238)
 [java] at 
org.apache.commons.configuration.DefaultConfigurationBuilder$FileConfigurationProvider.getConfiguration(DefaultConfigurationBuilder.java:1455)
 [java] at 
org.apache.commons.configuration.DefaultConfigurationBuilder$ConfigurationBeanFactory.createBean(DefaultConfigurationBuilder.java:1321)
 [java] at 
org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:390)
 [java] at 
org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:412)
 [java] at 
org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:426)
 [java] at 
org.apache.commons.configuration.DefaultConfigurationBuilder.createConfigurationAt(DefaultConfigurationBuilder.java:855)
 [java] at 
org.apache.commons.configuration.DefaultConfigurationBuilder.initCombinedConfiguration(DefaultConfigurationBuilder.java:719)
 [java] at 
org.apache.commons.configuration.DefaultConfigurationBuilder.getConfiguration(DefaultConfigurationBuilder.java:622)
 [java] at 
org.apache.commons.configuration.DefaultConfigurationBuilder.getConfiguration(DefaultConfigurationBuilder.java:587)
 [java] at 
org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:494)
 [java] at 
org.dspace.servicemanager.config.DSpaceConfigurationService.(DSpaceConfigurationService.java:87)
 [java] at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:148)
 [java] at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128)
 [java] at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:49)
 [java] Failure during kernel init: Key for add operation must be 
defined!
 [java] java.lang.IllegalArgumentException: Key for add operation must 
be defined!
 [java] at 
org.apache.commons.configuration.tree.DefaultExpressionEngine.prepareAdd(DefaultExpressionEngine.java:420)
 [java] at 
org.apache.commons.configuration.HierarchicalConfiguration.addPropertyDirect(HierarchicalConfiguration.java:383)
 [java] at 
org.apache.commons.configuration.AbstractConfiguration.addPropertyValues(AbstractConfiguration.java:423)
 [java] at 
org.apache.commons.configuration.AbstractConfiguration.append(AbstractConfiguration.java:1271)
 [java] at 
org.apache.commons.configuration.ConfigurationUtils.convertToHierarchical(ConfigurationUtils.java:252)
 [java] at 
org.apache.commons.configuration.CombinedConfiguration$ConfigData.getTransformedRoot(CombinedConfiguration.java:943)
 [java] at 
org.apache.commons.configuration.CombinedConfiguration.constructCombinedNode(CombinedConfiguration.java:793)
 [java] at 
org.apache.commons.configuration.CombinedConfiguration.getRootNode(CombinedConfiguration.java:626)
 [java] at 
org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:958)
 [java] at 
org.apache.commons.configuration.CombinedConfiguration.fetchNodeList(CombinedConfiguration.java:739)
 [java] at 
org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:344)
 [java] at 
org.dspace.servicemanager.config.DSpaceConfigurationService.setProperty(DSpaceConfigurationService.java:354)
 [java] at 
org.dspace.servicemanager.config.DSpaceConfigurationService.setDynamicProperties(DSpaceConfigurationService.java:539)
 [java] at 
org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:504)
 [java] at 

Re: [dspace-tech] Re: [Dspace-tech] [Junk released by Allow List] Custom Metadata Question

2019-08-05 Thread Paul Münch
Hello,

first you have to customise the according metadata(dublin-core, dcterms,
local) XML-files in this directory:
https://github.com/DSpace/DSpace/tree/master/dspace/config/registries.

After that run '[dspace-dir]/bin/dspace registry-loader -metadata
[path-to-metadata-xml-file]' to load the changed registries.

I hope this helps and kind regards,

Paul Münch

Am 20.07.19 um 09:00 schrieb Rakhi Batra - Assistant Manager Publication:
> Hey Chad,
> how you have created custom metadata fields? can you explain the
> steps? I want to add journal information like category and impact
> factor along with journal article information in the collection.
>
> On Tuesday, August 25, 2015 at 7:33:05 PM UTC+5, Chad Hansen wrote:
>
> Thank you. I had entered the metadata elements in the Metadata
> Registry, but I had changed them, and did not change the element
> names in the form accordingly.
>
> Thanks.
> ---
> Chad
> 
> From: sbe...@gmu.edu  [sbe...@gmu.edu ]
> Sent: Friday, January 18, 2008 12:01 PM
> To: Chad Hansen
> Cc: dspac...@lists.sourceforge.net 
> Subject: Re: [Junk released by Allow List] [Dspace-tech] Custom
> Metadata Question
>
> This might be a dumb question, but did you add the metadata elements
> through the Metadata Registry? If so, are you using the correct
> schema
> name and element in your input forms entries?
>
> Shane Beers
> Digital Repository Services Librarian
> George Mason University
> sbe...@gmu.edu 
> http://mars.gmu.edu
> 703-993-3742
>
>
>
> On Jan 18, 2008, at 1:49 PM, Chad Hansen wrote:
>
> > I have added some custom metadata fields for a collection I have
> > through the dspace-admin section of my dspace site.
> > I then wanted to have a custom submission form for that collection.
> > So, editing the input-forms.xml file and restarting tomcat
> > everything seemed to work.
> > The custom form showed up and I started to fill it out. However,
> > after clicking to go to the next step I get an Internal Server
> Error.
> > My log files say this...
> >
> > 2008-01-18 10:51:57,519 WARN  org.dspace.content.Item @
> chad_...@byu.edu 
> > :session_id
> > =76D5376B8A0004E20F9FD0FA686A38BF:ip_addr=10.25.100.136:bad_dc:Bad
> > DC field. SchemaID=2, element: "creator" qualifier: "collector"
> > value: "joe, smith"
> > 2008-01-18 10:51:57,518 ERROR
> > org.dspace.app.webui.servlet.SubmissionController @ Error loading
> > step class'org.dspace.submit.step.DescribeStep':
> > java.sql.SQLException: bad_dublin_core SchemaID=2, creator
> collector
> >        at org.dspace.content.Item.update(Item.java:1500)
> >        at
> org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:
> > 490)
> >        at
> > org.dspace.submit.step.DescribeStep.doProcessing(DescribeStep.java:
> > 282)
> >        at
> > org
> > .dspace
> > .app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:424)
> >        at
> > org
> > .dspace
> >
> .app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:281)
> >        at
> > org
> > .dspace
> > .app
> >
> .webui.servlet.SubmissionController.doStep(SubmissionController.java:
> > 407)...
> > .
> > .
> > .
> >
> > What I take from this is that my custom metadata fields are not
> > dublin core fields.
> > Am I able to have custom fields in a custom submit form?
> >
> > Thanks,
> > Chad
> >
> > ---
> > Chad G. Hansen
> >
> >
> -
>
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> > ___
> > DSpace-tech mailing list
> > dspac...@lists.sourceforge.net 
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
>
>
> -- 
> 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 dspace-tech+unsubscr...@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/710dc3c2-f68f-486c-a3b2-d2e36ff60ae1%40googlegroups.com
> 

Re: [dspace-tech] Re: Not sure where to install Dspace application and warning in database connection test

2019-08-05 Thread Mark H. Wood
On Fri, Aug 02, 2019 at 11:42:32AM -0700, Michel Souza wrote:
> I'd like to thank both of you Tim and Mark for your answers.. I got some 
> progress with my previous problems. I have another warning that I don't 
> understand. It's about 'email session' as you can see in the attached file 
> ('test_database' portion). Is this somehow related to 'Email configuration' 
> session inside the '~/dspace-source/config/local.cfg' file? This 
> information is all commented in my file as you can equally see attached.

No, that warning is due to excessive caution, and you can ignore it.

DSpace webapp.s can use an email Session which is given to them by the
Servlet container (e.g. Tomcat) instead of creating their own.  If
DSpace looks up a Session and doesn't find one, it issues this warning
and then creates its own Session.

The message should not have been issued, and in fact this has been
corrected in DSpace 7.  See https://jira.duraspace.org/browse/DS-3433,
and https://github.com/DSpace/DSpace/pull/2247 if you would like to
back-port the fix to your repository.

-- 
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

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/20190805131251.GA18951%40IUPUI.Edu.


signature.asc
Description: PGP signature


Re: [dspace-tech] Task Windows

2019-08-05 Thread Paul Münch
Hello,

I am not using Windows, but maybe this helps you:
https://stackoverflow.com/questions/7195503/setting-up-a-cron-job-in-windows

Kind regards,

Paul Münch

Am 24.07.19 um 00:14 schrieb Carlos Quispe Geronimo:
> Dear Members:
> ¿How to configure cronjob: sub-daily routines in Windows Task
> Scheduler? ¿Do I need a special script?
>
> Best Regards
> -- 
> 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 dspace-tech+unsubscr...@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/fb1d798b-cdf0-4652-bb46-e0bf506034ba%40googlegroups.com
> .

-- 
Philipps-Universität Marburg | UB 
Digitale Dienste | Deutschhausstraße 9 | D018
Tel. +49 06421 28-24624  
--

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/4033a229-304a-9aa1-c6b7-b91888a98a9d%40ub.uni-marburg.de.


signature.asc
Description: OpenPGP digital signature


[dspace-tech] Re: Generate legacy stats from SOLR query

2019-08-05 Thread euler
SOLR experts anyone?

Thanks in advance!

On Wednesday, July 31, 2019 at 5:21:29 PM UTC+8, euler wrote:
>
> Dear All,
>
> I was tasked to list the monthly statistics based on the legacy statistics 
> (/statistics). Unfortunately, some dspace logs are missing (it could be 
> that the stats were corrupt or was not generated because of permission 
> issues or lack of disk space). Is it possible to generate the monthly stats 
> per year for Item views, collection views, community views, user logins and 
> searches performed by using SOLR query? Note that I did not include the 
> bitstream views because there is an example for that in the DSpace SOLR 
> wiki page: 
> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Statistics:breakdownofdownloadspermonth
> .
>
> Thanks in advance!
>
> euler
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/8171e646-2cfd-46eb-b59c-75a2582df9ea%40googlegroups.com.


[dspace-tech] Error when find a person on DSpace-CRIS

2019-08-05 Thread Pham Quang Quyen
When I find a person, I get error like this. Please help me to fix. Thanks!

[image: Loitimeperson.png]

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7e35e675-6b56-415b-971d-6f270253a508%40googlegroups.com.