On 02/03/2015 08:48 AM, Marc AUDEFROY wrote:
> Hello all,
> 
> I migrated Xwiki to 6.3 to 6.4 but I have this issue : 
> http://jira.xwiki.org/browse/XE-1463 <http://jira.xwiki.org/browse/XE-1463>
> I try to delete data/solr but I deleted the wrong dir and I destroy the dir 
> containing “org.xwiki.search.solr.internal.EmbeddedSolrInstance”.
> 

Which directory is the one you really removed?
Actually it looks like the "right" directory, that is "data/solr"

If you remove (rename/move away) the data/solr directory (stopping the server 
before doing so and starting it afterwards)
then on startup the server will recreate it, including a 
data/solr/lib/xwiki-platform-search-solr-server-plugin-6.4.jar
with some necessary classes and stuff

 The class org.xwiki.search.solr.internal.EmbeddedSolrInstance however is in 
the webapps/xwiki/WEB-INF/lib/xwiki-platform-search-solr-api-6.4.jar
and that file should better still be there, or you would have to reinstall 
XWiki 6.4.

 However it looks like there is some other error with the setup.
Are there any other error messages in the log, either before or immediately 
after the error you posted?
Any chance the data directory is not writeable by the user running XWiki or the 
like ?

 I can reproduce your error message by destructively doing a "chmod 000 
data/solr".
A few lines below I also get an error message saying " Caused by: 
java.lang.IllegalArgumentException: The given path [data/solr] must be a 
readable and writable directory" in the log.
You might be able to find something similar that explains the root cause of the 
issue.


Cheers,
Clemens

> Obviously… When I start XWiki, I have this error :p
> 
> 2015-02-02 17:56:39,567 [main] ERROR o.x.s.s.i.SolrInstanceProvider -
> org.xwiki.component.manager.ComponentLookupException: Failed to lookup 
> component [org.xwiki.search.solr.internal.EmbeddedSolrInstance] identified by 
> [role = [interface org.xwiki.search.solr.internal.api.SolrInstance] hint = 
> [embedded]]
> 
> How do in order to desactived solr and reinstall this with extension manager? 
> Or another solution?
> 
> Thanks!
> 
> Marc
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
> 
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to