HI Cat, the connection problem looks like you don't have Elasticsearch
running.
Does curl localhost:9200 return anything? Earlier you hinted at ES running
on a different port. If this is so, you'll just need to add two lines to
your settings.py file that will tell your app which port to find
elasticsearch on.
ELASTICSEARCH_HTTP_PORT = 9400 # or whatever
ELASTICSEARCH_HOSTS = [{'host': 'localhost', 'port':
ELASTICSEARCH_HTTP_PORT}]
Hope that's helpful!
On Thu, Jan 21, 2016 at 8:47 AM, Cat Moody <[email protected]>
wrote:
> I also tried doing a re-install. I did notice that at the end of that
> command I get a connection error
> output below:
>
> VACUUM
> deleting index : concept_labels
> Traceback (most recent call last):
> File "manage.py", line 28, in <module>
> execute_from_command_line(sys.argv)
> File
> "c:\ArchProject\ENV\lib\site-packages\django\core\management\__init__.py"
> , line 399, in execute_from_command_line
> utility.execute()
> File
> "c:\ArchProject\ENV\lib\site-packages\django\core\management\__init__.py"
> , line 392, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File
> "c:\ArchProject\ENV\lib\site-packages\django\core\management\base.py", li
> ne 242, in run_from_argv
> self.execute(*args, **options.__dict__)
> File
> "c:\ArchProject\ENV\lib\site-packages\django\core\management\base.py", li
> ne 285, in execute
> output = self.handle(*args, **options)
> File
> "c:\ArchProject\ENV\lib\site-packages\arches\management\commands\packages
> .py", line 73, in handle
> self.install(package_name)
> File
> "c:\ArchProject\ENV\lib\site-packages\arches\management\commands\packages
> .py", line 126, in install
> install()
> File "c:\ArchProject\hp_prc\hp_prc\setup.py", line 6, in install
> setup.install()
> File "c:\ArchProject\ENV\lib\site-packages\arches_hip\setup.py", line
> 20, in i
> nstall
> delete_index(index='concept_labels')
> File "c:\ArchProject\ENV\lib\site-packages\arches_hip\setup.py", line
> 58, in d
> elete_index
> se.delete_index(index=index)
> File "c:\ArchProject\ENV\lib\site-packages\arches\app\search\search.py",
> line
> 63, in delete_index
> return self.es.indices.delete(index=index, ignore=[400, 404])
> File
> "c:\ArchProject\ENV\lib\site-packages\elasticsearch\client\utils.py", lin
> e 69, in _wrapped
> return func(*args, params=params, **kwargs)
> File
> "c:\ArchProject\ENV\lib\site-packages\elasticsearch\client\indices.py", l
> ine 198, in delete
> params=params)
> File "c:\ArchProject\ENV\lib\site-packages\elasticsearch\transport.py",
> line 3
> 07, in perform_request
> status, headers, data = connection.perform_request(method, url,
> params, body
> , ignore=ignore, timeout=timeout)
> File
> "c:\ArchProject\ENV\lib\site-packages\elasticsearch\connection\http_urlli
> b3.py", line 89, in perform_request
> raise ConnectionError('N/A', str(e), e)
> elasticsearch.exceptions.ConnectionError: ConnectionError(<
> urllib3.connection.HT
> TPConnection object at 0x0000000003BB6E80>: Failed to establish a new
> connection
> : [Errno 10061] No connection could be made because the target machine
> actively
> refused it) caused by:
> NewConnectionError(<urllib3.connection.HTTPConnection obj
> ect at 0x0000000003BB6E80>: Failed to establish a new connection: [Errno
> 10061]
> No connection could be made because the target machine actively refused it)
>
> Thanks for any help.
> Cat
>
> --
> -- To post, send email to [email protected]. To unsubscribe,
> send email to [email protected]. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
-- To post, send email to [email protected]. To unsubscribe, send
email to [email protected]. For more information,
visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.