Found this in a __init__.py file: HAYSTACK_SEARCH_ENGINE = 'solr'
Solr was not running, the Jetty servlet engine is on a seperate server that was not working. The thing is running now and one of the branches on the site is up and running again. Two more to go. :-/ On Friday, 10 October 2014 11:18:41 UTC, Helgi Örn Helgason wrote: > > Thank's Tom, > > solr is most probably not running. > sudo netstat -lpn | grep java > gave nothing at all > > /Helgi > > On Friday, 10 October 2014 10:34:35 UTC, Tom Evans wrote: >> >> On Fri, Oct 10, 2014 at 10:45 AM, Helgi Örn Helgason >> <[email protected]> wrote: >> > >> > Thank you Erik and Collin for your replies, of which I yet haven't >> tried >> > out, perhaps because I don't fully understand them. Like a said; I am a >> noob >> > in Django/Python. :-/ >> > >> > But I have stumbled upon something that could maybe be of help, a thing >> > called solr seems to be causing some problems. >> > >> > supervisor error log says: >> > Failed to query Solr using 'django_ct:projects.project': [Errno 110] >> > Connection timed out >> > >> > and manage.py rebuild_index gives me this: >> > Removing all documents from your index because you said so. >> > Failed to clear Solr index: [Errno 110] Connection timed out >> > All documents removed. >> > Indexing 3933 People. >> > Failed to add documents to Solr: [Errno 110] Connection timed out >> > >> > Can this solr thing block pages from showing? >> > >> > There are now three branches of our site tree that are not showing up. >> :( >> > >> > The system is Django 1.3, Python 2.7.3, PostgreSQL, Nginx. >> > >> >> Yes, SOLR is a search index/database/analysis engine. Depending how >> much your site uses it, it could be essential to displaying web pages. >> >> The errors messages you get from SOLR are "Connection timed out" >> (errno=110). This means you tried to connect to SOLR, it waited a >> bunch of time (probably 30 seconds) and then gave up. The problem is >> that your webserver will wait a bunch of time (probably also 30 >> seconds) and then give up and deliver an empty/blank/error page to the >> client (depends on the server). >> >> Is SOLR running? It is usually run inside tomcat, and has a web ui >> interface for controlling it. It usually runs on port 8983, "sudo >> netstat -lpn | grep java" if it is not. >> >> Tom >> >> PS Django 1.3 has known security flaws, please do upgrade to Django >> 1.4, which has long term support and should not require major changes >> to your own code. >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4faf54ad-49f8-46ba-aed9-3ebc89a0995c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

