CSGHub icon indicating copy to clipboard operation
CSGHub copied to clipboard

the space build failed, and can't see the information in the logs of container on the website.

Open kmfb opened this issue 10 months ago • 5 comments

the space build failed, and can't see the information in the logs of container on the website panel. is there any way to logs it on docker container using command-line terminal?

the content of app.py is below:

`import gradio as gr

def greet(name): return "Hello " + name + "!!"

iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()`

kmfb avatar Feb 28 '25 09:02 kmfb

@kmfb currently,login to space docker container is not supported. But it's in our roadmap.

Rader avatar Feb 28 '25 10:02 Rader

@kmfb Have you checked the error logs of service space_builder

Rader avatar Feb 28 '25 10:02 Rader

@kmfb Have you checked the error logs of service space_builder

I changed the way of deployment from docker to helm chart. It also showed deployment failed on the page of space. How can I debug this situation in helm chart? Since I see the build was successful.

the output of build is below. {"aux

786: ":{"ID":"sha256:4570d78d49740b8953a71b492be5a6f2fc5b3855d64b1f180ce0879d9d021d3a"}} {"stream":"Successfully built 4570d78d4974\n"} {"stream":"Successfully tagged registry.csghub-test.com:30080/csghub/root_test2:2\n"}

kmfb avatar Mar 03 '25 01:03 kmfb

First, looks like space build success by logs. Check csghub server log and runner log to look if there is error for deploy service. BTW, make sure redis service is ready.

HaiHui886 avatar Mar 04 '25 08:03 HaiHui886

@kmfb Do you have any progress, got the issue fixed?

Rader avatar Mar 27 '25 02:03 Rader

please try the latest version. Reopen this issue if you still have problem.

Rader avatar Jul 17 '25 10:07 Rader