Closed amarion35 closed 3 weeks ago
Hi @amarion35 , thanks for reporting this. We will take a look and get back to you.
Hey @amarion35 , looks like you are running the client in dev mode.
NEXT_PUBLIC_ENVIRONMENT
is set to production
? If not already?To install langtrace I tried this guide: https://docs.langtrace.ai/hosting/hosting_options/kubernetes So the environment variables were the default ones except the AZURE ones.
Since it wasn't working, I tried to clone the repo, at the following tag 3.0.0
. Then I added this line to the Dockerfile COPY --from=builder /app/app ./app
, I built the image and it worked. The install worked and the pods seems to be running correctly but the app URL was unreachable. In the end I tried the docker compose option and it worked on the first try.
Hey @amarion35 ,
We have updated the helm chart with the default value of environment variable NEXT_PUBLIC_ENVIRONMENT
set to production
you should now not face this issue.
Give it a try and let us know. Thanks again for reporting.
Hey @amarion35 , We have updated the helm chart with the default value of environment variable
NEXT_PUBLIC_ENVIRONMENT
set toproduction
you should now not face this issue.Give it a try and let us know. Thanks again for reporting. The following are some helpful commands to re-install Langtrace helm if needed
With the new helm chart i still run into an issue. I described it here
Hey @FeU-aKlos , thanks for reporting the issue. This as been fixed in the latest 3.0.4
release.
You may pull the latest image and try again.
Closing this issue as it has been inactive. Please reopen if you see any this issue again.
I'm installing the self-hosted version with kubernetes but I got the following logs in the langtrace-app pod:
It looks like the app directory is missing. And indeed, according to the Dockerfile, the app directory is copied in the builder intermediate image but not copied from the builder to the production image.