There is no existing directory at "/var/task/storage/logs" #994
Replies: 3 comments 3 replies
-
|
Hi! My guess is that some of your local files, probably |
Beta Was this translation helpful? Give feedback.
-
|
Hi @castelreng It's working fine when I deploy on local but it doesn't work when I do it using gitlab cicd. |
Beta Was this translation helpful? Give feedback.
-
|
For anyone who comes upon this page in search for an answer, whenever I hit this error error, it is frequently solved by: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am actually migrating a project from DigitalOcean to AWS Infrastructure.
The project is composed of :
When deploying the back with the help of Serverless on local, everything is working fine.
I have decided to automate it in gitlab CI/CD.
When deploying the back from gitlab CI/CD, I have errors while consuming my api endpoints.
There is no existing directory at "/var/task/storage/logs"This error should not appear as Bref should forward the logs to CloudWatch.
The most strange is that everything works fine when I deploy it from my local machine.
My gitlab CI/CD:
My serverless.yml
Stacktrace of the error:
Hope that you can help, still investigating it.
Beta Was this translation helpful? Give feedback.
All reactions