-
Notifications
You must be signed in to change notification settings - Fork 749
2020-04-22: permission error during Jekyll build on github #267
Comments
Please upgrade fastpages |
Hi, have this issue as well and my fastpages is up-to-date - ScottBrenner/asot-jupyter#2 (comment) - any tips? |
Hi Scott, I don’t see any errors on your repo
…On Sun, Apr 26, 2020 at 9:00 PM Scott Brenner ***@***.***> wrote:
Hi, have this issue as well and my fastpages is up-to-date - ScottBrenner/asot-jupyter#2
(comment)
<ScottBrenner/asot-jupyter#2 (comment)>
- any tips?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#267 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALKJESP46HQQEX2WFUHRWTROT7N7ANCNFSM4MOKUGXQ>
.
|
Appreciate the quick reply - sorry, neglected to mention I'm seeing this error locally, when running |
Whats your error?
…On Sun, Apr 26, 2020 at 9:22 PM Scott Brenner ***@***.***> wrote:
Appreciate the quick reply - sorry, neglected to mention I'm seeing this
error locally, when running make build (during docker build --no-cache -t
hamelsmu/fastpages-jekyll -f _action_files/fastpages-jekyll.Dockerfile .).
I'm on Windows 10 Home, running Docker with Docker Toolbox, in Windows
Subsystem for Linux 😅
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#267 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALKJERIAHP67IT67HDXD73ROUCAXANCNFSM4MOKUGXQ>
.
|
|
have you tried grant permissions to this file?
chmod -R 777 <directory>
or something like that?
…On Sun, Apr 26, 2020 at 9:25 PM Scott Brenner ***@***.***> wrote:
$ docker build --no-cache -t hamelsmu/fastpages-jekyll -f _action_files/fastpages-jekyll.Dockerfile .
Sending build context to Docker daemon 4.085MB
Step 1/5 : FROM jekyll/jekyll:4.0.0
---> 422d316c5393
Step 2/5 : COPY . .
---> 32039b06caec
Step 3/5 : RUN chmod -R 777 .
---> Running in 8bba8200de71
Removing intermediate container 8bba8200de71
---> c5aa97da4406
Step 4/5 : RUN gem install bundler
---> Running in dae87508ebb4
Successfully installed bundler-2.1.4
1 gem installed
Removing intermediate container dae87508ebb4
---> 571b19c730dd
Step 5/5 : RUN jekyll build
---> Running in e769c79c14ef
Fetching gem metadata from https://rubygems.org/.......
Using concurrent-ruby 1.1.6
Using i18n 1.8.2
Fetching minitest 5.14.0
Errno::EACCES: Permission denied @ rb_file_s_rename -
(/home/jekyll/.gem/ruby/2.7.0/cache/minitest-5.14.0.gem,
/usr/gem/cache/minitest-5.14.0.gem)
An error occurred while installing minitest (5.14.0), and Bundler cannot
continue.
Make sure that `gem install minitest -v '5.14.0' --source
'https://rubygems.org/'` <https://rubygems.org/'> succeeds before bundling.
In Gemfile:
jemoji was resolved to 0.12.0, which depends on
html-pipeline was resolved to 2.12.3, which depends on
activesupport was resolved to 6.0.2.2, which depends on
minitest
The command '/bin/sh -c jekyll build' returned a non-zero code: 5
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#267 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALKJEUICLJUK53AJLO5EA3ROUCLFANCNFSM4MOKUGXQ>
.
|
Doesn't that happen here?
|
it does, however its worth trying for troubleshooting
…On Sun, Apr 26, 2020 at 9:35 PM Scott Brenner ***@***.***> wrote:
have you tried grant permissions to this file?
Doesn't that happen here?
https://github.com/fastai/fastpages/blob/c534fefb4c223dd8abedd7d8da34d9862b913288/_action_files/fastpages-jekyll.Dockerfile#L7
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#267 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALKJETU4GUFB5ZUSN7BWZ3ROUDR5ANCNFSM4MOKUGXQ>
.
|
Try rebuilding your docker images from scratch with `make build`
…On Sun, Apr 26, 2020 at 9:51 PM Hamel Husain ***@***.***> wrote:
it does, however its worth trying for troubleshooting
On Sun, Apr 26, 2020 at 9:35 PM Scott Brenner ***@***.***>
wrote:
> have you tried grant permissions to this file?
>
> Doesn't that happen here?
>
> https://github.com/fastai/fastpages/blob/c534fefb4c223dd8abedd7d8da34d9862b913288/_action_files/fastpages-jekyll.Dockerfile#L7
>
> —
> You are receiving this because you modified the open/close state.
> Reply to this email directly, view it on GitHub
> <#267 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AALKJETU4GUFB5ZUSN7BWZ3ROUDR5ANCNFSM4MOKUGXQ>
> .
>
|
I don’t have much experience with Docker on Windows, and some other folks
have had some problems. Perhaps try the solution outlined here
https://stackoverflow.com/questions/43755922/error-mounting-a-config-file-into-the-container
…On Sun, Apr 26, 2020 at 9:56 PM Hamel Husain ***@***.***> wrote:
Try rebuilding your docker images from scratch with `make build`
On Sun, Apr 26, 2020 at 9:51 PM Hamel Husain ***@***.***> wrote:
> it does, however its worth trying for troubleshooting
>
> On Sun, Apr 26, 2020 at 9:35 PM Scott Brenner ***@***.***>
> wrote:
>
>> have you tried grant permissions to this file?
>>
>> Doesn't that happen here?
>>
>> https://github.com/fastai/fastpages/blob/c534fefb4c223dd8abedd7d8da34d9862b913288/_action_files/fastpages-jekyll.Dockerfile#L7
>>
>> —
>> You are receiving this because you modified the open/close state.
>> Reply to this email directly, view it on GitHub
>> <#267 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AALKJETU4GUFB5ZUSN7BWZ3ROUDR5ANCNFSM4MOKUGXQ>
>> .
>>
>
|
I get the same error on a mac |
Got it! It's an issue with the upstream So, my
This step
is not necessary with this change. |
Then I got another error. I would just change the base image to |
I reproduced this error on Ubuntu 18.04, running jekyll/jekyll:latest (currently 4.0) with docker-compose.yml to deploy a jekyll site. Changing to 3.8 fixed the issue. |
I'm not sure if changing to 4.0 is safe as there were some pretty drastic changes. I am monitoring this issue closely ... will try to fix this soon |
I am having problems reproducing this error, I'm really confused on how to fix this If anyone is available for pair programming would love to fix this please let me know if there are any volunteers |
happy to. However, just downgrading to |
I am not comfortable with YOLO reverting back to 3.8.6 I am not confident that it won't break something else. |
@juan-carlos-calvo Just to confirm, if you clone a fresh copy of this repo, and then call
do you get this same error? |
yes
|
I had the same problems when I upgraded to 4.0. After quite a bit of struggle I got it running.
To get it work I deleted all my docker images and containers relative to jekyll and run a make build. |
Many thanks to @juan-carlos-calvo for pair programming with me Given the many issues with the Docker container, we decided to just use a frozen container and use |
Hi
I am experiencing a problem since today when building the site on github. Yesterday, it worked fine, today I added a new notebook. It builds correctly locally but it fails on github.
https://github.com/wawachief/fastpages/runs/609307981?check_suite_focus=true
The Jekyll build's logs are :
The text was updated successfully, but these errors were encountered: