Skip to content

llmstack doesn't start on a fresh install. #297

Open
@mstfldmr

Description

@mstfldmr

Describe the bug
llmstack doesn't start on a fresh install.

To Reproduce
conda create -n llmstack python=3.12
conda activate llmstack
pip3 install llmstack
llmstack

Version
0.2.6

Environment
MacBook Pro
Apple M3 Max
15.0.1 (24A348)
Python 3.12 in Conda

Additional context

(llmstack) mustafa@MustafaMax ~ % llmstack
Container llmstack-redis-1  Started
Container llmstack-runner-1  Started
Container llmstack-weaviate-1  Started
Container llmstack-postgres-1  Started
Container llmstack-rqworker-1  Starting
Container llmstack-api-1  Starting
Container llmstack-rqworker-1  Started
Container llmstack-api-1  Started
Container llmstack-app-1  Starting
Container llmstack-app-1  Startedgrtedg
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Waiting for LLMStack server to be up...
Failed to connect to LLMStack server. Exiting...
postgres-1  |
postgres-1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
api-1       | postgres:5432 - accepting connections
api-1       | Starting API server
api-1       | Postgres is up - continuing
api-1       | /usr/local/lib/python3.11/site-packages/langrocks/common/models/tools_pb2_grpc.py:23: RuntimeWarning: The grpc package installed is at version 1.64.1, but the generated code in tools_pb2_grpc.py depends on grpcio>=1.65.1. Please upgrade your grpc module to grpcio>=1.65.1 or downgrade your generated code using grpcio-tools<=1.64.1. This warning will become an error in 1.66.0, scheduled for release on August 6, 2024.
api-1       |   warnings.warn(
api-1       | /usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:201: UserWarning: Field name "schema" in "PandasStore" shadows an attribute in parent "BaseDestination"
api-1       |   warnings.warn(
api-1       | /usr/local/lib/python3.11/site-packages/django/db/backends/utils.py:98: RuntimeWarning: Accessing the database during app initialization is discouraged. To fix this warning, avoid executing queries in AppConfig.ready() or when your app modules are imported.
api-1       |   warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
api-1       | Operations to perform:
api-1       |   Apply all migrations: account, admin, apiabstractor, app_store, apps, auth, authtoken, base, contenttypes, datasources, django_rq, flags, jobs, organizations, sessions, sheets, sites, socialaccount
api-1       | Running migrations:
api-1       | Traceback (most recent call last):
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
api-1       |     return self.cursor.execute(sql, params)
api-1       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       | psycopg2.errors.UndefinedColumn: column datasources_datasource.read_accessible_by does not exist
api-1       | LINE 1: ...eated_at", "datasources_datasource"."updated_at", "datasourc...
api-1       |                                                              ^
api-1       |
api-1       |
api-1       | The above exception was the direct cause of the following exception:
api-1       |
api-1       | Traceback (most recent call last):
api-1       |   File "/code/manage.py", line 22, in <module>
api-1       |     main()
postgres-1  |
postgres-1  | 2025-01-28 23:13:47.973 UTC [1] LOG:  starting PostgreSQL 16.6 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit
postgres-1  | 2025-01-28 23:13:47.974 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres-1  | 2025-01-28 23:13:47.974 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres-1  | 2025-01-28 23:13:47.974 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1  | 2025-01-28 23:13:47.975 UTC [29] LOG:  database system was shut down at 2025-01-28 23:12:49 UTC
postgres-1  | 2025-01-28 23:13:47.976 UTC [1] LOG:  database system is ready to accept connections
postgres-1  | 2025-01-28 23:13:53.739 UTC [35] ERROR:  column datasources_datasource.read_accessible_by does not exist at character 363
postgres-1  | 2025-01-28 23:13:53.739 UTC [35] STATEMENT:  SELECT "datasources_datasource"."id", "datasources_datasource"."uuid", "datasources_datasource"."type_id", "datasources_datasource"."owner_id", "datasources_datasource"."name", "datasources_datasource"."size", "datasources_datasource"."visibility", "datasources_datasource"."config", "datasources_datasource"."created_at", "datasources_datasource"."updated_at", "datasources_datasource"."read_accessible_by", "datasources_datasource"."write_accessible_by" FROM "datasources_datasource"
api-1       |   File "/code/manage.py", line 18, in main
api-1       |     execute_from_command_line(sys.argv)
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
api-1       |     utility.execute()
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
api-1       |     self.fetch_command(subcommand).run_from_argv(self.argv)
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 413, in run_from_argv
api-1       |     self.execute(*args, **cmd_options)
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 459, in execute
api-1       |     output = self.handle(*args, **options)
api-1       |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 107, in wrapper
api-1       |     res = handle_func(*args, **kwargs)
api-1       |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 356, in handle
api-1       |     post_migrate_state = executor.migrate(
api-1       |                          ^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 135, in migrate
api-1       |     state = self._migrate_all_forwards(
api-1       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 167, in _migrate_all_forwards
api-1       |     state = self.apply_migration(
api-1       |             ^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 252, in apply_migration
api-1       |     state = migration.apply(state, schema_editor)
api-1       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/migrations/migration.py", line 132, in apply
api-1       |     operation.database_forwards(
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/migrations/operations/special.py", line 193, in database_forwards
api-1       |     self.code(from_state.apps, schema_editor)
api-1       |   File "/code/llmstack/data/migrations/0006_add_pipeline_config.py", line 49, in add_legacy_pipeline_to_datasource_config
api-1       |     for datasource in datasources:
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/models/query.py", line 400, in __iter__
api-1       |     self._fetch_all()
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/models/query.py", line 1928, in _fetch_all
api-1       |     self._result_cache = list(self._iterable_class(self))
api-1       |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/models/query.py", line 91, in __iter__
api-1       |     results = compiler.execute_sql(
api-1       |               ^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
api-1       |     cursor.execute(sql, params)
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute
api-1       |     return self._execute_with_wrappers(
api-1       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
api-1       |     return executor(sql, params, many, context)
api-1       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 100, in _execute
api-1       |     with self.db.wrap_database_errors:
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
api-1       |     raise dj_exc_value.with_traceback(traceback) from exc_value
api-1       |   File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
api-1       |     return self.cursor.execute(sql, params)
api-1       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1       | django.db.utils.ProgrammingError: column datasources_datasource.read_accessible_by does not exist
api-1       | LINE 1: ...eated_at", "datasources_datasource"."updated_at", "datasourc...
api-1       |                                                              ^
api-1       |
redis-1     | 1:C 28 Jan 2025 23:13:47.926 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-1     | 1:C 28 Jan 2025 23:13:47.926 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started
redis-1     | 1:C 28 Jan 2025 23:13:47.926 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis-1     | 1:M 28 Jan 2025 23:13:47.926 * monotonic clock: POSIX clock_gettime
redis-1     | 1:M 28 Jan 2025 23:13:47.927 * Running mode=standalone, port=6379.
redis-1     | 1:M 28 Jan 2025 23:13:47.927 * Server initialized
redis-1     | 1:M 28 Jan 2025 23:13:47.927 * Loading RDB produced by version 7.4.2
redis-1     | 1:M 28 Jan 2025 23:13:47.927 * RDB age 58 seconds
redis-1     | 1:M 28 Jan 2025 23:13:47.927 * RDB memory usage when created 1.29 Mb
redis-1     | 1:M 28 Jan 2025 23:13:47.927 * Done loading RDB, keys loaded: 6, keys expired: 0.
redis-1     | 1:M 28 Jan 2025 23:13:47.927 * DB loaded from disk: 0.000 seconds
redis-1     | 1:M 28 Jan 2025 23:13:47.927 * Ready to accept connections tcp
runner-1    | Starting redis server
runner-1    | Starting playwright server on port 50053
runner-1    | Setting up uBlock Origin...
runner-1    | Listening on ws://localhost:50053/
runner-1    | Successfully prepared uBlock Origin
runner-1    | INFO:langrocks.common.display:Created display: 99
runner-1    | INFO:langrocks.common.display:Created display: 101
runner-1    | INFO:langrocks.common.display:Created display: 100
runner-1    | INFO:langrocks.common.display:Created display: 102
rqworker-1  | postgres:5432 - accepting connections
app-1       | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
app-1       | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
app-1       | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
app-1       | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
app-1       | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
app-1       | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
app-1       | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
app-1       | /docker-entrypoint.sh: Configuration complete; ready for start up
app-1       | 2025/01/28 23:13:48 [notice] 1#1: using the "epoll" event method
app-1       | 2025/01/28 23:13:48 [notice] 1#1: nginx/1.26.1
weaviate-1  | {"action":"startup","default_vectorizer_module":"text2vec-openai","level":"info","msg":"the default vectorizer modules is set to \"text2vec-openai\", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer","time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"action":"startup","auto_schema_enabled":true,"level":"info","msg":"auto schema enabled setting is set to \"true\"","time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"level":"info","msg":"No resource limits set, weaviate will use all available memory and CPU. To limit resources, set LIMIT_RESOURCES=true","time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"level":"info","msg":"open cluster service","servers":{"weaviate-node":8300},"time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"address":"172.18.0.4:8301","level":"info","msg":"starting cloud rpc server ...","time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"level":"info","msg":"starting raft sub-system ...","time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"address":"172.18.0.4:8300","level":"info","msg":"tcp transport","tcpMaxPool":3,"tcpTimeout":10000000000,"time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"level":"info","msg":"loading local db","time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"level":"info","msg":"database has been successfully loaded","n":0,"time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"level":"info","metadata_only_voters":false,"msg":"construct a new raft node","name":"weaviate-node","time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"action":"raft","index":1,"level":"info","msg":"raft initial configuration","servers":"[[{Suffrage:Voter ID:weaviate-node Address:172.18.0.2:8300}]]","time":"2025-01-28T23:13:48Z"}
app-1       | 2025/01/28 23:13:48 [notice] 1#1: built by gcc 13.2.1 20231014 (Alpine 13.2.1_git20231014)
weaviate-1  | {"last_snapshot_index":0,"last_store_applied_index":0,"last_store_log_applied_index":0,"level":"info","msg":"raft node constructed","raft_applied_index":0,"raft_last_index":2,"time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"action":"raft","follower":{},"leader-address":"","leader-id":"","level":"info","msg":"raft entering follower state","time":"2025-01-28T23:13:48Z"}
weaviate-1  | {"action":"raft","last-leader-addr":"","last-leader-id":"","level":"warning","msg":"raft heartbeat timeout reached, starting election","time":"2025-01-28T23:13:49Z"}
weaviate-1  | {"action":"raft","level":"info","msg":"raft entering candidate state","node":{},"term":3,"time":"2025-01-28T23:13:49Z"}
runner-1    | INFO:langrocks.common.display:Created display: 103
app-1       | 2025/01/28 23:13:48 [notice] 1#1: OS: Linux 6.10.14-linuxkit
app-1       | 2025/01/28 23:13:48 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
runner-1    | WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker processes
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 20
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 21
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 22
rqworker-1  | Starting RQ worker
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 23
runner-1    | I0000 00:00:1738106029.778937       1 config.cc:230] gRPC experiments enabled: call_status_override_on_cancellation, event_engine_dns, event_engine_listener, http2_stats_fix, monitoring_experiment, pick_first_new, trace_record_callops, work_serializer_clears_time_cache
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 24
runner-1    | INFO:langrocks.app.server:Server running at http://[::]:50051
weaviate-1  | {"action":"raft","level":"info","msg":"raft election won","tally":1,"term":3,"time":"2025-01-28T23:13:49Z"}
weaviate-1  | {"action":"raft","leader":{},"level":"info","msg":"raft entering leader state","time":"2025-01-28T23:13:49Z"}
runner-1    | WebSocket server settings:
runner-1    |   - Listen on :50052
runner-1    |   - Web server. Web root: /usr/share/www/html
runner-1    |   - No SSL/TLS support (no cert file)
rqworker-1  | Postgres is up - continuing
runner-1    |   - proxying from :50052 to targets generated by TokenRedis
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 25
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 26
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 27
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 28
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 29
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 30
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 31
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 32
app-1       | 2025/01/28 23:13:48 [notice] 1#1: start worker process 33
app-1       | 2025/01/28 23:13:48 [error] 20#20: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:13:48 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:13:50 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:13:50 [error] 21#21: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 2025/01/28 23:13:52 [error] 22#22: *5 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:13:52 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:14:55 [error] 23#23: *7 upstream timed out (110: Operation timed out) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:14:55 +0000] "GET / HTTP/1.1" 504 167 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:15:12 [error] 25#25: *9 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:12 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:15:18 [error] 27#27: *11 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:18 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:15:23 [error] 24#24: *13 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
weaviate-1  | {"action":"bootstrap","level":"info","msg":"node reporting ready, node has probably recovered cluster from raft config. Exiting bootstrap process","time":"2025-01-28T23:13:49Z"}
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:23 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:15:29 [error] 28#28: *15 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:29 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
weaviate-1  | {"level":"warning","msg":"Multiple vector spaces are present, GraphQL Explore and REST API list objects endpoint module include params has been disabled as a result.","time":"2025-01-28T23:13:50Z"}
weaviate-1  | {"action":"grpc_startup","level":"info","msg":"grpc server listening at [::]:50051","time":"2025-01-28T23:13:50Z"}
weaviate-1  | {"address":"172.18.0.4:8300","level":"info","msg":"current Leader","time":"2025-01-28T23:13:50Z"}
weaviate-1  | {"level":"info","msg":"starting migration from old schema","time":"2025-01-28T23:13:50Z"}
weaviate-1  | {"level":"info","msg":"legacy schema is empty, nothing to migrate","time":"2025-01-28T23:13:50Z"}
weaviate-1  | {"level":"info","msg":"migration from the old schema has been successfully completed","time":"2025-01-28T23:13:50Z"}
weaviate-1  | {"action":"restapi_management","level":"info","msg":"Serving weaviate at http://[::]:8080","time":"2025-01-28T23:13:50Z"}
app-1       | 2025/01/28 23:15:34 [error] 26#26: *17 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:34 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:15:39 [error] 29#29: *19 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:39 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:15:45 [error] 31#31: *21 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
weaviate-1  | {"action":"telemetry_push","level":"info","msg":"telemetry started","payload":"\u0026{MachineID:4a7e27d7-e6cc-4156-aa8a-3f1695c12af4 Type:INIT Version:1.25.7 NumObjects:0 OS:linux Arch:arm64 UsedModules:[]}","time":"2025-01-28T23:13:50Z"}
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:45 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:15:50 [error] 33#33: *23 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:50 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:15:56 [error] 30#30: *25 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:15:56 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:01 [error] 32#32: *27 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:01 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:07 [error] 20#20: *29 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:07 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:13 [error] 20#20: *31 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
rqworker-1  | /usr/local/lib/python3.11/site-packages/langrocks/common/models/tools_pb2_grpc.py:23: RuntimeWarning: The grpc package installed is at version 1.64.1, but the generated code in tools_pb2_grpc.py depends on grpcio>=1.65.1. Please upgrade your grpc module to grpcio>=1.65.1 or downgrade your generated code using grpcio-tools<=1.64.1. This warning will become an error in 1.66.0, scheduled for release on August 6, 2024.
rqworker-1  |   warnings.warn(
rqworker-1  | /usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:201: UserWarning: Field name "schema" in "PandasStore" shadows an attribute in parent "BaseDestination"
rqworker-1  |   warnings.warn(
rqworker-1  | /usr/local/lib/python3.11/site-packages/pydantic/_internal/_config.py:291: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.8/migration/
rqworker-1  |   warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)
rqworker-1  | /usr/local/lib/python3.11/site-packages/pydantic/_internal/_generate_schema.py:273: PydanticDeprecatedSince20: `json_encoders` is deprecated. See https://docs.pydantic.dev/2.8/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.8/migration/
rqworker-1  |   warnings.warn(
rqworker-1  | /usr/local/lib/python3.11/site-packages/django/db/backends/utils.py:98: RuntimeWarning: Accessing the database during app initialization is discouraged. To fix this warning, avoid executing queries in AppConfig.ready() or when your app modules are imported.
rqworker-1  |   warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:13 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:18 [error] 20#20: *33 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:18 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:24 [error] 20#20: *35 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:24 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:30 [error] 20#20: *37 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:30 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:36 [error] 20#20: *39 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:36 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:41 [error] 20#20: *41 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:41 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
app-1       | 2025/01/28 23:16:47 [error] 20#20: *43 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.7:9000/", host: "localhost:3000"
app-1       | 172.18.0.1 - - [28/Jan/2025:23:16:47 +0000] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.32.3" "-"
Stopping LLMStack server...
[+] Running 8/7
 ✔ Container llmstack-rqworker-1  Removed                                                                                                                              10.2s 
 ✔ Container llmstack-weaviate-1  Removed                                                                                                                               0.6s 
 ✔ Container llmstack-app-1       Removed                                                                                                                               0.1s 
 ✔ Container llmstack-runner-1    Removed                                                                                                                              10.2s 
 ✔ Container llmstack-api-1       Removed                                                                                                                               0.0s 
 ✔ Container llmstack-redis-1     Removed                                                                                                                               0.2s 
 ✔ Container llmstack-postgres-1  Removed                                                                                                                               0.1s 
 ✔ Network llmstack_default       Removed          

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions