Closed khrizt closed 1 year ago
1, Check /home/user/Projects/canvas-lms/log/docker_dev_setup.log for details.
2, Guess file /usr/src/app/Gemfile.rails61.lock
has not permission to write.
Well, yes, you are right. I think this is the reason. The thing is that this file is not created by me, and I don't know how it's created and I don't know how to give it write permissions because probably the files is generated by the script or the file is already in the Docker image. Any help would be appreciated.
And the "Check /home/user/Projects/canvas-lms/log/docker_dev_setup.log" appears also inside the log file, what I've attached is the content of the log file.
@khrizt have a look for permissions https://github.com/instructure/canvas-lms/tree/master/doc/docker
@odedara Thanks a lot, that worked for me. Maybe it should be added to the Quick start guide.
Summary:
When executing the script to install the development environment I get an write permissions' error.
Steps to reproduce:
The error says
There was an error while trying to write to /usr/src/app/Gemfile.rails61.lock.
. I've seen other issue saying that previously creating the Gemfile.lock solves this issue, but the script removes the previously created Gemfile.lock file and creates a new one and gives it permissions.Also I've looked at the Troubleshooting page and haven't found anything related to this.
Is there any fix to this?
Thanks
PS: I attach more of the log file, maybe it can help