[dspace-tech] Dspace-CRIS page views problem

2016-11-09 Thread 陳彥棠


Dear all


I have a dspace-cris-5.5   I am setting up on windows 10, I try to add New 
submission.

but the *page views* did not show it , every submissions are the same 
problem 

How do I display page views?


Google Analytics Statistics ?  SOLR Statistics ? or?


Regards


Sincerly yours, Yen-Tang Chen




































-- 
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: add new field on request form

2016-11-09 Thread Nemiz, Elvi
Hi NAUSS,

Yes, I am using DSpace 5 XMLUI Mirage 2. As I've said in my previous post,
you should modify ItemRequestForm.java, SendItemRequestAction.java and
messages.xml. You should also modify sitemap.xmap as stated here:
http://stackoverflow.com/a/25995143/1919069.

Regarding the steps, start modifying the files mentioned above. Try to add
different fields (eg text box, text area, button) and use the existing
codes there for your new fields in ItemRequestForm.java. In
SendItemRequestAction.java, try to add the parameters based on what fields
you have added in ItemRequestForm.

After that, rebuild DSpace and ANT update. If you encounter any issues or
errors, please post in the dspace-tech list. There are other folks that are
more knowledgeable than me and may answer your query better than me.

Hope this helps,
euler

On Thu, Nov 10, 2016 at 1:43 PM, NAUSS Repository <
nauss.reposit...@gmail.com> wrote:

> and please confirm you are using  dspace 5 XMLUI with Mirage2
>
> On Thu, Nov 10, 2016 at 8:29 AM, NAUSS Repository <
> nauss.reposit...@gmail.com> wrote:
>
>> Hi *euler *
>> *yes this what i want exactly , can you specify in moe details and steps.*
>> *iam very thanks for helping me this is greate job i am asking this
>> question for long time no body answer please give me more details  *
>>
>> On Wed, Nov 9, 2016 at 4:59 PM, euler  wrote:
>>
>>> Hi,
>>>
>>> Are you trying to add fields from request copy form like in this example
>>> item?
>>>
>>> http://repository.seafdec.org.ph/handle/10862/1966/restricte
>>> d-resource?bitstreamId=6527
>>>
>>> Adding these fields is not trivial (for me). I think you would have to
>>> edit these files:
>>>
>>> dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artif
>>> actbrowser/ItemRequestForm.java
>>> dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artif
>>> actbrowser/SendItemRequestAction.java
>>> dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artif
>>> actbrowser/SendItemRequestAction.java
>>>
>>> You may also have to edit dspace-xmlui/src/main/webapp/i18n/messages.xml
>>> if you don't want to hard code the names or titles of your fields.
>>>
>>> Here's the link to the commit that I applied to our repository:
>>> https://github.com/eulereadgbe/DSpace/commit/329
>>> 8c98e6beaa532a6eebb6e1bd13f096ebdcec6
>>>
>>> I also added fields in the feedback form in that commit and also add an
>>> option to request a copy for items that don't have full text.
>>>
>>> Hope this helps.
>>>
>>> Regards,
>>> euler
>>>
>>> On Sunday, November 6, 2016 at 4:51:39 PM UTC+8, NAUSS Repository wrote:

 i need  to add new field on request form dspace 5.5 with Mirage2 
 please help

>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "DSpace Technical Support" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/dspace-tech/rI7j_LMC9Z0/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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.
>>>
>>
>>
>

-- 
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] Need help in database migration from 5x to 6.0

2016-11-09 Thread euler
Dear Helix and Terry,

I am running this dspace instance in a windows environment so I just 
manually run the SQL commands from your script and it worked. Running the 
migrate command though I encountered another error this time from the table 
group2group (Message : ERROR: could not create unique index 
"group2group_pkey" Detail: Key (parent_id, 
child_id)=(e226cfe7-385e-4547-977e-3de9e16a4b3e, 
a1ef01c6-0420-47de-ba1c-50c695644bcf) 
is duplicated., so I just run your SQL again but this time replacing 
eperson_group_id and eperson_id by parent_id and child_id respectively. Now 
when I run the migrate command, it is successful.

Thank you so much for this!

Best regards,
euler

On Thursday, November 10, 2016 at 7:49:41 AM UTC+8, helix84 wrote:
>
> Same script without mangled newlines:
>
> cleanup_eperson.sh:
>
> #!/bin/sh
>
> total=`psql -A -t -c "SELECT count(1) FROM epersongroup2eperson;"`
> distinct=`psql -A -t -c "SELECT count(DISTINCT (eperson_group_id, 
> eperson_id)) FROM epersongroup2eperson;"`
>
> # for testing only:
> #total=$(($total+1))
>
> echo $total
> echo $distinct
>
> if [ "$total" -gt "$distinct" ] ; then
>
> echo "Cleaning up..." | mail -s "digilib eperson table cleanup 
> ($total/$distinct)" dspac...@example.com 
>
> report=`psql 2>&1 <   SELECT MIN(ctid) as ctid, eperson_group_id, 
> eperson_id
> FROM epersongroup2eperson
> GROUP BY eperson_group_id, eperson_id HAVING 
> COUNT(*) > 1;
> THE_END`
>
> # perform the cleanup
> # capture the output and running time
> cleanuptime=`time psql 2>&1 < DELETE FROM epersongroup2eperson a USING (
>   SELECT MIN(ctid) as ctid, eperson_group_id, 
> eperson_id
> FROM epersongroup2eperson
> GROUP BY eperson_group_id, eperson_id HAVING 
> COUNT(*) > 1
>   ) b
> WHERE a.eperson_group_id = b.eperson_group_id
> AND a.eperson_id = b.eperson_id
> AND a.ctid <> b.ctid;
> THE_END`
>
> # check again and report the status by email
> out=`psql < SELECT count(1) FROM epersongroup2eperson;
> SELECT count(DISTINCT (eperson_group_id, eperson_id)) FROM 
> epersongroup2eperson;
> THE_END`
> echo "$report\n\n\n\n$cleanuptime\n\n$out" | mail -s "digilib 
> eperson table cleanup complete" dspac...@example.com 
>
> echo "email sent: $out"
>
> else
> echo "" | mail -s "digilib eperson table clean" 
> dspac...@example.com 
> fi
>
>
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>

-- 
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] Dspace 5.5 Mirage2 on Windows 7 ERROR

