Re: [Dspace-tech] : Upload bitstream problem

2015-02-18 Thread helix84
Make sure that your [dspace]/assetstore/ directory has write access for the
user your servlet container (Tomcat) runs as.

Assuming that user is "dspace" with group "dspace", you would run
chown -R dspace:dspace [dspace]/assetstore/
chmod -R u+rw [dspace]/assetstore/


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] OAI Import Error

2015-02-18 Thread Daan Lessing

Good morning, 


We are using DSpace 4.2 


When running the following command  dspace-run/bin/dspace oai import -c  to 
import SOLR Indexes it runs 100% until I get the following error; 


4800 items imported so far... 
4900 items imported so far... 
5000 items imported so far... 
5100 items imported so far... 
5200 items imported so far... 
5300 items imported so far... 
5400 items imported so far... 
5500 items imported so far... 
java.lang.NullPointerException 
at org.dspace.xoai.app.XOAI.index(XOAI.java:275) 
at org.dspace.xoai.app.XOAI.index(XOAI.java:229) 
at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:210) 
at org.dspace.xoai.app.XOAI.index(XOAI.java:128) 
at org.dspace.xoai.app.XOAI.main(XOAI.java:439) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
at java.lang.reflect.Method.invoke(Method.java:606) 
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) 
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) 


Please can someone help with a solution on this problem. 


Regards, 
Daan
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] OAI Import Error

2015-02-18 Thread Adan Roman

Good morning

It semms that you have an item without submitter (or with an incorrect
one).
Check your database, table item, searching for it.

select * from item where submitter_id not in (select eperson_id from
eperson) or submitter_id is null

good luck


Good morning,


We are using DSpace 4.2


When running the following command *dspace-run/bin/dspace oai import
-c *to import SOLR Indexes it runs 100% until I get the following error;


4800 items imported so far...

4900 items imported so far...

5000 items imported so far...

5100 items imported so far...

5200 items imported so far...

5300 items imported so far...

5400 items imported so far...

5500 items imported so far...

java.lang.NullPointerException

at org.dspace.xoai.app.XOAI.index(XOAI.java:275)

at org.dspace.xoai.app.XOAI.index(XOAI.java:229)

at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:210)

at org.dspace.xoai.app.XOAI.index(XOAI.java:128)

at org.dspace.xoai.app.XOAI.main(XOAI.java:439)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)


at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


at java.lang.reflect.Method.invoke(Method.java:606)

at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)


at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)


Please can someone help with a solution on this problem.


Regards,

Daan



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--



---
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
http://www.avast.com
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] OAI Import Error

2015-02-18 Thread Hilton Gibson
Hi Daan

Looking into it, I see that a scheduled job is not in the recommended
crontab.
https://wiki.duraspace.org/display/DSDOC4x/OAI+2.0+Server#OAI2.0Server-UsingSolr
https://wiki.duraspace.org/display/DSDOC4x/Scheduled+Tasks+via+Cron
Maybe the DSpace docs need updating.
I am going to add the "compile-items" task to my docs:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Daily_Admin/4.X

A while back during a particular "load shedding" my OAI index became
corrupt.
So I rebuilt it with:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Harvesting/4.X#If_using_the_SOLR_DB_.28solr.29

Hope this helps.

Cheers

hg


*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 18 February 2015 at 10:23, Daan Lessing  wrote:

>  Good morning,
>
>
>  We are using DSpace 4.2
>
>
>  When running the following command  *dspace-run/bin/dspace oai import
> -c  *to import SOLR Indexes it runs 100% until I get the following error;
>
>
>  4800 items imported so far...
>
> 4900 items imported so far...
>
> 5000 items imported so far...
>
> 5100 items imported so far...
>
> 5200 items imported so far...
>
> 5300 items imported so far...
>
> 5400 items imported so far...
>
> 5500 items imported so far...
>
> java.lang.NullPointerException
>
> at org.dspace.xoai.app.XOAI.index(XOAI.java:275)
>
> at org.dspace.xoai.app.XOAI.index(XOAI.java:229)
>
> at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:210)
>
> at org.dspace.xoai.app.XOAI.index(XOAI.java:128)
>
> at org.dspace.xoai.app.XOAI.main(XOAI.java:439)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
>
> at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
>
>
>  Please can someone help with a solution on this problem.
>
>
>  Regards,
>
> Daan
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] OAI Import Error

2015-02-18 Thread helix84
https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L275

The problem is that the item you're indexing has a submitter with
empty email field. You need to find out which item it is and correct
the submitter's email.

Run the import again and in another terminal run:
tail -f /dspace/log/solr.log

You'll see lines like this one. The last one you'll see (e.g.
123456789/2611) will be the one with the problem:

org.apache.solr.update.processor.LogUpdateProcessor @ [oai]
webapp=/solr path=/update params={wt=javabin&version=2}
{add=[123456789/2611 (1493435116024758272)]} 0 2

If you have multiple submitters without an email, you'll need to
repeat the process.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [DSpace-tech]: user profile

2015-02-18 Thread Nada Abo-Eita
Dears,

we are experiencing problem with populating e-person profile. Once the user
logged in, only email address is filled. OTH, for the others (First name,
Last name, Telephone Number) are empty. ( attached profile example )

So far this is how my authentication-ldap.cfg looks like:

autoregister = true

provider_url = ldap://ldap.qu.edu.qa:389/

#object context

object_context = ou=people,o=qu.edu.qa,o=cp   # my ldap server DN

#search context

search_context = ou=people,o=qu.edu.qa,o=cp

email_field = mail

surname_field = sn

givenname_field = givenName

phone_field = telephoneNumber


Can someone help me figuring out Whats missing here? Do I need to configure
this somewhere else?
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] [DSpace-tech]: user profile

2015-02-18 Thread Hilton Gibson
Hi

Can you supply a sample LDAP account attributes?
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management#Conduct_LDAP_search

I presume this is about: http://qspace.qu.edu.qa

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 18 February 2015 at 11:15, Nada Abo-Eita  wrote:

>
> Dears,
>
> we are experiencing problem with populating e-person profile. Once the
> user logged in, only email address is filled. OTH, for the others (First
> name, Last name, Telephone Number) are empty. ( attached profile example )
>
> So far this is how my authentication-ldap.cfg looks like:
>
> autoregister = true
>
> provider_url = ldap://ldap.qu.edu.qa:389/
>
> #object context
>
> object_context = ou=people,o=qu.edu.qa,o=cp   # my ldap server DN
>
> #search context
>
> search_context = ou=people,o=qu.edu.qa,o=cp
>
> email_field = mail
>
> surname_field = sn
>
> givenname_field = givenName
>
> phone_field = telephoneNumber
>
>
> Can someone help me figuring out Whats missing here? Do I need to
> configure this somewhere else?
>
>
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new setup(due to harddisk crash)

2015-02-18 Thread Tim Donohue
Hi,

The log files you sent show a large number of database errors (at the 
beginning of the log) which look like this:

org.postgresql.util.PSQLException: Connection refused. Check that the 
hostname and port are correct and that the postmaster is accepting 
TCP/IP connections.

This seems to imply that your DSpace instance cannot connect with the 
database at all, which could cause all sorts of problems.

Do either of these commands return errors (either in the results or in 
the log)?

This tests the database connection:
[dspace]/bin/dspace database test

This provides info on the database contents:
[dspace]/bin/dspace database info

As for your questions, when restoring a database, you will need to 
recreate the database and possibly the 'dspace' database user (if it 
doesn't exist yet). Those are both needed prior to restoring the database.

- Tim

On 2/17/2015 10:58 PM, इन्‍दु भूषण Indu Bhushan wrote:
> Dear Sir,
> Thank for reply I was on leave yesterday.
> I have the backup file from 1.8.2 version. I will retry to restore
> database from that file.
> --
> One more doubt if i have retoring database in new version & full fresh
> intallation or in new machine the following two prcocess in needed or not.
> Create a dspace database a postgres user,
>   $/opt/postgres/9.0/bin/createuser -U postgres -d -A -P dspace [Enter a
> password for the DSpace database]
>   $/opt/postgres/9.0/bin/createdb -U dspace -E UNICODE dspace
> -
> THEN
> restore must be with as postgres user login
> $ psql -d dspace -f  dspace.sql  THEN
> to reset the primary key generation sequences (as dspace user)
> $psql -U dspace -f/dspace/etc/update-sequences.sql
> Then database schema migration as a dspace user.
> 
>
> Please clear my doubt and process of restoring data and schema migration.
>
> Dspace log file is attached for your reference.
>
> Regrads
>
> Indu bhushan
>
>
> On Tue, Feb 17, 2015 at 9:11 PM, Tim Donohue  > wrote:
>
>
> Could you also check to see what errors are reported in your DSpace
> log files?  Those files should be located at:
>
> [dspace.dir]/log/dspace.log.[__date]
>
> Where "dspace.dir" is configured in your dspace.cfg file.
>
> Based on what you've reported, it definitely looks like the database
> migration process has gotten "confused". If it was halted
> unexpectedly due to a harddrive crash, it's possible that part of a
> migration was not completely successfully.  But, the underlying
> errors (in the logs) should give us more information.
>
> Another question: Do you have a backup of your database from before
> you ran *any* migrations?  According to your "dspace database info"
> command, it looks like the "my-dspace-backup.sql" file already
> included several migrations that were run on "2015-02-06 00:23:17"
> (specifically a 1.7 and 1.8 migration).  Do you have a backup from
> prior to Feb 6, 2015 which had no migrations run on it yet?  It
> might be worth trying the migration again from an older backup (if
> it is available).
>
> - Tim
>
>
> On 2/16/2015 5:58 AM, इन्‍दु भूषण Indu Bhushan wrote:
>
>
>
> Apache Maven *3.0.5* , *Java version: 1.8.0_31, Apache Ant(TM)
> version
> 1.8.2*,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5
> Dear Sir
> After sucessfully installing dspace when i restored backup.
> dspace url
> showing "HTTP Status 404 - /jspui" I am unable to update database
> schema.  I restored backup as a postgres user(psql dspace <
> my-dspace-backup.sql) and updated database schema as dspace user)
> Errors are attached below. Thanks in advance.
> Please reply.
> * [postgres*@sircdl root]$ psql -U dspace -f
>
> 
> /opt/dspace-5.0-src-release/__dspace/etc/postgres/update-__sequences.sql(as
> postgres user)
> 
> psql:/opt/dspace-5.0-src-__release/dspace/etc/postgres/__update-sequences.sql:87:
> ERROR:  relation "webapp" does not exist
> LINE 1: SELECT setval('webapp_seq', max(webapp_id)) FROM webapp;
>^
> 
> psql:/opt/dspace-5.0-src-__release/dspace/etc/postgres/__update-sequences.sql:88:
> ERROR:  relation "requestitem" does not exist
> LINE 1: ...tval('requestitem_seq', max(requestitem_id)) FROM
> requestite...
> [dspace@sircdl ~]$ /opt/dspace/bin/dspace database migrate
>
> Database URL: jdbc:postgresql://localhost:__5432/dspace
> Migrating database to latest version... (Check logs for details)
> Done.
> [dspace@sircdl ~]$ /opt/dspace/bin/dspace database info
>
> Database URL: jdbc:postgresql://loc

Re: [Dspace-tech] [Dspace-general] Customizing DSpace

2015-02-18 Thread Hilton Gibson
Hi Layale

See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M1/Page_Content#Customise_the_front_page_introduction

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 18 February 2015 at 16:38, Layale Bassil  wrote:

> Hello Hilton,
>
>
>
> Thank you for your prompt response. However I would like to know where I
> can edit this specific section:
>
>
>
>
>
> Your help is very much appreciated.
>
>
>
> Regards.
>
>
>
> *From:* Hilton Gibson [mailto:hilton.gib...@gmail.com]
> *Sent:* Tuesday, February 17, 2015 4:47 PM
> *To:* Layale Bassil
> *Cc:* dspace-tech@lists.sourceforge.net;
> dspace-gene...@lists.sourceforge.net
> *Subject:* Re: [Dspace-general] Customizing DSpace
>
>
>
> Perhaps this will help:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M1
>
>
>
>
> *Hilton Gibson*
>
> Ubuntu Linux Systems Administrator
>
> JS Gericke Library
>
> Room 1025C
>
> Stellenbosch University
>
> Private Bag X5036
>
> Stellenbosch
>
> 7599
>
> South Africa
>
>
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>
>
>
> On 17 February 2015 at 16:43, Layale Bassil  wrote:
>
> Dear All,
>
>
>
> I have Dspace 4.2 installed and using the xmlui interface. I tried to do
> the work I used to do with my older 1.8.2 version but the changes are not
> taking effect. I need to change the label “Dspace Home” at the home page, I
> edit the messages.xml file found inside the i18n folder under:
> /data/webapps/xmlui/i18n.
>
>
>
> I restart tomcat, no changes are taking effect. Where should I make my
> changes? Do I need to rebuild DSpace? And how can I know what theme Dspace
> is using?
>
>
>
> Please advise,
>
> Many thanks.
>
>
>
> Regards.
>
>
>
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> ___
> Dspace-general mailing list
> dspace-gene...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-general
>
>
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new machine

2015-02-18 Thread Tim Donohue
Hi,

In these DSpace logs, I'm seeing this same error over and over again:

"2015-02-17 21:41:26,956 ERROR org.dspace.storage.rdbms.DatabaseManager 
@ SQL getDataSource Error -
org.postgresql.util.PSQLException: FATAL: database "dspace" does not exist"

This error states that your database named "dspace" doesn't even exist, 
which is odd.

In any case, regarding this other error:

"Error attempting to update Bitstream Format and/or Metadata Registries
org.postgresql.util.PSQLException: ERROR: null value in column 
"bitstream_format_id" violates not-null constraint"

This error implies that in your "bitstreamformatregistry" table, at 
least one row has a value of "null" in the "bitstream_format_id" column. 
"null" is not a valid "bitstream_format_id" value, so DSpace doesn't 
know how to continue. You may want to inspect the values in your 
"bitstream_format_registry" table to see if there are any null values in 
there:

SELECT * FROM bitstreamformatregistry;

Finally, another question. By any chance do you have multiple DSpace 
databases in the same PostgreSQL database (perhaps under different 
schemas?).  The behavior in your logs seems very odd. At one moment, 
DSpace cannot locate the database (FATAL: database "dspace" does not 
exist"), and then later it seems like it can locate the database, but 
then the "bitstreamformatregistry" table has null values. I'm just 
trying to determine why this would be?

- Tim


On 2/18/2015 1:08 AM, इन्‍दु भूषण Indu Bhushan wrote:
> Apache Maven 3.0.5 , Java version: 1.8.0_31, Apache Ant(TM) version
> 1.8.2 ,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5
>
> Dear Sir
>
> Again I restored dspace.sql after dropdb. but as per status of info
> command it schema is not updating to to dspace 5.  and also some error
> are shown in tomcat running screen when accessed dspace url.
> [dspace@sircdl root]$ ERROR:  null value in column "bitstream_format_id"
> violates not-null constraint
> STATEMENT:  INSERT INTO bitstreamformatregistry (
> short_description,internal,description,bitstream_format_id,mimetype,support_level)
> VALUES ( $1,$2,$3,$4,$5,$6) RETURNING null
> ERROR:  there is no unique constraint matching given keys for referenced
> table "item"
> STATEMENT:  CREATE TABLE versionitem
>  (
>versionitem_id INTEGER NOT NULL PRIMARY KEY,
>item_id INTEGER REFERENCES Item(item_id),
>version_number INTEGER,
>eperson_id INTEGER REFERENCES EPerson(eperson_id),
>version_date TIMESTAMP,
>version_summary VARCHAR(255),
>versionhistory_id INTEGER REFERENCES
> VersionHistory(versionhistory_id)
>  )
> LOG:  unexpected EOF on client connection
> LOG:  unexpected EOF on client connection
> LOG:  unexpected EOF on client connection
> LOG:  unexpected EOF on client connection
> LOG:  unexpected EOF on client connection
>
> For more details all logs from dspace and tomcat are attached herewith.
>
> Pls reply soon
>
> With regards
>
> Indu Bhushan
>
> On Tue, Feb 17, 2015 at 9:11 PM, Tim Donohue  > wrote:
>
>
> Could you also check to see what errors are reported in your DSpace
> log files?  Those files should be located at:
>
> [dspace.dir]/log/dspace.log.[__date]
>
> Where "dspace.dir" is configured in your dspace.cfg file.
>
> Based on what you've reported, it definitely looks like the database
> migration process has gotten "confused". If it was halted
> unexpectedly due to a harddrive crash, it's possible that part of a
> migration was not completely successfully.  But, the underlying
> errors (in the logs) should give us more information.
>
> Another question: Do you have a backup of your database from before
> you ran *any* migrations?  According to your "dspace database info"
> command, it looks like the "my-dspace-backup.sql" file already
> included several migrations that were run on "2015-02-06 00:23:17"
> (specifically a 1.7 and 1.8 migration).  Do you have a backup from
> prior to Feb 6, 2015 which had no migrations run on it yet?  It
> might be worth trying the migration again from an older backup (if
> it is available).
>
> - Tim
>
>
> On 2/16/2015 5:58 AM, इन्‍दु भूषण Indu Bhushan wrote:
>
>
>
> Apache Maven *3.0.5* , *Java version: 1.8.0_31, Apache Ant(TM)
> version
> 1.8.2*,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5
> Dear Sir
> After sucessfully installing dspace when i restored backup.
> dspace url
> showing "HTTP Status 404 - /jspui" I am unable to update database
> schema.  I restored backup as a postgres user(psql dspace <
> my-dspace-backup.sql) and updated database schema as dspace user)
> Errors are attached below. Thanks in advance.
> Please reply.
> * [postgres*@sircdl root]$ psql -U dspace -f
>
> 
> /opt/dspace-5.0-src-release/__dspace/etc/postgres/update-__seque

