Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Cannot launch make server #227

Closed
btahir opened this issue Mar 25, 2020 · 5 comments · Fixed by #229
Closed

Cannot launch make server #227

btahir opened this issue Mar 25, 2020 · 5 comments · Fixed by #229
Labels
bug Something isn't working

Comments

@btahir
Copy link

btahir commented Mar 25, 2020

Have you searched opened / closed issues on this repo for a similar problem?
Yes
Have you searched the fastai forums for a similar problem?
Yes

Hi -

I can't get make server to work. It worked the first time I set the repo up but not since. The localhost shows nothing and I get this docker error: covid_dz_jekyll_1 exited with code 1

I tried starting by deleting the docker images but it still did not work. Using make convert does convert the notebook to a post however and I can see the dashboard once I commit to master.

Not sure if this is the underlying issue: jekyll_1 | /usr/local/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/static_file.rb:70:in `stat': No such file or directory @ rb_file_s_stat - /data/data/LICENSE (Errno::ENOENT)

My repo is: https://github.com/btahir/covid_dz

Thanks!

@btahir btahir added the bug Something isn't working label Mar 25, 2020
@hamelsmu
Copy link
Member

Sorry try make remove followed by make build

@btahir
Copy link
Author

btahir commented Mar 25, 2020

Still the same error.

@hamelsmu
Copy link
Member

run the command docker ps you will see a list of container ids, for each container id do

docker stop <container id>

then try make build and make server again

@hamelsmu
Copy link
Member

Its your data folder. You need to hide this folder from jekyll, either by renaming it to _mydata or by hiding that folder in _config.yml via the exclude parameter.

Note do NOT rename your folder to _data as that is somehting special in Jekyll

I was able to reproduce your error and resolved it with these steps. Feel free to comment if you have any issues

@btahir
Copy link
Author

btahir commented Mar 25, 2020

Ah that did it. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants