# Self-hosted 8.13 connector - error on 'make run'

**URL:** <https://discuss.elastic.co/t/self-hosted-8-13-connector-error-on-make-run/360008>\
**Category:** Elastic Search\
**Tags:** connectors\
**Created:** [May 22, 2024, 3:43pm UTC](https://discuss.elastic.co/t/self-hosted-8-13-connector-error-on-make-run/360008 "2024-05-22T15:43:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anna-safonov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anna-safonov/32/131045_2.png) [@anna-safonov](https://discuss.elastic.co/u/anna-safonov)\
**Post date:** [May 22, 2024, 3:43pm UTC](https://discuss.elastic.co/t/self-hosted-8-13-connector-error-on-make-run/360008/1 "2024-05-22T15:43:57Z")

</div>

I am trying to run a self-hosted GitHub connector for elastic 8.13. I've had success running 8.11 on the same VM, with the same setup.

I'm running it on Ubuntu 20.04, cloned the repository, checkout out branch 8.13, updated config with the API keys and connector IDs and other info, and when I run

```auto
make install
make run

```

I get the following error:

```auto
vmadmin@anna-ubuntu2004:~/connectors$ make run
cp -n config.yml.example config.yml
python3.10 -m venv .
bin/pip install --upgrade pip
Requirement already satisfied: pip in ./lib/python3.10/site-packages (24.0)
bin/pip install --upgrade setuptools
Requirement already satisfied: setuptools in ./lib/python3.10/site-packages (70.0.0)
bin/elastic-ingest
Traceback (most recent call last):
  File "/home/vmadmin/connectors/bin/elastic-ingest", line 33, in <module>
    sys.exit(load_entry_point('elasticsearch-connectors', 'console_scripts', 'elastic-ingest')())
  File "/home/vmadmin/connectors/bin/elastic-ingest", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.10/importlib/metadata/ __init__.py", line 164, in load
    return functools.reduce(getattr, attrs, module)
AttributeError: module 'connectors.cli' has no attribute 'main'
make: *** [Makefile:72: run] Error 1

```

Is there an issue with python or pip installation? I have no idea how to troubleshoot this ☹

---

<div class="post-metadata">

**Author:** ![Artem\_Shelkovnikov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artem_shelkovnikov/32/134322_2.png) [@Artem\_Shelkovnikov](https://discuss.elastic.co/u/Artem_Shelkovnikov)\
**Post date:** [May 22, 2024, 4:06pm UTC](https://discuss.elastic.co/t/self-hosted-8-13-connector-error-on-make-run/360008/2 "2024-05-22T16:06:51Z")

</div>

Hi Anna Safonov,

Running `make clean` when upgrading to new version before doing `make run` can help with such errors.

If that does not help, can you share the SHA of the commit that you're running?

---

<div class="post-metadata">

**Author:** ![anna-safonov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anna-safonov/32/131045_2.png) [@anna-safonov](https://discuss.elastic.co/u/anna-safonov)\
**Post date:** [May 22, 2024, 4:12pm UTC](https://discuss.elastic.co/t/self-hosted-8-13-connector-error-on-make-run/360008/3 "2024-05-22T16:12:10Z")

</div>

Hi @Artem_Shelkovnikov,

It did help, thank you for such a prompt response!

Anna

---

<div class="post-metadata">

**Author:** ![Artem\_Shelkovnikov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artem_shelkovnikov/32/134322_2.png) [@Artem\_Shelkovnikov](https://discuss.elastic.co/u/Artem_Shelkovnikov)\
**Post date:** [May 22, 2024, 5:22pm UTC](https://discuss.elastic.co/t/self-hosted-8-13-connector-error-on-make-run/360008/4 "2024-05-22T17:22:32Z")

</div>

Happy to help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 19, 2024, 5:23pm UTC](https://discuss.elastic.co/t/self-hosted-8-13-connector-error-on-make-run/360008/5 "2024-06-19T17:23:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
