Need help with ES (SearchPhaseExecutionException)

I'm having issues and I don't know where to turn. Long story short, my web
designer left me high and dry and I have no idea what he did and he refuses
to answer his phone. I have access to the main page but after that, I'm
completely locked out and staring at a SearchPhaseExecutionException for
every single product in my store. Any help would be much appreciated as I
am completely clueless on what to do. Here is the full error log:

SearchPhaseExecutionException at /category/1

Failed to execute phase [query], total failure; shardFailures {[na][product][0]: No active shards}{[na][product][1]: No active shards}{[na][product][2]: No active shards}{[na][product][3]: No active shards}{[na][product][4]: No active shards}

Request Method:GETRequest URL:
http://www.affordablequalitylighting.com/category/1Django Version:1.3.1Exception
Type:SearchPhaseExecutionExceptionException Value:

Failed to execute phase [query], total failure; shardFailures {[na][product][0]: No active shards}{[na][product][1]: No active shards}{[na][product][2]: No active shards}{[na][product][3]: No active shards}{[na][product][4]: No active shards}

Exception Location:/usr/local/lib/python2.6/dist-packages/pyes/convert_errors.py
in raise_if_error, line 68Python Executable:/usr/bin/pythonPython Version:
2.6.5Python Path:

['/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/pymodules/python2.6',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
'/var/www/singularity/py']

Server time:Thu, 3 Jan 2013 01:24:15 -0800
Traceback Switch to copy-and-paste viewhttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py in
    get_response
                          response = callback(request, *callback_args, **callback_kwargs)
  
  ...

:arrow_forward: Local vars http://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/store/catalog/views.py in category_view
      filterblock = filtering.filter(category, request, num_results, page_num)
  
  ...

:arrow_forward: Local vars http://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/store/catalog/filtering.py in filter
          results = sitesearch.raw_search(q, search.product_index)
  
  ...

:arrow_forward: Local vars http://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/sitesearch/interface.py in raw_search
      return C.search(data, [_idxname(index_name)])
  
  ...

:arrow_forward: Local vars http://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in search
          return self._query_call("_search", body, indexes, doc_types, **query_params)
  
  ...

:arrow_forward: Local vars http://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in _query_call
          response = self._send_request('GET', path, body, querystring_args)
  
  ...

:arrow_forward: Local vars http://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in _send_request
              raise_if_error(response.status, decoded)
  
  ...

:arrow_forward: Local vars http://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/convert_errors.py in
    raise_if_error
              raise excClass(msg, status, result)
  
  ...

:arrow_forward: Local vars http://www.affordablequalitylighting.com/outdoor-lighting#

Request informationGET

No GET data
POST

No POST data
FILES

No FILES data
COOKIESVariableValue__utmz

'36364016.1355763714.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'

_vis_opt_s

'2%7C'

_vis_opt_exp_11_goal_3

'1'

sessionid

'8894e58e6eee1d47f9bdfdb41e9fe7f4'

_vis_opt_exp_11_combi

'2'

csrftoken

'8b335c16f43607ae18f730559c2e0d56'

__utma

'36364016.1140701240.1355763714.1355942217.1355945322.4'

_vis_opt_exp_10_combi

'1'

METAVariableValuemod_wsgi.reload_mechanism

'1'

mod_wsgi.listener_port

'80'

HTTP_REFERER

'http://www.affordablequalitylighting.com/'

mod_wsgi.listener_host

''

SERVER_SOFTWARE

'Apache/2.2.14 (Ubuntu)'

SCRIPT_NAME

u''

SERVER_SIGNATURE

'Apache/2.2.14 (Ubuntu) Server at www.affordablequalitylighting.com Port 80\n'

REQUEST_METHOD

'GET'

PATH_INFO

u'/outdoor-lighting'

SERVER_PROTOCOL

'HTTP/1.1'

QUERY_STRING

''

PATH

'/usr/local/bin:/usr/bin:/bin'

HTTP_ACCEPT_CHARSET

'ISO-8859-1,utf-8;q=0.7,*;q=0.3'

HTTP_USER_AGENT

'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11'

HTTP_CONNECTION

'keep-alive'

HTTP_COOKIE

'_vis_opt_exp_10_combi=1; _vis_opt_s=2%7C; _vis_opt_exp_11_combi=2; _vis_opt_exp_11_goal_3=1; __utma=36364016.1140701240.1355763714.1355942217.1355945322.4; __utmz=36364016.1355763714.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); csrftoken=8b335c16f43607ae18f730559c2e0d56; sessionid=8894e58e6eee1d47f9bdfdb41e9fe7f4'

SERVER_NAME

'www.affordablequalitylighting.com'

REMOTE_ADDR

'10.168.14.143'

wsgi.url_scheme

'http'

PATH_TRANSLATED

'/var/www/singularity/py/wsgi/singularity.py/outdoor-lighting'

SERVER_PORT

'80'

wsgi.multiprocess

False

SERVER_ADDR

'10.160.83.83'

DOCUMENT_ROOT

'/htdocs'

mod_wsgi.process_group

'django'

HTTP_X_FORWARDED_PROTO

'http'

SCRIPT_FILENAME

'/var/www/singularity/py/wsgi/singularity.py'

SERVER_ADMIN

'[no address given]'

SCRIPT_URI

'http://www.affordablequalitylighting.com/outdoor-lighting'

wsgi.input

<mod_wsgi.Input object at 0xb9629930>

HTTP_HOST

'www.affordablequalitylighting.com'

SCRIPT_URL

'/outdoor-lighting'

wsgi.multithread

True

mod_wsgi.callable_object

'application'

REQUEST_URI

'/outdoor-lighting'

HTTP_ACCEPT

'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8'

wsgi.version

(1, 0)

GATEWAY_INTERFACE

'CGI/1.1'

HTTP_X_FORWARDED_FOR

'173.196.151.198'

wsgi.errors

<mod_wsgi.Log object at 0xb94e0c80>

REMOTE_PORT

'37237'

HTTP_ACCEPT_LANGUAGE

'en-US,en;q=0.8'

mod_wsgi.version

(2, 8)

wsgi.run_once

False

HTTP_X_FORWARDED_PORT

'80'

mod_wsgi.application_group

''

mod_wsgi.script_reloading

'1'

wsgi.file_wrapper

''

CSRF_COOKIE

'8b335c16f43607ae18f730559c2e0d56'

HTTP_ACCEPT_ENCODING

'gzip,deflate,sdch'

SettingsUsing settings module settingsSettingValueGOOGLE_ANALYTICS_ID

'UA-13030541-1'

SERVER_EMAIL

'noreply@affordablequalitylighting.com'

USE_L10N

True

USE_THOUSAND_SEPARATOR

False

IMAGES_CONFIG

{'dest_dir': '/var/www/singularity-media/images/store',
'url_prefix': 'images/store'}

LANGUAGE_CODE

'en-us'

ROOT_URLCONF

'urls'

MANAGERS

(('Blake Eggleston', 'bdeggleston@gmail.com'),
('Blake Eggleston', 'be@concordlighting.com'))

SESSION_EXPIRE_AT_BROWSER_CLOSE

False

DEFAULT_CHARSET

'utf-8'

STATIC_ROOT

''

TEST_DATABASE_CHARSET

None

USING_WSGI

True

MESSAGE_STORAGE

'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'

DATABASE_HOST

''

EMAIL_SUBJECT_PREFIX

'[Django] '

SEND_BROKEN_LINK_EMAILS

False

URL_VALIDATOR_USER_AGENT

'Django/1.3.1 (http://www.djangoproject.com)'

STATICFILES_FINDERS

('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder')

SESSION_COOKIE_DOMAIN

None

SESSION_COOKIE_NAME

'sessionid'

CSRF_COOKIE_NAME

'csrftoken'

ADMIN_FOR

()

TIME_INPUT_FORMATS

('%H:%M:%S', '%H:%M')

DATABASES

{'default': {'ENGINE': 'django.db.backends.mysql',
'HOST': 'aqldb.clapuphfn4dw.us-west-1.rds.amazonaws.com',
'NAME': 'singularity',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '',
'TEST_CHARSET': None,
'TEST_COLLATION': None,
'TEST_MIRROR': None,
'TEST_NAME': None,
'TIME_ZONE': 'America/Los_Angeles',
'USER': 'singularity'}}

TEST_DATABASE_NAME

None

FILE_UPLOAD_PERMISSIONS

None

FILE_UPLOAD_HANDLERS

('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')

DEFAULT_CONTENT_TYPE

'text/html'

TEST_RUNNER

'store.testing.runners.TestRunner'

AUTHNET_DEBUG

False

FIRST_DAY_OF_WEEK

0

DATABASE_ROUTERS

[]

SEND_EMAILS

True

YEAR_MONTH_FORMAT

'F Y'

CONTENT_PERMS

508

CACHES

{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': ''}}

ACCOUNT_CONTENT_BASE_PATH

'/var/www/singularity-media/images/store/account_src'

PAYPAL_DEBUG

False

SESSION_COOKIE_PATH

'/'

USE_X_FORWARDED_HOST

False

CONTENT_BASE_PATH

'/var/www/singularity-media/images/store/content'

AUTHNET_ENABLED

True

IGNORABLE_404_ENDS

('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')

ENCRYPTION_CONFIG

{'cc_staging_key': '54c376a2210b8ca994e88758c9a31871',
'cc_storage_key': 'ea284f3c20a9d2c944a6bcb4f7b774d9'}

MIDDLEWARE_CLASSES

('store.metrics.middleware.MetricsMiddleware',
'store.middleware.WorkQueue',
'store.middleware.RedirectMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'store.middleware.UrlRenamer',
'store.discount.middleware.DiscountUrlAttach',
'dynamicpages.DynamicPagesHandler')

USE_I18N

True

THOUSAND_SEPARATOR

','

SECRET_KEY

'********************'

LANGUAGE_COOKIE_NAME

'django_language'

DEFAULT_INDEX_TABLESPACE

''

SERVE_IMAGES

True

CONFIG_PATH

'/var/www/singularity/data/config'

TRANSACTIONS_MANAGED

False

LOGGING_CONFIG

'django.utils.log.dictConfig'

PAYPAL_DOMAIN_NAME

'aql-lb002-1208657660.us-west-1.elb.amazonaws.com'

APPEND_SLASH

True

TEMPLATE_LOADERS

('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader')

ACCOUNT_IMAGE_FORMATS

{'formats': [{'description': 'the fullsize account image',
'max_x': 80,
'max_y': 80,
'name': 'account_full'},
{'description': 'images shown in the sub comments',
'max_x': 40,
'max_y': 40,
'name': 'account_small'}],
'src_dir': '/var/www/singularity-media/images/store/account_src'}

TEMPLATE_DEBUG

False

CONTENT_BASE_URL

'/images/store/content'

TEST_DATABASE_COLLATION

None

FORCE_SCRIPT_NAME

None

CACHE_BACKEND

'locmem://'

SESSION_COOKIE_SECURE

False

TEST_EXCLUDE

('django', 'authorizenet', 'paypal')

COMPILE_TEMPLATES

True

LOCAL_PATH

'/var/www/singularity'

CSRF_COOKIE_DOMAIN

None

FILE_CHARSET

'utf-8'

DEBUG

False

SESSION_FILE_PATH

None

DEFAULT_FILE_STORAGE

'django.core.files.storage.FileSystemStorage'

INSTALLED_APPS

['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'authorizenet',
'paypal.standard.ipn',
'caching',
'sitesearch',
'interaction',
'blog',
'offline',
'store',
'store.account',
'store.cart',
'store.catalog',
'store.catalog.indexing',
'store.catalog.manage',
'store.content',
'store.discount',
'store.images',
'store.locations',
'store.marketing',
'store.metrics',
'store.orders',
'store.reviews',
'store.shipments',
'store.transactions']

LANGUAGES_BIDI

('he', 'ar', 'fa')

DATABASE_ENGINE

''

DEFAULT_FILTER_RESULTS

20

DATABASE_NAME

''

COMMENTS_FIRST_FEW

0

AUTHNET_LOGIN_ID

'2w87JmTv'

REQUIRE_PAYMENT_AT

'invoice'

SEARCH_SERVERS

('127.0.0.1:9200',)

SESSION_COOKIE_HTTPONLY

False

DATABASE_PORT

''

DEBUG_PROPAGATE_EXCEPTIONS

False

PAYPAL_RECEIVER_EMAIL

'paypal@affordablequalitylighting.com'

MONTH_DAY_FORMAT

'F j'

AUTHNET_IMMEDIATE_CAPTURE

False

LOGIN_URL

'/user'

DEFAULT_SEARCH_QTY

9

TIME_FORMAT

'P'

DATE_INPUT_FORMATS

('%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y')

AUTHENTICATION_BACKENDS

('store.account.backends.EmailAuth',)

EMAIL_HOST_PASSWORD

'********************'

APP_INSTANCE

0

TEMPLATE_PATH

'/var/www/tmplaql'

CONTENT_GROUP

'images'

PASSWORD_RESET_TIMEOUT_DAYS

'********************'

CACHE_MIDDLEWARE_ALIAS

'default'

SESSION_SAVE_EVERY_REQUEST

True

ADMIN_MEDIA_PREFIX

'/admin/media/'

NUMBER_GROUPING

0

SESSION_ENGINE

'django.contrib.sessions.backends.db'

STATICFILES_STORAGE

'django.contrib.staticfiles.storage.StaticFilesStorage'

CSRF_FAILURE_VIEW

'django.views.csrf.csrf_failure'

COMMENTS_SKETCHY_USERS_GROUP

None

LOGIN_REDIRECT_URL

'/accounts/profile/'

PAYPAL_ENABLED

True

DECIMAL_SEPARATOR

'.'

CACHE_MIDDLEWARE_KEY_PREFIX

''

LOCALE_PATHS

()

TEMPLATE_STRING_IF_INVALID

''

COMMENTS_ALLOW_PROFANITIES

False

LOGOUT_URL

'/accounts/logout/'

EMAIL_USE_TLS

True

TEMPLATE_DIRS

('/var/www/tmplaql/templates', '/var/www/singularity/templates')

BLOG_CONTENT_BASE_URL

'/images/blog'

FIXTURE_DIRS

('/var/www/singularity/fixtures',)

EMAIL_HOST

'smtp.gmail.com'

DATE_FORMAT

'N j, Y'

ACCOUNT_CONTENT_BASE_URL

'/images/store/account_src'

MEDIA_ROOT

''

ADMINS

(('Blake Eggleston', 'bdeggleston@gmail.com'),
('Blake Eggleston', 'be@concordlighting.com'))

FORMAT_MODULE_PATH

None

DEFAULT_FROM_EMAIL

'webmaster@localhost'

BLOG_CONTENT_BASE_PATH

'/var/www/singularity-media/images/blog'

PRODUCTS_PER_PAGE

10000

REQUIRE_PAYMENT_CHOICES

['invoice', 'processing', 'shipment', 'completion']

STATICFILES_DIRS

()

MEDIA_URL

'/media/'

DATETIME_FORMAT

'N j, Y, P'

IGNORABLE_404_STARTS

('/cgi-bin/', '/_vti_bin', '/_vti_inf')

DEBUG_CHECKOUT

False

PROFILE_SQL

False

SITE_ID

1

DISALLOWED_USER_AGENTS

()

ALLOWED_INCLUDE_ROOTS

()

PRODUCT_IMAGE_FORMATS

{'formats': [{'description': 'the default image on the product page',
'max_x': 447,
'max_y': 384,
'name': 'product_page'},
{'description': 'images shown in the category/filtering view',
'max_x': 130,
'max_y': 96,
'name': 'product_cart'},
{'description': 'images shown in the order review view',
'max_x': 60,
'max_y': 60,
'name': 'product_review'},
{'description': 'images shown in the category/filtering view',
'max_x': 48,
'max_y': 49,
'name': 'product_preview'},
{'description': 'category list and related products',
'max_x': 150,
'max_y': 150,
'name': 'product_list'},
{'description': 'the tiny images in the footer',
'max_x': 25,
'max_y': 25,
'name': 'product_tiny'},
{'description': 'the full highres image',
'force_size': False,
'max_x': 1000,
'max_y': 1000,
'name': 'product_full'}],
'src_dir': '/var/www/singularity-media/images/store/product_src'}

CONTENT_USER

'www-data'

LOGGING

{'disable_existing_loggers': False,
'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
'level': 'ERROR'}},
'loggers': {'django.request': {'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True}},
'version': 1}

PREPEND_WWW

False

SHORT_DATE_FORMAT

'm/d/Y'

DATABASE_USER

''

FREIGHT_CARRIERS

{'rate_modifiers': {'3aa49ec6bfc910647fa1c5a013e48eef': 25},
'ups': {'api_access_key': 'FC6D4E635C4A7F10',
'api_password': 'passive1',
'api_user_id': 'LampsDirect',
'billing_city': 'Valencia',
'billing_country_code': 'US',
'billing_post_code': '91355',
'billing_territory': 'CA',
'dim_type': 'IN',
'free_freight_amount': 0,
'freight_markup': -20,
'shipper_number': 'X0305A',
'weight_type': 'LBS'},
'ups_freight': {'api_access_key': 'CC770A558C47ACB8',
'api_password': 'passive1',
'api_user_id': 'LampsDirect',
'billing_city': 'Valencia',
'billing_country_code': 'US',
'billing_name': 'Concord Lighting',
'billing_post_code': '91355',
'billing_street1': '28150 Ave Crocker',
'billing_street2': 'Ste 312',
'billing_territory': 'CA',
'dim_type': 'IN',
'free_freight_amount': 0,
'freight_markup': -20,
'shipper_number': 'X0305A',
'weight_type': 'LBS'}}

ANALYTICS_ACTIVE

True

TIME_ZONE

'America/Los_Angeles'

FILE_UPLOAD_MAX_MEMORY_SIZE

2621440

PAYMENT_PROCESSORS

{'authorizenet': {'key': '7862YPJ34uumy3MF',
'live': True,
'username': '2w87JmTv'},
'paypalwps': {'business_display_name': 'Affordable Quality Lighting',
'domain_name': 'ec2-50-18-148-185.us-west-1.compute.amazonaws.com',
'key': 'eyoBTzMK8wy25X-Yq5irPxrSe__Gx5BBev4-UVhcq150mnR2VEEWeEbbCRm',
'live': False,
'username': 'be_1333732418_biz@concordlighting.com'}}

EMAIL_BACKEND

'django.core.mail.backends.smtp.EmailBackend'

BLOG_TITLE

'DIY Lighting Blog'

DEFAULT_TABLESPACE

''

TEMPLATE_CONTEXT_PROCESSORS

('django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.contrib.messages.context_processors.messages')

AUTHNET_TRANSACTION_KEY

'7862YPJ34uumy3MF'

TEST_RUN

False

SESSION_COOKIE_AGE

1209600

SETTINGS_MODULE

'settings'

USE_ETAGS

False

EMAIL_HOST_NAME

'Affordable Quality Lighting'

LANGUAGES

(('ar', 'Arabic'),
('az', 'Azerbaijani'),
('bg', 'Bulgarian'),
('bn', 'Bengali'),
('bs', 'Bosnian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('en-gb', 'British English'),
('es', 'Spanish'),
('es-ar', 'Argentinian Spanish'),
('es-mx', 'Mexican Spanish'),
('es-ni', 'Nicaraguan Spanish'),
('et', 'Estonian'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('fy-nl', 'Frisian'),
('ga', 'Irish'),
('gl', 'Galician'),
('he', 'Hebrew'),
('hi', 'Hindi'),
('hr', 'Croatian'),
('hu', 'Hungarian'),
('id', 'Indonesian'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('ml', 'Malayalam'),
('mn', 'Mongolian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('nb', 'Norwegian Bokmal'),
('nn', 'Norwegian Nynorsk'),
('pa', 'Punjabi'),
('pl', 'Polish'),
('pt', 'Portuguese'),
('pt-br', 'Brazilian Portuguese'),
('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
('sq', 'Albanian'),
('sr', 'Serbian'),
('sr-latn', 'Serbian Latin'),
('sv', 'Swedish'),
('ta', 'Tamil'),
('te', 'Telugu'),
('th', 'Thai'),
('tr', 'Turkish'),
('uk', 'Ukrainian'),
('ur', 'Urdu'),
('vi', 'Vietnamese'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese'))

FILE_UPLOAD_TEMP_DIR

None

INTERNAL_IPS

()

STATIC_URL

None

EMAIL_PORT

25

SHORT_DATETIME_FORMAT

'm/d/Y P'

ENFORCE_SSL

True

PROFILE

False

ABSOLUTE_URL_OVERRIDES

{}

DATABASE_OPTIONS

{}

CACHE_MIDDLEWARE_SECONDS

600

BANNED_IPS

()

DATETIME_INPUT_FORMATS

('%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M',
'%Y-%m-%d',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M',
'%m/%d/%Y',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M',
'%m/%d/%y')

DATABASE_PASSWORD

'********************'

COMMENTS_MODERATORS_GROUP

None

PROFANITIES_LIST

'********************'

EMAIL_HOST_USER

'noreply@affordablequalitylighting.com'

COMMENTS_BANNED_USERS_GROUP

None

You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard 500
page.

--

Hello,

The "no active shards" part seems the most relevant. I would assume that
none of the shards of the index(indices) you're looking for are
active/allocated.

You can confirm/invalidate this assumption with a command like this:
curl localhost:9200/_cluster/health?pretty=true

You need to have yellow/green state to get all the needed results from a
search.

Best regards,
Radu

http://sematext.com/ -- ElasticSearch -- Solr -- Lucene

On Thu, Jan 3, 2013 at 11:27 AM, muzakcube64@yahoo.com wrote:

I'm having issues and I don't know where to turn. Long story short, my
web designer left me high and dry and I have no idea what he did and he
refuses to answer his phone. I have access to the main page but after that,
I'm completely locked out and staring at a SearchPhaseExecutionException
for every single product in my store. Any help would be much appreciated
as I am completely clueless on what to do. Here is the full error log:

SearchPhaseExecutionException at /category/1

Failed to execute phase [query], total failure; shardFailures {[na][product][0]: No active shards}{[na][product][1]: No active shards}{[na][product][2]: No active shards}{[na][product][3]: No active shards}{[na][product][4]: No active shards}

Request Method:GETRequest URL:
http://www.affordablequalitylighting.com/category/1Django Version:1.3.1Exception
Type:SearchPhaseExecutionExceptionException Value:

Failed to execute phase [query], total failure; shardFailures {[na][product][0]: No active shards}{[na][product][1]: No active shards}{[na][product][2]: No active shards}{[na][product][3]: No active shards}{[na][product][4]: No active shards}

Exception Location:/usr/local/lib/python2.6/dist-packages/pyes/convert_errors.py
in raise_if_error, line 68Python Executable:/usr/bin/pythonPython Version:
2.6.5Python Path:

['/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/pymodules/python2.6',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
'/var/www/singularity/py']

Server time:Thu, 3 Jan 2013 01:24:15 -0800
Traceback Switch to copy-and-paste viewhttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py
    in get_response
                          response = callback(request, *callback_args, **callback_kwargs)

  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/store/catalog/views.py in category_view
      filterblock = filtering.filter(category, request, num_results, page_num)

  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/store/catalog/filtering.py in filter
          results = sitesearch.raw_search(q, search.product_index)

  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/sitesearch/interface.py in raw_search
      return C.search(data, [_idxname(index_name)])

  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in search
          return self._query_call("_search", body, indexes, doc_types, **query_params)

  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in _query_call
          response = self._send_request('GET', path, body, querystring_args)

  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in _send_request
              raise_if_error(response.status, decoded)

  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/convert_errors.py in
    raise_if_error
              raise excClass(msg, status, result)

  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

Request informationGET

No GET data
POST

No POST data
FILES

No FILES data
COOKIESVariableValue__utmz

'36364016.1355763714.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'

_vis_opt_s

'2%7C'

_vis_opt_exp_11_goal_3

'1'

sessionid

'8894e58e6eee1d47f9bdfdb41e9fe7f4'

_vis_opt_exp_11_combi

'2'

csrftoken

'8b335c16f43607ae18f730559c2e0d56'

__utma

'36364016.1140701240.1355763714.1355942217.1355945322.4'

_vis_opt_exp_10_combi

'1'

METAVariableValuemod_wsgi.reload_mechanism

'1'

mod_wsgi.listener_port

'80'

HTTP_REFERER

'http://www.affordablequalitylighting.com/'

mod_wsgi.listener_host

''

SERVER_SOFTWARE

'Apache/2.2.14 (Ubuntu)'

SCRIPT_NAME

u''

SERVER_SIGNATURE

'Apache/2.2.14 (Ubuntu) Server at www.affordablequalitylighting.com Port 80\n'

REQUEST_METHOD

'GET'

PATH_INFO

u'/outdoor-lighting'

SERVER_PROTOCOL

'HTTP/1.1'

QUERY_STRING

''

PATH

'/usr/local/bin:/usr/bin:/bin'

HTTP_ACCEPT_CHARSET

'ISO-8859-1,utf-8;q=0.7,*;q=0.3'

HTTP_USER_AGENT

'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11'

HTTP_CONNECTION

'keep-alive'

HTTP_COOKIE

'_vis_opt_exp_10_combi=1; _vis_opt_s=2%7C; _vis_opt_exp_11_combi=2; _vis_opt_exp_11_goal_3=1; __utma=36364016.1140701240.1355763714.1355942217.1355945322.4; __utmz=36364016.1355763714.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); csrftoken=8b335c16f43607ae18f730559c2e0d56; sessionid=8894e58e6eee1d47f9bdfdb41e9fe7f4'

SERVER_NAME

'www.affordablequalitylighting.com'

REMOTE_ADDR

'10.168.14.143'

wsgi.url_scheme

'http'

PATH_TRANSLATED

'/var/www/singularity/py/wsgi/singularity.py/outdoor-lighting'

SERVER_PORT

'80'

wsgi.multiprocess

False

SERVER_ADDR

'10.160.83.83'

DOCUMENT_ROOT

'/htdocs'

mod_wsgi.process_group

'django'

HTTP_X_FORWARDED_PROTO

'http'

SCRIPT_FILENAME

'/var/www/singularity/py/wsgi/singularity.py'

SERVER_ADMIN

'[no address given]'

SCRIPT_URI

'http://www.affordablequalitylighting.com/outdoor-lighting'

wsgi.input

<mod_wsgi.Input object at 0xb9629930>

HTTP_HOST

'www.affordablequalitylighting.com'

SCRIPT_URL

'/outdoor-lighting'

wsgi.multithread

True

mod_wsgi.callable_object

'application'

REQUEST_URI

'/outdoor-lighting'

HTTP_ACCEPT

'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8'

wsgi.version

(1, 0)

GATEWAY_INTERFACE

'CGI/1.1'

HTTP_X_FORWARDED_FOR

'173.196.151.198'

wsgi.errors

<mod_wsgi.Log object at 0xb94e0c80>

REMOTE_PORT

'37237'

HTTP_ACCEPT_LANGUAGE

'en-US,en;q=0.8'

mod_wsgi.version

(2, 8)

wsgi.run_once

False

HTTP_X_FORWARDED_PORT

'80'

mod_wsgi.application_group

''

mod_wsgi.script_reloading

'1'

wsgi.file_wrapper

''

CSRF_COOKIE

'8b335c16f43607ae18f730559c2e0d56'

HTTP_ACCEPT_ENCODING

'gzip,deflate,sdch'

SettingsUsing settings module settingsSettingValueGOOGLE_ANALYTICS_ID

'UA-13030541-1'

SERVER_EMAIL

'noreply@affordablequalitylighting.com'

USE_L10N

True

USE_THOUSAND_SEPARATOR

False

IMAGES_CONFIG

{'dest_dir': '/var/www/singularity-media/images/store',
'url_prefix': 'images/store'}

LANGUAGE_CODE

'en-us'

ROOT_URLCONF

'urls'

MANAGERS

(('Blake Eggleston', 'bdeggleston@gmail.com'),
('Blake Eggleston', 'be@concordlighting.com'))

SESSION_EXPIRE_AT_BROWSER_CLOSE

False

DEFAULT_CHARSET

'utf-8'

STATIC_ROOT

''

TEST_DATABASE_CHARSET

None

USING_WSGI

True

MESSAGE_STORAGE

'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'

DATABASE_HOST

''

EMAIL_SUBJECT_PREFIX

'[Django] '

SEND_BROKEN_LINK_EMAILS

False

URL_VALIDATOR_USER_AGENT

'Django/1.3.1 (http://www.djangoproject.com)'

STATICFILES_FINDERS

('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder')

SESSION_COOKIE_DOMAIN

None

SESSION_COOKIE_NAME

'sessionid'

CSRF_COOKIE_NAME

'csrftoken'

ADMIN_FOR

()

TIME_INPUT_FORMATS

('%H:%M:%S', '%H:%M')

DATABASES

{'default': {'ENGINE': 'django.db.backends.mysql',
'HOST': 'aqldb.clapuphfn4dw.us-west-1.rds.amazonaws.com',
'NAME': 'singularity',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '',
'TEST_CHARSET': None,
'TEST_COLLATION': None,
'TEST_MIRROR': None,
'TEST_NAME': None,
'TIME_ZONE': 'America/Los_Angeles',
'USER': 'singularity'}}

TEST_DATABASE_NAME

None

FILE_UPLOAD_PERMISSIONS

None

FILE_UPLOAD_HANDLERS

('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')

DEFAULT_CONTENT_TYPE

'text/html'

TEST_RUNNER

'store.testing.runners.TestRunner'

AUTHNET_DEBUG

False

FIRST_DAY_OF_WEEK

0

DATABASE_ROUTERS

[]

SEND_EMAILS

True

YEAR_MONTH_FORMAT

'F Y'

CONTENT_PERMS

508

CACHES

{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': ''}}

ACCOUNT_CONTENT_BASE_PATH

'/var/www/singularity-media/images/store/account_src'

PAYPAL_DEBUG

False

SESSION_COOKIE_PATH

'/'

USE_X_FORWARDED_HOST

False

CONTENT_BASE_PATH

'/var/www/singularity-media/images/store/content'

AUTHNET_ENABLED

True

IGNORABLE_404_ENDS

('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')

ENCRYPTION_CONFIG

{'cc_staging_key': '54c376a2210b8ca994e88758c9a31871',
'cc_storage_key': 'ea284f3c20a9d2c944a6bcb4f7b774d9'}

MIDDLEWARE_CLASSES

('store.metrics.middleware.MetricsMiddleware',
'store.middleware.WorkQueue',
'store.middleware.RedirectMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'store.middleware.UrlRenamer',
'store.discount.middleware.DiscountUrlAttach',
'dynamicpages.DynamicPagesHandler')

USE_I18N

True

THOUSAND_SEPARATOR

','

SECRET_KEY

'********************'

LANGUAGE_COOKIE_NAME

'django_language'

DEFAULT_INDEX_TABLESPACE

''

SERVE_IMAGES

True

CONFIG_PATH

'/var/www/singularity/data/config'

TRANSACTIONS_MANAGED

False

LOGGING_CONFIG

'django.utils.log.dictConfig'

PAYPAL_DOMAIN_NAME

'aql-lb002-1208657660.us-west-1.elb.amazonaws.com'

APPEND_SLASH

True

TEMPLATE_LOADERS

('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader')

ACCOUNT_IMAGE_FORMATS

{'formats': [{'description': 'the fullsize account image',
'max_x': 80,
'max_y': 80,
'name': 'account_full'},
{'description': 'images shown in the sub comments',
'max_x': 40,
'max_y': 40,
'name': 'account_small'}],
'src_dir': '/var/www/singularity-media/images/store/account_src'}

TEMPLATE_DEBUG

False

CONTENT_BASE_URL

'/images/store/content'

TEST_DATABASE_COLLATION

None

FORCE_SCRIPT_NAME

None

CACHE_BACKEND

'locmem://'

SESSION_COOKIE_SECURE

False

TEST_EXCLUDE

('django', 'authorizenet', 'paypal')

COMPILE_TEMPLATES

True

LOCAL_PATH

'/var/www/singularity'

CSRF_COOKIE_DOMAIN

None

FILE_CHARSET

'utf-8'

DEBUG

False

SESSION_FILE_PATH

None

DEFAULT_FILE_STORAGE

'django.core.files.storage.FileSystemStorage'

INSTALLED_APPS

['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'authorizenet',
'paypal.standard.ipn',
'caching',
'sitesearch',
'interaction',
'blog',
'offline',
'store',
'store.account',
'store.cart',
'store.catalog',
'store.catalog.indexing',
'store.catalog.manage',
'store.content',
'store.discount',
'store.images',
'store.locations',
'store.marketing',
'store.metrics',
'store.orders',
'store.reviews',
'store.shipments',
'store.transactions']

LANGUAGES_BIDI

('he', 'ar', 'fa')

DATABASE_ENGINE

''

DEFAULT_FILTER_RESULTS

20

DATABASE_NAME

''

COMMENTS_FIRST_FEW

0

AUTHNET_LOGIN_ID

'2w87JmTv'

REQUIRE_PAYMENT_AT

'invoice'

SEARCH_SERVERS

('127.0.0.1:9200',)

SESSION_COOKIE_HTTPONLY

False

DATABASE_PORT

''

DEBUG_PROPAGATE_EXCEPTIONS

False

PAYPAL_RECEIVER_EMAIL

'paypal@affordablequalitylighting.com'

MONTH_DAY_FORMAT

'F j'

AUTHNET_IMMEDIATE_CAPTURE

False

LOGIN_URL

'/user'

DEFAULT_SEARCH_QTY

9

TIME_FORMAT

'P'

DATE_INPUT_FORMATS

('%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y')

AUTHENTICATION_BACKENDS

('store.account.backends.EmailAuth',)

EMAIL_HOST_PASSWORD

'********************'

APP_INSTANCE

0

TEMPLATE_PATH

'/var/www/tmplaql'

CONTENT_GROUP

'images'

PASSWORD_RESET_TIMEOUT_DAYS

'********************'

CACHE_MIDDLEWARE_ALIAS

'default'

SESSION_SAVE_EVERY_REQUEST

True

ADMIN_MEDIA_PREFIX

'/admin/media/'

NUMBER_GROUPING

0

SESSION_ENGINE

'django.contrib.sessions.backends.db'

STATICFILES_STORAGE

'django.contrib.staticfiles.storage.StaticFilesStorage'

CSRF_FAILURE_VIEW

'django.views.csrf.csrf_failure'

COMMENTS_SKETCHY_USERS_GROUP

None

LOGIN_REDIRECT_URL

'/accounts/profile/'

PAYPAL_ENABLED

True

DECIMAL_SEPARATOR

'.'

CACHE_MIDDLEWARE_KEY_PREFIX

''

LOCALE_PATHS

()

TEMPLATE_STRING_IF_INVALID

''

COMMENTS_ALLOW_PROFANITIES

False

LOGOUT_URL

'/accounts/logout/'

EMAIL_USE_TLS

True

TEMPLATE_DIRS

('/var/www/tmplaql/templates', '/var/www/singularity/templates')

BLOG_CONTENT_BASE_URL

'/images/blog'

FIXTURE_DIRS

('/var/www/singularity/fixtures',)

EMAIL_HOST

'smtp.gmail.com'

DATE_FORMAT

'N j, Y'

ACCOUNT_CONTENT_BASE_URL

'/images/store/account_src'

MEDIA_ROOT

''

ADMINS

(('Blake Eggleston', 'bdeggleston@gmail.com'),
('Blake Eggleston', 'be@concordlighting.com'))

FORMAT_MODULE_PATH

None

DEFAULT_FROM_EMAIL

'webmaster@localhost'

BLOG_CONTENT_BASE_PATH

'/var/www/singularity-media/images/blog'

PRODUCTS_PER_PAGE

10000

REQUIRE_PAYMENT_CHOICES

['invoice', 'processing', 'shipment', 'completion']

STATICFILES_DIRS

()

MEDIA_URL

'/media/'

DATETIME_FORMAT

'N j, Y, P'

IGNORABLE_404_STARTS

('/cgi-bin/', '/_vti_bin', '/_vti_inf')

DEBUG_CHECKOUT

False

PROFILE_SQL

False

SITE_ID

1

DISALLOWED_USER_AGENTS

()

ALLOWED_INCLUDE_ROOTS

()

PRODUCT_IMAGE_FORMATS

{'formats': [{'description': 'the default image on the product page',
'max_x': 447,
'max_y': 384,
'name': 'product_page'},
{'description': 'images shown in the category/filtering view',
'max_x': 130,
'max_y': 96,
'name': 'product_cart'},
{'description': 'images shown in the order review view',
'max_x': 60,
'max_y': 60,
'name': 'product_review'},
{'description': 'images shown in the category/filtering view',
'max_x': 48,
'max_y': 49,
'name': 'product_preview'},
{'description': 'category list and related products',
'max_x': 150,
'max_y': 150,
'name': 'product_list'},
{'description': 'the tiny images in the footer',
'max_x': 25,
'max_y': 25,
'name': 'product_tiny'},
{'description': 'the full highres image',
'force_size': False,
'max_x': 1000,
'max_y': 1000,
'name': 'product_full'}],
'src_dir': '/var/www/singularity-media/images/store/product_src'}

CONTENT_USER

'www-data'

LOGGING

{'disable_existing_loggers': False,
'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
'level': 'ERROR'}},
'loggers': {'django.request': {'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True}},
'version': 1}

PREPEND_WWW

False

SHORT_DATE_FORMAT

'm/d/Y'

DATABASE_USER

''

FREIGHT_CARRIERS

{'rate_modifiers': {'3aa49ec6bfc910647fa1c5a013e48eef': 25},
'ups': {'api_access_key': 'FC6D4E635C4A7F10',
'api_password': 'passive1',
'api_user_id': 'LampsDirect',
'billing_city': 'Valencia',
'billing_country_code': 'US',
'billing_post_code': '91355',
'billing_territory': 'CA',
'dim_type': 'IN',
'free_freight_amount': 0,
'freight_markup': -20,
'shipper_number': 'X0305A',
'weight_type': 'LBS'},
'ups_freight': {'api_access_key': 'CC770A558C47ACB8',
'api_password': 'passive1',
'api_user_id': 'LampsDirect',
'billing_city': 'Valencia',
'billing_country_code': 'US',
'billing_name': 'Concord Lighting',
'billing_post_code': '91355',
'billing_street1': '28150 Ave Crocker',
'billing_street2': 'Ste 312',
'billing_territory': 'CA',
'dim_type': 'IN',
'free_freight_amount': 0,
'freight_markup': -20,
'shipper_number': 'X0305A',
'weight_type': 'LBS'}}

ANALYTICS_ACTIVE

True

TIME_ZONE

'America/Los_Angeles'

FILE_UPLOAD_MAX_MEMORY_SIZE

2621440

PAYMENT_PROCESSORS

{'authorizenet': {'key': '7862YPJ34uumy3MF',
'live': True,
'username': '2w87JmTv'},
'paypalwps': {'business_display_name': 'Affordable Quality Lighting',
'domain_name': 'ec2-50-18-148-185.us-west-1.compute.amazonaws.com',
'key': 'eyoBTzMK8wy25X-Yq5irPxrSe__Gx5BBev4-UVhcq150mnR2VEEWeEbbCRm',
'live': False,
'username': 'be_1333732418_biz@concordlighting.com'}}

EMAIL_BACKEND

'django.core.mail.backends.smtp.EmailBackend'

BLOG_TITLE

'DIY Lighting Blog'

DEFAULT_TABLESPACE

''

TEMPLATE_CONTEXT_PROCESSORS

('django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.contrib.messages.context_processors.messages')

AUTHNET_TRANSACTION_KEY

'7862YPJ34uumy3MF'

TEST_RUN

False

SESSION_COOKIE_AGE

1209600

SETTINGS_MODULE

'settings'

USE_ETAGS

False

EMAIL_HOST_NAME

'Affordable Quality Lighting'

LANGUAGES

(('ar', 'Arabic'),
('az', 'Azerbaijani'),
('bg', 'Bulgarian'),
('bn', 'Bengali'),
('bs', 'Bosnian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('en-gb', 'British English'),
('es', 'Spanish'),
('es-ar', 'Argentinian Spanish'),
('es-mx', 'Mexican Spanish'),
('es-ni', 'Nicaraguan Spanish'),
('et', 'Estonian'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('fy-nl', 'Frisian'),
('ga', 'Irish'),
('gl', 'Galician'),
('he', 'Hebrew'),
('hi', 'Hindi'),
('hr', 'Croatian'),
('hu', 'Hungarian'),
('id', 'Indonesian'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('ml', 'Malayalam'),
('mn', 'Mongolian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('nb', 'Norwegian Bokmal'),
('nn', 'Norwegian Nynorsk'),
('pa', 'Punjabi'),
('pl', 'Polish'),
('pt', 'Portuguese'),
('pt-br', 'Brazilian Portuguese'),
('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
('sq', 'Albanian'),
('sr', 'Serbian'),
('sr-latn', 'Serbian Latin'),
('sv', 'Swedish'),
('ta', 'Tamil'),
('te', 'Telugu'),
('th', 'Thai'),
('tr', 'Turkish'),
('uk', 'Ukrainian'),
('ur', 'Urdu'),
('vi', 'Vietnamese'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese'))

FILE_UPLOAD_TEMP_DIR

None

INTERNAL_IPS

()

STATIC_URL

None

EMAIL_PORT

25

SHORT_DATETIME_FORMAT

'm/d/Y P'

ENFORCE_SSL

True

PROFILE

False

ABSOLUTE_URL_OVERRIDES

{}

DATABASE_OPTIONS

{}

CACHE_MIDDLEWARE_SECONDS

600

BANNED_IPS

()

DATETIME_INPUT_FORMATS

('%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M',
'%Y-%m-%d',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M',
'%m/%d/%Y',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M',
'%m/%d/%y')

DATABASE_PASSWORD

'********************'

COMMENTS_MODERATORS_GROUP

None

PROFANITIES_LIST

'********************'

EMAIL_HOST_USER

'noreply@affordablequalitylighting.com'

COMMENTS_BANNED_USERS_GROUP

None

You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard
500 page.

--

--

I appreciate the fast response! I ran the command and this was the output:

"cluster_name" : "elasticsearch",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 20

How do I get the status out of the red? I would hazard a guess that I have
to allocate the shards but again I'm a moron with this type of thing and
have no idea on where to start.

On Thursday, January 3, 2013 2:48:03 AM UTC-8, Radu Gheorghe wrote:

Hello,

The "no active shards" part seems the most relevant. I would assume that
none of the shards of the index(indices) you're looking for are
active/allocated.

You can confirm/invalidate this assumption with a command like this:
curl localhost:9200/_cluster/health?pretty=true

You need to have yellow/green state to get all the needed results from a
search.

Best regards,
Radu

http://sematext.com/ -- ElasticSearch -- Solr -- Lucene

On Thu, Jan 3, 2013 at 11:27 AM, <muzak...@yahoo.com <javascript:>> wrote:

I'm having issues and I don't know where to turn. Long story short, my
web designer left me high and dry and I have no idea what he did and he
refuses to answer his phone. I have access to the main page but after that,
I'm completely locked out and staring at a SearchPhaseExecutionException
for every single product in my store. Any help would be much appreciated
as I am completely clueless on what to do. Here is the full error log:

SearchPhaseExecutionException at /category/1

Failed to execute phase [query], total failure; shardFailures {[na][product][0]: No active shards}{[na][product][1]: No active shards}{[na][product][2]: No active shards}{[na][product][3]: No active shards}{[na][product][4]: No active shards}

Request Method: GETRequest URL:
http://www.affordablequalitylighting.com/category/1 Django Version:1.3.1Exception
Type: SearchPhaseExecutionExceptionException Value:

Failed to execute phase [query], total failure; shardFailures {[na][product][0]: No active shards}{[na][product][1]: No active shards}{[na][product][2]: No active shards}{[na][product][3]: No active shards}{[na][product][4]: No active shards}

Exception Location:/usr/local/lib/python2.6/dist-packages/pyes/convert_errors.py
in raise_if_error, line 68 Python Executable:/usr/bin/python Python
Version:2.6.5Python Path:

['/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/pymodules/python2.6',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
'/var/www/singularity/py']

Server time: Thu, 3 Jan 2013 01:24:15 -0800
Traceback Switch to copy-and-paste viewhttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py
    in get_response
                          response = callback(request, *callback_args, **callback_kwargs)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/store/catalog/views.py in category_view
      filterblock = filtering.filter(category, request, num_results, page_num)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/store/catalog/filtering.py in filter
          results = sitesearch.raw_search(q, search.product_index)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/sitesearch/interface.py in raw_search
      return C.search(data, [_idxname(index_name)])
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in search
          return self._query_call("_search", body, indexes, doc_types, **query_params)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in _query_call
          response = self._send_request('GET', path, body, querystring_args)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in _send_request
              raise_if_error(response.status, decoded)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/convert_errors.py in
    raise_if_error
              raise excClass(msg, status, result)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

Request information GET

No GET data
POST

No POST data
FILES

No FILES data
COOKIES VariableValue __utmz

'36364016.1355763714.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'

_vis_opt_s

'2%7C'

_vis_opt_exp_11_goal_3

'1'

sessionid

'8894e58e6eee1d47f9bdfdb41e9fe7f4'

_vis_opt_exp_11_combi

'2'

csrftoken

'8b335c16f43607ae18f730559c2e0d56'

__utma

'36364016.1140701240.1355763714.1355942217.1355945322.4'

_vis_opt_exp_10_combi

'1'

META Variable Valuemod_wsgi.reload_mechanism

'1'

mod_wsgi.listener_port

'80'

HTTP_REFERER

'http://www.affordablequalitylighting.com/'

mod_wsgi.listener_host

''

SERVER_SOFTWARE

'Apache/2.2.14 (Ubuntu)'

SCRIPT_NAME

u''

SERVER_SIGNATURE

'Apache/2.2.14 (Ubuntu) Server at www.affordablequalitylighting.com Port 80\n'

REQUEST_METHOD

'GET'

PATH_INFO

u'/outdoor-lighting'

SERVER_PROTOCOL

'HTTP/1.1'

QUERY_STRING

''

PATH

'/usr/local/bin:/usr/bin:/bin'

HTTP_ACCEPT_CHARSET

'ISO-8859-1,utf-8;q=0.7,*;q=0.3'

HTTP_USER_AGENT

'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11'

HTTP_CONNECTION

'keep-alive'

HTTP_COOKIE

'_vis_opt_exp_10_combi=1; _vis_opt_s=2%7C; _vis_opt_exp_11_combi=2; _vis_opt_exp_11_goal_3=1; __utma=36364016.1140701240.1355763714.1355942217.1355945322.4; __utmz=36364016.1355763714.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); csrftoken=8b335c16f43607ae18f730559c2e0d56; sessionid=8894e58e6eee1d47f9bdfdb41e9fe7f4'

SERVER_NAME

'www.affordablequalitylighting.com'

REMOTE_ADDR

'10.168.14.143'

wsgi.url_scheme

'http'

PATH_TRANSLATED

'/var/www/singularity/py/wsgi/singularity.py/outdoor-lighting'

SERVER_PORT

'80'

wsgi.multiprocess

False

SERVER_ADDR

'10.160.83.83'

DOCUMENT_ROOT

'/htdocs'

mod_wsgi.process_group

'django'

HTTP_X_FORWARDED_PROTO

'http'

SCRIPT_FILENAME

'/var/www/singularity/py/wsgi/singularity.py'

SERVER_ADMIN

'[no address given]'

SCRIPT_URI

'http://www.affordablequalitylighting.com/outdoor-lighting'

wsgi.input

<mod_wsgi.Input object at 0xb9629930>

HTTP_HOST

'www.affordablequalitylighting.com'

SCRIPT_URL

'/outdoor-lighting'

wsgi.multithread

True

mod_wsgi.callable_object

'application'

REQUEST_URI

'/outdoor-lighting'

HTTP_ACCEPT

'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8'

wsgi.version

(1, 0)

GATEWAY_INTERFACE

'CGI/1.1'

HTTP_X_FORWARDED_FOR

'173.196.151.198'

wsgi.errors

<mod_wsgi.Log object at 0xb94e0c80>

REMOTE_PORT

'37237'

HTTP_ACCEPT_LANGUAGE

'en-US,en;q=0.8'

mod_wsgi.version

(2, 8)

wsgi.run_once

False

HTTP_X_FORWARDED_PORT

'80'

mod_wsgi.application_group

''

mod_wsgi.script_reloading

'1'

wsgi.file_wrapper

''

CSRF_COOKIE

'8b335c16f43607ae18f730559c2e0d56'

HTTP_ACCEPT_ENCODING

'gzip,deflate,sdch'

SettingsUsing settings module settings SettingValue GOOGLE_ANALYTICS_ID

'UA-13030541-1'

SERVER_EMAIL

'nor...@affordablequalitylighting.com <javascript:>'

USE_L10N

True

USE_THOUSAND_SEPARATOR

False

IMAGES_CONFIG

{'dest_dir': '/var/www/singularity-media/images/store',
'url_prefix': 'images/store'}

LANGUAGE_CODE

'en-us'

ROOT_URLCONF

'urls'

MANAGERS

(('Blake Eggleston', 'bdegg...@gmail.com <javascript:>'),
('Blake Eggleston', 'b...@concordlighting.com <javascript:>'))

SESSION_EXPIRE_AT_BROWSER_CLOSE

False

DEFAULT_CHARSET

'utf-8'

STATIC_ROOT

''

TEST_DATABASE_CHARSET

None

USING_WSGI

True

MESSAGE_STORAGE

'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'

DATABASE_HOST

''

EMAIL_SUBJECT_PREFIX

'[Django] '

SEND_BROKEN_LINK_EMAILS

False

URL_VALIDATOR_USER_AGENT

'Django/1.3.1 (http://www.djangoproject.com)'

STATICFILES_FINDERS

('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder')

SESSION_COOKIE_DOMAIN

None

SESSION_COOKIE_NAME

'sessionid'

CSRF_COOKIE_NAME

'csrftoken'

ADMIN_FOR

()

TIME_INPUT_FORMATS

('%H:%M:%S', '%H:%M')

DATABASES

{'default': {'ENGINE': 'django.db.backends.mysql',
'HOST': 'aqldb.clapuphfn4dw.us-west-1.rds.amazonaws.com',
'NAME': 'singularity',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '',
'TEST_CHARSET': None,
'TEST_COLLATION': None,
'TEST_MIRROR': None,
'TEST_NAME': None,
'TIME_ZONE': 'America/Los_Angeles',
'USER': 'singularity'}}

TEST_DATABASE_NAME

None

FILE_UPLOAD_PERMISSIONS

None

FILE_UPLOAD_HANDLERS

('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')

DEFAULT_CONTENT_TYPE

'text/html'

TEST_RUNNER

'store.testing.runners.TestRunner'

AUTHNET_DEBUG

False

FIRST_DAY_OF_WEEK

0

DATABASE_ROUTERS

[]

SEND_EMAILS

True

YEAR_MONTH_FORMAT

'F Y'

CONTENT_PERMS

508

CACHES

{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': ''}}

ACCOUNT_CONTENT_BASE_PATH

'/var/www/singularity-media/images/store/account_src'

PAYPAL_DEBUG

False

SESSION_COOKIE_PATH

'/'

USE_X_FORWARDED_HOST

False

CONTENT_BASE_PATH

'/var/www/singularity-media/images/store/content'

AUTHNET_ENABLED

True

IGNORABLE_404_ENDS

('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')

ENCRYPTION_CONFIG

{'cc_staging_key': '54c376a2210b8ca994e88758c9a31871',
'cc_storage_key': 'ea284f3c20a9d2c944a6bcb4f7b774d9'}

MIDDLEWARE_CLASSES

('store.metrics.middleware.MetricsMiddleware',
'store.middleware.WorkQueue',
'store.middleware.RedirectMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'store.middleware.UrlRenamer',
'store.discount.middleware.DiscountUrlAttach',
'dynamicpages.DynamicPagesHandler')

USE_I18N

True

THOUSAND_SEPARATOR

','

SECRET_KEY

'********************'

LANGUAGE_COOKIE_NAME

'django_language'

DEFAULT_INDEX_TABLESPACE

''

SERVE_IMAGES

True

CONFIG_PATH

'/var/www/singularity/data/config'

TRANSACTIONS_MANAGED

False

LOGGING_CONFIG

'django.utils.log.dictConfig'

PAYPAL_DOMAIN_NAME

'aql-lb002-1208657660.us-west-1.elb.amazonaws.com'

APPEND_SLASH

True

TEMPLATE_LOADERS

('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader')

ACCOUNT_IMAGE_FORMATS

{'formats': [{'description': 'the fullsize account image',
'max_x': 80,
'max_y': 80,
'name': 'account_full'},
{'description': 'images shown in the sub comments',
'max_x': 40,
'max_y': 40,
'name': 'account_small'}],
'src_dir': '/var/www/singularity-media/images/store/account_src'}

TEMPLATE_DEBUG

False

CONTENT_BASE_URL

'/images/store/content'

TEST_DATABASE_COLLATION

None

FORCE_SCRIPT_NAME

None

CACHE_BACKEND

'locmem://'

SESSION_COOKIE_SECURE

False

TEST_EXCLUDE...
Show originalhttps://groups.google.com/group/elasticsearch/msg/3bdcdfd29278d32f?dmode=source&output=gplain&noredirect

--

I appreciate the fast response! I ran the command and this was the output:

"cluster_name" : "elasticsearch",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 20

--

Do you have only 1 node in the cluster? Is the underlying filesystem where
the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ? Replace
localhost with the IP of your elasticsearch instance.

--
Ivan

On Thu, Jan 3, 2013 at 8:21 AM, muzakcube64@yahoo.com wrote:

I appreciate the fast response! I ran the command and this was the output:

"cluster_name" : "elasticsearch",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 20

How do I get the status out of the red? I would hazard a guess that I
have to allocate the shards but again I'm a moron with this type of thing
and have no idea on where to start.

--

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem where
the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ?
Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

That command is to create a new index. Try this instead: curl
http://localhost:9200/product/**_statushttp://localhost:9200/product/_status

Do you know what version of ES you are running? If you don't, try: curl
http://localhost:9200/ http://localhost:9200/product/_status

On Thu, Jan 3, 2013 at 9:30 AM, muzakcube64@yahoo.com wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/**_statushttp://localhost:9200/product/_status? Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

--

That command successfully creates a new index. It should have failed if
index existed. But it seems that you are running it on another server. At
least log file that you posted on stackoverflow contains different ip
address.

Could you find logging.yml file in your elasticsearch installation,
uncomment the following lines:

gateway

gateway: DEBUG
index.gateway: DEBUG

peer shard recovery

indices.recovery: DEBUG

restart elasticsearch service and post the new log file here?

On Thursday, January 3, 2013 12:30:53 PM UTC-5, muzak...@yahoo.com wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ?
Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

The index names are different: product and products.

On Thu, Jan 3, 2013 at 9:54 AM, Igor Motov imotov@gmail.com wrote:

That command successfully creates a new index. It should have failed if
index existed. But it seems that you are running it on another server. At
least log file that you posted on stackoverflow contains different ip
address.

Could you find logging.yml file in your elasticsearch installation,
uncomment the following lines:

gateway

gateway: DEBUG
index.gateway: DEBUG

peer shard recovery

indices.recovery: DEBUG

restart elasticsearch service and post the new log file here?

On Thursday, January 3, 2013 12:30:53 PM UTC-5, muzak...@yahoo.com wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":**true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/**_statushttp://localhost:9200/product/_status? Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

--

Good catch!

On Thursday, January 3, 2013 1:00:14 PM UTC-5, Ivan Brusic wrote:

The index names are different: product and products.

On Thu, Jan 3, 2013 at 9:54 AM, Igor Motov <imo...@gmail.com <javascript:>

wrote:

That command successfully creates a new index. It should have failed if
index existed. But it seems that you are running it on another server. At
least log file that you posted on stackoverflow contains different ip
address.

Could you find logging.yml file in your elasticsearch installation,
uncomment the following lines:

gateway

gateway: DEBUG
index.gateway: DEBUG

peer shard recovery

indices.recovery: DEBUG

restart elasticsearch service and post the new log file here?

On Thursday, January 3, 2013 12:30:53 PM UTC-5, muzak...@yahoo.com wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":**true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/**_statushttp://localhost:9200/product/_status? Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

--

curl http://localhost:9200/product/_status outputs:
{"ok":true,"_shards":{"total":10,"successful":0,"failed":0},"indices":{}}

the version of ES is 0.19.1

On Thursday, January 3, 2013 9:49:19 AM UTC-8, Ivan Brusic wrote:

That command is to create a new index. Try this instead: curl
http://localhost:9200/product/**_statushttp://localhost:9200/product/_status

Do you know what version of ES you are running? If you don't, try: curl
http://localhost:9200/ http://localhost:9200/product/_status

On Thu, Jan 3, 2013 at 9:30 AM, <muzak...@yahoo.com <javascript:>> wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/**_statushttp://localhost:9200/product/_status? Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

--

this is the new log (remaned to elasticsearch2.log for my own sanity)
http://www.filedropper.com/elasticsearch2

On Thursday, January 3, 2013 9:54:46 AM UTC-8, Igor Motov wrote:

That command successfully creates a new index. It should have failed if
index existed. But it seems that you are running it on another server. At
least log file that you posted on stackoverflow contains different ip
address.

Could you find logging.yml file in your elasticsearch installation,
uncomment the following lines:

gateway

gateway: DEBUG
index.gateway: DEBUG

peer shard recovery

indices.recovery: DEBUG

restart elasticsearch service and post the new log file here?

On Thursday, January 3, 2013 12:30:53 PM UTC-5, muzak...@yahoo.com wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ?
Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

I don't see any difference. Could you just paste it as a gist
(https://gist.github.com/)? It doesn't look that big.

On Thursday, January 3, 2013 2:04:12 PM UTC-5, muzak...@yahoo.com wrote:

this is the new log (remaned to elasticsearch2.log for my own sanity)
http://www.filedropper.com/elasticsearch2

On Thursday, January 3, 2013 9:54:46 AM UTC-8, Igor Motov wrote:

That command successfully creates a new index. It should have failed if
index existed. But it seems that you are running it on another server. At
least log file that you posted on stackoverflow contains different ip
address.

Could you find logging.yml file in your elasticsearch installation,
uncomment the following lines:

gateway

gateway: DEBUG
index.gateway: DEBUG

peer shard recovery

indices.recovery: DEBUG

restart elasticsearch service and post the new log file here?

On Thursday, January 3, 2013 12:30:53 PM UTC-5, muzak...@yahoo.com wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ?
Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--


if the formatting is wrong or if I did something wrong, let me know

On Thursday, January 3, 2013 11:40:16 AM UTC-8, Igor Motov wrote:

I don't see any difference. Could you just paste it as a gist (
https://gist.github.com/)? It doesn't look that big.

On Thursday, January 3, 2013 2:04:12 PM UTC-5, muzak...@yahoo.com wrote:

this is the new log (remaned to elasticsearch2.log for my own sanity)
http://www.filedropper.com/elasticsearch2

On Thursday, January 3, 2013 9:54:46 AM UTC-8, Igor Motov wrote:

That command successfully creates a new index. It should have failed if
index existed. But it seems that you are running it on another server. At
least log file that you posted on stackoverflow contains different ip
address.

Could you find logging.yml file in your elasticsearch installation,
uncomment the following lines:

gateway

gateway: DEBUG
index.gateway: DEBUG

peer shard recovery

indices.recovery: DEBUG

restart elasticsearch service and post the new log file here?

On Thursday, January 3, 2013 12:30:53 PM UTC-5, muzak...@yahoo.comwrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ?
Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

BTW, you probably want to delete that new index you created. It uses the
default settings of 1 replica, and since you do not have more than 1 node,
the cluster will be in a red state.

curl -XDELETE 'http://localhost:9200/products/'

It also appears that you have two other indices, one being product. Is the
other index correct? Can you gist the output of
curl http://192.168.52.155:9200/_cluster/state

For those that really know the internals, the error message
has [na][product][0], which means the nodeId is null. Is that an issue?

--
Ivan

On Thu, Jan 3, 2013 at 9:49 AM, Ivan Brusic ivan@brusic.com wrote:

That command is to create a new index. Try this instead: curl
http://localhost:9200/product/**_statushttp://localhost:9200/product/_status

Do you know what version of ES you are running? If you don't, try: curl
http://localhost:9200/ http://localhost:9200/product/_status

On Thu, Jan 3, 2013 at 9:30 AM, muzakcube64@yahoo.com wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/**_statushttp://localhost:9200/product/_status? Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

--

Hello!

Ivan I think that the cluster will be in yellow state, not red (of course when talking about healthy deployment). Red would mean that primary shards can't be allocated, yellow that replicas can't be.

--

Regards,

Rafał Kuć

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

BTW, you probably want to delete that new index you created. It uses the default settings of 1 replica, and since you do not have more than 1 node, the cluster will be in a red state.

curl -XDELETE 'http://localhost:9200/products/'

It also appears that you have two other indices, one being product. Is the other index correct? Can you gist the output of

curl http://192.168.52.155:9200/_cluster/state

For those that really know the internals, the error message has [na][product][0], which means the nodeId is null. Is that an issue?

--

Ivan

On Thu, Jan 3, 2013 at 9:49 AM, Ivan Brusic <ivan@brusic.com> wrote:

That command is to create a new index. Try this instead: curl http://localhost:9200/product/_status

Do you know what version of ES you are running? If you don't, try: curl http://localhost:9200/

On Thu, Jan 3, 2013 at 9:30 AM, <muzakcube64@yahoo.com> wrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem where the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ? Replace localhost with the IP of your elasticsearch instance.

--

Ivan

--

--

Are you sure you applied changes to right logging.yml and they were applied
correctly? It doesn't look like the had any effect.

On Thursday, January 3, 2013 3:16:11 PM UTC-5, muzak...@yahoo.com wrote:

https://gist.github.com/4446755
if the formatting is wrong or if I did something wrong, let me know

On Thursday, January 3, 2013 11:40:16 AM UTC-8, Igor Motov wrote:

I don't see any difference. Could you just paste it as a gist (
https://gist.github.com/)? It doesn't look that big.

On Thursday, January 3, 2013 2:04:12 PM UTC-5, muzak...@yahoo.com wrote:

this is the new log (remaned to elasticsearch2.log for my own sanity)
http://www.filedropper.com/elasticsearch2

On Thursday, January 3, 2013 9:54:46 AM UTC-8, Igor Motov wrote:

That command successfully creates a new index. It should have failed if
index existed. But it seems that you are running it on another server. At
least log file that you posted on stackoverflow contains different ip
address.

Could you find logging.yml file in your elasticsearch installation,
uncomment the following lines:

gateway

gateway: DEBUG
index.gateway: DEBUG

peer shard recovery

indices.recovery: DEBUG

restart elasticsearch service and post the new log file here?

On Thursday, January 3, 2013 12:30:53 PM UTC-5, muzak...@yahoo.comwrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ?
Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--

Hello Team,
Greetings!!!
I am also too naive to elasticsearch,graylog2-web-interface,graylog2-server.
I am facing an issue where suddenly graylog has stopped posting log
messages to graylog2-web-interface
.
I thought it caused due to elasticsearch which shows the below error:-

curl
http://localhost:9200/graylog2/message/_search?q=_source.streams=50937c0173b5b56c9a000005&sort=_score

[1] 18723

[root@index]# {"error":"SearchPhaseExecutionException[Failed to execute
phase [query], total failure; shardFailures {[na][graylog2][0]: No active
shards}{[na][graylog2][1]: No active shards}{[na][graylog2][2]: No
active shards}{[na][graylog2][3]: No active shards}{[na][graylog2][4]:
No active shards}]","status":500}

Please guide on the same.

Regards,

Patra N

Messages

Your Graylog2 version (0.9.6) is outdated. Get the current package from
http://www.graylog2.org/.

*Currently containing 0 messages. Stored 183 messages in the last 2 minutes.
*

On Friday, January 4, 2013 4:36:04 AM UTC+5:30, Igor Motov wrote:

Are you sure you applied changes to right logging.yml and they were
applied correctly? It doesn't look like the had any effect.

On Thursday, January 3, 2013 3:16:11 PM UTC-5, muzak...@yahoo.com wrote:

https://gist.github.com/4446755
if the formatting is wrong or if I did something wrong, let me know

On Thursday, January 3, 2013 11:40:16 AM UTC-8, Igor Motov wrote:

I don't see any difference. Could you just paste it as a gist (
https://gist.github.com/)? It doesn't look that big.

On Thursday, January 3, 2013 2:04:12 PM UTC-5, muzak...@yahoo.com wrote:

this is the new log (remaned to elasticsearch2.log for my own sanity)
http://www.filedropper.com/elasticsearch2

On Thursday, January 3, 2013 9:54:46 AM UTC-8, Igor Motov wrote:

That command successfully creates a new index. It should have failed
if index existed. But it seems that you are running it on another server.
At least log file that you posted on stackoverflow contains different ip
address.

Could you find logging.yml file in your elasticsearch installation,
uncomment the following lines:

gateway

gateway: DEBUG
index.gateway: DEBUG

peer shard recovery

indices.recovery: DEBUG

restart elasticsearch service and post the new log file here?

On Thursday, January 3, 2013 12:30:53 PM UTC-5, muzak...@yahoo.comwrote:

root@ip-10-160-231-18:/etc# curl -XPUT localhost:9200/products

{"ok":true,"acknowledged":true}

unless I'm using the wrong command (which is a distinct possibility)

On Thursday, January 3, 2013 9:21:59 AM UTC-8, Ivan Brusic wrote:

Do you have only 1 node in the cluster? Is the underlying filesystem
where the index is stored still intact?

Can you show the output of http://localhost:9200/product/_status ?
Replace localhost with the IP of your elasticsearch instance.

--
Ivan

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hello Team,
These are some more info:-
[root@config]# curl localhost:9200/graylog2/_status ?
{"ok":true,
"_shards":{"total":10,"successful":4,"failed":0},"indices":{"graylog2":{"index":{"primary_size":"9.8gb","primary_size_in_bytes":10594702144,"size":"9.8gb","size_in_bytes":10594702144},"merges":{"current":0,"current_docs":0,"current_size":"0b","current_size_in_bytes":0,"total":0,"total_time":"0s","total_time_in_millis":0,"total_docs":0,"total_size":"0b","total_size_in_bytes":0},"refresh":{"total":0,"total_time":"0s","total_time_in_millis":0},"flush":{"total":0,"total_time":"0s","total_time_in_millis":0},"shards":{"0":[{"routing":{"state":"INITIALIZING","primary":true,"node":"_NfoAETRTs2H6KrQNqcLlg","relocating_node":null,"shard":0,"index":"graylog2"},"state":"RECOVERING","index":{"size":"2.4gb","size_in_bytes":2644780398}}],"1":[{"routing":{"state":"INITIALIZING","primary":true,"node":"_NfoAETRTs2H6KrQNqcLlg","relocating_node":null,"shard":1,"index":"graylog2"},"state":"RECOVERING","index":{"size":"2.4gb","size_in_bytes":2648693851}}],"3":[{"routing":{"state":"INITIALIZING","primary":true,"node":"_Ncurl:
(6) Couldn't resolve host ''
foAETRTs2H6KrQNqcLlg","relocating_node":null,"shard":3,"index":"graylog2"},"state":"RECOVERING","index":{"size":"2.4gb","size_in_bytes":2647564709}}],"4":[{"routing":{"state":"INITIALIZING","primary":true,"node":"_NfoAETRTs2H6KrQNqcLlg","relocating_node":null,"shard":4,"index":"graylog2"},"state":"RECOVERING","index":{"size":"2.4gb","size_in_bytes":2653663186}}]}}}}

[root@config]# curl localhost:9200

{
"ok" : true,
"status" : 200,
"name" : "Thing",
"version" : {
"number" : "0.19.3",
"snapshot_build" : false
},
"tagline" : "You Know, for Search"

[root@elasticsearch]# curl localhost:9200//_cluster/health

{
"cluster_name":"graylog2",
"status":"red",
"timed_out":false,
"number_of_nodes":1,
"number_of_data_nodes":1,
"active_primary_shards":15,
"active_shards":15,
"relocating_shards":0,
"initializing_shards":4,
"unassigned_shards":21
}

Please reply.
Thanks in advance.
Regards,
Patra N
On Thursday, January 3, 2013 2:57:31 PM UTC+5:30, muzak...@yahoo.com wrote:

I'm having issues and I don't know where to turn. Long story short, my
web designer left me high and dry and I have no idea what he did and he
refuses to answer his phone. I have access to the main page but after that,
I'm completely locked out and staring at a SearchPhaseExecutionException
for every single product in my store. Any help would be much appreciated
as I am completely clueless on what to do. Here is the full error log:

SearchPhaseExecutionException at /category/1

Failed to execute phase [query], total failure; shardFailures {[na][product][0]: No active shards}{[na][product][1]: No active shards}{[na][product][2]: No active shards}{[na][product][3]: No active shards}{[na][product][4]: No active shards}

Request Method:GETRequest URL:
http://www.affordablequalitylighting.com/category/1Django Version:1.3.1Exception
Type:SearchPhaseExecutionExceptionException Value:

Failed to execute phase [query], total failure; shardFailures {[na][product][0]: No active shards}{[na][product][1]: No active shards}{[na][product][2]: No active shards}{[na][product][3]: No active shards}{[na][product][4]: No active shards}

Exception Location:/usr/local/lib/python2.6/dist-packages/pyes/convert_errors.py
in raise_if_error, line 68Python Executable:/usr/bin/pythonPython Version:
2.6.5Python Path:

['/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/pymodules/python2.6',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
'/var/www/singularity/py']

Server time:Thu, 3 Jan 2013 01:24:15 -0800
Traceback Switch to copy-and-paste viewhttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py
    in get_response
                          response = callback(request, *callback_args, **callback_kwargs)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/store/catalog/views.py in category_view
      filterblock = filtering.filter(category, request, num_results, page_num)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/store/catalog/filtering.py in filter
          results = sitesearch.raw_search(q, search.product_index)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /var/www/singularity/py/sitesearch/interface.py in raw_search
      return C.search(data, [_idxname(index_name)])
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in search
          return self._query_call("_search", body, indexes, doc_types, **query_params)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in _query_call
          response = self._send_request('GET', path, body, querystring_args)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/es.py in _send_request
              raise_if_error(response.status, decoded)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

  • /usr/local/lib/python2.6/dist-packages/pyes/convert_errors.py in
    raise_if_error
              raise excClass(msg, status, result)
  
  ...

:arrow_forward: Local varshttp://www.affordablequalitylighting.com/outdoor-lighting#

Request informationGET

No GET data
POST

No POST data
FILES

No FILES data
COOKIESVariableValue__utmz

'36364016.1355763714.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'

_vis_opt_s

'2%7C'

_vis_opt_exp_11_goal_3

'1'

sessionid

'8894e58e6eee1d47f9bdfdb41e9fe7f4'

_vis_opt_exp_11_combi

'2'

csrftoken

'8b335c16f43607ae18f730559c2e0d56'

__utma

'36364016.1140701240.1355763714.1355942217.1355945322.4'

_vis_opt_exp_10_combi

'1'

METAVariableValuemod_wsgi.reload_mechanism

'1'

mod_wsgi.listener_port

'80'

HTTP_REFERER

'http://www.affordablequalitylighting.com/'

mod_wsgi.listener_host

''

SERVER_SOFTWARE

'Apache/2.2.14 (Ubuntu)'

SCRIPT_NAME

u''

SERVER_SIGNATURE

'Apache/2.2.14 (Ubuntu) Server at www.affordablequalitylighting.com Port 80\n'

REQUEST_METHOD

'GET'

PATH_INFO

u'/outdoor-lighting'

SERVER_PROTOCOL

'HTTP/1.1'

QUERY_STRING

''

PATH

'/usr/local/bin:/usr/bin:/bin'

HTTP_ACCEPT_CHARSET

'ISO-8859-1,utf-8;q=0.7,*;q=0.3'

HTTP_USER_AGENT

'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11'

HTTP_CONNECTION

'keep-alive'

HTTP_COOKIE

'_vis_opt_exp_10_combi=1; _vis_opt_s=2%7C; _vis_opt_exp_11_combi=2; _vis_opt_exp_11_goal_3=1; __utma=36364016.1140701240.1355763714.1355942217.1355945322.4; __utmz=36364016.1355763714.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); csrftoken=8b335c16f43607ae18f730559c2e0d56; sessionid=8894e58e6eee1d47f9bdfdb41e9fe7f4'

SERVER_NAME

'www.affordablequalitylighting.com'

REMOTE_ADDR

'10.168.14.143'

wsgi.url_scheme

'http'

PATH_TRANSLATED

'/var/www/singularity/py/wsgi/singularity.py/outdoor-lighting'

SERVER_PORT

'80'

wsgi.multiprocess

False

SERVER_ADDR

'10.160.83.83'

DOCUMENT_ROOT

'/htdocs'

mod_wsgi.process_group

'django'

HTTP_X_FORWARDED_PROTO

'http'

SCRIPT_FILENAME

'/var/www/singularity/py/wsgi/singularity.py'

SERVER_ADMIN

'[no address given]'

SCRIPT_URI

'http://www.affordablequalitylighting.com/outdoor-lighting'

wsgi.input

<mod_wsgi.Input object at 0xb9629930>

HTTP_HOST

'www.affordablequalitylighting.com'

SCRIPT_URL

'/outdoor-lighting'

wsgi.multithread

True

mod_wsgi.callable_object

'application'

REQUEST_URI

'/outdoor-lighting'

HTTP_ACCEPT

'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8'

wsgi.version

(1, 0)

GATEWAY_INTERFACE

'CGI/1.1'

HTTP_X_FORWARDED_FOR

'173.196.151.198'

wsgi.errors

<mod_wsgi.Log object at 0xb94e0c80>

REMOTE_PORT

'37237'

HTTP_ACCEPT_LANGUAGE

'en-US,en;q=0.8'

mod_wsgi.version

(2, 8)

wsgi.run_once

False

HTTP_X_FORWARDED_PORT

'80'

mod_wsgi.application_group

''

mod_wsgi.script_reloading

'1'

wsgi.file_wrapper

''

CSRF_COOKIE

'8b335c16f43607ae18f730559c2e0d56'

HTTP_ACCEPT_ENCODING

'gzip,deflate,sdch'

SettingsUsing settings module settingsSettingValueGOOGLE_ANALYTICS_ID

'UA-13030541-1'

SERVER_EMAIL

'nor...@affordablequalitylighting.com <javascript:>'

USE_L10N

True

USE_THOUSAND_SEPARATOR

False

IMAGES_CONFIG

{'dest_dir': '/var/www/singularity-media/images/store',
'url_prefix': 'images/store'}

LANGUAGE_CODE

'en-us'

ROOT_URLCONF

'urls'

MANAGERS

(('Blake Eggleston', 'bdegg...@gmail.com <javascript:>'),
('Blake Eggleston', 'b...@concordlighting.com <javascript:>'))

SESSION_EXPIRE_AT_BROWSER_CLOSE

False

DEFAULT_CHARSET

'utf-8'

STATIC_ROOT

''

TEST_DATABASE_CHARSET

None

USING_WSGI

True

MESSAGE_STORAGE

'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'

DATABASE_HOST

''

EMAIL_SUBJECT_PREFIX

'[Django] '

SEND_BROKEN_LINK_EMAILS

False

URL_VALIDATOR_USER_AGENT

'Django/1.3.1 (http://www.djangoproject.com)'

STATICFILES_FINDERS

('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder')

SESSION_COOKIE_DOMAIN

None

SESSION_COOKIE_NAME

'sessionid'

CSRF_COOKIE_NAME

'csrftoken'

ADMIN_FOR

()

TIME_INPUT_FORMATS

('%H:%M:%S', '%H:%M')

DATABASES

{'default': {'ENGINE': 'django.db.backends.mysql',
'HOST': 'aqldb.clapuphfn4dw.us-west-1.rds.amazonaws.com',
'NAME': 'singularity',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '',
'TEST_CHARSET': None,
'TEST_COLLATION': None,
'TEST_MIRROR': None,
'TEST_NAME': None,
'TIME_ZONE': 'America/Los_Angeles',
'USER': 'singularity'}}

TEST_DATABASE_NAME

None

FILE_UPLOAD_PERMISSIONS

None

FILE_UPLOAD_HANDLERS

('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')

DEFAULT_CONTENT_TYPE

'text/html'

TEST_RUNNER

'store.testing.runners.TestRunner'

AUTHNET_DEBUG

False

FIRST_DAY_OF_WEEK

0

DATABASE_ROUTERS

[]

SEND_EMAILS

True

YEAR_MONTH_FORMAT

'F Y'

CONTENT_PERMS

508

CACHES

{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': ''}}

ACCOUNT_CONTENT_BASE_PATH

'/var/www/singularity-media/images/store/account_src'

PAYPAL_DEBUG

False

SESSION_COOKIE_PATH

'/'

USE_X_FORWARDED_HOST

False

CONTENT_BASE_PATH

'/var/www/singularity-media/images/store/content'

AUTHNET_ENABLED

True

IGNORABLE_404_ENDS

('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')

ENCRYPTION_CONFIG

{'cc_staging_key': '54c376a2210b8ca994e88758c9a31871',
'cc_storage_key': 'ea284f3c20a9d2c944a6bcb4f7b774d9'}

MIDDLEWARE_CLASSES

('store.metrics.middleware.MetricsMiddleware',
'store.middleware.WorkQueue',
'store.middleware.RedirectMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'store.middleware.UrlRenamer',
'store.discount.middleware.DiscountUrlAttach',
'dynamicpages.DynamicPagesHandler')

USE_I18N

True

THOUSAND_SEPARATOR

','

SECRET_KEY

'********************'

LANGUAGE_COOKIE_NAME

'django_language'

DEFAULT_INDEX_TABLESPACE

''

SERVE_IMAGES

True

CONFIG_PATH

'/var/www/singularity/data/config'

TRANSACTIONS_MANAGED

False

LOGGING_CONFIG

'django.utils.log.dictConfig'

PAYPAL_DOMAIN_NAME

'aql-lb002-1208657660.us-west-1.elb.amazonaws.com'

APPEND_SLASH

True

TEMPLATE_LOADERS

('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader')

ACCOUNT_IMAGE_FORMATS

{'formats': [{'description': 'the fullsize account image',
'max_x': 80,
'max_y': 80,
'name': 'account_full'},
{'description': 'images shown in the sub comments',
'max_x': 40,
'max_y': 40,
'name': 'account_small'}],
'src_dir': '/var/www/singularity-media/images/store/account_src'}

TEMPLATE_DEBUG

False

CONTENT_BASE_URL

'/images/store/content'

TEST_DATABASE_COLLATION

None

FORCE_SCRIPT_NAME

None

CACHE_BACKEND

'locmem://'

SESSION_COOKIE_SECURE

False

TEST_EXCLUDE

('django', 'authorizenet', 'paypal')

COMPILE_TEMPLATES

True

LOCAL_PATH

'/var/www/singularity'

CSRF_COOKIE_DOMAIN

None

FILE_CHARSET

'utf-8'

DEBUG

False

SESSION_FILE_PATH

None

DEFAULT_FILE_STORAGE

'django.core.files.storage.FileSystemStorage'

INSTALLED_APPS

['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'authorizenet',
'paypal.standard.ipn',
'caching',
'sitesearch',
'interaction',
'blog',
'offline',
'store',
'store.account',
'store.cart',
'store.catalog',
'store.catalog.indexing',
'store.catalog.manage',
'store.content',
'store.discount',
'store.images',
'store.locations',
'store.marketing',
'store.metrics',
'store.orders',
'store.reviews',
'store.shipments',
'store.transactions']

LANGUAGES_BIDI

('he', 'ar', 'fa')

DATABASE_ENGINE

''

DEFAULT_FILTER_RESULTS

20

DATABASE_NAME

''

COMMENTS_FIRST_FEW

0

AUTHNET_LOGIN_ID

'2w87JmTv'

REQUIRE_PAYMENT_AT

'invoice'

SEARCH_SERVERS

('127.0.0.1:9200',)

SESSION_COOKIE_HTTPONLY

False

DATABASE_PORT

''

DEBUG_PROPAGATE_EXCEPTIONS

False

PAYPAL_RECEIVER_EMAIL

'pay...@affordablequalitylighting.com <javascript:>'

MONTH_DAY_FORMAT

'F j'

AUTHNET_IMMEDIATE_CAPTURE

False

LOGIN_URL

'/user'

DEFAULT_SEARCH_QTY

9

TIME_FORMAT

'P'

DATE_INPUT_FORMATS

('%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y')

AUTHENTICATION_BACKENDS

('store.account.backends.EmailAuth',)

EMAIL_HOST_PASSWORD

'********************'

APP_INSTANCE

0

TEMPLATE_PATH

'/var/www/tmplaql'

CONTENT_GROUP

'images'

PASSWORD_RESET_TIMEOUT_DAYS

'********************'

CACHE_MIDDLEWARE_ALIAS

'default'

SESSION_SAVE_EVERY_REQUEST

True

ADMIN_MEDIA_PREFIX

'/admin/media/'

NUMBER_GROUPING

0

SESSION_ENGINE

'django.contrib.sessions.backends.db'

STATICFILES_STORAGE

'django.contrib.staticfiles.storage.StaticFilesStorage'

CSRF_FAILURE_VIEW

'django.views.csrf.csrf_failure'

COMMENTS_SKETCHY_USERS_GROUP

None

LOGIN_REDIRECT_URL

'/accounts/profile/'

PAYPAL_ENABLED

True

DECIMAL_SEPARATOR

'.'

CACHE_MIDDLEWARE_KEY_PREFIX

''

LOCALE_PATHS

()

TEMPLATE_STRING_IF_INVALID

''

COMMENTS_ALLOW_PROFANITIES

False

LOGOUT_URL

'/accounts/logout/'

EMAIL_USE_TLS

True

TEMPLATE_DIRS

('/var/www/tmplaql/templates', '/var/www/singularity/templates')

BLOG_CONTENT_BASE_URL

'/images/blog'

FIXTURE_DIRS

('/var/www/singularity/fixtures',)

EMAIL_HOST

'smtp.gmail.com'

DATE_FORMAT

'N j, Y'

ACCOUNT_CONTENT_BASE_URL

'/images/store/account_src'

MEDIA_ROOT

''

ADMINS

(('Blake Eggleston', 'bdegg...@gmail.com <javascript:>'),
('Blake Eggleston', 'b...@concordlighting.com <javascript:>'))

FORMAT_MODULE_PATH

None

DEFAULT_FROM_EMAIL

'webmaster@localhost'

BLOG_CONTENT_BASE_PATH

'/var/www/singularity-media/images/blog'

PRODUCTS_PER_PAGE

10000

REQUIRE_PAYMENT_CHOICES

['invoice', 'processing', 'shipment', 'completion']

STATICFILES_DIRS

()

MEDIA_URL

'/media/'

DATETIME_FORMAT

'N j, Y, P'

IGNORABLE_404_STARTS

('/cgi-bin/', '/_vti_bin', '/_vti_inf')

DEBUG_CHECKOUT

False

PROFILE_SQL

False

SITE_ID

1

DISALLOWED_USER_AGENTS

()

ALLOWED_INCLUDE_ROOTS

()

PRODUCT_IMAGE_FORMATS

{'formats': [{'description': 'the default image on the product page',
'max_x': 447,
'max_y': 384,
'name': 'product_page'},
{'description': 'images shown in the category/filtering view',
'max_x': 130,
'max_y': 96,
'name': 'product_cart'},
{'description': 'images shown in the order review view',
'max_x': 60,
'max_y': 60,
'name': 'product_review'},
{'description': 'images shown in the category/filtering view',
'max_x': 48,
'max_y': 49,
'name': 'product_preview'},
{'description': 'category list and related products',
'max_x': 150,
'max_y': 150,
'name': 'product_list'},
{'description': 'the tiny images in the footer',
'max_x': 25,
'max_y': 25,
'name': 'product_tiny'},
{'description': 'the full highres image',
'force_size': False,
'max_x': 1000,
'max_y': 1000,
'name': 'product_full'}],
'src_dir': '/var/www/singularity-media/images/store/product_src'}

CONTENT_USER

'www-data'

LOGGING

{'disable_existing_loggers': False,
'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
'level': 'ERROR'}},
'loggers': {'django.request': {'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True}},
'version': 1}

PREPEND_WWW

False

SHORT_DATE_FORMAT

'm/d/Y'

DATABASE_USER

''

FREIGHT_CARRIERS

{'rate_modifiers': {'3aa49ec6bfc910647fa1c5a013e48eef': 25},
'ups': {'api_access_key': 'FC6D4E635C4A7F10',
'api_password': 'passive1',
'api_user_id': 'LampsDirect',
'billing_city': 'Valencia',
'billing_country_code': 'US',
'billing_post_code': '91355',
'billing_territory': 'CA',
'dim_type': 'IN',
'free_freight_amount': 0,
'freight_markup': -20,
'shipper_number': 'X0305A',
'weight_type': 'LBS'},
'ups_freight': {'api_access_key': 'CC770A558C47ACB8',
'api_password': 'passive1',
'api_user_id': 'LampsDirect',
'billing_city': 'Valencia',
'billing_country_code': 'US',
'billing_name': 'Concord Lighting',
'billing_post_code': '91355',
'billing_street1': '28150 Ave Crocker',
'billing_street2': 'Ste 312',
'billing_territory': 'CA',
'dim_type': 'IN',
'free_freight_amount': 0,
'freight_markup': -20,
'shipper_number': 'X0305A',
'weight_type': 'LBS'}}

ANALYTICS_ACTIVE

True

TIME_ZONE

'America/Los_Angeles'

FILE_UPLOAD_MAX_MEMORY_SIZE

2621440

PAYMENT_PROCESSORS

{'authorizenet': {'key': '7862YPJ34uumy3MF',
'live': True,
'username': '2w87JmTv'},
'paypalwps': {'business_display_name': 'Affordable Quality Lighting',
'domain_name': 'ec2-50-18-148-185.us-west-1.compute.amazonaws.com',
'key': 'eyoBTzMK8wy25X-Yq5irPxrSe__Gx5BBev4-UVhcq150mnR2VEEWeEbbCRm',
'live': False,
'username': 'be_13337...@concordlighting.com <javascript:>'}}

EMAIL_BACKEND

'django.core.mail.backends.smtp.EmailBackend'

BLOG_TITLE

'DIY Lighting Blog'

DEFAULT_TABLESPACE

''

TEMPLATE_CONTEXT_PROCESSORS

('django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.contrib.messages.context_processors.messages')

AUTHNET_TRANSACTION_KEY

'7862YPJ34uumy3MF'

TEST_RUN

False

SESSION_COOKIE_AGE

1209600

SETTINGS_MODULE

'settings'

USE_ETAGS

False

EMAIL_HOST_NAME

'Affordable Quality Lighting'

LANGUAGES

(('ar', 'Arabic'),
('az', 'Azerbaijani'),
('bg', 'Bulgarian'),
('bn', 'Bengali'),
('bs', 'Bosnian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('en-gb', 'British English'),
('es', 'Spanish'),
('es-ar', 'Argentinian Spanish'),
('es-mx', 'Mexican Spanish'),
('es-ni', 'Nicaraguan Spanish'),
('et', 'Estonian'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('fy-nl', 'Frisian'),
('ga', 'Irish'),
('gl', 'Galician'),
('he', 'Hebrew'),
('hi', 'Hindi'),
('hr', 'Croatian'),
('hu', 'Hungarian'),
('id', 'Indonesian'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('ml', 'Malayalam'),
('mn', 'Mongolian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('nb', 'Norwegian Bokmal'),
('nn', 'Norwegian Nynorsk'),
('pa', 'Punjabi'),
('pl', 'Polish'),
('pt', 'Portuguese'),
('pt-br', 'Brazilian Portuguese'),
('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
('sq', 'Albanian'),
('sr', 'Serbian'),
('sr-latn', 'Serbian Latin'),
('sv', 'Swedish'),
('ta', 'Tamil'),
('te', 'Telugu'),
('th', 'Thai'),
('tr', 'Turkish'),
('uk', 'Ukrainian'),
('ur', 'Urdu'),
('vi', 'Vietnamese'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese'))

FILE_UPLOAD_TEMP_DIR

None

INTERNAL_IPS

()

STATIC_URL

None

EMAIL_PORT

25

SHORT_DATETIME_FORMAT

'm/d/Y P'

ENFORCE_SSL

True

PROFILE

False

ABSOLUTE_URL_OVERRIDES

{}

DATABASE_OPTIONS

{}

CACHE_MIDDLEWARE_SECONDS

600

BANNED_IPS

()

DATETIME_INPUT_FORMATS

('%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M',
'%Y-%m-%d',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M',
'%m/%d/%Y',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M',
'%m/%d/%y')

DATABASE_PASSWORD

'********************'

COMMENTS_MODERATORS_GROUP

None

PROFANITIES_LIST

'********************'

EMAIL_HOST_USER

'nor...@affordablequalitylighting.com <javascript:>'

COMMENTS_BANNED_USERS_GROUP

None

You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard
500 page.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.