jekyll-docker: Permission errors
Probably needs a chmod after generation since docker will make everything owned by root. I did a rm -rf on _site and tried this again to ensure this is an issue (similar to this: https://github.com/treeder/go/blob/master/go.sh#L45).
Source: /srv/jekyll
Destination: /srv/jekyll/_site
Generating...
Lunr: Skipping search indexing at user request
jekyll 2.4.0 | Error: Permission denied @ dir_s_mkdir - /srv/jekyll/_site
Moving Gemfile.docker back to Gemfile
I hope you did not have a Gemfile actually called that.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 31 (16 by maintainers)
Commits related to this issue
- Fix #31: Wrap Jekyll around Chpst around Jekyll. — committed to envygeeks/jekyll-docker by envygeeks 9 years ago
- Fix #31: Chown by default before booting to try and correct permissions. — committed to envygeeks/jekyll-docker by envygeeks 9 years ago
When I run the following command locally it works like a charm
docker run --name="myjekyllsite" --label="jekyll" -i --rm -p 61616:80 -p 4000:4000 -v /home/data/myjekyllsite/src:/srv/jekyll jekyll/jekyll
however when I run it on a server it fails with the following error
Any thoughts?
@envygeeks Does Jekyll have the capability to make
_site
?