Another very weird issue We have phoenix image running in Azure app service Since today morning we're seeing this error log when running the phoenix image (5.5.2)
2024-10-28T15:43:14.567625436Z /usr/bin/python3.11: Error while finding module specification for 'phoenix.server.main' (ModuleNotFoundError: No module named 'phoenix')All we do is pull down docker image from phoenix and push it as is to a internal image repo which then the deployment uses The same docker image with the same prod DB url works locally, i can bring it up, but running in azure app service we see the above error... not sure what to do here
We're using the same image, so never had any dependencies issues
i also see this 2024-10-28T16:53:04.088017411Z exec /usr/bin/python3.11: exec format error
5.5.2 these are the steps i did
docker pull arizephoenix/phoenix:version-5.5.2 (got latest from 馃敀[private feed])
docker tag arizephoenix/phoenix:version-5.5.2 myrepo/myphoeniximage:8
docker push myrepo/myphoeniximage:8
Sure i don't mind
DM?
We tried to pull the image directly from arize docker hub and got the same issue arizephoenix/phoenix:version-5.5.2-debug another thing i did was pull this image ^ locally and exec'd into it docker run --entrypoint=sh -it <image> echo $PYTHONPATH -> /phoenix/env: /phoenix # which python3 -> /usr/bin/python3 /phoenix # /usr/bin/python3.11 -c "import phoenix.server.main; print('done importing')" -> done importing All this works when i exec in ....
Ok we were able to start phoenix on a separate VM , it may be something Azure app service is doing when running our docker, since the image has CMD it maybe overriding that or changing the env thanks for the help, we'll follow up once we're done investigating, incase you folks find something do let us know thank you!
