Open Tommickey2020gmail opened 1 week ago
Hey @Tommickey2020gmail, by default, you should be able to access the local deployment at http://127.0.0.1, with the default port being 80. If you have more info, pls share it with us!
Hey @Tommickey2020gmail, by default, you should be able to access the local deployment at http://127.0.0.1, with the default port being 80. If you have more info, pls share it with us!
Please find the error information when open homepage:
Hey @Tommickey2020gmail, by default, you should be able to access the local deployment at http://127.0.0.1, with the default port being 80. If you have more info, pls share it with us!
same issue: can not access 模型供应商 page,
Hey, can u paste the logs for the api service container? It'd help us pinpoint the issue.
Also, 0.6.12-fix1 is out! It fixes some bugs, so maybe try updating too.
Hey, can u paste the logs for the api service container? It'd help us pinpoint the issue.
Also, 0.6.12-fix1 is out! It fixes some bugs, so maybe try updating too.
$ docker logs docker-api-1 Running migrations None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. Preparing database migration... Database migration skipped None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. [2024-06-30 13:37:54 +0000] [91] [INFO] Starting gunicorn 22.0.0 [2024-06-30 13:37:54 +0000] [91] [INFO] Listening at: http://0.0.0.0:5001 (91) [2024-06-30 13:37:54 +0000] [91] [INFO] Using worker: gevent [2024-06-30 13:37:54 +0000] [174] [INFO] Booting worker with pid: 174 2024-06-30 13:39:19,211.211 ERROR [Dummy-1] [app.py:838] - Exception on /console/api/apps [GET] Traceback (most recent call last): File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 146, in init self._dbapi_connection = engine.raw_connection() File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection return self.pool.connect() File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect return _ConnectionFairy._checkout(self) File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rec = pool._do_get() File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get with util.safe_reraise(): File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in exit raise exc_value.with_traceback(exc_tb) File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get return self._create_connection() File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection return _ConnectionRecord(self) File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in init self.connect() File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in connect with util.safe_reraise(): File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in exit raise exc_value.with_traceback(exc_tb) File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in connect self.dbapi_connection = connection = pool._invoke_creator(self) File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect return dialect.connect(*cargs, *cparams) File "/app/api/.venv/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 620, in connect return self.loaded_dbapi.connect(cargs, **cparams) File "/app/api/.venv/lib/python3.10/site-packages/psycopg2/init__.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known
I have the same problem. The API does not start or writes the following error message. This means that the web frontend cannot access the API.
api-1 | None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
api-1 |
api-1 | Aborted!
Self Checks
Dify version
0.6.12
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
link to api:5001
❌ Actual Behavior
can not open homepage