2016-11-09 Thread Damian ARG
system
windows 7 sp1

apache maven 3.3.9
apache tomcat 8.5.5
dspace 5.5


The following error gives me with MAVEN from command window or raise the 
apache server, directly shut down the system, from the windows event viewer 
shows me the following error


Failed to reactivate event filter with query "SELECT * FROM 
__InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA 
"Win32_Processor" AND TargetInstance.LoadPercentage > 99" en el espacio de 
nombres "//./root/CIMV2" por el error 0x80041003. Events can not be 
delivered through this filter until this problem is corrected.

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] Dspace-CRIS org.dspace.storage.rdbms.DatabaseManager.getDataSource SQL getDataSource

2016-11-09 Thread 陳彥棠
Dear Andrea Bollini

I am sorry that my English is not good

I deleted all the databases and users  on the postgreSQL after that I try 
again dspace-cris

The test was successful . 

Thank :D

Bollini Andrea於 2016年11月10日星期四 UTC+8上午5時39分29秒寫道:
>
> Hi 陳彥棠,
>
> it looks to me as a database connectivity issue. Maybe you have too much 
> databases and users on the same postgres instance and it is not possible to 
> establish new connections. Check the postgres server status (it can be 
> easily done using pgAdmin). Unfortunately there are some locale specific 
> message in your log that I'm unable to check.
>
> Please note that the current maintained code for DSpace-CRIS can be found 
> here:
>
> https://github.com/4Science/DSpace/tree/dspace-5_x_x-cris
>
> Andrea
>
>
>
> Il 08/11/2016 07:36, 陳彥棠 ha scritto:
>
> Dear all
>
> I try to install Dspace-CRIS but I *restart* tomcat after error
>
>
>
> Installation environment
>
>   jdk1.8.0_101
>   postgresSQL 9.4
>   tomcat 8.0.37
>  dspace-cris 5_x_x  => use   
> https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris
>
>
> catalina.log 
>
>  [localhost-startStop-1] 
> org.dspace.storage.rdbms.DatabaseManager.getDataSource SQL getDataSource 
> Error - 
>  java.sql.SQLException: org.postgresql.util.PSQLException: : 
> �� non-replication superuser
> at 
> org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:171)
> at 
> org.dspace.storage.rdbms.DatabaseManager.initDataSource(DatabaseManager.java:1516)
> at 
> org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1409)
> at 
> org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:724)
> at 
> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:703)
> at org.dspace.core.Context.init(Context.java:155)
> at org.dspace.core.Context.(Context.java:129)
> at 
> org.dspace.app.util.AbstractDSpaceWebapp.register(AbstractDSpaceWebapp.java:80)
> at 
> org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:128)
> at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)
> at 
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
> at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
> at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
> at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
> at 
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)
> at 
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.postgresql.util.PSQLException: : 
> �� non-replication superuser
> at org.postgresql.Driver$ConnectThread.getResult(Driver.java:348)
> at org.postgresql.Driver.connect(Driver.java:271)
> at java.sql.DriverManager.getConnection(DriverManager.java:664)
> at java.sql.DriverManager.getConnection(DriverManager.java:247)
> at 
> org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
> at 
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
> at 
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
> at 
> org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
> at 
> org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:140)
> ... 21 more
>
>
>
> [localhost-startStop-1] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The 
> web application [oai] registered the JDBC driver [org.postgresql.Driver] 
> but failed to unregister it when the web application was stopped. To 
> prevent a memory leak, the JDBC Driver has been forcibly unregistered.
>  
> 警告 [localhost-startStop-1] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The 
> web application [oai] registered the JDBC driver [org.postgresql.Driver] 
> but failed to unregister it when the web application was stopped. To 
> prevent a memory leak, the JDBC Driver has been forcibly unregistered.
>
> 警告 [localhost-startStop-1] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
> web application [oai] appears to have started a thread named 
> [com.mcha

Re: [dspace-tech] Need help in database migration from 5x to 6.0

2016-11-09 Thread helix84
Same script without mangled newlines:

cleanup_eperson.sh:

#!/bin/sh

total=`psql -A -t -c "SELECT count(1) FROM epersongroup2eperson;"`
distinct=`psql -A -t -c "SELECT count(DISTINCT (eperson_group_id,
eperson_id)) FROM epersongroup2eperson;"`

# for testing only:
#total=$(($total+1))

echo $total
echo $distinct

if [ "$total" -gt "$distinct" ] ; then

echo "Cleaning up..." | mail -s "digilib eperson table cleanup
($total/$distinct)" dspacead...@example.com

report=`psql 2>&1 < 1;
THE_END`

# perform the cleanup
# capture the output and running time
cleanuptime=`time psql 2>&1 < 1
  ) b
WHERE a.eperson_group_id = b.eperson_group_id
AND a.eperson_id = b.eperson_id
AND a.ctid <> b.ctid;
THE_END`

# check again and report the status by email
out=`psql 

Re: [dspace-tech] Need help in database migration from 5x to 6.0

2016-11-09 Thread helix84
Just delete one of each 3 duplicates manually.

This happens to me regularly on a 5.x instance (I'm using LDAP auth)
and I couldn't figure out why. I started checking for this condition
each night, because a large number (low thousands) of such duplicate
entries appears overnight once every couple of days. The number then
seems to grow exponentially until it completely overwhelms DSpace
which then stops responding.

As a workaround, I'm running this script nightly from cron:

cleanup_eperson.sh:

#!/bin/sh

total=`psql -A -t -c "SELECT count(1) FROM epersongroup2eperson;"`
distinct=`psql -A -t -c "SELECT count(DISTINCT (eperson_group_id,
eperson_id)) FROM epersongroup2eperson;"`

# for testing only:
#total=$(($total+1))

echo $total
echo $distinct

if [ "$total" -gt "$distinct" ] ; then

echo "Cleaning up..." | mail -s "digilib eperson table cleanup
($total/$distinct)" dspacead...@example.com

report=`psql 2>&1 < 1;
THE_END`

# perform the cleanup
# capture the output and running time
cleanuptime=`time psql 2>&1 < 1
  ) b
WHERE a.eperson_group_id = b.eperson_group_id
AND a.eperson_id = b.eperson_id
AND a.ctid <> b.ctid;
THE_END`

# check again and report the status by email
out=`psql 

Re: [dspace-tech] Need help in database migration from 5x to 6.0

2016-11-09 Thread euler
Hi Terry,

Running the SQL returned me with just 3 records.

 eperson_group_id | eperson_id | count
--++---
1 | 38 | 2
1 | 42 | 2
1 | 31 | 2
(3 rows)

Please advice what should I do with these 3 records when you said that if 
the number of records in error is small to just clean them up in the 
database. Can you also explain to me what is wrong with these 3 records?

Thank you so much in advance.

Best regards,
euler


On Thursday, November 10, 2016 at 12:43:20 AM UTC+8, Terry Brady wrote:
>
> This issue should be logged as a bug in DSpace Jira since others may 
> encounter the issue in the future.
>
> As a work around, you could run the following SQL to identify the records 
> in error.
>
> select eperson_group_id,eperson_id, count(*)
> from epersongroup2eperson group by eperson_group_id, eperson_id
> having count(*)>1;
>
> If the number of records in error is small, you could clean them up in the 
> database.
>
> On Wed, Nov 9, 2016 at 6:18 AM, euler 
> > wrote:
>
>> Hi Bruno,
>>
>> Running "ant update" worked flawlessly for me too. It's just that 
>> automatic migration did not worked for me as shown when I run "dspace 
>> database info". Also, this did not happen in another dspace instance that 
>> I'm maintaining. The error that caught my attention is "ERROR: could not 
>> create unique index "epersongroup2eperson_pkey"
>>
>> So I'm hoping if someone can help me on how to resolve this problem.
>>
>> Thanks
>>
>> On Wednesday, November 9, 2016 at 10:08:58 PM UTC+8, Bruno Nocera Zanette 
>> wrote:
>>>
>>> Euler,
>>> How are you trying to do this? Which commands?
>>> For me, every time i've tried to update a version with "ant update" 
>>> worked flawlessly. You seem to have compile, installed the files and then 
>>> using "./bin/dspace database migrate" to do the migration. I've never tried 
>>> to do it, so i don't know if there's any problem in it.
>>>
>>> Em qua, 9 de nov de 2016 às 10:55, euler  
>>> escreveu:
>>>
 Dear All,

 I'm on the process of upgrading a dspace instance from 5.4 to 6.0. All 
 went well but I noticed in my log file this error:

 2016-11-09 20:36:42,308 FATAL org.dspace.core.Context @ Cannot obtain 
 the bean which provides a database connection. Check previous entries in 
 the dspace.log to find why the db failed to initialize.

 and the page is just blank.

 When I run dspace database info, here's the result:

 Database Software: PostgreSQL version 9.5.1
 Database Driver: PostgreSQL Native Driver version PostgreSQL 
 9.4.1211.jre7
 PostgreSQL 'pgcrypto' extension installed/up-to-date? true (version=1.2)


 ++--+-+-+
 | Version| Description  | 
 Installed on| State   |

 ++--+-+-+
 | 1.1| Initial DSpace 1.1 database schema   |   
   | >>> | 1.2| Upgrade to DSpace 1.2 schema |   
   | >>> | 1.3| Upgrade to DSpace 1.3 schema |   
   | >>> | 1.3.9  | Drop constraint for DSpace 1 4 schema|   
   | >>> | 1.4| Upgrade to DSpace 1.4 schema |   
   | >>> | 1.5| Upgrade to DSpace 1.5 schema |   
   | >>> | 1.5.9  | Drop constraint for DSpace 1 6 schema|   
   | >>> | 1.6| Initializing from DSpace 1.6 database schema | 
 2015-09-26 17:28:42 | Success |
 | 1.7| Upgrade to DSpace 1.7 schema | 
 2015-09-26 17:28:43 | Success |
 | 1.8| Upgrade to DSpace 1.8 schema | 
 2015-09-26 17:28:46 | Success |
 | 3.0| Upgrade to DSpace 3.x schema | 
 2015-09-26 17:28:52 | Success |
 | 4.0| Upgrade to DSpace 4.x schema | 
 2015-09-26 17:28:53 | Success |
 | 4.9.2015.10.26 | DS-2818 registry update  |   
   | Ignored |
 | 5.0.2014.08.08 | DS-1945 Helpdesk Request a Copy  | 
 2015-09-26 17:28:53 | Success |
 | 5.0.2014.09.25 | DS 1582 Metadata For All Objects drop constraint | 
 2015-09-26 17:28:54 | Success |
 | 5.0.2014.09.26 | DS-1582 Metadata For All Objects | 
 2015-09-26 17:30:31 | Success |
 | 5.6.2016.08.23 | DS-3097  | 
 2016-11-09 17:59:33 | Success |
 | 6.0.2015.03.06 | DS 2701 Dso Uuid Migration 

Re: [dspace-tech] Dspace-CRIS org.dspace.storage.rdbms.DatabaseManager.getDataSource SQL getDataSource

2016-11-09 Thread Bollini Andrea
Hi 陳彥棠,

it looks to me as a database connectivity issue. Maybe you have too much 
databases and users on the same postgres instance and it is not possible to 
establish new connections. Check the postgres server status (it can be easily 
done using pgAdmin). Unfortunately there are some locale specific message in 
your log that I'm unable to check.

Please note that the current maintained code for DSpace-CRIS can be found here:

https://github.com/4Science/DSpace/tree/dspace-5_x_x-cris

Andrea


Il 08/11/2016 07:36, 陳彥棠 ha scritto:
Dear all

I try to install Dspace-CRIS but I restart tomcat after error



Installation environment

  jdk1.8.0_101
  postgresSQL 9.4
  tomcat 8.0.37
 dspace-cris 5_x_x  => use   
https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris


catalina.log

 [localhost-startStop-1] org.dspace.storage.rdbms.DatabaseManager.getDataSource 
SQL getDataSource Error -
 java.sql.SQLException: org.postgresql.util.PSQLException: : 
�� non-replication superuser
at 
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:171)
at 
org.dspace.storage.rdbms.DatabaseManager.initDataSource(DatabaseManager.java:1516)
at 
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1409)
at 
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:724)
at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:703)
at org.dspace.core.Context.init(Context.java:155)
at org.dspace.core.Context.(Context.java:129)
at 
org.dspace.app.util.AbstractDSpaceWebapp.register(AbstractDSpaceWebapp.java:80)
at 
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:128)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)
at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.postgresql.util.PSQLException: : 
�� non-replication superuser
at org.postgresql.Driver$ConnectThread.getResult(Driver.java:348)
at org.postgresql.Driver.connect(Driver.java:271)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at 
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
at 
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at 
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:140)
... 21 more



[localhost-startStop-1] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web 
application [oai] registered the JDBC driver [org.postgresql.Driver] but failed 
to unregister it when the web application was stopped. To prevent a memory 
leak, the JDBC Driver has been forcibly unregistered.

警告 [localhost-startStop-1] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web 
application [oai] registered the JDBC driver [org.postgresql.Driver] but failed 
to unregister it when the web application was stopped. To prevent a memory 
leak, the JDBC Driver has been forcibly unregistered.

警告 [localhost-startStop-1] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web 
application [oai] appears to have started a thread named 
[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has 
failed to stop it. This is very likely to create a memory leak. Stack trace of 
thread:
 java.lang.Thread.sleep(Native Method)
 
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
 
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)



I don't know what i'm doing wrong...
Thanks in advance!!
--
You received this 

Re: [dspace-tech] Customize Item Usage Statistics page

2016-11-09 Thread Terry Brady
The following file might help:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java

On Wed, Nov 9, 2016 at 11:32 AM, Donald Bynum  wrote:

> I am running DSpace 5.5 with XMLUI and Mirage.  In the Item Usage
> Statistics report page, I want to remove the Top country views and Top city
> views sections and replace them with a new Caption and a link to an
> external URL.  I want to include the item handle as part of the URL string.
>
> Sounds easy enough, but how?
>
> Regards,
>
> Don.
>
> --
> 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
http://georgetown-university-libraries.github.io/

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] Customize Item Usage Statistics page

2016-11-09 Thread Donald Bynum
I am running DSpace 5.5 with XMLUI and Mirage.  In the Item Usage 
Statistics report page, I want to remove the Top country views and Top city 
views sections and replace them with a new Caption and a link to an 
external URL.  I want to include the item handle as part of the URL string.

Sounds easy enough, but how?

Regards,

Don.

-- 
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] Help with setting up virus scan curation task

2016-11-09 Thread Hardy Pottinger
Full debug log is here:

https://gist.github.com/hardyoyo/09d606865d642a5e0deffd5a5d403ebc

Note that the Virus Scan passed:

Item: in workflow had no viruses detected.

The NPE is regarding the inability to send a notification, but the log file
does not indicate *why* it's trying to send a notification. My only thought
is that perhaps the feedback from Clamd has somehow changed, and the "no
viruses detected" message is being treated as an error condition that needs
to be reported. I do currently have the JSPUI-only option "alert.recipient"
configured. Maybe if I remove that configuration, the system will stop
trying to email an error notification, and I'll get some more information
in my log files?

--Hardy

On Wed, Nov 9, 2016 at 9:13 AM, Hardy Pottinger 
wrote:

> Hi, thanks, port 25 is open on this server, and the test-email script runs
> successfully:
>
> dspace/bin/dspace test-email
>
> About to send test email:
>  - To: redac...@redacted.edu
>  - Subject: DSpace test email
>  - Server: 127.0.0.1
>
> Email sent successfully!
>
>
> On Wed, Nov 9, 2016 at 3:59 AM, Luiz dos Santos  wrote:
>
>> Your antivirus should have a firewall that is blocking the smtp port,
>> disable the antivirus firewall or just open the smtp port, the number of
>> the smtp port is 25.
>>
>>
>> On Wednesday, November 9, 2016, Hilton Gibson 
>> wrote:
>>
>>> Works great on Ubuntu, see: http://wiki.lib.sun.ac.za
>>> /index.php/SUNScholar/Curation
>>>
>>>
>>> *Hilton Gibson*
>>> Stellenbosch University Library
>>> *http://orcid.org/-0002-2992-208X
>>> *
>>>
>>>
>>> On 9 November 2016 at 01:53, Hardy Pottinger 
>>> wrote:
>>>
 Hi, I have a DSpace 5-based pilot project I am setting up on RHEL 6,
 and it's mostly working. However, I cannot seem to get the clamd server
 talking to DSpace. I have Clamd installed and running on a TCP port bound
 to localhost, and the curation task is configured to run as part of the
 submission process. However, uploading a file fails no matter what I try.
 With virus scanning turned off, I *can* upload a file. When I re-enable it
 as part of the submission process, uploading a virus-free file fails, with
 just an enigmatic yellow exclamation mark on the upload screen, no error
 message. When I attempt to upload an EICAR test file (a well-known way to
 test AV software) a similar error condition is shown (yellow exclamation
 mark, no errror message). Anyway, I'm hoping this might sound familiar to
 someone... this feels like I've missed a configuration somewhere. The
 dspace.log file isn't very helpful at the moment. I will try turning on
 debug logging to try to get more information. Any other suggestions? 
 Thanks!

 --Hardy

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

>>>
>>> --
>>> 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.
>>>
>>
>>
>> --
>> Luiz Claudio Santos
>> http://luizclaudiosantos.me/
>>
>>
>

-- 
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] Dspace Cloud Installation

2016-11-09 Thread Isreal Lomo
How can install Dspace on my Cloud Subdomain. I have been Able to install 
it on my Mac  machine Sucessfully. 

-- 
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] Need help in database migration from 5x to 6.0

2016-11-09 Thread Terry Brady
This issue should be logged as a bug in DSpace Jira since others may
encounter the issue in the future.

As a work around, you could run the following SQL to identify the records
in error.

select eperson_group_id,eperson_id, count(*)
from epersongroup2eperson group by eperson_group_id, eperson_id
having count(*)>1;

If the number of records in error is small, you could clean them up in the
database.

On Wed, Nov 9, 2016 at 6:18 AM, euler  wrote:

> Hi Bruno,
>
> Running "ant update" worked flawlessly for me too. It's just that
> automatic migration did not worked for me as shown when I run "dspace
> database info". Also, this did not happen in another dspace instance that
> I'm maintaining. The error that caught my attention is "ERROR: could not
> create unique index "epersongroup2eperson_pkey"
>
> So I'm hoping if someone can help me on how to resolve this problem.
>
> Thanks
>
> On Wednesday, November 9, 2016 at 10:08:58 PM UTC+8, Bruno Nocera Zanette
> wrote:
>>
>> Euler,
>> How are you trying to do this? Which commands?
>> For me, every time i've tried to update a version with "ant update"
>> worked flawlessly. You seem to have compile, installed the files and then
>> using "./bin/dspace database migrate" to do the migration. I've never tried
>> to do it, so i don't know if there's any problem in it.
>>
>> Em qua, 9 de nov de 2016 às 10:55, euler 
>> escreveu:
>>
>>> Dear All,
>>>
>>> I'm on the process of upgrading a dspace instance from 5.4 to 6.0. All
>>> went well but I noticed in my log file this error:
>>>
>>> 2016-11-09 20:36:42,308 FATAL org.dspace.core.Context @ Cannot obtain
>>> the bean which provides a database connection. Check previous entries in
>>> the dspace.log to find why the db failed to initialize.
>>>
>>> and the page is just blank.
>>>
>>> When I run dspace database info, here's the result:
>>>
>>> Database Software: PostgreSQL version 9.5.1
>>> Database Driver: PostgreSQL Native Driver version PostgreSQL
>>> 9.4.1211.jre7
>>> PostgreSQL 'pgcrypto' extension installed/up-to-date? true (version=1.2)
>>>
>>> ++--
>>> +-+-+
>>> | Version| Description  |
>>> Installed on| State   |
>>> ++--
>>> +-+-+
>>> | 1.1| Initial DSpace 1.1 database schema   |
>>>   | >> | 1.2| Upgrade to DSpace 1.2 schema |
>>>   | >> | 1.3| Upgrade to DSpace 1.3 schema |
>>>   | >> | 1.3.9  | Drop constraint for DSpace 1 4 schema|
>>>   | >> | 1.4| Upgrade to DSpace 1.4 schema |
>>>   | >> | 1.5| Upgrade to DSpace 1.5 schema |
>>>   | >> | 1.5.9  | Drop constraint for DSpace 1 6 schema|
>>>   | >> | 1.6| Initializing from DSpace 1.6 database schema |
>>> 2015-09-26 17:28:42 | Success |
>>> | 1.7| Upgrade to DSpace 1.7 schema |
>>> 2015-09-26 17:28:43 | Success |
>>> | 1.8| Upgrade to DSpace 1.8 schema |
>>> 2015-09-26 17:28:46 | Success |
>>> | 3.0| Upgrade to DSpace 3.x schema |
>>> 2015-09-26 17:28:52 | Success |
>>> | 4.0| Upgrade to DSpace 4.x schema |
>>> 2015-09-26 17:28:53 | Success |
>>> | 4.9.2015.10.26 | DS-2818 registry update  |
>>>   | Ignored |
>>> | 5.0.2014.08.08 | DS-1945 Helpdesk Request a Copy  |
>>> 2015-09-26 17:28:53 | Success |
>>> | 5.0.2014.09.25 | DS 1582 Metadata For All Objects drop constraint |
>>> 2015-09-26 17:28:54 | Success |
>>> | 5.0.2014.09.26 | DS-1582 Metadata For All Objects |
>>> 2015-09-26 17:30:31 | Success |
>>> | 5.6.2016.08.23 | DS-3097  |
>>> 2016-11-09 17:59:33 | Success |
>>> | 6.0.2015.03.06 | DS 2701 Dso Uuid Migration   |
>>> 2016-11-09 17:59:34 | Success |
>>> | 6.0.2015.03.07 | DS-2701 Hibernate migration  |
>>>   | Pending |
>>> | 6.0.2015.08.31 | DS 2701 Hibernate Workflow Migration |
>>>   | Pending |
>>> | 6.0.2016.01.03 | DS-3024  |
>>>   | Pending |
>>> | 6.0.2016.01.26 | DS 2188 Remove DBMS Browse Tables|
>>>   | Pending |
>>> | 6.0.2016.02.25 | DS-3004-slow-searching-as-admin  |
>>>   | Pending |
>>> | 6.0.2016.04.01 | DS-1955 Increase embargo reason  |
>>>   | Pending |
>>> | 6.0.2016.04.04 | DS-3086-OAI-Performance-fix

Re: [dspace-tech] Help with setting up virus scan curation task

2016-11-09 Thread Hardy Pottinger
Hi, thanks, port 25 is open on this server, and the test-email script runs
successfully:

dspace/bin/dspace test-email

About to send test email:
 - To: redac...@redacted.edu
 - Subject: DSpace test email
 - Server: 127.0.0.1

Email sent successfully!


On Wed, Nov 9, 2016 at 3:59 AM, Luiz dos Santos  wrote:

> Your antivirus should have a firewall that is blocking the smtp port,
> disable the antivirus firewall or just open the smtp port, the number of
> the smtp port is 25.
>
>
> On Wednesday, November 9, 2016, Hilton Gibson 
> wrote:
>
>> Works great on Ubuntu, see: http://wiki.lib.sun.ac.za
>> /index.php/SUNScholar/Curation
>>
>>
>> *Hilton Gibson*
>> Stellenbosch University Library
>> *http://orcid.org/-0002-2992-208X
>> *
>>
>>
>> On 9 November 2016 at 01:53, Hardy Pottinger 
>> wrote:
>>
>>> Hi, I have a DSpace 5-based pilot project I am setting up on RHEL 6, and
>>> it's mostly working. However, I cannot seem to get the clamd server talking
>>> to DSpace. I have Clamd installed and running on a TCP port bound to
>>> localhost, and the curation task is configured to run as part of the
>>> submission process. However, uploading a file fails no matter what I try.
>>> With virus scanning turned off, I *can* upload a file. When I re-enable it
>>> as part of the submission process, uploading a virus-free file fails, with
>>> just an enigmatic yellow exclamation mark on the upload screen, no error
>>> message. When I attempt to upload an EICAR test file (a well-known way to
>>> test AV software) a similar error condition is shown (yellow exclamation
>>> mark, no errror message). Anyway, I'm hoping this might sound familiar to
>>> someone... this feels like I've missed a configuration somewhere. The
>>> dspace.log file isn't very helpful at the moment. I will try turning on
>>> debug logging to try to get more information. Any other suggestions? Thanks!
>>>
>>> --Hardy
>>>
>>> --
>>> 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.
>>>
>>
>> --
>> 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.
>>
>
>
> --
> Luiz Claudio Santos
> http://luizclaudiosantos.me/
>
>

-- 
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] Need help in database migration from 5x to 6.0

2016-11-09 Thread euler
Hi Bruno,

Running "ant update" worked flawlessly for me too. It's just that automatic 
migration did not worked for me as shown when I run "dspace database info". 
Also, this did not happen in another dspace instance that I'm maintaining. 
The error that caught my attention is "ERROR: could not create unique index 
"epersongroup2eperson_pkey"

So I'm hoping if someone can help me on how to resolve this problem.

Thanks

On Wednesday, November 9, 2016 at 10:08:58 PM UTC+8, Bruno Nocera Zanette 
wrote:
>
> Euler,
> How are you trying to do this? Which commands?
> For me, every time i've tried to update a version with "ant update" worked 
> flawlessly. You seem to have compile, installed the files and then using 
> "./bin/dspace database migrate" to do the migration. I've never tried to do 
> it, so i don't know if there's any problem in it.
>
> Em qua, 9 de nov de 2016 às 10:55, euler  > escreveu:
>
>> Dear All,
>>
>> I'm on the process of upgrading a dspace instance from 5.4 to 6.0. All 
>> went well but I noticed in my log file this error:
>>
>> 2016-11-09 20:36:42,308 FATAL org.dspace.core.Context @ Cannot obtain the 
>> bean which provides a database connection. Check previous entries in the 
>> dspace.log to find why the db failed to initialize.
>>
>> and the page is just blank.
>>
>> When I run dspace database info, here's the result:
>>
>> Database Software: PostgreSQL version 9.5.1
>> Database Driver: PostgreSQL Native Driver version PostgreSQL 9.4.1211.jre7
>> PostgreSQL 'pgcrypto' extension installed/up-to-date? true (version=1.2)
>>
>>
>> ++--+-+-+
>> | Version| Description  | 
>> Installed on| State   |
>>
>> ++--+-+-+
>> | 1.1| Initial DSpace 1.1 database schema   | 
>> | > | 1.2| Upgrade to DSpace 1.2 schema | 
>> | > | 1.3| Upgrade to DSpace 1.3 schema | 
>> | > | 1.3.9  | Drop constraint for DSpace 1 4 schema| 
>> | > | 1.4| Upgrade to DSpace 1.4 schema | 
>> | > | 1.5| Upgrade to DSpace 1.5 schema | 
>> | > | 1.5.9  | Drop constraint for DSpace 1 6 schema| 
>> | > | 1.6| Initializing from DSpace 1.6 database schema | 
>> 2015-09-26 17:28:42 | Success |
>> | 1.7| Upgrade to DSpace 1.7 schema | 
>> 2015-09-26 17:28:43 | Success |
>> | 1.8| Upgrade to DSpace 1.8 schema | 
>> 2015-09-26 17:28:46 | Success |
>> | 3.0| Upgrade to DSpace 3.x schema | 
>> 2015-09-26 17:28:52 | Success |
>> | 4.0| Upgrade to DSpace 4.x schema | 
>> 2015-09-26 17:28:53 | Success |
>> | 4.9.2015.10.26 | DS-2818 registry update  | 
>> | Ignored |
>> | 5.0.2014.08.08 | DS-1945 Helpdesk Request a Copy  | 
>> 2015-09-26 17:28:53 | Success |
>> | 5.0.2014.09.25 | DS 1582 Metadata For All Objects drop constraint | 
>> 2015-09-26 17:28:54 | Success |
>> | 5.0.2014.09.26 | DS-1582 Metadata For All Objects | 
>> 2015-09-26 17:30:31 | Success |
>> | 5.6.2016.08.23 | DS-3097  | 
>> 2016-11-09 17:59:33 | Success |
>> | 6.0.2015.03.06 | DS 2701 Dso Uuid Migration   | 
>> 2016-11-09 17:59:34 | Success |
>> | 6.0.2015.03.07 | DS-2701 Hibernate migration  | 
>> | Pending |
>> | 6.0.2015.08.31 | DS 2701 Hibernate Workflow Migration | 
>> | Pending |
>> | 6.0.2016.01.03 | DS-3024  | 
>> | Pending |
>> | 6.0.2016.01.26 | DS 2188 Remove DBMS Browse Tables| 
>> | Pending |
>> | 6.0.2016.02.25 | DS-3004-slow-searching-as-admin  | 
>> | Pending |
>> | 6.0.2016.04.01 | DS-1955 Increase embargo reason  | 
>> | Pending |
>> | 6.0.2016.04.04 | DS-3086-OAI-Performance-fix  | 
>> | Pending |
>> | 6.0.2016.04.14 | DS-3125-fix-bundle-bitstream-delete-rights   | 
>> | Pending |
>> | 6.0.2016.05.10 | DS-3168-fix-requestitem item id column   | 
>> | Pending |
>> | 6.0.2016.07.21 | DS-2775  | 
>> | Pending |
>> | 6.0.2016.07.26 | DS-3277 fix handle assignment| 
>> | Pending |
>> | 6.0.2016.08.23 |

Re: [dspace-tech] Need help in database migration from 5x to 6.0

2016-11-09 Thread Bruno Nocera Zanette
Euler,
How are you trying to do this? Which commands?
For me, every time i've tried to update a version with "ant update" worked
flawlessly. You seem to have compile, installed the files and then using
"./bin/dspace database migrate" to do the migration. I've never tried to do
it, so i don't know if there's any problem in it.

Em qua, 9 de nov de 2016 às 10:55, euler  escreveu:

> Dear All,
>
> I'm on the process of upgrading a dspace instance from 5.4 to 6.0. All
> went well but I noticed in my log file this error:
>
> 2016-11-09 20:36:42,308 FATAL org.dspace.core.Context @ Cannot obtain the
> bean which provides a database connection. Check previous entries in the
> dspace.log to find why the db failed to initialize.
>
> and the page is just blank.
>
> When I run dspace database info, here's the result:
>
> Database Software: PostgreSQL version 9.5.1
> Database Driver: PostgreSQL Native Driver version PostgreSQL 9.4.1211.jre7
> PostgreSQL 'pgcrypto' extension installed/up-to-date? true (version=1.2)
>
>
> ++--+-+-+
> | Version| Description  |
> Installed on| State   |
>
> ++--+-+-+
> | 1.1| Initial DSpace 1.1 database schema   |
> |  | 1.2| Upgrade to DSpace 1.2 schema |
> |  | 1.3| Upgrade to DSpace 1.3 schema |
> |  | 1.3.9  | Drop constraint for DSpace 1 4 schema|
> |  | 1.4| Upgrade to DSpace 1.4 schema |
> |  | 1.5| Upgrade to DSpace 1.5 schema |
> |  | 1.5.9  | Drop constraint for DSpace 1 6 schema|
> |  | 1.6| Initializing from DSpace 1.6 database schema |
> 2015-09-26 17:28:42 | Success |
> | 1.7| Upgrade to DSpace 1.7 schema |
> 2015-09-26 17:28:43 | Success |
> | 1.8| Upgrade to DSpace 1.8 schema |
> 2015-09-26 17:28:46 | Success |
> | 3.0| Upgrade to DSpace 3.x schema |
> 2015-09-26 17:28:52 | Success |
> | 4.0| Upgrade to DSpace 4.x schema |
> 2015-09-26 17:28:53 | Success |
> | 4.9.2015.10.26 | DS-2818 registry update  |
> | Ignored |
> | 5.0.2014.08.08 | DS-1945 Helpdesk Request a Copy  |
> 2015-09-26 17:28:53 | Success |
> | 5.0.2014.09.25 | DS 1582 Metadata For All Objects drop constraint |
> 2015-09-26 17:28:54 | Success |
> | 5.0.2014.09.26 | DS-1582 Metadata For All Objects |
> 2015-09-26 17:30:31 | Success |
> | 5.6.2016.08.23 | DS-3097  |
> 2016-11-09 17:59:33 | Success |
> | 6.0.2015.03.06 | DS 2701 Dso Uuid Migration   |
> 2016-11-09 17:59:34 | Success |
> | 6.0.2015.03.07 | DS-2701 Hibernate migration  |
> | Pending |
> | 6.0.2015.08.31 | DS 2701 Hibernate Workflow Migration |
> | Pending |
> | 6.0.2016.01.03 | DS-3024  |
> | Pending |
> | 6.0.2016.01.26 | DS 2188 Remove DBMS Browse Tables|
> | Pending |
> | 6.0.2016.02.25 | DS-3004-slow-searching-as-admin  |
> | Pending |
> | 6.0.2016.04.01 | DS-1955 Increase embargo reason  |
> | Pending |
> | 6.0.2016.04.04 | DS-3086-OAI-Performance-fix  |
> | Pending |
> | 6.0.2016.04.14 | DS-3125-fix-bundle-bitstream-delete-rights   |
> | Pending |
> | 6.0.2016.05.10 | DS-3168-fix-requestitem item id column   |
> | Pending |
> | 6.0.2016.07.21 | DS-2775  |
> | Pending |
> | 6.0.2016.07.26 | DS-3277 fix handle assignment|
> | Pending |
> | 6.0.2016.08.23 | DS-3097  |
> | Pending |
>
> ++--+-+-+
>
> So I tried to run dspace database migrate and I received this error:
>
> Migrating database to latest version... (Check dspace logs for details)
> Migration exception:
> java.sql.SQLException: Flyway migration error occurred
> at
> org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:666)
> at
> org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:574)
> at
> org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:222)
> at sun.reflect.NativeMeth

[dspace-tech] Re: add new field on request form

2016-11-09 Thread euler
Hi,

Are you trying to add fields from request copy form like in this example 
item?

http://repository.seafdec.org.ph/handle/10862/1966/restricted-resource?bitstreamId=6527

Adding these fields is not trivial (for me). I think you would have to edit 
these files:

dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/ItemRequestForm.java
dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/SendItemRequestAction.java
dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/SendItemRequestAction.java
 

You may also have to edit dspace-xmlui/src/main/webapp/i18n/messages.xml if 
you don't want to hard code the names or titles of your fields.

Here's the link to the commit that I applied to our repository: 
https://github.com/eulereadgbe/DSpace/commit/3298c98e6beaa532a6eebb6e1bd13f096ebdcec6

I also added fields in the feedback form in that commit and also add an 
option to request a copy for items that don't have full text.

Hope this helps.

Regards,
euler

On Sunday, November 6, 2016 at 4:51:39 PM UTC+8, NAUSS Repository wrote:
>
> i need  to add new field on request form dspace 5.5 with Mirage2  
> please help
>

-- 
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: Help with setting up virus scan curation task

2016-11-09 Thread Mark Wood
It's trying to send an email (UIUtil.sendAlert()), and it looks like there 
is something funny about the current user's EPerson, or at least the 
in-memory copy of it.  This code path definitely needs more logging.

-- 
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] Need help in database migration from 5x to 6.0

2016-11-09 Thread euler
Dear All,

I'm on the process of upgrading a dspace instance from 5.4 to 6.0. All went 
well but I noticed in my log file this error:

2016-11-09 20:36:42,308 FATAL org.dspace.core.Context @ Cannot obtain the 
bean which provides a database connection. Check previous entries in the 
dspace.log to find why the db failed to initialize.

and the page is just blank.

When I run dspace database info, here's the result:

Database Software: PostgreSQL version 9.5.1
Database Driver: PostgreSQL Native Driver version PostgreSQL 9.4.1211.jre7
PostgreSQL 'pgcrypto' extension installed/up-to-date? true (version=1.2)

++--+-+-+
| Version| Description  | 
Installed on| State   |
++--+-+-+
| 1.1| Initial DSpace 1.1 database schema   |   
  | https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Help with setting up virus scan curation task

2016-11-09 Thread Luiz dos Santos
Your antivirus should have a firewall that is blocking the smtp port,
disable the antivirus firewall or just open the smtp port, the number of
the smtp port is 25.

On Wednesday, November 9, 2016, Hilton Gibson 
wrote:

> Works great on Ubuntu, see: http://wiki.lib.sun.ac.
> za/index.php/SUNScholar/Curation
>
>
> *Hilton Gibson*
> Stellenbosch University Library
> *http://orcid.org/-0002-2992-208X
> *
>
>
> On 9 November 2016 at 01:53, Hardy Pottinger  > wrote:
>
>> Hi, I have a DSpace 5-based pilot project I am setting up on RHEL 6, and
>> it's mostly working. However, I cannot seem to get the clamd server talking
>> to DSpace. I have Clamd installed and running on a TCP port bound to
>> localhost, and the curation task is configured to run as part of the
>> submission process. However, uploading a file fails no matter what I try.
>> With virus scanning turned off, I *can* upload a file. When I re-enable it
>> as part of the submission process, uploading a virus-free file fails, with
>> just an enigmatic yellow exclamation mark on the upload screen, no error
>> message. When I attempt to upload an EICAR test file (a well-known way to
>> test AV software) a similar error condition is shown (yellow exclamation
>> mark, no errror message). Anyway, I'm hoping this might sound familiar to
>> someone... this feels like I've missed a configuration somewhere. The
>> dspace.log file isn't very helpful at the moment. I will try turning on
>> debug logging to try to get more information. Any other suggestions? Thanks!
>>
>> --Hardy
>>
>> --
>> 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.
>>
>
> --
> 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.
>


-- 
Luiz Claudio Santos
http://luizclaudiosantos.me/

-- 
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] Help with setting up virus scan curation task

2016-11-09 Thread Hilton Gibson
Works great on Ubuntu, see:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Curation


*Hilton Gibson*
Stellenbosch University Library
*http://orcid.org/-0002-2992-208X
*


On 9 November 2016 at 01:53, Hardy Pottinger 
wrote:

> Hi, I have a DSpace 5-based pilot project I am setting up on RHEL 6, and
> it's mostly working. However, I cannot seem to get the clamd server talking
> to DSpace. I have Clamd installed and running on a TCP port bound to
> localhost, and the curation task is configured to run as part of the
> submission process. However, uploading a file fails no matter what I try.
> With virus scanning turned off, I *can* upload a file. When I re-enable it
> as part of the submission process, uploading a virus-free file fails, with
> just an enigmatic yellow exclamation mark on the upload screen, no error
> message. When I attempt to upload an EICAR test file (a well-known way to
> test AV software) a similar error condition is shown (yellow exclamation
> mark, no errror message). Anyway, I'm hoping this might sound familiar to
> someone... this feels like I've missed a configuration somewhere. The
> dspace.log file isn't very helpful at the moment. I will try turning on
> debug logging to try to get more information. Any other suggestions? Thanks!
>
> --Hardy
>
> --
> 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.
>

-- 
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] Submission made via REST API does not trigger collection workflow approval process.

2016-11-09 Thread Martin Walk
Unfortunately yes. But you can fix it by applying Emilio Lorenzo's patch 
that he posted to: https://jira.duraspace.org/browse/DS-3281
I am yet unfamiliar with the procedures necessary for a fix to get included 
in DSpace. DSpace 7 will get an all new REST API, where this will be 
changed anyway, I suppose.

On Wednesday, November 9, 2016 at 4:40:26 AM UTC+1, Javier Távara wrote:
>
> Hello.
> Is this the same behaviour in DSpace 5.5? Are REST submissions bypassing 
> the collection's workflow?
>
> El miércoles, 3 de agosto de 2016, 11:42:58 (UTC-5), Emilio Lorenzo 
> escribió:
>>
>> Hi Martin, 
>>
>> Yes we detected that situation in some instances of Dspace 5.  I have 
>> just submitted a JIRA issue  https://jira.duraspace.org/browse/DS-3281  
>> and tomorrow we expect to upload the changes we made to include the 
>> workflow.   
>>
>> Hope this helps.
>>
>> Best regards
>>
>> Emilio 
>>
>>
>>
>>
>>
>> El 01/08/2016 a las 15:20, Martin Walk escribió:
>>
>> Hello, 
>>
>> I investigated adding items via the REST API and noticed that they are 
>> immediately added to the archive, bypassing the collection's workflow.
>> Is there a configuration to change this behaviour?
>> If not, are others aware of the fact and are there already efforts to 
>> change the situation?
>>
>> Best regards, Martin.
>>
>>
>>
>> -- 
>> 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 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] Error deleting collection on DSpace 4.3

2016-11-09 Thread Claudia Jürgen

Hi Lewatle,

see
https://jira.duraspace.org/browse/DS-1920

Hope this helps

CLaudia Jürgen


Am 09.11.2016 um 08:30 schrieb Lewatle Johannes Phaladi:

Dear Team,

I am getting the following error when deleting collection :

org.postgresql.util.PSQLException: ERROR: update or delete on table "item"
violates foreign key constraint "bi_2_dmap_item_id_fkey" on table
"bi_2_dmap"
Detail: Key (item_id)=(5330) is still referenced from table "bi_2_dmap".

Regards,
Lewatle



--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
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] problem user dspace

2016-11-09 Thread hoska . 18
thank ypu so match for your help
i have set the dspace's configuration mode to 400 and tomwat8 as owner of 
dspace's installation directory . it works fine.

but i have an other problem ; the server is very slow.
the server has 4Gb memory .
the java_opts in /etc/default/tomcat8 is :
JAVA_OPTS="-Djava.awt.headless=true -Xmx1024M -Xms256M 
-Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC"

how I can solve this. 

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.