Re: [dspace-tech] Re: Export collection into CSV need add Has file field

2017-09-27 Thread Terry Brady
The REST reports in DSpace 6 allow you to filter for items with/without a
bitstream.

These reports allow you to generate CSV files that can perform metadata
updates.

See
https://wiki.duraspace.org/display/DSDOC6x/REST+Based+Quality+Control+Reports

You can test the reports here:
https://demo.dspace.org/rest/static/reports/query.html

On Wed, Sep 27, 2017 at 2:10 AM, Bhavesh Patel 
wrote:

> Thank you Bob for your mail.
>
> Is there any way to take report from directly from database (executing
> select query) for particular collection?
>
> Regards,
> Bhavesh
>
> Thanks & Regards,
> *Bhavesh R. Patel*
>
> *"Learning is a never ending process"*
>
>
> On Tue, Sep 26, 2017 at 5:20 AM, Bob Dougherty 
> wrote:
>
>> Bhavesh,
>>
>> There is no metadata field indicating whether an item has any uploaded
>> files. So you can't expect to get that information in the metadata export.
>>
>> You can use the API to get information about files (bitstreams), but that
>> is not nearly as easy as downloading a CSV file.
>>
>> -Bob
>>
>>
>> On Monday, September 25, 2017 at 7:03:57 AM UTC-4, Bhavesh Patel wrote:
>>>
>>> Dear All,
>>>
>>> This email regarding to the Export Metadata facility feature from User
>>> Interface - Administrator panel in XMLUI.
>>>
>>> [image: Inline image 1]
>>>
>>> Once we export into CSV it will not showing the Has file (If file is
>>> uploaded) field, Is there any way to add this field into the CSV file?
>>>
>>> DSpace: 6.0
>>> Interface: XMLUI
>>> OS: CentOS 7 - 64-bit
>>>
>>>
>>> Thanks & Regards,
>>> *Bhavesh R. Patel*
>>>
>>> *"Learning is a never ending process"*
>>>
>>> --
>> 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.
>



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

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: dspace install question

2017-09-27 Thread Mark H. Wood
On Wednesday, September 27, 2017 at 9:59:38 AM UTC-4, Ηλιας Χρηστου wrote:
>
>
>1. 
>
>*DSpace Directory:* Create the directory for the DSpace installation 
>(i.e. [dspace]). As *root* (or a user with appropriate permissions), 
>run:
>mkdir [dspace]
>chown dspace [dspace]
>
>(Assuming the *dspace* UNIX username.)
>2. 
>
>*Build the Installation Package:* As the *dspace *UNIX user, generate 
>the DSpace installation package.
>cd [dspace-source]
>mvn package
> should have make 2 directories? one [space] and one [dspace-source]?
>
>
Yes.  DSpace is unpacked in the [dspace-source] directory and then built 
there using Maven ("mvn").  Then it is installed, using Ant, into the 
[dspace] directory.  The running instance of DSpace (when you have one) is 
in the directory [dspace] and the source files that create it are in 
[dspace-source].

-- 
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] Collection with no "Delete"/"Create" option on role

2017-09-27 Thread Alex Fletcher
We have a collection in a weird state of being where, when you go to edit 
the collection and the "Assign Roles" tab, the "Default read access" entry 
reads:

This collection uses custom default access settings.

All of the other entries have "Delete" (where a role exists) or "Create" 
(where no role exists).

How can this be corrected? I looked in the database and can't obviously see 
how the "read" authorization is actually tied to a collection (I can see 
all of the other such things, but not that one).

Any advice as to where to look or what to do?

Alex

-- 
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: dspace error

2017-09-27 Thread Mark H. Wood
On Wednesday, September 27, 2017 at 6:46:25 AM UTC-4, Ηλιας Χρηστου wrote:
>
>  [java] 2017-09-26 17:37:32,924 WARN  
> org.apache.commons.configuration.DefaultConfigurationBuilder @ Internal 
> error
>  [java] org.apache.commons.configuration.ConfigurationException: 
> Cannot locate configuration source local.cfg
>

This is probably the source of the problem.  Your DBMS connection 
information is probably in local.cfg, and if DSpace can't find that, it 
uses default information that may be incorrect at your site.
 

>
> [java] 2017-09-26 17:37:40,647 ERROR 
> org.dspace.storage.rdbms.DatabaseUtils @ Unable to setup Flyway against 
> DSpace database
>  [java] java.sql.SQLException: Cannot create PoolableConnectionFactory 
> (Connection to localhost:5432 refused. Check that the hostname and port are 
> correct and that the postmaster is accepting TCP/IP connections.
>

This is the actual failure:  DSpace could not connect to the database.  
"Connection refused" suggests that your DBMS is not listening on localhost, 
is not listening on port 5432, or is on some other host.  As the message 
suggests, it would be good to check your configuration.

-- 
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] Embargo items in repository

2017-09-27 Thread Rohit Patil
We are running DSpace 5.6 and we would like to know what are the best 
methods to embargo 
1. item bitstreams until specific date
2. entire item (metadata and item bitstreams) until specific date

The bitstreams/items we embargo are critical (patents being applied or soon 
submitted to journal) and i wanted to make sure the method is safe and will 
not make anything public until embargo date. I guess the last option would 
be to not upload them but i wanted to check what method is followed by 
other users for hiding critical data.

Please suggest.




-- 
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] uploaded directory

2017-09-27 Thread Monika Mevenkamp
I see there are quite a few BIG files in my instances upload directory 
some of them are rather old 

are these safe to remove ? 
is there an explanation why these are hanging around ? 

Monika

drwxr-xr-x 2 dspace dspace   6 May 12 11:04 340-cws_files/
drwxr-xr-x 2 dspace dspace  78 Jul 27 14:06 
3618532508-milyway_vodka_archivetargz/
drwxr-xr-x 2 dspace dspace   40960 May  1 16:42 
4291104211-2011-06-07_carnegie_dam1zip/
drwxr-xr-x 2 dspace dspace   61440 Oct 21  2016 
4778728039-2011-06-02_path_grass6zip/
drwxr-xr-x 2 dspace dspace   6 Feb 14  2017 563709-book8641pdf/
drwxr-xr-x 2 dspace dspace   6 Feb 14  2017 563709-book8642pdf/
drwxr-xr-x 2 dspace dspace   6 Feb 14  2017 563709-book864pdf/
drwxr-xr-x 2 dspace dspace   32768 Nov  4  2016 
7143703068-2011-06-02_path_grass6avi/


> du -s -hm 
0   /dspace/upload/340-cws_files
6144/dspace/upload/3618532508-milyway_vodka_archivetargz
1570888 /dspace/upload/4291104211-2011-06-07_carnegie_dam1zip
2444392 /dspace/upload/4778728039-2011-06-02_path_grass6zip
0   /dspace/upload/563709-book8641pdf
0   /dspace/upload/563709-book8642pdf
0   /dspace/upload/563709-book864pdf
1344576 /dspace/upload/7143703068-2011-06-02_path_grass6avi
 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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: dspace install question

2017-09-27 Thread 'Elvis Luis Oscanoa Toribio' via DSpace Technical Support


sudo apt-get update

sudo apt-get upgrade

sudo apt-get install openjdk-7-jdk

sudo apt-get install ant maven

sudo apt-get install postgresql

   - 
   
   sudo vim /etc/postgresql/9.3/main/pg_hba.conf
   
modificar:

   - 
   
   all dspace dspace md5
   
sudo service postgresql restart

sudo apt-get install tomcat7

java -version

mvn -version

ant -v

sudo useradd -m dspace

sudo passwd dspace

sudo mkdir /build 

cd /build

sudo wget 
https://github.com/DSpace/DSpace/releases/download/dspace-5.4/dspace-5.4-src-release.tar.gz

sudo tar -xzvf dspace-5.4-src-release.tar.gz

sudo su postgres 

createuser --username=postgres --no-superuser --pwprompt dspace

createuser --username=postgres --no-superuser --pwprompt dspace


createdb --username=postgres --owner=dspace --encoding=UNICODE dspace

createdb --username=postgres --owner=dspace --encoding=UNICODE dspace


exit

entramos a la carpeta:

cd /build/dspace-5.4-src-release

ubuntu@ubuntu:/build/dspace-5.4-src-release$ 

sudo vim build.properties

cd /sudo mkdir /dspace

sudo chown ubuntu /dspace

sudo su dspace

exit

sudo chmod -R 777 /build/dspace-5.4-src-release

cd /build/dspace-5.4-src-release

mvn -U package

cd /build/dspace-5.4-src-release/dspace/target/dspace-installer

sudo ant fresh_install



salir a la raiz con:

cd /

modifico:

sudo vi /etc/tomcat7/server.xml

antes de cerrar la etiquta host.













salir

:x

sudo service tomcat7 restart  (nota: tiene q salir ok en los reinicios)

sudo chown -R tomcat7:tomcat7 /dspace

sudo chown -R tomcat7:ubuntu /dspace

sudo service tomcat7 restart

sudo /dspace/bin/dspace create-administrator

correo de admin:

ejemplo:ad...@admin.com



El miércoles, 27 de septiembre de 2017, 8:59:38 (UTC-5), Ηλιας Χρηστου 
escribió:
>
>
>1. 
>
>*DSpace Directory:* Create the directory for the DSpace installation 
>(i.e. [dspace]). As *root* (or a user with appropriate permissions), 
>run:
>mkdir [dspace]
>chown dspace [dspace]
>
>(Assuming the *dspace* UNIX username.)
>2. 
>
>*Build the Installation Package:* As the *dspace *UNIX user, generate 
>the DSpace installation package.
>cd [dspace-source]
>mvn package
> should have make 2 directories? one [space] and one [dspace-source]?
>
>

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

2017-09-27 Thread Ηλιας Χρηστου

   
   1. 
   
   *DSpace Directory:* Create the directory for the DSpace installation 
   (i.e. [dspace]). As *root* (or a user with appropriate permissions), run:
   mkdir [dspace]
   chown dspace [dspace]
   
   (Assuming the *dspace* UNIX username.)
   2. 
   
   *Build the Installation Package:* As the *dspace *UNIX user, generate 
   the DSpace installation package.
   cd [dspace-source]
   mvn package
should have make 2 directories? one [space] and one [dspace-source]?
   

-- 
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] Pasos para la instalación de mirage 2 en dspace 5.4

2017-09-27 Thread 'Elvis Luis Oscanoa Toribio' via DSpace Technical Support
Hola amigos porfavor alguien tendra los pasos para la instalacion de mirage 
2 en dspace 5.4 en ubuntu ? ayúdenme por favor 
Saludos Elvis.

-- 
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] Inconsistency on Item Statistics

2017-09-27 Thread Gabriel Martins
Hello,


I am having trouble in understanding what the numbers mean in the 
statistics page of a item.
The number of total visits don't match with the visits per country and I 
don't understand what the "Views" number means on the file downloads block.

The numbers are updated, as the stats scrips are running on cron.
I ask for help to try understand these numbers and how to make them more 
reliable and readable.

Thank you very much.



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

2017-09-27 Thread Ηλιας Χρηστου
 [java] 2017-09-26 17:37:32,924 WARN  
org.apache.commons.configuration.DefaultConfigurationBuilder @ Internal 
error
 [java] org.apache.commons.configuration.ConfigurationException: Cannot 
locate configuration source local.cfg

[java] 2017-09-26 17:37:40,647 ERROR org.dspace.storage.rdbms.DatabaseUtils 
@ Unable to setup Flyway against DSpace database
 [java] java.sql.SQLException: Cannot create PoolableConnectionFactory 
(Connection to localhost:5432 refused. Check that the hostname and port are 
correct and that the postmaster is accepting TCP/IP connections.

BUILD FAILED
/home/user/dspace-6.1-release/dspace/target/dspace-installer/build.xml:792: 
Java returned: 1

i have these problems  

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Export collection into CSV need add Has file field

2017-09-27 Thread Bhavesh Patel
Thank you Bob for your mail.

Is there any way to take report from directly from database (executing
select query) for particular collection?

Regards,
Bhavesh

Thanks & Regards,
*Bhavesh R. Patel*

*"Learning is a never ending process"*


On Tue, Sep 26, 2017 at 5:20 AM, Bob Dougherty  wrote:

> Bhavesh,
>
> There is no metadata field indicating whether an item has any uploaded
> files. So you can't expect to get that information in the metadata export.
>
> You can use the API to get information about files (bitstreams), but that
> is not nearly as easy as downloading a CSV file.
>
> -Bob
>
>
> On Monday, September 25, 2017 at 7:03:57 AM UTC-4, Bhavesh Patel wrote:
>>
>> Dear All,
>>
>> This email regarding to the Export Metadata facility feature from User
>> Interface - Administrator panel in XMLUI.
>>
>> [image: Inline image 1]
>>
>> Once we export into CSV it will not showing the Has file (If file is
>> uploaded) field, Is there any way to add this field into the CSV file?
>>
>> DSpace: 6.0
>> Interface: XMLUI
>> OS: CentOS 7 - 64-bit
>>
>>
>> Thanks & Regards,
>> *Bhavesh R. Patel*
>>
>> *"Learning is a never ending process"*
>>
>> --
> 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.