This issue has been created
 
 
ActivityPub Application / cid:jira-generated-image-avatar-308d16f8-4fb0-44ea-a39d-a5feb13a1e77 XAP-113 Open

this.solr.getClient("activitypub") is always null

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-afca0583-f43a-4c4d-bfc8-cf25be9488ad clueless individual created this issue on 25/Sep/25 14:07
 
Summary: this.solr.getClient("activitypub") is always null
Issue Type: cid:jira-generated-image-avatar-308d16f8-4fb0-44ea-a39d-a5feb13a1e77 Bug
Affects Versions: 1.7.11
Assignee: Unassigned
Created: 25/Sep/25 14:07
Environment: tested the jetty demo and tomcat deployment, both with HSQLDB and Postgresql
Priority: cid:jira-generated-image-static-major-63ea8219-a475-406e-aa3c-63435e97cfa0 Major
Reporter: clueless individual
Description:

Seeing "Warning The ActivityPub storage is not ready. Please ask the administrator to restart the server to initialize it." on a default install with both the embedded solr server and a remote one.

start_xwiki.sh[1294483]: Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.solr.client.solrj.SolrClient.request(org.apache.solr.client.solrj.SolrRequest, String)" because "client" is null

With the embedded version, the /home/xwiki/xwiki/data/store/solr/activitypub_9 folder is created correctly and initiated, but the client is still null.

With the remote version, after creating the /var/lib/solr/xwiki_activitypub_9/ core and seeing it active in the solr admin ui, the client is still null