[dspace-tech] Re: Google analytics and DSpace

2017-10-24 Thread Bhavesh Patel
Yes, we are facing the same issue into Google analytics report after 
upgrading to 6. It seems to be bug or something wrong happen.

Please do the needful on this.

Regards,
Bhavesh

On Tuesday, April 11, 2017 at 5:50:48 AM UTC+5:30, luked...@gmail.com wrote:
>
> We recently upgrade from DSpace 4 to 6 and we were pleased to get extra 
> reporting such as download events and seeing in real time what is being 
> downloaded.
>
> Our statistics now report 3 months of session day per day and I'm 
> struggling to understand how this can be.
>
> For instance in the past 6 days apparently we have had 100,000 sessions 
> but only 10,000 page views and 150,000 download events. Since the update 
> direct traffic is the most common channel (which seems highly unlikely) and 
> over 99% (or 80,000 sessions) of direct traffic has "(not set)" as the 
> landing page - I assume this is DSpace rather than real people?
>
> The only interpretation I can make is sessions are broken; there are 
> 10,000 page visits and 150,000 files downloaded (probably from Google or 
> another referrer without going to pages).
>
> But I can't really assume something is broken and pick and choose stats to 
> take seriously. Does anyone have any ideas about what is going on?
>
> Thanks.
>

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Tomcat Cert Process for Dspace

2017-10-24 Thread wlrutherford
Hello Tony. I work with Dayne and we are successfully using a localized 
version
of your example at our site - Thank you. But there's one problem.

We are using port 443 for secure connections and securing the site by 
rewriting
port 80 to also go to port 443. The handle server uses ports 2641 and 8000 
and
needs them to to be non-SSL. But something is converting our 
http://hdl.handle.net/
URI links to https. So, rather than linking to the document page, we get 
something
like this:



400 Bad Request

Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://scholarworks.alaska.edu/;>https://scholarworks.alaska.edu/

Apache/2.2.15 (Red Hat) Server at scholarworks.alaska.edu Port 
443



My best guess at the moment is that the virtualhost configurations are
also somehow catching other ports and rewriting them in the same way.


#
### Redirect insecure ports to secure port 443
ServerAdmin uaf-library-it-d...@alaska.edu
RewriteEngine On
RewriteCond %{HTTPS} off
#   RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
RewriteRule (.*) https://%{HTTP_HOST}:443%{REQUEST_URI}
DocumentRoot /dspace/webapps/xmlui
ServerName scholarworks.alaska.edu
ServerAlias scholarworks

ErrorLog logs/scholarworks.alaska.edu-error_log
CustomLog logs/scholarworks.alaska.edu-access_log common

ProxyPass / http://127.0.0.1:443/  retry=10 connectiontimeout=5
### ^ this tells httpd to redirect it's / to localhost port 443

#timeout=300
ProxyPassReverse / http://127.0.0.1:443/  retry=10
### ^ this tells httpd that tomcat's url's should be rewritten to 
look
###   like they're coming from httpd.

ProxyPreserveHost On
### ^ this tells httpd to keep the Host: information from the 
client and
### pass it on to tomcat.



#


### ^ this creates a httpd server that listens on port 443.

ServerAdmin uaf-library-it-d...@alaska.edu
DocumentRoot /dspace/webapps/xmlui
ServerName scholarworks.alaska.edu
ServerAlias scholarworks

ErrorLog logs/scholarworks.alaska.edu-https-error_log
CustomLog logs/scholarworks.alaska.edu-https-access_log combinedssl

Include conf.d/ssl.include
Include conf.d/ssl.include.star
### ^ these point to a file which specifies where the ssl 
certificates
###   live on the host.

ProxyPass / http://127.0.0.1:8080/  retry=10 connectiontimeout=5
### ^ this tells httpd to redirect it's / to localhost port 8080

#timeout=300

ProxyPassReverse /  http://127.0.0.1:8080/  retry=10
### ^ this tells httpd that tomcat's url's should be rewritten to 
look
###   like they're coming from httpd.

ProxyPreserveHost On
### ^ this tells httpd to keep the Host: information from the 
client and
### pass it on to tomcat.

#SSLUseStapling on
### Added due to error when starting apache.  Dayne Ellanna



We once were trying to do this via Tomcat rewriting 8080 to 443. But when
we gave up on Tomcat I disabled the unneeded ports 8080 and 8443. I also
changed the proxy references to 8080 in  to 443; that 
won't
work in the  section because it would reroute to itself.

So why do I need the 443 proxy directives at all? I tried commenting out the
entire line but that just breaks the whole site. The only place ports 2641 
and
8000 are ever mentioned is in the handler-server/config.dct file.

{
"hdl_http_config" = {
"bind_address" = "137.229.115.121"
"num_threads" = "15"
"bind_port" = "8000"
"backlog" = "5"
"log_accesses" = "yes"
}

"server_type" = "server"
"hdl_udp_config" = {
"bind_address" = "137.229.115.121"
"num_threads" = "15"
"bind_port" = "2641"
"log_accesses" = "yes"
}

"hdl_tcp_config" = {
"bind_address" = "137.229.115.121"
"num_threads" = "15"
"bind_port" = "2641"
"backlog" = "5"
"log_accesses" = "yes"
}

"no_udp_resolution" = "n"
"interfaces" = (
"hdl_udp"
"hdl_tcp"
"hdl_http"
)

"server_config" = {
"server_admins" = (
"300:0.NA/11122"
)

"replication_admins" = (
"300:0.NA/11122"
)

"storage_type" = "CUSTOM"
"storage_class" = "org.dspace.handle.HandlePlugin"
"max_session_time" = "8640"
"this_server_id" = "1"
"max_auth_time" = "6"
"backup_admins" = (
"300:0.NA/11122"
)

"case_sensitive" = "no"
}

}


Does anyone see anything glaringly wrong with this setup?
I believe the local handle-server process passes the request
to handle.net just fine. But somewhere during the return trip
we're redirected to port 443 and things to south.

Thanks for any tips, insights, or corrections you can provide,

  Walter R.



On Friday, October 6, 2017 at 1:28:00 AM UTC-8, Tony Brian Albers wrote:
>
> On 10/06/2017 08:39 AM, Dayne Ellanna wrote: 
> > I am having the 

Re: [dspace-tech] Fwd: OAI questions

2017-10-24 Thread Terry Brady
There are a number of OAI crosswalks built into DSpace.  You can reference
any one of these formats when retrieving records.

http://demo.dspace.org/oai/request?verb=ListMetadataFormats

The formats are defined here:
https://github.com/DSpace/DSpace/blob/master/dspace/config/crosswalks/oai/xoai.xml#L11-L22

Check out the filters section for examples of how to make your crosswalks
conditional:
https://github.com/DSpace/DSpace/blob/master/dspace/config/crosswalks/oai/xoai.xml#L172

Terry

On Tue, Oct 24, 2017 at 12:24 PM, Keith Jones  wrote:

>
> Hi,
>
> I'm trying to find information about how much customizing one can do with
> OAI harvesting.
> Is it possible to define what level of data is returned when a Dspace
> repository is accessed via OAI.
> Can you also set up different data returned based on
> Community/Collection/Item levels?
>
> Thanks
> Keith
>
> --
> 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 post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



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

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Fwd: OAI questions

2017-10-24 Thread Keith Jones
Hi,

I'm trying to find information about how much customizing one can do with
OAI harvesting.
Is it possible to define what level of data is returned when a Dspace
repository is accessed via OAI.
Can you also set up different data returned based on
Community/Collection/Item levels?

Thanks
Keith

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Two OAI problems with DSpace 6.2

2017-10-24 Thread Evgeni Dimitrov
Thank you Christian,
You may be right. But in my case it goes wrong before it comes to XML.
I am logging the SolrDocument before sending to Solr:

SolrInputDocument(fields: [item.id=ecc9c18e-4e91-4e7a-8e61-eb88472f8f0a, 
item.public=true, item.handle=nls/3, item.lastmodified=2017-10-16 
23:18:01.117, item.submitter=e...@nomail.xx, item.deleted=false, 
item.collections=col_nls_2, item.communities=com_nls_1, 
metadata.dc.coverage.spatial=София, България, 
metadata.dc.creator=Карастоянов, Д., 

I am logging the SolrDocument after Solr returns it:

SolrDocument{item.id=ecc9c18e-4e91-4e7a-8e61-eb88472f8f0a, 
item.public=true, item.handle=nls/3, item.lastmodified=Mon Oct 16 23:18:01 
EEST 2017, item.submitter=e...@nomail.xx, item.deleted=false, 
item.collections=[col_nls_2], item.communities=[com_nls_1], 
metadata.dc.coverage.spatial=[?, ], 
metadata.dc.creator=[???, ?.],

I tried querying Solr from my own standalone application - same way as 
DSpace does - same version of the Solr client - the result is as above.

Finally I am querying Solr from the browser and I am getting a correct 
response:

София, 
БългарияКарастоянов, 
Д.

Which makes me think that there is a problem with the Solr client - either 
configuration missing or something wrong in this exactly version.


On Tuesday, October 24, 2017 at 8:58:19 AM UTC+3, Christian Scheible wrote:
>
> Hi together,
>
> we are currently investigating the same problem.
> It's because there are non valid XML 1.0 Characters in the metadata (like 
> surrogate pairs).
>
> This block explains it and shows a method how to get rid of them:
>
>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>
> If I have time I am going to make a pull request for this issue.
>
> Hope this helps
> Christian
>
> Am 23.10.2017 um 22:20 schrieb Evgeni Dimitrov:
>
> The problem with
>
>
> http://localhost:8080/oai/request?verb=GetRecord=xoai=oai:localhost:nls/3
>
> not working is related to metadata with non-ASCII characters. The strange 
> thing is that the added log shows that DSpace gets with SolrServer.query() 
> the metadata with the non-ASCII characters distorted. But when Solr is 
> queried in the browser:
>
> http://localhost:8080/solr/oai/select?q=item.handle:nls/3
>
> then the non-ASCII characters are correct. I can not figure out why . . .
>
>
> On Thursday, October 19, 2017 at 9:04:39 PM UTC+3, Evgeni Dimitrov wrote: 
>>
>> I have a freshly installed DSpace 6.2 with 15 items in it.
>> I have not changed anything in the OAI configuration.
>> Two of the items have READ access for certain groups only. The rest are 
>> accessible to everybody.
>>
>> Problem 1.
>> When I run
>> dspace oai import -c
>>
>> I get in dspace.log two exceptions (I suppose for each of the restricted 
>> access items):
>>
>> 2017-10-19 17:55:22,650 WARN  org.dspace.xoai.util.ItemUtils @ 
>> Authorization denied for action READ on 
>> BITSTREAM:3d21ebf7-ef3e-4d98-a265-c4a516b1740b by user null
>> org.dspace.authorize.AuthorizeException: Authorization denied for action 
>> READ on BITSTREAM:3d21ebf7-ef3e-4d98-a265-c4a516b1740b by user null
>>
>> The whole text of the exception is very long.
>>
>> Problem 2.
>> After that I am trying
>> http://localhost:8080/oai/request?verb=Identify
>> http://localhost:8080/oai/request?verb=ListSets
>> http://localhost:8080/oai/request?verb=ListMetadataFormats
>> http://localhost:8080/oai/request?verb=ListIdentifiers=xoai
>> and it all works.
>>
>> But for
>>
>> http://localhost:8080/oai/request?verb=GetRecord=oai:localhost:nls/3=xoai
>> (nls/3 is an item accessible to everybody)
>> I get in the browser
>>
>> java.io.IOException: 
>> com.lyncode.xoai.dataprovider.exceptions.WritingXmlException: Error trying 
>> to output ''
>> 
>> org.dspace.xoai.services.impl.cache.DSpaceXOAICacheService.store(DSpaceXOAICacheService.java:113)
>>
>> The whole text of the exception is very long.
>>
>> My question is - am I missing something in the configuration or is this a 
>> known problem with DSpace 6.2?
>>
>>
>> 
>>  Virus-free. 
>> www.avg.com 
>> 
>>  
>>
> -- 
> 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...@googlegroups.com .
> To post to this group, send email to dspac...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

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

[dspace-tech] url in registration confirmation message results in invalid token page being shown

2017-10-24 Thread Francis Brouns
Hi all,

one of our users just created an user account at our DSpace server and 
received the confirmation e-mail message. That message contains a link to 
complete the registration. This link is shown at a single line, and is not 
broken into 2 lines. Nevertheless, in all browsers the server reports that 
the token is invalid. I checked and the full token is present in the 
address bar.

Next, I tried to reset the password for another, test, user. That user 
received an e-mail message with a token that is being accepted. I can't see 
any differences between these generated links, of course for the token 
being different.

Running DSpace 5.4, JSPUI, Linux SLES, Oracle, Tomcat7, java7

Any idea where to look what might be the case here?

kind regards,
Francis Brouns


Invalid Token

The registration or forgotten password "token" in the URL is invalid. This 
may be because of one of the following reason:

   - The token might be incorrectly copied into the URL. Some e-mail 
   programs will "wrap" long lines of text in an email, so maybe it split your 
   special URL up into two lines, like this:
   
   http://dspace.ou.nl/register?token=ABCDEFGHIJK
   LMNOP
   
   
   - If it has, you should copy and paste the first line into your 
   browser's address bar, then copy the second line, and paste into the 
   address bar just on the end of the first line, making sure there are no 
   spaces. The address bar should then contain something like:
   
   http://dspace.ou.nl/register?token=ABCDEFGHIJKLMNOP
   
   
   Then press return in the address bar, and the URL should work fine.

If you're still having trouble, please contact us.

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] New eperson metadata field in register form

2017-10-24 Thread Karol S
Hi,

I need add a new field metadata to "register form" and eperson profile.
At the moment is:

First name *
Last name *
Contact telephone
language

I need additional field like a "faculty". In the internet i found something 
like this:
"You have to add this field to eperson-types.xml and add this field to 
eperson schema via web interface"
I do this but still does not see any additional fields. What i doing wrong? 
Cheers,

Karol

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Creative Commons disappeared

2017-10-24 Thread Karol S
Hi, thanks for all respond. Yesterday i wrote this problem to CC team. They 
knew about this issue and today repaired it :) Cheers,

Karol

W dniu poniedziałek, 23 października 2017 12:30:33 UTC+2 użytkownik Karol S 
napisał:
>
> Hi,
>
> few days ago everything was good i saw CC options. But yesterday i saw 
> problem in submission process. I don't see options with Creative Commons.
> I attached file with print screen this situation. Someone can help me with 
> this? Regards,
>
> Karol
>
>
>
>

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Regarding email configuration with local email server and not with gmail

2017-10-24 Thread Suresh Kumar Tejomurtula
Hi,

Iam new to dspace and not from technical background. 

Currently installed dspace 5.x on ubuntu 14.04. 

Now we have koha(LMS) and dspace both installed on the same machine and we 
are able to send mails from the koha and not able to send from dspace. 
email server is not on the same machine

The dspace error log shows "remote host connection refused". I searched 
online for solution by typing the error but could not understand much about 
it. 

If anybody could help me on how to solve the error or any issue with 
settings / configuration it will be of great help to me. 

Thanks in Advance. 

Regards
Suresh

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Restructure DSpace

2017-10-24 Thread Sisay Webshet


On Tuesday, October 24, 2017 at 9:57:09 AM UTC+3, Sisay Webshet wrote:
>
>
>
> Hi All,
>
> We have been using DSpace 5.5 on Mirage2 and we want to bring collections
> on top of sub_communities.This should be on community-list page 
> (https://dspacetest.cgiar.org/handle/10568/80923)
>
 

>
> May I get someone suggestion to tweek some codes on xsl files,
>
>
> Thanks,Sisay
>

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Restructure DSpace

2017-10-24 Thread Sisay Webshet


Hi All,

We have been using DSpace 5.5 on Mirage2 and we want to bring collections
on top of sub_communities,

May I get someone suggestion to tweek some codes on xsl files,


Thanks,Sisay

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.