Unable to resolve Permission Error - Python and AWS EB

0

I created a Dash application that has been deployed to AWS Elastic Beanstalk. The application relies on the user uploading an Excel sheet to get the desired output.

In another Dash application I created previously, there were no problems while uploading the Excel sheet. This time around, I keep getting a PermissionError(13, 'Permission Denied') message.

The platform for my Dash applications are Python. Unfortunately, I haven't been able to see anyone else facing the same problem too.

Just for reference, the value of the PYTHONPATH environment property is "/var/app/venv/staging-LQM1lest/bin".

Moreover, I am using the EB management console and not the CLI.

Any tips on how to solve the problem would be much appreciated.

Thanks.

질문됨 2년 전719회 조회
1개 답변
0

Not an expert here but the python error is usually file permission issue. eg user running process cannot access file due to file ownership or permissions. Probably need to check how the process is being run and how the permissions are set on the file being uploaded

AWS
전문가
Peter_G
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