Re: [Dspace-tech] [Dspace-general] Installing DSpace on Ubuntu
(switching CC to dspace-tech) Hi Bidhan, It's probably best to use the latest stable version of DSpace, which is 1.6.2. It's available here: http://sourceforge.net/projects/dspace/ Could you expand on the installation problems you're having? Where are you getting stuck? The DSpace installation guide ( http://www.dspace.org/1_6_2Documentation/ch03.html#N107D4) should help you through the process, but if you can let us know which step is failing, somebody should be able to help you out Cheers! Kim On 24 October 2010 22:18, bid...@email.com wrote: Hi Everybody, I am trying to install dspace 1.5 on Ubuntu 9.10 desktop version, but failed every time. Is there any easy method of installation? Bidhan Chaudhuri CGCRI, Kolkata -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Dspace-general mailing list dspace-gene...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-general -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] filter-media hanging
On 17 October 2010 15:14, Andrea Bollini boll...@cilea.it wrote: I have created a JIRA issue for the pdfbox library update. https://jira.duraspace.org/browse/DS-704 Patch against current trunk is attached. Please let me know if this solve your issues too. Best, Andrea Thank you Andrea, that resolved the issue for me. Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Create index error
Hi All Help appreciated. I get the following after deleting indexes and then trying to create them again. The script I run is attached. This used to work. We recently upgraded to Ubuntu 10.04 and DSpace 1.6.2, but this script ran successfully after the upgrades. The problem has only occurred during the last week or so. I suspect that something trying to be indexed is throwing the error, some metadata field content. Am I right ? Creating new indexes... Please wait. Exception: read past EOF java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38) at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:207) at org.apache.lucene.index.IndexFileDeleter.init(IndexFileDeleter.java:168) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:722) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:452) at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:781) at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:425) at org.dspace.search.DSIndexer.main(DSIndexer.java:539) 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:616) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) Thanks in advance. hg -- Hilton Gibson Systems Administrator JS Gericke Library Room 1053 Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 #!/bin/bash # Stop the services echo Stopping services... Please wait. sudo service apache2 stop sleep 10 sudo service tomcat6 stop # Build the webapp cd /home/dspace/dspace-1.6.2-src-release echo Start building packages... Please wait mvn package -U clean package cd /home/dspace/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir echo Start ant compilation... Please wait ant -Doverwrite=true update clean_backups sleep 3 # Delete the index echo Deleting indexes... Please wait. /home/dspace/bin/dspace index -v -f -d # Create new index tables echo Creating new indexes... Please wait. /home/dspace/bin/dspace index-init # Populate the indexes echo Populating new indexes... Please wait. /home/dspace/bin/dspace index -v -i # Start the services again echo Starting services... Please wait. sudo service tomcat6 start sleep 5 sudo service apache2 start echo ** echo Remember to redeploy if there are changes to the default Tomcat ROOT interface echo ** -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Create index error
Dear all We experience major difficulties re-indexing our content on DSpace 1.6.2 (http://scholar.sun.ac.za). When using the Basic Search and Advanced Search, nothing is retrieved. Any advise out there? We get the following after deleting indexes and then trying to create them again. The script we run is attached. This used to work. We recently upgraded to Ubuntu 10.04 and DSpace 1.6.2, but this script ran successfully after the upgrades. The problem has only occurred during the last week or so. We suspect that something trying to be indexed is throwing the error, some metadata field content. Are we right? Many thanks in advance Kind regards Ina Ina Smith E-Research Repository Manager | Library and Information Service | University of Stellenbosch | Private Bag X5036, 7599 | South Africa http://scholar.sun.ac.za | E-mail: ism...@sun.ac.zamailto:ism...@sun.ac.za | Tel: +27 21 808 9139 | Skype: smith.ina | Office hours: Mo-Fr: 08h00-16h30 E-Navorsingsbewaarplekbestuurder | Biblioteek- en Inligtingsdiens | Universiteit van Stellenbosch | Privaatsak X5036, 7599 | Suid-Afrika http://scholar.sun.ac.za | E-pos: ism...@sun.ac.zamailto:ism...@sun.ac.za | Tel: +27 21 808 9139 | Skype: smith.ina | Kantoorure: Mo-Fr: 08h00-16h30 [cid:image001.jpg@01CB7429.F6DB9D20] Creating new indexes... Please wait. Exception: read past EOF java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38) at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:207) at org.apache.lucene.index.IndexFileDeleter.init(IndexFileDeleter.java:168) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:722) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:452) at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:781) at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:425) at org.dspace.search.DSIndexer.main(DSIndexer.java:539) 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:616) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) inline: image001.jpg#!/bin/bash # Stop the services echo Stopping services... Please wait. sudo service apache2 stop sleep 10 sudo service tomcat6 stop # Build the webapp cd /home/dspace/dspace-1.6.2-src-release echo Start building packages... Please wait mvn package -U clean package cd /home/dspace/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir echo Start ant compilation... Please wait ant -Doverwrite=true update clean_backups sleep 3 # Delete the index echo Deleting indexes... Please wait. /home/dspace/bin/dspace index -v -f -d # Create new index tables echo Creating new indexes... Please wait. /home/dspace/bin/dspace index-init # Populate the indexes echo Populating new indexes... Please wait. /home/dspace/bin/dspace index -v -i # Start the services again echo Starting services... Please wait. sudo service tomcat6 start sleep 5 sudo service apache2 start echo ** echo Remember to redeploy if there are changes to the default Tomcat ROOT interface echo ** -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Create index error
Hi Hilton, I'm not sure what happened, however based on a threadhttp://www.mail-archive.com/java-...@lucene.apache.org/msg13473.htmlI was reading, I suspect that one of the lucene index files have become corrupt. This is fine, since you're deleting it, and trying to create a new one. More information would be needed Since your having issues, instead of running your entire rebuild process, try just isolating to the script inside of it that is causing this issue. It looks like it errors out during this step though: # Create new index tables echo Creating new indexes... Please wait. /home/dspace/bin/dspace index-init You could try to manually delete the contents of the lucene search index which is the step before that: rm -Rf /home/dspace/search/* And you can get more detailed output from the index-init step if you turn verbose mode on, which is generally useful for providing more insight as to how far the process is able to complete. So then just end up running: /home/dspace/bin/dspace index-init -v And if it errors out, you can send a few lines before the stacktrace. -- Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Mon, Oct 25, 2010 at 3:43 AM, Hilton Gibson hilton.gib...@gmail.comwrote: java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146) -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] SQL Exception: org.postgresql.util.PSQLException: ERROR
Hi all: I am trying to migrate the db of postgresql v. 8.2 if dspace v 1.4.2 to dspace v. 1.6.2 and I got this error whatever way that I've made: [java] 2010-10-18 14:29:18,714 WARN org.dspace.storage.rdbms.DatabaseManag er @ Got SQL Exception: org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint checksum_results_pkey [java] org.postgresql.util.PSQLException: ERROR: duplicate key violates uni que constraint checksum_results_pkey [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse (QueryExecutorImpl.java:1531) First: I've intalled the dspace 1.4.2 in a server and I installed the dspace1.6.2 in an other server and I restore the db and copy de assetstore dir and I update the db with this commands: psql -U dspace -f /dspace-1.6-1-src-release/dspace/etc/postgres/ database_schema_14_15.sql dspace psql -U dspace -f /dspace-1.6-1-src-release/dspace/etc/postgres/ database_schema_15_16.sql dspace dspace]/bin/dspace registry-loader -bitstream [dspace]/etc/upgrades/15-16/new-bitstream- formats.xml but in the third command I get the error shown above Second: I've intalled the dspace 1.4.2 in a server and I follow the instructions for upgrading from 1.4.2 to 1.5.0 in the same server but when I modify the db I get the same error Third: I installed in the same server dspace 1.4.2 and dspace 1.6.2 and they both work fine and I redirect in the database settings for to dspace 1.6.2 take the db of dspace v. 1.4.2 # Database settings # # Database name (oracle, or postgres) #db.name = ${default.db.name} db.name = postgres #db.name = oracle # URL for connecting to database #db.url = ${default.db.url} db.url = jdbc:postgresql://localhost:5432/dspace1.6.2 (this is the name of the new database with wich I installed dspace 1.6.2 but after I change at 'db.url = jdbc:postgresql://localhost:5432/dspace' that's the name of the database that use the dspace 1.4.2) but it's not work # JDBC Driver #db.driver = ${default.db.driver} db.driver = org.postgresql.Driver # Database username and password #db.username = ${default.db.username} #db.password = ${default.db.password} db.username = dspace1.6.2 db.password = dspace1.6.2 Please if somebody can help me I appreciate so much I've attempted some forms and I don't know what else to do thanks!!! -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] (no subject)
http://pagikax.t35.com/ -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Error creating indexes 'invalid multibyte character for locale'
Hi all, We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2. We built the new 1.6.2 code and took a snapshot of our old production database and migrated in back to our dev environment (along with the assets). We then ran the db upgrade script. Now, when running the index-init script we get this: ./dspace index-init -v Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale at org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691) at org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) We are on Postgres: PostgreSQL 8.1.21 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Any tips? thanks, Steve -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error creating indexes 'invalid multibyte character for locale'
Hi Steve, Just to check, has your new/dev database been created with UTF8 character encoding? (pass -E UNICODE or -E UTF8 to createdb) Cheers, Kim On 25 October 2010 14:57, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2. We built the new 1.6.2 code and took a snapshot of our old production database and migrated in back to our dev environment (along with the assets). We then ran the db upgrade script. Now, when running the index-init script we get this: ./dspace index-init -v Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale at org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691) at org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) We are on Postgres: PostgreSQL 8.1.21 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Any tips? thanks, Steve -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error creating indexes 'invalid multibyte character for locale'
Hi Kim, We took a *copy* of the database and refreshed it back to dev, so it is identical to the production one, then upgraded it in dev. So I'll need to find out if the original database from production was created that way. Perhaps we should take a dump of the production database instead, and then import that into a fresh UTF8 created database? I think the issue is that the original database was never created as UTF8. Thanks, Steve On 26/10/2010, at 9:17 AM, Kim Shepherd wrote: Hi Steve, Just to check, has your new/dev database been created with UTF8 character encoding? (pass -E UNICODE or -E UTF8 to createdb) Cheers, Kim On 25 October 2010 14:57, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2. We built the new 1.6.2 code and took a snapshot of our old production database and migrated in back to our dev environment (along with the assets). We then ran the db upgrade script. Now, when running the index-init script we get this: ./dspace index-init -v Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale at org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691) at org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) We are on Postgres: PostgreSQL 8.1.21 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Any tips? thanks, Steve -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech