Hello,

I just set up an Solr server according to the documentation at https://drupal.org/node/1999310 .
Solr version is 4.7

When I go to admin/config/search/search_api/server/solr everything is green, stating "The Solr server could be reached (latency: 4.4301019439697 ms)."

However, when I go to the Files-Tab at admin/config/search/search_api/server/solr/files there is only an error message:

List of configuration files found:
An error occured while trying to load the list of files.

From watchdog:

SearchApiException while retrieving config files of Solr server Solr: "404" Status: Not Found: Not Found in SearchApiSolrConnection->checkResponse() (line 536 of /xxx/search_api_solr/includes/solr_connection.inc).

Is this an issue or should I just ignore it?

Regards
haggins

edit: in the logging section of the solr admin panel there is an error message that might be related:

Do 20 Mär 2014 11:11:13 CET ERROR ShowFileRequestHandler Can not find: carrot2 [/opt/solr-4.7.0/example/solr/collection1/conf/carrot2]

CommentFileSizeAuthor
#3 2222037-3--files_solr_47.patch1.03 KBdrunken monkey
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

haggins’s picture

Issue summary: View changes
haggins’s picture

Issue summary: View changes
drunken monkey’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
1.03 KB

As long as there are no other error messages, this is nothing to worry about. You just can't view the config files from within Drupal, everything else should still work normally.
However, the error seems to be due to a change in the return format of the admin/file servlet – annoying (and, as far as I can see, completely unnecessary), and a bit hard to debug, but at least easy to fix.
Patch attached, please test/review!

haggins’s picture

Status: Needs review » Reviewed & tested by the community

Thank you, that fixes the issue!

  • Commit 1621107 on 7.x-1.x by drunken monkey:
    Issue #2222037 by drunken monkey: Fixed "Files" tab in Solr 4.7.
    
drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Great to hear, thanks for testing!
Committed.

PS: WOAH! Nice! :D

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.