Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:Cannot set it up been 2 months #2354

Open
itxProfessor opened this issue Mar 16, 2024 · 33 comments
Open

[Bug]:Cannot set it up been 2 months #2354

itxProfessor opened this issue Mar 16, 2024 · 33 comments
Labels
area: docs Related to documentation or under the /docs directory bug Something isn't working

Comments

@itxProfessor
Copy link

itxProfessor commented Mar 16, 2024

What happened?

A bug happened!I am getting different issues on differnet linux distros for setting this up please can you update this readme guide so i can set it up for ubuntu or centos Please help me with it or update the readme guide i commented too on the video but no response
@StanGirard

Relevant log output

No response

Twitter / LinkedIn details

No response

@itxProfessor itxProfessor added the bug Something isn't working label Mar 16, 2024
Copy link

dosubot bot commented Mar 16, 2024

Hey there @itxProfessor! 👋 I'm Dosu, your friendly neighborhood bot. I'm here to assist you with bug squashing, fielding questions, and guiding you on your journey to becoming a contributor. While we wait for a human maintainer to chime in, I'll be your first line of support. I see you've hit a snag setting up on different Linux distros. Hang tight! I'll dive into your issue and get back to you with some insights shortly.

@dosubot dosubot bot added the area: docs Related to documentation or under the /docs directory label Mar 16, 2024
@itxProfessor
Copy link
Author

Anyone help with update guide pleasee

Copy link

dosubot bot commented Mar 16, 2024

Based on the provided script backend/manage_services.sh, I've outlined the setup instructions for Ubuntu and CentOS distributions below:

Common Requirements

  • Python environment (with pipenv)
  • tmux
  • Celery
  • uvicorn

Ubuntu Setup Instructions

  1. Install Python & pipenv:

    • Update your package list: sudo apt update
    • Install Python 3 (if not already installed): sudo apt install python3.8
    • Install pip for Python 3: sudo apt install python3-pip
    • Install pipenv: pip3 install pipenv
  2. Install tmux:

    • sudo apt install tmux
  3. Setup your Python environment:

    • Navigate to your project directory: cd /path/to/your/project
    • Setup pipenv environment: pipenv install
    • Ensure you have uvicorn, celery, and any other dependencies in your Pipfile.
  4. Running the script:

    • Make the script executable: chmod +x backend/manage_services.sh
    • Start services: ./backend/manage_services.sh start
    • View logs: ./backend/manage_services.sh logs
    • Stop services: ./backend/manage_services.sh stop

CentOS Setup Instructions

  1. Install Python & pipenv:

    • Install Python 3 (CentOS 7): sudo yum install https://centos7.iuscommunity.org/ius-release.rpm && sudo yum install python38u
    • Install pip for Python 3: sudo yum install python38u-pip
    • Install pipenv: pip3.8 install pipenv
  2. Install tmux:

    • sudo yum install tmux
  3. Setup your Python environment:

    • Navigate to your project directory: cd /path/to/your/project
    • Setup pipenv environment: pipenv install
    • Ensure you have uvicorn, celery, and any other dependencies in your Pipfile.
  4. Running the script:

    • Make the script executable: chmod +x backend/manage_services.sh
    • Start services: ./backend/manage_services.sh start
    • View logs: ./backend/manage_services.sh logs
    • Stop services: ./backend/manage_services.sh stop

These instructions assume you have basic knowledge of the Linux command line and permissions. Adjust paths and versions according to your specific project and environment setup.

As for the specific software dependencies required by the quivr codebase, they are listed in the provided Pipfile. You can find the full list in the context above.

Regarding known issues or conflicts when installing or running quivr on Ubuntu or CentOS, I wasn't able to find any within the repository. However, if you encounter any specific errors during the installation process, please provide the error messages or logs, and I'll do my best to assist you further.

Sources

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@marc-mccarthy
Copy link

Literally this is completely broken and has been, with multiple bugs (running without OpenAPI) and just no responses to the problem from a real developer.

@StanGirard
Copy link
Collaborator

Hey @marc-mccarthy ! Thanks for opening an issue.

Could you please share the errors logs you have ?

Docker is compatible with centos and you should have an issue.

Would love to help

@itxProfessor
Copy link
Author

Hey @marc-mccarthy ! Thanks for opening an issue.

Could you please share the errors logs you have ?

Docker is compatible with centos and you should have an issue.

Would love to help

beat | [2024-03-16 09:45:00,020: INFO/MainProcess] Scheduler: Sending due task process_integration_brain_sync (celery_worker.process_integration_brain_sync)
worker | [2024-03-16 09:45:00,043: INFO/MainProcess] Task celery_worker.process_integration_brain_sync[19040d82-777e-4417-8d5e-f82990e75c08] received
redis | 1:M 16 Mar 2024 09:45:00.115 * 100 changes in 300 seconds. Saving...
redis | 1:M 16 Mar 2024 09:45:00.116 * Background saving started by pid 60
redis | 60:C 16 Mar 2024 09:45:00.141 * DB saved on disk
redis | 60:C 16 Mar 2024 09:45:00.142 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
worker | [2024-03-16 09:45:00,151: ERROR/ForkPoolWorker-2] Task celery_worker.process_integration_brain_sync[19040d82-777e-4417-8d5e-f82990e75c08] raised unexpected: ConnectError('[Errno -2] Name or service not known')
worker | Traceback (most recent call last):
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions
worker | yield
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 228, in handle_request
worker | resp = self._pool.handle_request(req)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
worker | raise exc from None
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
worker | response = connection.handle_request(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
worker | raise exc
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
worker | stream = self._connect(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 122, in _connect
worker | stream = self._network_backend.connect_tcp(**kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
worker | with map_exceptions(exc_map):
worker | File "/usr/local/lib/python3.11/contextlib.py", line 155, in exit
worker | self.gen.throw(typ, value, traceback)
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
worker | raise to_exc(exc) from exc
worker | httpcore.ConnectError: [Errno -2] Name or service not known
worker |
worker | The above exception was the direct cause of the following exception:
worker |
worker | Traceback (most recent call last):
worker | File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
worker | R = retval = fun(*args, **kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 760, in protected_call
worker | return self.run(*args, **kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/code/celery_worker.py", line 187, in process_integration_brain_sync
worker | integrations = integration.get_integration_brain_by_type_integration("notion")
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/code/modules/brain/repository/integration_brains.py", line 106, in get_integration_brain_by_type_integration
worker | .execute()
worker | ^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/postgrest/_sync/request_builder.py", line 58, in execute
worker | r = self.session.request(
worker | ^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 814, in request
worker | return self.send(request, auth=auth, follow_redirects=follow_redirects)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 901, in send
worker | response = self._send_handling_auth(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 929, in _send_handling_auth
worker | response = self._send_handling_redirects(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 966, in _send_handling_redirects
worker | response = self._send_single_request(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1002, in _send_single_request
worker | response = transport.handle_request(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/transports/default.py", line 227, in handle_request
worker | with map_httpcore_exceptions():
worker | File "/usr/local/lib/python3.11/contextlib.py", line 155, in exit
worker | self.gen.throw(typ, value, traceback)
worker | File "/usr/local/lib/python3.11/site-packages/httpx/transports/default.py", line 83, in map_httpcore_exceptions
worker | raise mapped_exc(message) from exc
worker | httpx.ConnectError: [Errno -2] Name or service not known
redis | 1:M 16 Mar 2024 09:45:00.218 * Background saving terminated with success
backend-core | INFO: 127.0.0.1:43300 - "GET /healthz HTTP/1.1" 200 OK
web | react-i18next:: You will need to pass in an i18next instance by using initReactI18next
web | i18next: languageChanged en
web | i18next: initialized {
web | debug: true,
web | initImmediate: true,
web | ns: [ 'translation' ],
web | defaultNS: 'translation',
web | fallbackLng: [ 'en' ],
web | fallbackNS: false,
web | supportedLngs: false,
web | nonExplicitSupportedLngs: false,
web | load: 'all',
web | preload: false,
web | simplifyPluralSuffix: true,
web | keySeparator: '.',
web | nsSeparator: ':',
web | pluralSeparator: '
',
web | contextSeparator: '
',
web | partialBundledLanguages: false,
web | saveMissing: false,
web | updateMissing: false,
web | saveMissingTo: 'fallback',
web | saveMissingPlurals: true,
web | missingKeyHandler: false,
web | missingInterpolationHandler: false,
web | postProcess: false,
web | postProcessPassResolved: false,
web | returnNull: false,
web | returnEmptyString: true,
web | returnObjects: false,
web | joinArrays: false,
web | returnedObjectHandler: false,
web | parseMissingKeyHandler: false,
web | appendNamespaceToMissingKey: false,
web | appendNamespaceToCIMode: false,
web | overloadTranslationOptionHandler: [Function: overloadTranslationOptionHandler],
web | interpolation: {
web | escapeValue: false,
web | format: [Function: bound format],
web | prefix: '{{',
web | suffix: '}}',
web | formatSeparator: ',',
web | unescapePrefix: '-',
web | nestingPrefix: '$t(',
web | nestingSuffix: ')',
web | nestingOptionsSeparator: ',',
web | maxReplaces: 1000,
web | skipOnVariables: true
web | },
web | lng: 'en',
web | resources: {
web | en: {
web | brain: [Object],
web | chat: [Object],
web | config: [Object],
web | contact: [Object],
web | explore: [Object],
web | home: [Object],
web | invitation: [Object],
web | login: [Object],
web | logout: [Object],
web | monetization: [Object],
web | translation: [Object],
web | upload: [Object],
web | user: [Object],
web | delete_or_unsubscribe_from_brain: [Object],
web | knowledge: [Object],
web | external_api_definition: [Object]
web | },
web | es: {
web | brain: [Object],
web | chat: [Object],
web | config: [Object],
web | contact: [Object],
web | explore: [Object],
web | home: [Object],
web | invitation: [Object],
web | login: [Object],
web | logout: [Object],
web | monetization: [Object],
web | translation: [Object],
web | upload: [Object],
web | user: [Object],
web | delete_or_unsubscribe_from_brain: [Object],
web | knowledge: [Object],
web | external_api_definition: [Object]
web | },
web | fr: {
web | brain: [Object],
web | chat: [Object],
web | config: [Object],
web | contact: [Object],
web | explore: [Object],
web | home: [Object],
web | invitation: [Object],
web | login: [Object],
web | logout: [Object],
web | monetization: [Object],
web | translation: [Object],
web | upload: [Object],
web | user: [Object],
web | delete_or_unsubscribe_from_brain: [Object],
web | knowledge: [Object],
web | external_api_definition: [Object]
web | },
web | ptbr: {
web | brain: [Object],
web | chat: [Object],
web | config: [Object],
web | contact: [Object],
web | explore: [Object],
web | home: [Object],
web | invitation: [Object],
web | login: [Object],
web | logout: [Object],
web | monetization: [Object],
web | translation: [Object],
web | upload: [Object],
web | user: [Object],
web | delete_or_unsubscribe_from_brain: [Object],
web | knowledge: [Object],
web | external_api_definition: [Object]
web | },
web | ru: {
web | brain: [Object],
web | chat: [Object],
web | config: [Object],
web | contact: [Object],
web | explore: [Object],
web | home: [Object],
web | invitation: [Object],
web | login: [Object],
web | logout: [Object],
web | monetization: [Object],
web | translation: [Object],
web | upload: [Object],
web | user: [Object],
web | delete_or_unsubscribe_from_brain: [Object],
web | knowledge: [Object],
web | external_api_definition: [Object]
web | },
web | zh_cn: {
web | brain: [Object],
web | chat: [Object],
web | config: [Object],
web | contact: [Object],
web | explore: [Object],
web | home: [Object],
web | invitation: [Object],
web | login: [Object],
web | logout: [Object],
web | monetization: [Object],
web | translation: [Object],
web | upload: [Object],
web | user: [Object],
web | delete_or_unsubscribe_from_brain: [Object],
web | knowledge: [Object],
web | external_api_definition: [Object]
web | }
web | },
web | ignoreJSONStructure: true
web | }

i get this and this tooo

worker | [2024-03-15 07:05:00,115: ERROR/ForkPoolWorker-2] Task celery_worker.process_integration_brain_sync[cfab9aae-3a64-4e0a-852f-6d7e4bbe3a7f] raised unexpected: ConnectError('[Errno -2] Name or service not known')
worker | Traceback (most recent call last):
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions
worker | yield
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 228, in handle_request
worker | resp = self._pool.handle_request(req)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
worker | raise exc from None
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
worker | response = connection.handle_request(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
worker | raise exc
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
worker | stream = self._connect(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 122, in _connect
worker | stream = self._network_backend.connect_tcp(**kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
worker | with map_exceptions(exc_map):
worker | File "/usr/local/lib/python3.11/contextlib.py", line 155, in exit
worker | self.gen.throw(typ, value, traceback)
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
worker | raise to_exc(exc) from exc
worker | httpcore.ConnectError: [Errno -2] Name or service not known
worker |
worker | The above exception was the direct cause of the following exception:
worker |
worker | Traceback (most recent call last):
worker | File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
worker | R = retval = fun(*args, **kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 760, in protected_call
worker | return self.run(*args, **kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/code/celery_worker.py", line 187, in process_integration_brain_sync
worker | integrations = integration.get_integration_brain_by_type_integration("notion")
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/code/modules/brain/repository/integration_brains.py", line 106, in get_integration_brain_by_type_integration
worker | .execute()
worker | ^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/postgrest/_sync/request_builder.py", line 58, in execute
worker | r = self.session.request(
worker | ^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 814, in request
worker | return self.send(request, auth=auth, follow_redirects=follow_redirects)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 901, in send
worker | response = self._send_handling_auth(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 929, in _send_handling_auth
worker | response = self._send_handling_redirects(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 966, in _send_handling_redirects
worker | response = self._send_single_request(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1002, in _send_single_request
worker | response = transport.handle_request(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 227, in handle_request
worker | with map_httpcore_exceptions():
worker | File "/usr/local/lib/python3.11/contextlib.py", line 155, in exit
worker | self.gen.throw(typ, value, traceback)
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions
worker | raise mapped_exc(message) from exc
worker | httpx.ConnectError: [Errno -2] Name or service not known

@itxProfessor
Copy link
Author

image_2024-03-18_113408790
on ubuntu i get this error when starting supabase

@itxProfessor
Copy link
Author

Please help @StanGirard

@fsimonAramis
Copy link

Hello,
I have the same issue on ubuntu with docker compose installation document.
First when i try to open : http://localhost:8000/project/default/auth/users
backend-core | INFO: 172.18.0.1:49712 - "GET /user HTTP/1.1" 403 Forbidden
backend-core | INFO: 127.0.0.1:42430 - "GET /healthz HTTP/1.1" 200 OK
backend-core | INFO: 172.18.0.1:41166 - "GET /user HTTP/1.1" 403 Forbidden

and after :

beat | [2024-03-18 13:05:00,011: INFO/MainProcess] Scheduler: Sending due task process_integration_brain_sync (celery_worker.process_integration_brain_sync)
worker | [2024-03-18 13:05:00,031: INFO/MainProcess] Task celery_worker.process_integration_brain_sync[42c6896b-ae98-4018-80f8-bf81c48aad1a] received
worker | [2024-03-18 13:05:00,090: ERROR/ForkPoolWorker-2] Task celery_worker.process_integration_brain_sync[42c6896b-ae98-4018-80f8-bf81c48aad1a] raised unexpected: ConnectError('[Errno -2] Name or service not known')
worker | Traceback (most recent call last):
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions
worker | yield
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 228, in handle_request
worker | resp = self._pool.handle_request(req)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
worker | raise exc from None
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
worker | response = connection.handle_request(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
worker | raise exc
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
worker | stream = self._connect(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 122, in _connect
worker | stream = self._network_backend.connect_tcp(**kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
worker | with map_exceptions(exc_map):
worker | File "/usr/local/lib/python3.11/contextlib.py", line 155, in exit
worker | self.gen.throw(typ, value, traceback)
worker | File "/usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
worker | raise to_exc(exc) from exc
worker | httpcore.ConnectError: [Errno -2] Name or service not known
worker |
worker | The above exception was the direct cause of the following exception:
worker |
worker | Traceback (most recent call last):
worker | File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
worker | R = retval = fun(*args, **kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 760, in protected_call
worker | return self.run(*args, **kwargs)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/code/celery_worker.py", line 187, in process_integration_brain_sync
worker | integrations = integration.get_integration_brain_by_type_integration("notion")
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/code/modules/brain/repository/integration_brains.py", line 106, in et_integration_brain_by_type_integration
worker | .execute()
worker | ^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/postgrest/_sync/request_builder.py", line 58, in execute
worker | r = self.session.request(
worker | ^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 814, in request
worker | return self.send(request, auth=auth, follow_redirects=follow_redirects)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 901, in send
worker | response = self._send_handling_auth(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 929, in _send_handling_auth
worker | response = self._send_handling_redirects(
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 966, in _send_handling_redirects
worker | response = self._send_single_request(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1002, in _send_single_request
worker | response = transport.handle_request(request)
worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 227, in handle_request
worker | with map_httpcore_exceptions():
worker | File "/usr/local/lib/python3.11/contextlib.py", line 155, in exit
worker | self.gen.throw(typ, value, traceback)
worker | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions
worker | raise mapped_exc(message) from exc
worker | httpx.ConnectError: [Errno -2] Name or service not known
backend-core | INFO: 127.0.0.1:43798 - "GET /healthz HTTP/1.1" 200

I try to start application from main branch.
Maybe I need to use a tag branch ?

@StanGirard
Copy link
Collaborator

StanGirard commented Mar 18, 2024 via email

@itxProfessor
Copy link
Author

Hey, Is supabase running with supabase start in the root directory ?

On Mon, Mar 18, 2024 at 06:09:05, fsimonAramis < @.*** > wrote: Hello, I have the same issue on ubuntu with docker compose installation document. First when i try to open : http:/ / localhost:8000/ project/ default/ auth/ users ( http://localhost:8000/project/default/auth/users ) backend-core | INFO: 172.18.0.1:49712 - "GET /user HTTP/1.1" 403 Forbidden backend-core | INFO: 127.0.0.1:42430 - "GET /healthz HTTP/1.1" 200 OK backend-core | INFO: 172.18.0.1:41166 - "GET /user HTTP/1.1" 403 Forbidden and after : beat | [2024-03-18 13:05:00,011: INFO/MainProcess] Scheduler: Sending due task process_integration_brain_sync (celery_worker.process_integration_brain_sync) worker | [2024-03-18 13:05:00,031: INFO/MainProcess] Task celery_worker.process_integration_brain_sync[42c6896b-ae98-4018-80f8-bf81c48aad1a] received worker | [2024-03-18 13:05:00,090: ERROR/ForkPoolWorker-2] Task celery_worker.process_integration_brain_sync[42c6896b-ae98-4018-80f8-bf81c48aad1a] raised unexpected: ConnectError('[Errno -2] Name or service not known') worker | Traceback (most recent call last): worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ default. py ( http://usr/local/lib/python3.11/site-packages/httpx/_transports/default.py ) ", line 66, in map_httpcore_exceptions worker | yield worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ default. py ( http://usr/local/lib/python3.11/site-packages/httpx/_transports/default.py ) ", line 228, in handle_request worker | resp = self._pool.handle_request(req) worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ connection_pool. py ( http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py ) ", line 216, in handle_request worker | raise exc from None worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ connection_pool. py ( http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py ) ", line 196, in handle_request worker | response = connection.handle_request( worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ connection. py ( http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py ) ", line 99, in handle_request worker | raise exc worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ connection. py ( http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py ) ", line 76, in handle_request worker | stream = self._connect(request) worker | ^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ connection. py ( http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py ) ", line 122, in _connect worker | stream = self._network_backend.connect_tcp(**kwargs) worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _backends/ sync. py ( http://usr/local/lib/python3.11/site-packages/httpcore/_backends/sync.py ) ", line 205, in connect_tcp worker | with map_exceptions(exc_map): worker | File "/ usr/ local/ lib/ python3. 11/ contextlib. py ( http://usr/local/lib/python3.11/contextlib.py ) ", line 155, in exit worker | self.gen.throw(typ, value, traceback) worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _exceptions. py ( http://usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py ) ", line 14, in map_exceptions worker | raise to_exc(exc) from exc worker | httpcore.ConnectError: [Errno -2] Name or service not known worker | worker | The above exception was the direct cause of the following exception: worker | worker | Traceback (most recent call last): worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ celery/ app/ trace. py ( http://usr/local/lib/python3.11/site-packages/celery/app/trace.py ) ", line 477, in trace_task worker | R = retval = fun(*args, **kwargs) worker | ^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ celery/ app/ trace. py ( http://usr/local/lib/python3.11/site-packages/celery/app/trace.py ) ", line 760, in protected_call worker | return self. run ( http://self.run/ ) (*args, **kwargs) worker | ^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ code/ celery_worker. py ( http://code/celery_worker.py ) ", line 187, in process_integration_brain_sync worker | integrations = integration.get_integration_brain_by_type_integration("notion") worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ code/ modules/ brain/ repository/ integration_brains. py ( http://code/modules/brain/repository/integration_brains.py ) ", line 106, in et_integration_brain_by_type_integration worker | .execute() worker | ^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ postgrest/ _sync/ request_builder. py ( http://usr/local/lib/python3.11/site-packages/postgrest/_sync/request_builder.py ) ", line 58, in execute worker | r = self.session.request( worker | ^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _client. py ( http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ", line 814, in request worker | return self.send(request, auth=auth, follow_redirects=follow_redirects) worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _client. py ( http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ", line 901, in send worker | response = self._send_handling_auth( worker | ^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _client. py ( http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ", line 929, in _send_handling_auth worker | response = self._send_handling_redirects( worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _client. py ( http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ", line 966, in _send_handling_redirects worker | response = self._send_single_request(request) worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _client. py ( http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ", line 1002, in _send_single_request worker | response = transport.handle_request(request) worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ default. py ( http://usr/local/lib/python3.11/site-packages/httpx/_transports/default.py ) ", line 227, in handle_request worker | with map_httpcore_exceptions(): worker | File "/ usr/ local/ lib/ python3. 11/ contextlib. py ( http://usr/local/lib/python3.11/contextlib.py ) ", line 155, in exit worker | self.gen.throw(typ, value, traceback) worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ default. py ( http://usr/local/lib/python3.11/site-packages/httpx/_transports/default.py ) ", line 83, in map_httpcore_exceptions worker | raise mapped_exc(message) from exc worker | httpx.ConnectError: [Errno -2] Name or service not known backend-core | INFO: 127.0.0.1:43798 - "GET /healthz HTTP/1.1" 200 I try to start application from main branch. Maybe I need to use a tag branch ? — Reply to this email directly, view it on GitHub ( #2354 (comment) ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEVUW3ADWI73NRS3OK4WGULYY3RPDAVCNFSM6AAAAABEZMRSUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBTHA3DINJSHE ). You are receiving this because you were mentioned. Message ID: </issues/2354/2003864529 @ github. com>

no shouldnt i run it in quivr directory

@StanGirard
Copy link
Collaborator

StanGirard commented Mar 18, 2024 via email

@itxProfessor
Copy link
Author

Yes. Instruction are explained in the readme if you need details

On Mon, Mar 18, 2024 at 07:38:48, itxProfessor < @.*** > wrote: > > > Hey, Is supabase running with supabase start in the root directory ? > … ( # ) > On Mon, Mar 18, 2024 at 06:09:05, fsimonAramis < @.*** > wrote: Hello, I > have the same issue on ubuntu with docker compose installation document. > First when i try to open : http:/ / localhost:8000/ project/ default/ > auth/ users ( http:/ / localhost:8000/ project/ default/ auth/ users ( > http://localhost:8000/project/default/auth/users ) ) backend-core | INFO: > 172.18.0.1:49712 - "GET /user HTTP/1.1" 403 Forbidden backend-core | INFO: > 127.0.0.1:42430 - "GET /healthz HTTP/1.1" 200 OK backend-core | INFO: > 172.18.0.1:41166 - "GET /user HTTP/1.1" 403 Forbidden and after : beat | > [2024-03-18 13:05:00,011: INFO/MainProcess] Scheduler: Sending due task > process_integration_brain_sync > (celery_worker.process_integration_brain_sync) worker | [2024-03-18 > 13:05:00,031: INFO/MainProcess] Task > celery_worker.process_integration_brain_sync[42c6896b-ae98-4018-80f8-bf81c48aad1a] > received worker | [2024-03-18 13:05:00,090: ERROR/ForkPoolWorker-2] Task > celery_worker.process_integration_brain_sync[42c6896b-ae98-4018-80f8-bf81c48aad1a] > raised unexpected: ConnectError('[Errno -2] Name or service not known') > worker | Traceback (most recent call last): worker | File "/ usr/ local/ > lib/ python3. 11/ site-packages/ httpx/ _transports/ default. py ( http:/ / > usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ default. py > ( > http://usr/local/lib/python3.11/site-packages/httpx/_transports/default.py > ) ) ", line 66, in map_httpcore_exceptions worker | yield worker | File "/ > usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ default. > py ( http:/ / usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ > default. py ( > http://usr/local/lib/python3.11/site-packages/httpx/_transports/default.py > ) ) ", line 228, in handle_request worker | resp = > self._pool.handle_request(req) worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ > _sync/ connection_pool. py ( http:/ / usr/ local/ lib/ python3. 11/ site-packages/ > httpcore/ _sync/ connection_pool. py ( > http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py > ) ) ", line 216, in handle_request worker | raise exc from None worker | > File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ > connection_pool. py ( http:/ / usr/ local/ lib/ python3. 11/ site-packages/ > httpcore/ _sync/ connection_pool. py ( > http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py > ) ) ", line 196, in handle_request worker | response = > connection.handle_request( worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | > File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ > connection. py ( http:/ / usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ > _sync/ connection. py ( > http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py > ) ) ", line 99, in handle_request worker | raise exc worker | File "/ usr/ > local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ connection. py ( http:/ > / usr/ local/ lib/ python3. 11/ site-packages/ httpcore/ _sync/ connection. > py ( > http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py > ) ) ", line 76, in handle_request worker | stream = self._connect(request) > worker | ^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. > 11/ site-packages/ httpcore/ _sync/ connection. py ( http:/ / usr/ local/ lib/ > python3. 11/ site-packages/ httpcore/ _sync/ connection. py ( > http://usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py > ) ) ", line 122, in _connect worker | stream = > self._network_backend.connect_tcp(**kwargs) worker | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ > lib/ python3. 11/ site-packages/ httpcore/ _backends/ sync. py ( http:/ / usr/ > local/ lib/ python3. 11/ site-packages/ httpcore/ _backends/ sync. py ( > http://usr/local/lib/python3.11/site-packages/httpcore/_backends/sync.py ) > ) ", line 205, in connect_tcp worker | with map_exceptions(exc_map): > worker | File "/ usr/ local/ lib/ python3. 11/ contextlib. py ( http:/ / usr/ > local/ lib/ python3. 11/ contextlib. py ( > http://usr/local/lib/python3.11/contextlib.py ) ) ", line 155, in exit worker > | self.gen.throw(typ, value, traceback) worker | File "/ usr/ local/ lib/ > python3. 11/ site-packages/ httpcore/ _exceptions. py ( http:/ / usr/ local/ > lib/ python3. 11/ site-packages/ httpcore/ _exceptions. py ( > http://usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py ) ) > ", line 14, in map_exceptions worker | raise to_exc(exc) from exc worker | > httpcore.ConnectError: [Errno -2] Name or service not known worker | > worker | The above exception was the direct cause of the following > exception: worker | worker | Traceback (most recent call last): worker | > File "/ usr/ local/ lib/ python3. 11/ site-packages/ celery/ app/ trace. > py ( http:/ / usr/ local/ lib/ python3. 11/ site-packages/ celery/ app/ trace. > py ( http://usr/local/lib/python3.11/site-packages/celery/app/trace.py ) ) > ", line 477, in trace_task worker | R = retval = fun(*args, **kwargs) > worker | ^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. > 11/ site-packages/ celery/ app/ trace. py ( http:/ / usr/ local/ lib/ python3. > 11/ site-packages/ celery/ app/ trace. py ( > http://usr/local/lib/python3.11/site-packages/celery/app/trace.py ) ) ", > line 760, in protected_call worker | return self. run ( http:/ / self. run/ > ( http://self.run/ ) ) (*args, **kwargs) worker | ^^^^^^^^^^^^^^^^^^^^^^^^^ > worker | File "/ code/ celery_worker. py ( http:/ / code/ celery_worker. py > ( http://code/celery_worker.py ) ) ", line 187, in > process_integration_brain_sync worker | integrations = > integration.get_integration_brain_by_type_integration("notion") worker | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | > File "/ code/ modules/ brain/ repository/ integration_brains. py ( http:/ / > code/ modules/ brain/ repository/ integration_brains. py ( > http://code/modules/brain/repository/integration_brains.py ) ) ", line 106, > in et_integration_brain_by_type_integration worker | .execute() worker | > ^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ > postgrest/ _sync/ request_builder. py ( http:/ / usr/ local/ lib/ python3. > 11/ site-packages/ postgrest/ _sync/ request_builder. py ( > http://usr/local/lib/python3.11/site-packages/postgrest/_sync/request_builder.py > ) ) ", line 58, in execute worker | r = self.session.request( worker | > ^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ > site-packages/ httpx/ _client. py ( http:/ / usr/ local/ lib/ python3. 11/ > site-packages/ httpx/ _client. py ( > http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ) ", line > 814, in request worker | return self.send(request, auth=auth, > follow_redirects=follow_redirects) worker | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | > File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _client. py ( http:/ > / usr/ local/ lib/ python3. 11/ site-packages/ httpx/ _client. py ( > http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ) ", line > 901, in send worker | response = self._send_handling_auth( worker | > ^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ python3. 11/ > site-packages/ httpx/ _client. py ( http:/ / usr/ local/ lib/ python3. 11/ > site-packages/ httpx/ _client. py ( > http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ) ", line > 929, in _send_handling_auth worker | response = > self._send_handling_redirects( worker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > worker | File "/ usr/ local/ lib/ python3. 11/ site-packages/ httpx/ > _client. py ( http:/ / usr/ local/ lib/ python3. 11/ site-packages/ httpx/ > _client. py ( > http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ) ", line > 966, in _send_handling_redirects worker | response = > self._send_single_request(request) worker | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ > python3. 11/ site-packages/ httpx/ _client. py ( http:/ / usr/ local/ lib/ > python3. 11/ site-packages/ httpx/ _client. py ( > http://usr/local/lib/python3.11/site-packages/httpx/_client.py ) ) ", line > 1002, in _send_single_request worker | response = > transport.handle_request(request) worker | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ worker | File "/ usr/ local/ lib/ > python3. 11/ site-packages/ httpx/ _transports/ default. py ( http:/ / usr/ > local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ default. py ( > http://usr/local/lib/python3.11/site-packages/httpx/_transports/default.py > ) ) ", line 227, in handle_request worker | with map_httpcore_exceptions(): > worker | File "/ usr/ local/ lib/ python3. 11/ contextlib. py ( http:/ / usr/ > local/ lib/ python3. 11/ contextlib. py ( > http://usr/local/lib/python3.11/contextlib.py ) ) ", line 155, in exit worker > | self.gen.throw(typ, value, traceback) worker | File "/ usr/ local/ lib/ > python3. 11/ site-packages/ httpx/ _transports/ default. py ( http:/ / usr/ > local/ lib/ python3. 11/ site-packages/ httpx/ _transports/ default. py ( > http://usr/local/lib/python3.11/site-packages/httpx/_transports/default.py > ) ) ", line 83, in map_httpcore_exceptions worker | raise > mapped_exc(message) from exc worker | httpx.ConnectError: [Errno -2] Name > or service not known backend-core | INFO: 127.0.0.1:43798 - "GET /healthz > HTTP/1.1" 200 I try to start application from main branch. Maybe I need to > use a tag branch ? — Reply to this email directly, view it on GitHub ( #2354 > (comment) ( > #2354 (comment) ) ) , > or unsubscribe ( https:/ / github. com/ notifications/ unsubscribe-auth/ AEVUW3ADWI73NRS3OK4WGULYY3RPDAVCNFSM6AAAAABEZMRSUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBTHA3DINJSHE > ( > https://github.com/notifications/unsubscribe-auth/AEVUW3ADWI73NRS3OK4WGULYY3RPDAVCNFSM6AAAAABEZMRSUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBTHA3DINJSHE > ) ). You are receiving this because you were mentioned. Message ID: < / issues/ > 2354 ( #2354 ) /2003864529 @ github. > com> > > no shouldnt i run it in quivr directory — Reply to this email directly, view it on GitHub ( #2354 (comment) ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEVUW3GCVXVVHFDTWCCMJMLYY337RAVCNFSM6AAAAABEZMRSUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGA4TONBZGQ ). You are receiving this because you were mentioned. Message ID: </issues/2354/2004097494 @ github. com>

yes i did exactly as described in instruction and yes i did in quivr directory i will tell you how i did

  1. First i installed docker from official website of docker for centos or ubuntu
  2. then i installed supabase from official website using linux packages
  3. then i pulled the quivr github repository
  4. then i entered in quivr directory and then
  5. then i copied the command as you gave then i pasted my openapi key in the top where it is shown in the video too
  6. then i saved it and while staying in the quivr directory i did supabase start after it then i did compose docker compose pull and then i did docker compose up but it gives me these errors in either of the distros ubuntu or centos

please can you help me while i share my screen with you on zoom or google?

@bigbenz8
Copy link

I've been trying for 2 days , and found that this system has so many problems at the moment that it's almost unusable (I'm running it on a linux system installed in win11's wsl2 ). I hope the bugs will be fixed soon. Personally, I suggest to release an allinone version of the docker (the one you can use by running the docker run command), because it will at least avoid a lot of problems with the system installation (although the file size may be a bit bigger, but it doesn't matter. In this way, the user can deploy the system in a simple way - the key thing is that the docker image will work without any configuration ). In any case, it is more important than anything else to make sure that the installation is inexpensive and that the user is happy to get the system up and running.

Translated with www.DeepL.com/Translator (free version)

@bigbenz8
Copy link

Packaging into a large allInOne docker image has a number of benefits from the current point of view.1. The development of the system is still in progress, and there will be a lot of unstable code in it. Generating a unique docker image at a specific point in time will allow you to put a specific version of the code together correctly to ensure that the whole system works properly.2. The docker image of the system is officially generated. The system in the docker image is officially generated, which at least guarantees the quality of the software - at least it will work, there will not be too many problems, and the user can choose which version of the docker image to install if he likes to use that version. 3. There will not be any surprises in the installation process. Currently, there are many problems with network installations, the most common of which are errors in downloading files, files that cannot be found, and so on. Ideal state I think should be: when the user downloads the allInOne image file, in fact, he has completed 99% of the things to do, the rest of the things is to start the image of the container on the line, there is no trivial configuration or only a few configurations added to the command line, which will be very intuitive.

@itxProfessor
Copy link
Author

@StanGirard please help brother

@itxProfessor
Copy link
Author

@StanGirard

@itxProfessor
Copy link
Author

@StanGirard please help here brother

@backendrulz
Copy link

@StanGirard please help here brother

Stop wasting your time here... read above:

Literally this is completely broken and has been, with multiple bugs (running without OpenAPI) and just no responses to the problem from a real developer.

@itxProfessor
Copy link
Author

@StanGirard please help here brother

Stop wasting your time here... read above:

Literally this is completely broken and has been, with multiple bugs (running without OpenAPI) and just no responses to the problem from a real developer.

At least provide me with any other solution if not this

@StanGirard
Copy link
Collaborator

Hey guys, to help better debug. could you please provide me with your operating system, if you are local or on a VPS or else, and also if you followed the readme to the letter ? And if not what did you change ?

@raisindetre
Copy link

@StanGirard I have confirmed this issue in a clean install of v0.0.227 running on OSX 14.4. Steps taken.

brew upgrade supabase
git clone https://github.com/QuivrHQ/quivr.git
mv quivr quivr-v227-clean
cd quivr-v227-clean
cp .env.example .env #Added OpenAPI key in editor
supabase start
> ...  Studio URL: http://127.0.0.1:54323

# In browser go to http://127.0.0.1:54323/project/default/auth/users
# Add test user with "Auto Confirm User" checked
# In browser go to http://localhost:3000
# Attempt to log in and get "Failed to Fetch" notification on page.

I also tried cd supabase before running supabase start with the same result.

Reproducing the http://127.0.0.1:8000/auth/v1/token?grant_type=password request in Postman responds with Error: connect ECONNREFUSED 127.0.0.1:8000

The following variations of the localhost URL all produce the same result:

http://localhost:8000/auth/v1/token?grant_type=password
http://0.0.0.0:8000/auth/v1/token?grant_type=password
http://[HOST LAN IP]:8000/auth/v1/token?grant_type=password

The supabase_kong_secondbrain log in Docker has no entries for these failures.

Also noted this user's observation in Issue 2408 about users table column "onboarded" being set to "False" and set to "True" but same result.

Some sort of network port binding or DNS issue?

@chloedia
Copy link
Collaborator

chloedia commented Apr 9, 2024

I don't know if this can help, I had the exact same issue and it came from supabase.
I am on an Intel Mac (apparently we are a forgotten community of supabase) and here is the related supabase issue : supabase/cli#1083
If you don't care about accessing to supabase studio just run supabase start --debug --ignore-health-check and it will work correctly - at least it did for me- (don't hesitate to rm all your images/ container related to supabase first for a clean start). If you want to access the studio apparently it is a supabase version problem.
Hope this help :)

@schwannden
Copy link

I don't know if this can help, I had the exact same issue and it came from supabase. I am on an Intel Mac (apparently we are a forgotten community of supabase) and here is the related supabase issue : supabase/cli#1083 If you don't care about accessing to supabase studio just run supabase start --debug --ignore-health-check and it will work correctly - at least it did for me- (don't hesitate to rm all your images/ container related to supabase first for a clean start). If you want to access the studio apparently it is a supabase version problem. Hope this help :)

I did this but sitll waiting for health check

@itxProfessor
Copy link
Author

itxProfessor commented Apr 12, 2024

Hey guys, to help better debug. could you please provide me with your operating system, if you are local or on a VPS or else, and also if you followed the readme to the letter ? And if not what did you change ?

os is centos 7 tried ubuntu latest too and it is a vm and yes everything as said in the readme and nothing changed but still doesnt work
@StanGirard

@StanGirard
Copy link
Collaborator

Ok this is a VM helps a lot. There are a few changes to do with the Ip address and all of that in the .env in order for it to work.

Let me find time next week to do a proper documentation or you can try digging the .env file 😅

@itxProfessor
Copy link
Author

Ok this is a VM helps a lot. There are a few changes to do with the Ip address and all of that in the .env in order for it to work.

Let me find time next week to do a proper documentation or you can try digging the .env file 😅

yes it is a vm in my proxmox server and i have everything configured from the firewall part for it to passthrough

@itxProfessor
Copy link
Author

Ok this is a VM helps a lot. There are a few changes to do with the Ip address and all of that in the .env in order for it to work.

Let me find time next week to do a proper documentation or you can try digging the .env file 😅

ok please i would love your help waiting for it to be resolved

@StanGirard
Copy link
Collaborator

StanGirard commented Apr 18, 2024 via email

@itxProfessor
Copy link
Author

ok ok ok lets see and thanks a lot sir

@itxProfessor
Copy link
Author

@StanGirard ?

@itxProfessor
Copy link
Author

New documentation doesnt mention anything for Ollama have you ended support for it or can we still use it?
@StanGirard

@StanGirard
Copy link
Collaborator

StanGirard commented May 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Related to documentation or under the /docs directory bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants