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

permission denied #42

Open
camel-nz opened this issue Jun 23, 2023 · 1 comment
Open

permission denied #42

camel-nz opened this issue Jun 23, 2023 · 1 comment

Comments

@camel-nz
Copy link

What version of this package are you using?
MASTER
What operating system, Node.js, and npm version?
Docker compose - ubuntu
What happened?
ran docker-compose run --rm web bash -lc 'bin/rails db:create db:migrate' as part of the instructions
receive the following error
Errno::EACCES: Permission denied @ rb_sysopen - /home/app/wedding/db/schema.rb

Creating wedding_web_run ... done
Rails Error: Unable to access log file. Please ensure that /home/app/wedding/log/development.log exists and is writable (ie, make it writable for user and group: chmod 0664 /home/app/wedding/log/development.log). The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

dug a bit deeper, seems the dockerfile is running nodejs 10 and ruby is behind...not sure if related but either way. cant build.

What did you expect to happen?

Are you willing to submit a pull request to fix this bug?

@camel-nz
Copy link
Author

tried to figure out how to chmod the directories in the Dockerfile but no luck

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

1 participant