Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory @ dir_initialize #720

Closed
hopewise opened this issue Oct 31, 2017 · 2 comments
Closed

No such file or directory @ dir_initialize #720

hopewise opened this issue Oct 31, 2017 · 2 comments

Comments

@hopewise
Copy link

I've deployed my app to amazon elastic beanstalk env, however, if I try to visit the blog, I get this error:

 No such file or directory @ dir_initialize - /var/app/current/tmp/cache/

However, it work fine locally, any idea?

@owen2345
Copy link
Owner

owen2345 commented Nov 1, 2017

Hi @hopewise is this the full error message?
I think the problem is with cache.

@hopewise
Copy link
Author

hopewise commented Nov 1, 2017

yes, this is the full error message, I've fixed it by adding the directory manually at the tmp folder and deploy again to AWS, it worked! it seems that the app has no permission to create a directory at linux server of elastic beanstalk?

Any way, the solution was easy to do, thanks.

@hopewise hopewise closed this as completed Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants