On Wed, Apr 24, 2013 at 7:47 PM, abhishek.kulkarni <[email protected]> wrote: > Search started working after I refreshed the indexes. > However, I wasn't successful in refreshing Discovery. > Faced exception: - > > Exception: java.net.ConnectException: Connection refused > org.dspace.discovery.SearchServiceException: java.net.ConnectException: > Connection refused > at > org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418) > at org.dspace.discovery.IndexClient.main(IndexClient.java:119) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > Maybe, I might not be using it in DSpace, and hence the connection refused > exception.
You're right, Discovery it not enabled by default, so if you didn't enable it, you don't have to worry about update-discovery-index not working. > java.lang.RuntimeException: ERROR: permission denied for relation > versionitem Yes, this is the actual error. The "versionitem" tables and some other related stuff were created by the database_schema_18-3.sql upgrade script. According to the error message, you don't have the permission to access this new table. So you probably run psql < database_schema_18-3.sql as a different database user (role) than the rest of your dspace tables. The easiest solution at this point would be to drop your upgraded database and do the import and upgrade steps again, this time using the correct databse user (role). You will know what the correct user should be by looking at "db.username" in dspace.cfg. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