Re: [Dspace-tech] [Dspace-general] Customizing DSpace

2015-02-18 Thread Layale Bassil
Hello Hilton,

Thank you for your prompt response. However I would like to know where I can 
edit this specific section:

[cid:image001.png@01D04B99.5DFCEA40]

Your help is very much appreciated.

Regards.

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: Tuesday, February 17, 2015 4:47 PM
To: Layale Bassil
Cc: dspace-tech@lists.sourceforge.net; dspace-gene...@lists.sourceforge.net
Subject: Re: [Dspace-general] Customizing DSpace

Perhaps this will help: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M1


Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 17 February 2015 at 16:43, Layale Bassil 
mailto:l...@aub.edu.lb>> wrote:
Dear All,

I have Dspace 4.2 installed and using the xmlui interface. I tried to do the 
work I used to do with my older 1.8.2 version but the changes are not taking 
effect. I need to change the label “Dspace Home” at the home page, I edit the 
messages.xml file found inside the i18n folder under: /data/webapps/xmlui/i18n.

I restart tomcat, no changes are taking effect. Where should I make my changes? 
Do I need to rebuild DSpace? And how can I know what theme Dspace is using?

Please advise,
Many thanks.

Regards.


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
___
Dspace-general mailing list
dspace-gene...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-general

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] maven error

2015-02-18 Thread Lewatle Phaladi
Hi All,

I am testing dspace-5 on test server, when I run $ mvn -U clean package I get 
the following errors, any suggestions is welcome.

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.dspace:dspace:5.0 
(/dspace/src/dspace-5.0-src-release/dspace/pom.xml) has 1 error
[ERROR] 
'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is ${toolsjar} @ 
org.dspace:dspace-parent:5.0, /dspace/src/dspace-5.0-src-release/pom.xml, line 
176, column 28
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


Regards,
Lewatle



This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. 

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Encryption, APIs in DSpace

2015-02-18 Thread Vikram .
The documents are related to allegations of  corruption in public offices. The 
requirements are such that only authorised users may view the documents. Even 
those with administrative access, such as DBAs (for metadata stores) and Sys 
Admins(assetstores) should be able to access the documents.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Community List

2015-02-18 Thread Fernando Casas Osorio
Regards,
Can someone help me telling me as I set "Communities & Collections" with drill 
drown?I hope these appear as tree but not open at all levels
As I can configure DSpace to the list of communities and collections appear 
grouped as in this DSpace?
http://dspace.mit.edu/community-list
Thanks for your help.
Fernando Casas Osorio --
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Determining the approach for hosting 10+ Items on DSpace

2015-02-18 Thread Iyer M
Hello Experts,

My question is to all experts running DSpace instances in various
scenarios. We are looking at environment where we can populate more than 10
million of items having approx. 400 Images per item with full text.

What should be approach in terms of hardware sizing and implementing
application for maintaining performance of Solution while populating so
much data and providing access on open internet.

Also, do we have any benchmarking for DSpace?

Looking forward for inputs on maintaining this scale of repository.

Thanks,
Iyer
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Dspace 5 with Tomcat 8 on OSX

2015-02-18 Thread Daniel Sifton

Hi,

I'm trying to set up a sandbox with Dspace 5 on OSX [yosemite] from Peter 
Dietz’ great instructions at 
https://wiki.duraspace.org/pages/viewpage.action?pageId=55904164.

I can't seem to get Tomcat 8 started (and in truth I don't know much about 
Tomcat].

I've attached a bit of the catalina.out file in the hopes that someone could 
share some wisdom with me.

Thank you,

Dan

---


DSpace version:  5.1-SNAPSHOT
  SCM revision:  eabdc610a0d87df9e4228ba9c76ce26c004cd44f
SCM branch:  dspace-5_x
OS:  Mac OS X(x86_64) version 10.10.2
  Applications:
 Discovery:  enabled.
   JRE:  Oracle Corporation version 1.8.0_31
   Ant version:  Apache Ant(TM) version 1.9.4 compiled on April 29 2014
 Maven version:  3.2.5
   DSpace home:  /dspace





catalina.out
Description: catalina.out
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Dspace 5 with Tomcat 8 on OSX

2015-02-18 Thread helix84
Hi Daniel, that's just a very generic error in the log. Can you attach
the relevant part of dspace.log?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette