Re: [dspace-tech] More Fun with Missing Stats

2019-07-24 Thread Kim Shepherd
It might also end up easier (and more consistent in terms of queries / 
logic used, compared to the overall 'statistics' report) to modify the 
Statistics report to accept start / end date ranges, rather than try to 
generate all the old monthly reports.

I've done this for the Workflow stats page (XMLUI) and I think the code is 
OK to share so I'll put that on my TODO list, it should at least provide 
some pointers.

-k.

On Thursday, 25 July 2019 11:08:39 UTC+12, Terry Brady wrote:
>
> The monthly reports are static files built from log records, so they will 
> not change as you change config values. There are cron tasks that are used 
> to build the report output.  You might be able to regenerate the report 
> files, but I do not know if that config property would be used.
>
> The monthly are a legacy mechanism for reporting statistics.  See 
> https://wiki.duraspace.org/display/DSDOC6x/SOLR+Statistics#SOLRStatistics-Pre-1.6Statisticssettings
>
> We found many discrepancies between those monthly reports and the solr 
> statistics, so we disabled those reports.  
>
>
>
>
>
>
>
>
>
> On Wed, Jul 24, 2019 at 2:39 PM Glenn G  
> wrote:
>
>> From the home page of our DSpace 6.3 site, we click Statistics in the 
>> Administrative box.  This brings up a page containing a General Overview 
>> and Archive Information.  Under that is an Items Viewed section subtitled 
>> "(more than 20 times)".  The list of items below ends, somewhat 
>> predictably, with items viewed at least 20 times.  Yesterday someone asked 
>> me to allow DSpace to display statistics for each view of an item, rather 
>> than for the default minimum 20 views.
>>
>> I found I could change the default by changing the value of 
>> "item.floor=20" in the dstat.cfg file.  Now the Items Viewed section 
>> displays items viewed at least once.  However, if we click on any of the 
>> monthly reports links, the Items Viewed in the subsequent window is still 
>> "(more than 20 times)".  This is true of all the monthly reports except the 
>> current month, where Items Viewed is subtitled "(more than 1 times)".
>>
>> Is there a way to make all the previous monthly reports display items 
>> viewed at least once?
>>
>> -- 
>> 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/e2bb8700-a646-4a4b-9a01-1dd5650e34fc%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/3f3bd28e-0280-45a0-9070-62340a32f894%40googlegroups.com.


Re: [dspace-tech] More Fun with Missing Stats

2019-07-24 Thread Terry Brady
The monthly reports are static files built from log records, so they will
not change as you change config values. There are cron tasks that are used
to build the report output.  You might be able to regenerate the report
files, but I do not know if that config property would be used.

The monthly are a legacy mechanism for reporting statistics.  See
https://wiki.duraspace.org/display/DSDOC6x/SOLR+Statistics#SOLRStatistics-Pre-1.6Statisticssettings

We found many discrepancies between those monthly reports and the solr
statistics, so we disabled those reports.









On Wed, Jul 24, 2019 at 2:39 PM Glenn G 
wrote:

> From the home page of our DSpace 6.3 site, we click Statistics in the
> Administrative box.  This brings up a page containing a General Overview
> and Archive Information.  Under that is an Items Viewed section subtitled
> "(more than 20 times)".  The list of items below ends, somewhat
> predictably, with items viewed at least 20 times.  Yesterday someone asked
> me to allow DSpace to display statistics for each view of an item, rather
> than for the default minimum 20 views.
>
> I found I could change the default by changing the value of
> "item.floor=20" in the dstat.cfg file.  Now the Items Viewed section
> displays items viewed at least once.  However, if we click on any of the
> monthly reports links, the Items Viewed in the subsequent window is still
> "(more than 20 times)".  This is true of all the monthly reports except the
> current month, where Items Viewed is subtitled "(more than 1 times)".
>
> Is there a way to make all the previous monthly reports display items
> viewed at least once?
>
> --
> 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/e2bb8700-a646-4a4b-9a01-1dd5650e34fc%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/CAMp2YEz8t0UCdFFkfOfNs%2BJu8igrxskn37sxvX8u5twB7w-uaA%40mail.gmail.com.


[dspace-tech] More Fun with Missing Stats

2019-07-24 Thread Glenn G
>From the home page of our DSpace 6.3 site, we click Statistics in the 
Administrative box.  This brings up a page containing a General Overview 
and Archive Information.  Under that is an Items Viewed section subtitled 
"(more than 20 times)".  The list of items below ends, somewhat 
predictably, with items viewed at least 20 times.  Yesterday someone asked 
me to allow DSpace to display statistics for each view of an item, rather 
than for the default minimum 20 views.

I found I could change the default by changing the value of "item.floor=20" 
in the dstat.cfg file.  Now the Items Viewed section displays items viewed 
at least once.  However, if we click on any of the monthly reports links, 
the Items Viewed in the subsequent window is still "(more than 20 times)".  
This is true of all the monthly reports except the current month, where 
Items Viewed is subtitled "(more than 1 times)".

Is there a way to make all the previous monthly reports display items 
viewed at least once?

-- 
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/e2bb8700-a646-4a4b-9a01-1dd5650e34fc%40googlegroups.com.


[dspace-tech] Re: Need your help (Customize discovery facet on DSpace 6.x)

2019-07-24 Thread Leonardo Guerrero
In case of jspu the language keys are:

jsp.search.facet.refine.has_content_in_original_bundle = Has (files)
jsp.search.facet.refine.value_has_content_in_original_bundle_true = true 
jsp.search.facet.refine.value.has_content_in_original_bundle_false = false


El miércoles, 24 de julio de 2019, 8:36:22 (UTC-5), Leonardo Guerrero 
escribió:
>
> Hi,
>
> You must add this keys in your vietnamese i18n.
>
>  key="xmlui.ArtifactBrowser.AdvancedSearch.type_has_content_in_original_bundle">Has
>  (files) key="xmlui.ArtifactBrowser.AdvancedSearch.value_has_content_in_original_bundle_true">true  
> key="xmlui.ArtifactBrowser.AdvancedSearch.value_has_content_in_original_bundle_false">false
>
>
>
> El lunes, 22 de julio de 2019, 10:49:25 (UTC-5), Pham Quang Quyen escribió:
>>
>> I don't find where to customize the value "true" and value "false" on the 
>> discovery facet (Only DSpace 6.x have theses). Please help me how to 
>> customize. Thanks so much!
>>
>> [image: 3.jpg]
>>
>>

-- 
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/f79f48d8-4937-425e-9a9f-3c7ae6d8c472%40googlegroups.com.


[dspace-tech] Re: How to Apply Patch for CommunityFiliator?

2019-07-24 Thread Glenn G
Thought I would update this thread in case anyone has the same question.

In the absence of any instructions on how to apply a patch, I decided to 
try some things on a test server.  I made a copy of our DSpace 6.3 
production server and went to update the two files, CommunityFiliator.java 
and Community.java, with the patched files.  I couldn't find the files on 
the server, and I determined that our server had been installed with the 
precompiled version of DSpace.

So I copied the sources to the [dspace-source] directory.  Then I copied 
the new CommunityFiliator.java and Community.java files to their respective 
places and recompiled DSpace.  Only nothing changed.  I tried it a few more 
times and eventually became aware that the compile process was not using 
the new sources.  I guess this was due to the original installation being 
precompiled.

A colleague who is more of a developer suggested installing a new test 
system from scratch using the sources.  Once the new system was installed, 
we could copy the dspace binary file from it to our original test system.  
This worked, but not without a hitch.

The build failed with the message, "log4j package does not exist".  My 
developer colleague helped determine that this was a result of the log4j 
specification in Community.java being different from the existing log4j 
version in DSpace 6.3.  Once we changed the spec in the patch file back to 
its pre-patch version, the compile operation proceeded.

For reference, the line that we changed:

org.apache.logging.log4j.Logger;

We changed it to:

org.apache.log4j.Logger;


On Wednesday, June 5, 2019 at 11:00:52 AM UTC-5, Glenn G wrote:
>
> Apologies if this is a dumb question, but how do you apply a patch?  We're 
> running DSpace 6.3, and we need to get the CommunityFiliator running with 
> the new functionality described in GitHub pull request DS-3914.
>
> I replaced CommunityFiliator.java and Community.java files on the system, 
> but it didn't made any difference.  On our system, those file are located 
> here:
>
>
> [dspace-source]/dspace-api/src/main/java/org/dspace/administer/CommunityFiliator.java
>
> [dspace-source]/dspace-rest/src/main/java/org/dspace/rest/common/Community.java
> [dspace-source]/dspace-api/src/main/java/org/dspace/content/Community.java
>
> I tried rebuilding, but that didn't make a difference either.  I used 
> these commands to do the rebuild:
>
> mvn -U clean package -Dmirage2.on=true
> ant update
>
> We still get the following error when we run [dspace]/bin/dspace 
> community-filiator -r -p x/x -c x/
>
> Exception: null
> java.lang.UnsupportedOperationException
> at java.util.AbstractList.remove(AbstractList.java:161)
> at java.util.AbstractList$Itr.remove(AbstractList.java:374)
> at java.util.AbstractCollection.remove(AbstractCollection.java:293)
> at 
> org.dspace.administer.CommunityFiliator.defiliate(CommunityFiliator.java:264)
> at 
> org.dspace.administer.CommunityFiliator.main(CommunityFiliator.java:164)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at 
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
> at 
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
>
> What am I missing?
>
> Thanks,
> Glenn
>

-- 
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/0b1649c6-cda9-4a9d-a222-e16ee271099d%40googlegroups.com.


[dspace-tech] Re: Need your help (Customize discovery facet on DSpace 6.x)

2019-07-24 Thread Leonardo Guerrero


Hi,

You must add this keys in your vietnamese i18n.

Has
 (files)truefalse



El lunes, 22 de julio de 2019, 10:49:25 (UTC-5), Pham Quang Quyen escribió:
>
> I don't find where to customize the value "true" and value "false" on the 
> discovery facet (Only DSpace 6.x have theses). Please help me how to 
> customize. Thanks so much!
>
> [image: 3.jpg]
>
>

-- 
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/2b39e0b3-da53-4eab-beca-834f90230385%40googlegroups.com.


[dspace-tech] Task Windows

2019-07-24 Thread 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.