Quantcast

vufind messed up

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

vufind messed up

schnydszch
This post was updated on .
Hi! I might have messed up with my vufind installation. i re-installed my vufind by deleting my vufind directory. All is well until I came to the Solr part. I was autoconfiguring it in /vufind/Install. I get this in my /vufind:
2013-09-24T02:06:03-04:00 DEBUG: Query fl=%2A%2Cscore&spellcheck=true&facet=true&facet.limit=20&facet.field=callnumber-first&facet.field=language&facet.field=format&facet.sort=count&facet.mincount=1&hl=true&hl.fl=%2A&hl.simple.pre=%7B%7B%7B%7BSTART_HILITE%7D%7D%7D%7D&hl.simple.post=%7B%7B%7B%7BEND_HILITE%7D%7D%7D%7D&spellcheck.dictionary=default&wt=json&json.nl=arrarr&rows=0&start=0&spellcheck.q=&q=%2A%3A%2A
2013-09-24T02:06:03-04:00 DEBUG: => GET http://mydomainname:8083/solr/biblio/select?fl=%2A%2Cscore&spellcheck=true&facet=true&facet.limit=20&facet.field=callnumber-first&facet.field=language&facet.field=format&facet.sort=count&facet.mincount=1&hl=true&hl.fl=%2A&hl.simple.pre=%7B%7B%7B%7BSTART_HILITE%7D%7D%7D%7D&hl.simple.post=%7B%7B%7B%7BEND_HILITE%7D%7D%7D%7D&spellcheck.dictionary=default&wt=json&json.nl=arrarr&rows=0&start=0&spellcheck.q=&q=%2A%3A%2A
2013-09-24T02:06:03-04:00 DEBUG: <= 404 Not Found

and this:
An error has occurred
An error occurred during execution; please try again later.
Please contact the Library Reference Department for assistance
ejtespinoza@congress.gov.ph


When I import a marc record to test:
java.io.FileNotFoundException: http://localhost:8083/solr/biblio/admin/system
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav01)
        at java.net.URL.openStream(URL.java:1031)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpec(ResponsePaFactory.java:50)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(ResponrserFactory.java:118)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(ResponrserFactory.java:113)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrSe.java:176)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrSe.java:148)
        at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader.java:368)
        at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:785)
        at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java:202)
        at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
        at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
 INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/vufind2/sentd.mrc
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 1) -- Value coed for Solr value "id" value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a singtring
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
 INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to index
 INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
 INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to false)
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8083/solr/biblio/update
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrSr.java:434)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrSr.java:248)
        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdatuest.java:105)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154)
        at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119)
        at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        ... 6 more
 INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
 INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop
^Z
[5]+  Stopped                 ./import-marc.sh sentenced.mrc
root@hreplib:/usr/local/vufind2# clear
root@hreplib:/usr/local/vufind2# ./import-marc.sh sentenced.mrc
Now Importing sentenced.mrc ...
Sep 24, 13:57:57 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.timezone=UTC -r.core.name=biblio  -jar /usr/local/vufind2/import/SolrMarc.jar /usr/local/vufind2/local/im/import.properties /usr/local/vufind2/sentenced.mrc
 INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
 INFO [main] (Utils.java:339) - Opening file: /usr/local/vufind2/local/import/import.proper
 INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at URL http://locat:8083/solr/biblio/update
java.io.FileNotFoundException: http://localhost:8083/solr/biblio/admin/system
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav01)
        at java.net.URL.openStream(URL.java:1031)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpec(ResponsePaFactory.java:50)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(ResponrserFactory.java:118)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(ResponrserFactory.java:113)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrSe.java:176)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrSe.java:148)
        at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader.java:368)
        at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:785)
        at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java:202)
        at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
        at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
 INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/vufind2/sentd.mrc
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 1) -- Value coed for Solr value "id" value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a singtring
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
 INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to index
 INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
 INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to false)
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8083/solr/biblio/update
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrSr.java:434)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrSr.java:248)
        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdatuest.java:105)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154)
        at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119)
        at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        ... 6 more
 INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
 INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop
^Z
[6]+  Stopped                 ./import-marc.sh sentenced.mrc
root@hreplib:/usr/local/vufind2# ./import-marc.sh sentenced.mrc
Now Importing sentenced.mrc ...
Sep 24, 14:00:24 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.timezone=UTC -ocal/vufind2/import/SolrMarc.jar /usr/local/vufind2/local/import/import.properties /usr/loc
 INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
 INFO [main] (Utils.java:339) - Opening file: /usr/local/vufind2/local/import/import.proper
 INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at URL http://loca
java.io.FileNotFoundException: http://localhost:8083/solr/biblio/admin/system
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav
        at java.net.URL.openStream(URL.java:1031)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpec(ResponsePa
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(Respon
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(Respon
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrSe
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrSe
        at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader.java:368)
        at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:785)
        at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java:202)
        at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
        at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
 INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/vufind2/sent
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record                     st be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id"
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:15
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.ja
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:6
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! *****
 INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to inde
 INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
 INFO [main] (MarcImporter.java:491) - Calling commit (with optimize se
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8083/solr/biblio/update
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.requ
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.requ
        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.p
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.ja
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.ja
        at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.jav
        at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:6
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        ... 6 more
 INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
 INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop
^Z
[7]+  Stopped                 ./import-marc.sh sentenced.mrc
root@hreplib:/usr/local/vufind2# ./import-marc.sh sentenced.mrc
Now Importing sentenced.mrc ...
Sep 24, 14:01:11 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.ti            mezone=UTC -Dsolr.core.name=biblio  -jar /usr/local/vufind2/import/SolrMarc.jar             /usr/local/vufind2/local/import/import.properties /usr/local/vufind2/sentenced            .mrc
 INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
 INFO [main] (Utils.java:339) - Opening file: /usr/local/vufind2/local/import/i            mport.properties
 INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at URL             http://localhost:8083/solr/biblio/update
java.io.FileNotFoundException: http://localhost:8083/solr/biblio/admin/system
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCo            nnection.java:1401)
        at java.net.URL.openStream(URL.java:1031)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpe            c(ResponseParserFactory.java:50)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseP            arser(ResponseParserFactory.java:118)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseP            arser(ResponseParserFactory.java:113)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(Commo            nsHttpSolrServer.java:176)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(Commo            nsHttpSolrServer.java:148)
        at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader            .java:368)
        at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:            785)
        at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java            :202)
        at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
        at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
 INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/            vufind2/sentenced.mrc
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 1)             -- Value computed for Solr value "id" value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value mu            st be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
 INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to index
 INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
 INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to fal            se)
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8083/solr/biblio/update
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm            onsHttpSolrServer.java:434)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm            onsHttpSolrServer.java:248)
        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(A            bstractUpdateRequest.java:105)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154)
        at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119)
        at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        ... 6 more
 INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
 INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop

^Z
[8]+  Stopped                 ./import-marc.sh sentenced.mrc
root@hreplib:/usr/local/vufind2# ./import-marc.sh sentenced.mrc
Now Importing sentenced.mrc ...
Sep 24, 14:01:34 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.ti            mezone=UTC -Dsolr.core.name=biblio  -jar /usr/local/vufind2/import/SolrMarc.jar             /usr/local/vufind2/local/import/import.properties /usr/local/vufind2/sentenced            .mrc
 INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
 INFO [main] (Utils.java:339) - Opening file: /usr/local/vufind2/local/import/i            mport.properties
 INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at URL             http://localhost:8083/solr/biblio/update
java.io.FileNotFoundException: http://localhost:8083/solr/biblio/admin/system
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCo            nnection.java:1401)
        at java.net.URL.openStream(URL.java:1031)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpe            c(ResponseParserFactory.java:50)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseP            arser(ResponseParserFactory.java:118)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseP            arser(ResponseParserFactory.java:113)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(Commo            nsHttpSolrServer.java:176)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(Commo            nsHttpSolrServer.java:148)
        at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader            .java:368)
        at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:            785)
        at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java            :202)
        at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
        at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
 INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/            vufind2/sentenced.mrc
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 1)             -- Value computed for Solr value "id" value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value mu            st be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
 INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to index
 INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
 INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to fal            se)
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8083/solr/biblio/update
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm            onsHttpSolrServer.java:434)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm            onsHttpSolrServer.java:248)
        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(A            bstractUpdateRequest.java:105)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154)
        at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119)
        at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        ... 6 more
 INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
 INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop
^Z
[9]+  Stopped                 ./import-marc.sh sentenced.mrc
root@hreplib:/usr/local/vufind2# ./import-marc.sh sentenced.mrc
Now Importing sentenced.mrc ...
Sep 24, 14:01:57 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.ti            mezone=UTC -Dsolr.core.name=biblio  -jar /usr/local/vufind2/import/SolrMarc.jar             /usr/local/vufind2/local/import/import.properties /usr/local/vufind2/sentenced            .mrc
 INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
 INFO [main] (Utils.java:339) - Opening file: /usr/local/vufind2/local/import/i            mport.properties
 INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at URL             http://localhost:8083/solr/biblio/update
java.io.FileNotFoundException: http://localhost:8083/solr/biblio/admin/system
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCo            nnection.java:1401)
        at java.net.URL.openStream(URL.java:1031)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpe            c(ResponseParserFactory.java:50)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseP            arser(ResponseParserFactory.java:118)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseP            arser(ResponseParserFactory.java:113)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(Commo            nsHttpSolrServer.java:176)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(Commo            nsHttpSolrServer.java:148)
        at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader            .java:368)
        at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:            785)
        at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java            :202)
        at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
        at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
 INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/            vufind2/sentenced.mrc
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 1)             -- Value computed for Solr value "id" value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value mu            st be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
 INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to index
 INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
 INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to fal            se)
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8083/solr/biblio/update
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm            onsHttpSolrServer.java:434)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm            onsHttpSolrServer.java:248)
        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(A            bstractUpdateRequest.java:105)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154)
        at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119)
        at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        ... 6 more
 INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
 INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop
^Z
[10]+  Stopped                 ./import-marc.sh sentenced.mrc
root@hreplib:/usr/local/vufind2# ./import-marc.sh sentenced.mrc
Now Importing sentenced.mrc ...
Sep 24, 14:02:33 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.ti            mezone=UTC -Dsolr.core.name=biblio  -jar /usr/local/vufind2/import/SolrMarc.jar             /usr/local/vufind2/local/import/import.properties /usr/local/vufind2/sentenced            .mrc
^Z
[11]+  Stopped                 ./import-marc.sh sentenced.mrc
root@hreplib:/usr/local/vufind2# ./import-marc.sh sentenced.mrc
Now Importing sentenced.mrc ...
Sep 24, 14:02:35 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.ti            mezone=UTC -Dsolr.core.name=biblio  -jar /usr/local/vufind2/import/SolrMarc.jar             /usr/local/vufind2/local/import/import.properties /usr/local/vufind2/sentenced            .mrc
 INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
 INFO [main] (Utils.java:339) - Opening file: /usr/local/vufind2/local/import/i            mport.properties
 INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at URL             http://localhost:8083/solr/biblio/update
java.io.FileNotFoundException: http://localhost:8083/solr/biblio/admin/system
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCo            nnection.java:1401)
        at java.net.URL.openStream(URL.java:1031)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpe            c(ResponseParserFactory.java:50)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseP            arser(ResponseParserFactory.java:118)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseP            arser(ResponseParserFactory.java:113)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(Commo            nsHttpSolrServer.java:176)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(Commo            nsHttpSolrServer.java:148)
        at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader            .java:368)
        at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:            785)
        at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java            :202)
        at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
        at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
 INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/            vufind2/sentenced.mrc
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 1)             -- Value computed for Solr value "id" value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value mu            st be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
 INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to index
 INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
 INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to fal            se)
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl            .java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce            ssorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8083/solr/biblio/update
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm            onsHttpSolrServer.java:434)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm            onsHttpSolrServer.java:248)
        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(A            bstractUpdateRequest.java:105)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154)
        at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119)
        at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        ... 6 more
 INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
 INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop

I might be missing something? My previous installation of vufind 2.1 is in port 8083. And I again used port 8083 for my new vufind. could that be the problem?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: vufind messed up

schnydszch
I changed the port to 8084, and changed correspondingly. I uncomment something in httpd-vufind.conf, I get this:
Exception:
Message: 404 Not Found
Backtrace:
#0 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php(417): VuFindSearch\Backend\Exception\HttpErrorException::createFromResponse(Object(Zend\Http\Response))
#1 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php(382): VuFindSearch\Backend\Solr\Connector->send(Object(Zend\Http\Client))
#2 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php(220): VuFindSearch\Backend\Solr\Connector->query('select', Object(VuFindSearch\ParamBag))
#3 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Backend.php(141): VuFindSearch\Backend\Solr\Connector->search(Object(VuFindSearch\ParamBag))
#4 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Service.php(106): VuFindSearch\Backend\Solr\Backend->search(Object(VuFindSearch\Query\Query), 0, 0, Object(VuFindSearch\ParamBag))
#5 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Solr/Results.php(114): VuFindSearch\Service->search('Solr', Object(VuFindSearch\Query\Query), 0, 0, Object(VuFindSearch\ParamBag))
#6 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(166): VuFind\Search\Solr\Results->performSearch()
#7 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(277): VuFind\Search\Base\Results->performAndProcessSearch()
#8 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(573): VuFind\Search\Base\Results->getResults()
#9 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(605): VuFind\Controller\SearchController->getFacetResults('initHomePageFac...', 'solrSearchHomeF...')
#10 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(288): VuFind\Controller\SearchController->getHomePageFacets()
#11 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): VuFind\Controller\SearchController->homeAction()
#12 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#13 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#14 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#16 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/Plugin/Forward.php(138): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#17 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/AbstractBase.php(339): Zend\Mvc\Controller\Plugin\Forward->dispatch('Search', Array)
#18 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/IndexController.php(55): VuFind\Controller\AbstractBase->forwardTo('Search', 'Home')
#19 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): VuFind\Controller\IndexController->homeAction()
#20 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#21 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#22 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#23 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#24 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#25 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#26 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#27 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#28 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#29 /usr/local/vufind2/public/index.php(59): Zend\Mvc\Application->run()
#30 {main}
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: vufind messed up

Demian Katz
If you installed from the .deb package, you should be able to uninstall VuFind by running:

sudo dpkg -P vufind2

Then to reinstall it, you would download and install the new .deb package as before.

This should leave your Solr index and local settings directory untouched, so it should upgrade you without breaking anything -- probably easier than deleting your vufind directory and completely reinstalling from scratch.

If you made a backup of your VuFind directory prior to deleting it, try deleting the "local" and "solr" directories in your new install with the old versions from your backup... then run ./vufind.sh restart to make sure everything is running as it should.

Please let me know if you still need more help!

- Demian

> -----Original Message-----
> From: schnydszch [mailto:[hidden email]]
> Sent: Tuesday, September 24, 2013 2:38 AM
> To: [hidden email]
> Subject: Re: [VuFind-General] vufind messed up
>
> I changed the port to 8084, and changed correspondingly. I uncomment
> something in httpd-vufind.conf, I get this:
> Exception:
> Message: 404 Not Found
> Backtrace:
> #0
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(417):
> VuFindSearch\Backend\Exception\HttpErrorException::createFromResponse(Object(Z
> end\Http\Response))
> #1
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(382):
> VuFindSearch\Backend\Solr\Connector->send(Object(Zend\Http\Client))
> #2
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(220):
> VuFindSearch\Backend\Solr\Connector->query('select',
> Object(VuFindSearch\ParamBag))
> #3
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Backend.p
> hp(141):
> VuFindSearch\Backend\Solr\Connector->search(Object(VuFindSearch\ParamBag))
> #4 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Service.php(106):
> VuFindSearch\Backend\Solr\Backend->search(Object(VuFindSearch\Query\Query),
> 0, 0, Object(VuFindSearch\ParamBag))
> #5 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Solr/Results.php(114):
> VuFindSearch\Service->search('Solr', Object(VuFindSearch\Query\Query), 0, 0,
> Object(VuFindSearch\ParamBag))
> #6 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(166):
> VuFind\Search\Solr\Results->performSearch()
> #7 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(277):
> VuFind\Search\Base\Results->performAndProcessSearch()
> #8
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(57
> 3):
> VuFind\Search\Base\Results->getResults()
> #9
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(60
> 5):
> VuFind\Controller\SearchController->getFacetResults('initHomePageFac...',
> 'solrSearchHomeF...')
> #10
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(28
> 8):
> VuFind\Controller\SearchController->getHomePageFacets()
> #11
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractActionController.php(83):
> VuFind\Controller\SearchController->homeAction()
> #12 [internal function]:
> Zend\Mvc\Controller\AbstractActionController-
> >onDispatch(Object(Zend\Mvc\MvcEvent))
> #13
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #14
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #15
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractController.php(117):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #16
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/Plugin/Forward.php(138):
> Zend\Mvc\Controller\AbstractController-
> >dispatch(Object(Zend\Http\PhpEnvironment\Request),
> Object(Zend\Http\PhpEnvironment\Response))
> #17
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/AbstractBase.php(339):
> Zend\Mvc\Controller\Plugin\Forward->dispatch('Search', Array)
> #18
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/IndexController.php(55)
> :
> VuFind\Controller\AbstractBase->forwardTo('Search', 'Home')
> #19
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractActionController.php(83):
> VuFind\Controller\IndexController->homeAction()
> #20 [internal function]:
> Zend\Mvc\Controller\AbstractActionController-
> >onDispatch(Object(Zend\Mvc\MvcEvent))
> #21
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #22
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #23
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractController.php(117):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #24
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Dispatc
> hListener.php(114):
> Zend\Mvc\Controller\AbstractController-
> >dispatch(Object(Zend\Http\PhpEnvironment\Request),
> Object(Zend\Http\PhpEnvironment\Response))
> #25 [internal function]:
> Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
> #26
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #27
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #28
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Applica
> tion.php(309):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #29 /usr/local/vufind2/public/index.php(59): Zend\Mvc\Application->run()
> #30 {main}
>
>
>
> --
> View this message in context: http://vufind.2307425.n4.nabble.com/vufind-
> messed-up-tp4663769p4663770.html
> Sent from the vufind-general mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> VuFind-General mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/vufind-general

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
VuFind-General mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: vufind messed up

schnydszch
In reply to this post by schnydszch
Hi! I reinstalled again. I'm getting this error when i try to import just one marc record:
/usr/local/vufind2# ./import-marc.sh sentenced.mrc
Now Importing sentenced.mrc ...
Sep 24, 21:13:24 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.timezone=UTC -Dsolr.core.name=biblio  -                jar /usr/local/vufind2/import/SolrMarc.jar /usr/local/vufind2/local/import/import.properties /usr/local/vufind2/sent                enced.mrc
 INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
 INFO [main] (Utils.java:339) - Opening file: /usr/local/vufind2/local/import/import.properties
 INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at URL http://hreplib.congress.gov.ph:8083/                solr/biblio/update
java.io.FileNotFoundException: http://hreplib.congress.gov.ph:8083/solr/biblio/admin/system
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
        at java.net.URL.openStream(URL.java:1031)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpec(ResponseParserFactory.java:50)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(ResponseParserFactory.java:118)
        at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(ResponseParserFactory.java:113)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrServer.java:176)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrServer.java:148)
        at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader.java:368)
        at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:785)
        at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java:202)
        at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
        at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
        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 com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
 INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/vufind2/sentenced.mrc
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 1) -- Value computed for Solr value "id                " value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        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 com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
 INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to index
 INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
 INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to false)
Exception in thread "main" java.lang.reflect.InvocationTargetException
        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 com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://hreplib.congress.gov.ph:8083/solr/biblio/update
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:434)
        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:248)
        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154)
        at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119)
        at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        ... 6 more
 INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
 INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop
^Z

Is this related with my first posts? I'm at lost again. Thanks in advance!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: vufind messed up

Demian Katz
It seems that SolrMarc is having trouble connecting to your Solr server -- you may want to check the URL settings in your local/import/import.properties to make sure they are correct (and confirm that Solr is running).

- Demian

> -----Original Message-----
> From: schnydszch [mailto:[hidden email]]
> Sent: Tuesday, September 24, 2013 9:23 AM
> To: [hidden email]
> Subject: Re: [VuFind-General] vufind messed up
>
> Hi! I reinstalled again. I'm getting this error when i try to import just one
> marc record:
> /usr/local/vufind2# ./import-marc.sh sentenced.mrc
> Now Importing sentenced.mrc ...
> Sep 24, 21:13:24 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m
> -Duser.timezone=UTC -Dsolr.core.name=biblio  -                jar
> /usr/local/vufind2/import/SolrMarc.jar
> /usr/local/vufind2/local/import/import.properties /usr/local/vufind2/sent
> enced.mrc
>  INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing.
>  INFO [main] (Utils.java:339) - Opening file:
> /usr/local/vufind2/local/import/import.properties
>  INFO [main] (MarcImporter.java:784) -  Connecting to remote Solr server at
> URL http://hreplib.congress.gov.ph:8083/                solr/biblio/update
> java.io.FileNotFoundException:
> http://hreplib.congress.gov.ph:8083/solr/biblio/admin/system
>         at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.j
> ava:1401)
>         at java.net.URL.openStream(URL.java:1031)
>         at
> org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpec(Response
> ParserFactory.java:50)
>         at
> org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(Resp
> onseParserFactory.java:118)
>         at
> org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(Resp
> onseParserFactory.java:113)
>         at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolr
> Server.java:176)
>         at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolr
> Server.java:148)
>         at
> org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader.java:368)
>         at
> org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:785)
>         at
> org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java:202)
>         at
> org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171)
>         at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119)
>         at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
> ava:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at com.simontuffs.onejar.Boot.run(Boot.java:334)
>         at com.simontuffs.onejar.Boot.main(Boot.java:170)
>  INFO [main] (MarcHandler.java:371) - Attempting to open data file:
> /usr/local/vufind2/sentenced.mrc
> ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count
> 1) -- Value computed for Solr value "id                " value must be a
> single String
> java.lang.IllegalArgumentException: Value computed for Solr value "id" value
> must be a single String
>         at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
>         at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
>         at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
>         at
> org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
>         at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
>         at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
> ava:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at com.simontuffs.onejar.Boot.run(Boot.java:334)
>         at com.simontuffs.onejar.Boot.main(Boot.java:170)
> ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
>  INFO [main] (MarcImporter.java:617) -  Adding 0 of 1 documents to index
>  INFO [main] (MarcImporter.java:618) -  Deleting 0 documents from index
>  INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to
> false)
> Exception in thread "main" java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
> ava:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at com.simontuffs.onejar.Boot.run(Boot.java:334)
>         at com.simontuffs.onejar.Boot.main(Boot.java:170)
> Caused by: org.apache.solr.common.SolrException: Not Found
>
> Not Found
>
> request: http://hreplib.congress.gov.ph:8083/solr/biblio/update
>         at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSol
> rServer.java:434)
>         at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSol
> rServer.java:248)
>         at
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpd
> ateRequest.java:105)
>         at
> org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178)
>         at
> org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154)
>         at
> org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119)
>         at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492)
>         at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620)
>         at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
>         ... 6 more
>  INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook
>  INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop
> ^Z
>
> Is this related with my first posts? I'm at lost again. Thanks in advance!
>
>
>
> --
> View this message in context: http://vufind.2307425.n4.nabble.com/vufind-
> messed-up-tp4663769p4663772.html
> Sent from the vufind-general mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> VuFind-General mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/vufind-general

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
VuFind-General mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: vufind messed up

schnydszch
In reply to this post by Demian Katz
Thanks. now i'm importing, I'm getting this:

single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        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 com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 248) -- Value computed for Solr value "id" value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)

My ILS is Koha
Thanks!

 
EUGENE JOSE T. ESPINOZA




Legislative Staff Officer II
House of Representatives
Legislative Library Services
Congressional Library Bureau





From: Demian Katz [via vufind] <[hidden email]>
To: schnydszch <[hidden email]>
Sent: Tuesday, September 24, 2013 7:08 AM
Subject: Re: vufind messed up

If you installed from the .deb package, you should be able to uninstall VuFind by running:

sudo dpkg -P vufind2

Then to reinstall it, you would download and install the new .deb package as before.

This should leave your Solr index and local settings directory untouched, so it should upgrade you without breaking anything -- probably easier than deleting your vufind directory and completely reinstalling from scratch.

If you made a backup of your VuFind directory prior to deleting it, try deleting the "local" and "solr" directories in your new install with the old versions from your backup... then run ./vufind.sh restart to make sure everything is running as it should.

Please let me know if you still need more help!

- Demian

> -----Original Message-----
> From: schnydszch [mailto:[hidden email]]
> Sent: Tuesday, September 24, 2013 2:38 AM
> To: [hidden email]
> Subject: Re: [VuFind-General] vufind messed up
>
> I changed the port to 8084, and changed correspondingly. I uncomment
> something in httpd-vufind.conf, I get this:
> Exception:
> Message: 404 Not Found
> Backtrace:
> #0
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(417):
> VuFindSearch\Backend\Exception\HttpErrorException::createFromResponse(Object(Z
> end\Http\Response))
> #1
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(382):
> VuFindSearch\Backend\Solr\Connector->send(Object(Zend\Http\Client))
> #2
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(220):
> VuFindSearch\Backend\Solr\Connector->query('select',
> Object(VuFindSearch\ParamBag))
> #3
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Backend.p
> hp(141):
> VuFindSearch\Backend\Solr\Connector->search(Object(VuFindSearch\ParamBag))
> #4 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Service.php(106):
> VuFindSearch\Backend\Solr\Backend->search(Object(VuFindSearch\Query\Query),
> 0, 0, Object(VuFindSearch\ParamBag))
> #5 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Solr/Results.php(114):
> VuFindSearch\Service->search('Solr', Object(VuFindSearch\Query\Query), 0, 0,
> Object(VuFindSearch\ParamBag))
> #6 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(166):
> VuFind\Search\Solr\Results->performSearch()
> #7 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(277):
> VuFind\Search\Base\Results->performAndProcessSearch()
> #8
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(57
> 3):
> VuFind\Search\Base\Results->getResults()
> #9
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(60
> 5):
> VuFind\Controller\SearchController->getFacetResults('initHomePageFac...',
> 'solrSearchHomeF...')
> #10
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(28
> 8):
> VuFind\Controller\SearchController->getHomePageFacets()
> #11
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractActionController.php(83):
> VuFind\Controller\SearchController->homeAction()
> #12 [internal function]:
> Zend\Mvc\Controller\AbstractActionController-
> >onDispatch(Object(Zend\Mvc\MvcEvent))
> #13
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #14
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #15
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractController.php(117):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #16
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/Plugin/Forward.php(138):
> Zend\Mvc\Controller\AbstractController-
> >dispatch(Object(Zend\Http\PhpEnvironment\Request),
> Object(Zend\Http\PhpEnvironment\Response))
> #17
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/AbstractBase.php(339):
> Zend\Mvc\Controller\Plugin\Forward->dispatch('Search', Array)
> #18
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/IndexController.php(55)
> :
> VuFind\Controller\AbstractBase->forwardTo('Search', 'Home')
> #19
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractActionController.php(83):
> VuFind\Controller\IndexController->homeAction()
> #20 [internal function]:
> Zend\Mvc\Controller\AbstractActionController-
> >onDispatch(Object(Zend\Mvc\MvcEvent))
> #21
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #22
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #23
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractController.php(117):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #24
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Dispatc
> hListener.php(114):
> Zend\Mvc\Controller\AbstractController-
> >dispatch(Object(Zend\Http\PhpEnvironment\Request),
> Object(Zend\Http\PhpEnvironment\Response))
> #25 [internal function]:
> Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
> #26
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #27
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #28
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Applica
> tion.php(309):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #29 /usr/local/vufind2/public/index.php(59): Zend\Mvc\Application->run()
> #30 {main}
>
>
>
> --
> View this message in context: http://vufind.2307425.n4.nabble.com/vufind-
> messed-up-tp4663769p4663770.html
> Sent from the vufind-general mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> VuFind-General mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/vufind-general
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
VuFind-General mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-general



If you reply to this email, your message will be added to the discussion below:
http://vufind.2307425.n4.nabble.com/vufind-messed-up-tp4663769p4663773.html
To unsubscribe from vufind messed up, click here.
NAML


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: vufind messed up

Stephen Hovey

This would be a problem with whatever field you are using as your id field.  We use 035a.  The default I think is 001.  You must have a record with something containing a space or something.

 

From: schnydszch [mailto:[hidden email]]
Sent: Tuesday, September 24, 2013 10:23 AM
To: [hidden email]
Subject: Re: [VuFind-General] vufind messed up

 

Thanks. now i'm importing, I'm getting this:

 

single String

java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a single String

        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)

        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)

        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)

        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)

        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)

        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)

        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 com.simontuffs.onejar.Boot.run(Boot.java:334)

        at com.simontuffs.onejar.Boot.main(Boot.java:170)

ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********

ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 248) -- Value computed for Solr value "id" value must be a single String

java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a single String

        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)

        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)

        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)

        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)

 

My ILS is Koha

Thanks!

 

 

EUGENE JOSE T. ESPINOZA




Legislative Staff Officer II
House of Representatives
Legislative Library Services
Congressional Library Bureau



 


From: Demian Katz [via vufind] <[hidden email]>
To: schnydszch <[hidden email]>
Sent: Tuesday, September 24, 2013 7:08 AM
Subject: Re: vufind messed up

 

If you installed from the .deb package, you should be able to uninstall VuFind by running:

sudo dpkg -P vufind2

Then to reinstall it, you would download and install the new .deb package as before.

This should leave your Solr index and local settings directory untouched, so it should upgrade you without breaking anything -- probably easier than deleting your vufind directory and completely reinstalling from scratch.

If you made a backup of your VuFind directory prior to deleting it, try deleting the "local" and "solr" directories in your new install with the old versions from your backup... then run ./vufind.sh restart to make sure everything is running as it should.

Please let me know if you still need more help!

- Demian


> -----Original Message-----
> From: schnydszch [mailto:[hidden email]]
> Sent: Tuesday, September 24, 2013 2:38 AM
> To: [hidden email]
> Subject: Re: [VuFind-General] vufind messed up
>
> I changed the port to 8084, and changed correspondingly. I uncomment
> something in httpd-vufind.conf, I get this:
> Exception:
> Message: 404 Not Found
> Backtrace:
> #0
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(417):
> VuFindSearch\Backend\Exception\HttpErrorException::createFromResponse(Object(Z
> end\Http\Response))
> #1
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(382):
> VuFindSearch\Backend\Solr\Connector->send(Object(Zend\Http\Client))
> #2
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector
> .php(220):
> VuFindSearch\Backend\Solr\Connector->query('select',
> Object(VuFindSearch\ParamBag))
> #3
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Backend.p
> hp(141):
> VuFindSearch\Backend\Solr\Connector->search(Object(VuFindSearch\ParamBag))
> #4 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Service.php(106):
> VuFindSearch\Backend\Solr\Backend->search(Object(VuFindSearch\Query\Query),
> 0, 0, Object(VuFindSearch\ParamBag))
> #5 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Solr/Results.php(114):
> VuFindSearch\Service->search('Solr', Object(VuFindSearch\Query\Query), 0, 0,
> Object(VuFindSearch\ParamBag))
> #6 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(166):
> VuFind\Search\Solr\Results->performSearch()
> #7 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(277):
> VuFind\Search\Base\Results->performAndProcessSearch()
> #8
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(57
> 3):
> VuFind\Search\Base\Results->getResults()
> #9
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(60
> 5):
> VuFind\Controller\SearchController->getFacetResults('initHomePageFac...',
> 'solrSearchHomeF...')
> #10
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(28
> 8):
> VuFind\Controller\SearchController->getHomePageFacets()
> #11
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractActionController.php(83):
> VuFind\Controller\SearchController->homeAction()
> #12 [internal function]:
> Zend\Mvc\Controller\AbstractActionController-
> >onDispatch(Object(Zend\Mvc\MvcEvent))
> #13
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #14
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #15
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractController.php(117):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #16
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/Plugin/Forward.php(138):
> Zend\Mvc\Controller\AbstractController-
> >dispatch(Object(Zend\Http\PhpEnvironment\Request),
> Object(Zend\Http\PhpEnvironment\Response))
> #17
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/AbstractBase.php(339):
> Zend\Mvc\Controller\Plugin\Forward->dispatch('Search', Array)
> #18
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/IndexController.php(55)
> :
> VuFind\Controller\AbstractBase->forwardTo('Search', 'Home')
> #19
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractActionController.php(83):
> VuFind\Controller\IndexController->homeAction()
> #20 [internal function]:
> Zend\Mvc\Controller\AbstractActionController-
> >onDispatch(Object(Zend\Mvc\MvcEvent))
> #21
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #22
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #23
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control
> ler/AbstractController.php(117):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #24
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Dispatc
> hListener.php(114):
> Zend\Mvc\Controller\AbstractController-
> >dispatch(Object(Zend\Http\PhpEnvironment\Request),
> Object(Zend\Http\PhpEnvironment\Response))
> #25 [internal function]:
> Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
> #26
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(468):
> call_user_func(Array, Object(Zend\Mvc\MvcEvent))
> #27
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage
> r/EventManager.php(207):
> Zend\EventManager\EventManager->triggerListeners('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #28
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Applica
> tion.php(309):
> Zend\EventManager\EventManager->trigger('dispatch',
> Object(Zend\Mvc\MvcEvent), Object(Closure))
> #29 /usr/local/vufind2/public/index.php(59): Zend\Mvc\Application->run()
> #30 {main}
>
>
>
> --
> View this message in context: http://vufind.2307425.n4.nabble.com/vufind-
> messed-up-tp4663769p4663770.html
> Sent from the vufind-general mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> VuFind-General mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/vufind-general

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
VuFind-General mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-general


If you reply to this email, your message will be added to the discussion below:

http://vufind.2307425.n4.nabble.com/vufind-messed-up-tp4663769p4663773.html

To unsubscribe from vufind messed up, click here.
NAML

 

 


View this message in context: Re: vufind messed up
Sent from the vufind-general mailing list archive at Nabble.com.



The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visit www.BuffaloLib.org .

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
VuFind-General mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: vufind messed up

Tod Olson
Also, by using that message "Unable to index record  (record count 248)" you should be able to figure out which record has the problem. I often build a pipeline around yaz-marcdump to figure this stuff out, but MARCEdit or marcgrep or other such things should also be able to help you find that 248th record.

-Tod


On Sep 25, 2013, at 5:03 AM, Stephen Hovey <[hidden email]>
 wrote:

This would be a problem with whatever field you are using as your id field.  We use 035a.  The default I think is 001.  You must have a record with something containing a space or something.
 
From: schnydszch [mailto:eugenegf@yahoo.com] 
Sent: Tuesday, September 24, 2013 10:23 AM
To: [hidden email]
Subject: Re: [VuFind-General] vufind messed up
 
Thanks. now i'm importing, I'm getting this:
 
single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
        at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607)
        at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867)
        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 com.simontuffs.onejar.Boot.run(Boot.java:334)
        at com.simontuffs.onejar.Boot.main(Boot.java:170)
ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ********
ERROR [main] (MarcImporter.java:380) - Unable to index record  (record count 248) -- Value computed for Solr value "id" value must be a single String
java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a single String
        at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592)
        at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811)
        at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399)
        at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313)
 
My ILS is Koha
Thanks!
 
 
EUGENE JOSE T. ESPINOZA




Legislative Staff Officer II
House of Representatives
Legislative Library Services
Congressional Library Bureau



 

From: Demian Katz [via vufind] <<a href="x-msg://18741/user/SendEmail.jtp?type=node&amp;node=4663778&amp;i=0" target="_top" style="color: purple; text-decoration: underline; ">[hidden email]>
To: schnydszch <<a href="x-msg://18741/user/SendEmail.jtp?type=node&amp;node=4663778&amp;i=1" target="_top" style="color: purple; text-decoration: underline; ">[hidden email]> 
Sent: Tuesday, September 24, 2013 7:08 AM
Subject: Re: vufind messed up
 
If you installed from the .deb package, you should be able to uninstall VuFind by running: 

sudo dpkg -P vufind2 

Then to reinstall it, you would download and install the new .deb package as before. 

This should leave your Solr index and local settings directory untouched, so it should upgrade you without breaking anything -- probably easier than deleting your vufind directory and completely reinstalling from scratch. 

If you made a backup of your VuFind directory prior to deleting it, try deleting the "local" and "solr" directories in your new install with the old versions from your backup... then run ./vufind.sh restart to make sure everything is running as it should. 

Please let me know if you still need more help! 

- Demian

> -----Original Message----- 
> From: schnydszch [mailto:<a href="x-msg://18741/" target="_top" style="color: purple; text-decoration: underline; ">[hidden email]] 
> Sent: Tuesday, September 24, 2013 2:38 AM 
> To: <a href="x-msg://18741/" target="_top" style="color: purple; text-decoration: underline; ">[hidden email] 
> Subject: Re: [VuFind-General] vufind messed up 
> 
> I changed the port to 8084, and changed correspondingly. I uncomment 
> something in httpd-vufind.conf, I get this: 
> Exception: 
> Message: 404 Not Found 
> Backtrace: 
> #0 
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector 
> .php(417): 
> VuFindSearch\Backend\Exception\HttpErrorException::createFromResponse(Object(Z 
> end\Http\Response)) 
> #1 
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector 
> .php(382): 
> VuFindSearch\Backend\Solr\Connector->send(Object(Zend\Http\Client)) 
> #2 
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector 
> .php(220): 
> VuFindSearch\Backend\Solr\Connector->query('select', 
> Object(VuFindSearch\ParamBag)) 
> #3 
> /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Backend.p 
> hp(141): 
> VuFindSearch\Backend\Solr\Connector->search(Object(VuFindSearch\ParamBag)) 
> #4 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Service.php(106): 
> VuFindSearch\Backend\Solr\Backend->search(Object(VuFindSearch\Query\Query), 
> 0, 0, Object(VuFindSearch\ParamBag)) 
> #5 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Solr/Results.php(114): 
> VuFindSearch\Service->search('Solr', Object(VuFindSearch\Query\Query), 0, 0, 
> Object(VuFindSearch\ParamBag)) 
> #6 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(166): 
> VuFind\Search\Solr\Results->performSearch() 
> #7 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(277): 
> VuFind\Search\Base\Results->performAndProcessSearch() 
> #8 
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(57 
> 3): 
> VuFind\Search\Base\Results->getResults() 
> #9 
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(60 
> 5): 
> VuFind\Controller\SearchController->getFacetResults('initHomePageFac...', 
> 'solrSearchHomeF...') 
> #10 
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(28 
> 8): 
> VuFind\Controller\SearchController->getHomePageFacets() 
> #11 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control 
> ler/AbstractActionController.php(83): 
> VuFind\Controller\SearchController->homeAction() 
> #12 [internal function]: 
> Zend\Mvc\Controller\AbstractActionController- 
> >onDispatch(Object(Zend\Mvc\MvcEvent)) 
> #13 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage 
> r/EventManager.php(468): 
> call_user_func(Array, Object(Zend\Mvc\MvcEvent)) 
> #14 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage 
> r/EventManager.php(207): 
> Zend\EventManager\EventManager->triggerListeners('dispatch', 
> Object(Zend\Mvc\MvcEvent), Object(Closure)) 
> #15 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control 
> ler/AbstractController.php(117): 
> Zend\EventManager\EventManager->trigger('dispatch', 
> Object(Zend\Mvc\MvcEvent), Object(Closure)) 
> #16 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control 
> ler/Plugin/Forward.php(138): 
> Zend\Mvc\Controller\AbstractController- 
> >dispatch(Object(Zend\Http\PhpEnvironment\Request), 
> Object(Zend\Http\PhpEnvironment\Response)) 
> #17 
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/AbstractBase.php(339): 
> Zend\Mvc\Controller\Plugin\Forward->dispatch('Search', Array) 
> #18 
> /usr/local/vufind2/module/VuFind/src/VuFind/Controller/IndexController.php(55) 
> : 
> VuFind\Controller\AbstractBase->forwardTo('Search', 'Home') 
> #19 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control 
> ler/AbstractActionController.php(83): 
> VuFind\Controller\IndexController->homeAction() 
> #20 [internal function]: 
> Zend\Mvc\Controller\AbstractActionController- 
> >onDispatch(Object(Zend\Mvc\MvcEvent)) 
> #21 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage 
> r/EventManager.php(468): 
> call_user_func(Array, Object(Zend\Mvc\MvcEvent)) 
> #22 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage 
> r/EventManager.php(207): 
> Zend\EventManager\EventManager->triggerListeners('dispatch', 
> Object(Zend\Mvc\MvcEvent), Object(Closure)) 
> #23 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Control 
> ler/AbstractController.php(117): 
> Zend\EventManager\EventManager->trigger('dispatch', 
> Object(Zend\Mvc\MvcEvent), Object(Closure)) 
> #24 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Dispatc 
> hListener.php(114): 
> Zend\Mvc\Controller\AbstractController- 
> >dispatch(Object(Zend\Http\PhpEnvironment\Request), 
> Object(Zend\Http\PhpEnvironment\Response)) 
> #25 [internal function]: 
> Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) 
> #26 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage 
> r/EventManager.php(468): 
> call_user_func(Array, Object(Zend\Mvc\MvcEvent)) 
> #27 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManage 
> r/EventManager.php(207): 
> Zend\EventManager\EventManager->triggerListeners('dispatch', 
> Object(Zend\Mvc\MvcEvent), Object(Closure)) 
> #28 
> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Applica 
> tion.php(309): 
> Zend\EventManager\EventManager->trigger('dispatch', 
> Object(Zend\Mvc\MvcEvent), Object(Closure)) 
> #29 /usr/local/vufind2/public/index.php(59): Zend\Mvc\Application->run() 
> #30 {main} 
> 
> 
> 
> -- 
> View this message in context: http://vufind.2307425.n4.nabble.com/vufind-
> messed-up-tp4663769p4663770.html 
> Sent from the vufind-general mailing list archive at Nabble.com. 
> 
> ------------------------------------------------------------------------------ 
> October Webinars: Code for Performance 
> Free Intel webinars can help you accelerate application performance. 
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register > 
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________ 
> VuFind-General mailing list 
> <a href="x-msg://18741/" target="_top" style="color: purple; text-decoration: underline; ">[hidden email] 
> https://lists.sourceforge.net/lists/listinfo/vufind-general

------------------------------------------------------------------------------ 
October Webinars: Code for Performance 
Free Intel webinars can help you accelerate application performance. 
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________ 
VuFind-General mailing list 
<a href="x-msg://18741/" target="_top" style="color: purple; text-decoration: underline; ">[hidden email] 
https://lists.sourceforge.net/lists/listinfo/vufind-general


If you reply to this email, your message will be added to the discussion below:
To unsubscribe from vufind messed up, <a href="x-msg://18741/" target="_blank" style="color: purple; text-decoration: underline; ">click here.
NAML

 

 

View this message in context: Re: vufind messed up
Sent from the vufind-general mailing list archive at Nabble.com.


The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visit www.BuffaloLib.org .
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk_______________________________________________
VuFind-General mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-general


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
VuFind-General mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: vufind messed up

schnydszch
Thanks for all the replies and to Demian for the off-list messages with him, I'm now okay with my vufind. There was some sort of database connection. and with limited memory I have, I get some problems along the way.
Loading...