Remote Deploy - PermissionError: [Errno 13] Permission denied #600
Unanswered
mstohr1975
asked this question in
Q&A
Replies: 1 comment
-
Additional observation, when we deploy the model locally (via localhost on AWS EC2), it will create the model endpoints etc. using the running local user that deploys the model, not the user running the TabPy server...is there any way, we can configure under which user remote deployments are deployed? Or are remote deployments not working at all? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Running TabPy on Amazon Linux 2 we're running issues in remote deploying models. It works locally with localhost, but whenever we deploy remotely, we get permission errors on endpoints directory (./lib/python3.7/site-packages/tabpy/tabpy_server/staging/endpoints/modelname). We tried running tabpy server under root as well as same user as Tableau Server (or different Linux user). We even granted full permission (i.e. 777) on tabpy directory. It seems with remote deployment TabPy executes deployment under a different user than it runs...how can we configure this? Or any other ideas?
P.S. We don't use SSL or basic authentication at this stage...obviously, we'll introduce both in production mode. But we run TabPy in a virtual environment of Python.
By the way, did anybody set-up TabPy on EC2 and used SSL offloading at AWS application load balancer or similar?
Beta Was this translation helpful? Give feedback.
All reactions