So I figured it out.
All you have to do is add the following application setting to the app service:
- SCM_DO_BUILD_DURING_DEPLOYMENT with value=true
It was rather simple, but I still don't understand why/how it worked.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I had an existing (and fully functioning) App Service (AS) running a Flask App until one day the web app service randomly broke. When I opened the logs for the AS, this is what I found:
Here's the error message:
ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/site/wwwroot/antenv/lib/python3.7/site-packages/pyodbc.cpython-37m-x86_64-linux-gnu.so)
A few important things:
I really hope to get some clarity on this topic ASAP. Please let me know if any more details are required!
Thank you in advance!
So I figured it out.
All you have to do is add the following application setting to the app service:
It was rather simple, but I still don't understand why/how it worked.
For those who use GitHub actions for their deployment, setting ubuntu version to 18.04
solved it for me:
jobs:
build-and-deploy-to-Azure:
runs-on: ubuntu-18.04
I am deploying my functionapp using the run as a package method. Therefore, I need to build the dependencies before. Make sure to build your dependencies on the appropriate Debian version (for v2 stretch, for v3 buster). This fixed it for me.
I faced similar error while running python azure function app which was deployed using CI/CD.
I added below line in ci pipeline yaml pipeline:
pip install wheel
and then function app started running fine.
Maybe this answer is out of context here, but I spent whole day to figure this out.
The solutions listed above aren't working for me unfortunately...
Current configuration:
Does anyone have any suggestions as to how to fix this problem? (Why don't the Azure Functions Linux instances have version 2.29 of GLIBC?)