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]: Unable to run. #3935

Closed
1 task done
ashunaveed opened this issue Dec 9, 2024 · 3 comments
Closed
1 task done

[Bug]: Unable to run. #3935

ashunaveed opened this issue Dec 9, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ashunaveed
Copy link

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

09-12-2024 version

RAGFlow image version

09-12-2024 version.

Other environment information

Windows wsl, i7, 4060.

Actual behavior

ashu@MSI:$ cd ragflow/docker
ashu@MSI:
/ragflow/docker$ docker compose -f docker-compose.yml up -d
WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string.
[+] Running 71/12
✔ mysql Pulled 421.8s
✔ ragflow Pulled 1148.0s
✔ redis Pulled 271.6s
✔ es01 Pulled 1195.7s
✔ minio Pulled 291.3s

[+] Running 10/10
✔ Network docker_ragflow Created 0.0s
✔ Volume "docker_minio_data" Created 0.0s
✔ Volume "docker_redis_data" Created 0.0s
✔ Volume "docker_esdata01" Created 0.0s
✔ Volume "docker_mysql_data" Created 0.0s
✔ Container ragflow-redis Started 1.2s
✔ Container ragflow-es-01 Started 1.4s
✔ Container ragflow-mysql Healthy 11.8s
✔ Container ragflow-minio Started 1.4s
✔ Container ragflow-server Started 11.5s
ashu@MSI:~/ragflow/docker$ docker logs -f ragflow-server
2024-12-09 14:59:43,022 INFO 24 ragflow_server log path: /ragflow/logs/ragflow_server.log
2024-12-09 14:59:43,080 INFO 25 task_executor_0 log path: /ragflow/logs/task_executor_0.log
2024-12-09 14:59:46,528 INFO 25 init database on cluster mode successfully
2024-12-09 14:59:46,539 INFO 24 init database on cluster mode successfully
2024-12-09 14:59:53,338 INFO 24
____ ___ ______ ______ __
/ __ \ / | / // // / _ __
/ /
/ // /| | / / __ / /
/ // __ | | /| / /
/ , // ___ |/ // // __/ / // // /| |/ |/ /
/
/ |
|// ||_/// // _/ |/|__/

2024-12-09 14:59:53,338 INFO 24 RAGFlow version: v0.14.1 slim
2024-12-09 14:59:53,338 INFO 24 project base: /ragflow
2024-12-09 14:59:53,338 INFO 24 Current configs, from /ragflow/conf/service_conf.yaml:
ragflow: {'host': '0.0.0.0', 'http_port': 9380}
mysql: {'name': 'rag_flow', 'user': 'root', 'password': 'infini_rag_flow', 'host': 'mysql', 'port': 3306, 'max_connections': 100, 'stale_timeout': 30}
minio: {'user': 'rag_flow', 'password': 'infini_rag_flow', 'host': 'minio:9000'}
es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': 'infini_rag_flow'}
infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
redis: {'db': 1, 'password': 'infini_rag_flow', 'host': 'redis:6379'}
2024-12-09 14:59:53,338 INFO 24 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-09 14:59:53,400 INFO 24 GET http://es01:9200/ [status:200 duration:0.061s]
2024-12-09 14:59:53,403 INFO 24 HEAD http://es01:9200/ [status:200 duration:0.003s]
2024-12-09 14:59:53,403 INFO 24 Elasticsearch http://es01:9200 is healthy.
2024-12-09 14:59:53,405 WARNING 24 Load term.freq FAIL!
2024-12-09 14:59:53,407 WARNING 24 Realtime synonym is disabled, since no redis connection.
2024-12-09 14:59:53,409 WARNING 24 Load term.freq FAIL!
2024-12-09 14:59:53,411 WARNING 24 Realtime synonym is disabled, since no redis connection.
2024-12-09 14:59:54,038 INFO 25 generated new fontManager
2024-12-09 15:00:00,110 INFO 24 init web data success:4.293882131576538
2024-12-09 15:00:00,111 INFO 24 RAGFlow HTTP server start...
2024-12-09 15:00:00,112 INFO 24 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:9380
  • Running on http://172.18.0.6:9380
    2024-12-09 15:00:00,112 INFO 24 Press CTRL+C to quit
    2024-12-09 15:00:05,158 INFO 25 Use Elasticsearch http://es01:9200 as the doc engine.
    2024-12-09 15:00:05,163 INFO 25 GET http://es01:9200/ [status:200 duration:0.004s]
    2024-12-09 15:00:05,165 INFO 25 HEAD http://es01:9200/ [status:200 duration:0.002s]
    2024-12-09 15:00:05,165 INFO 25 Elasticsearch http://es01:9200 is healthy.
    2024-12-09 15:00:05,167 WARNING 25 Load term.freq FAIL!
    2024-12-09 15:00:05,169 WARNING 25 Realtime synonym is disabled, since no redis connection.
    2024-12-09 15:00:05,173 WARNING 25 Load term.freq FAIL!
    2024-12-09 15:00:05,175 WARNING 25 Realtime synonym is disabled, since no redis connection.
    2024-12-09 15:00:05,176 WARNING 25 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
    2024-12-09 15:00:05,177 INFO 25 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T15:00:05.176803", "boot_at": "2024-12-09T15:00:05.158251", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
    2024-12-09 15:00:38,531 WARNING 25 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
    2024-12-09 15:00:38,532 INFO 25 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T15:00:38.530274", "boot_at": "2024-12-09T15:00:05.158251", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
    2024-12-09 15:01:10,299 ERROR 24 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
    Traceback (most recent call last):
    File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
    File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
    File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception # type: ignore[misc]
    File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True) # type: ignore
    File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
    werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
    2024-12-09 15:01:10,300 INFO 24 172.18.0.1 - - [09/Dec/2024 15:01:10] "GET / HTTP/1.1" 200 -
    2024-12-09 15:01:10,415 ERROR 24 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
    Traceback (most recent call last):
    File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
    File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
    File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception # type: ignore[misc]
    File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True) # type: ignore
    File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
    werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
    2024-12-09 15:01:10,416 INFO 24 172.18.0.1 - - [09/Dec/2024 15:01:10] "GET /favicon.ico HTTP/1.1" 200 -
    2024-12-09 15:01:11,871 WARNING 25 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
    2024-12-09 15:01:11,872 INFO 25 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T15:01:11.871000", "boot_at": "2024-12-09T15:00:05.158251", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}

Expected behavior

No response

Steps to reproduce

run the commands as shown in the quick start page.

Additional information

No response

@ashunaveed ashunaveed added the bug Something isn't working label Dec 9, 2024
@KevinHuSh
Copy link
Collaborator

Drop the port number of the address in web browser.

@ashunaveed
Copy link
Author

Got it, thank you

@ashunaveed
Copy link
Author

got it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants