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

New version jekyll-3.9.2 build with dir_s_mkdir - /srv/jekyll/ #345

Open
minhtran1309 opened this issue Sep 13, 2022 · 0 comments
Open

New version jekyll-3.9.2 build with dir_s_mkdir - /srv/jekyll/ #345

minhtran1309 opened this issue Sep 13, 2022 · 0 comments

Comments

@minhtran1309
Copy link

Hi, Thank for the docker,

It has been working really amazing for the last few week until today. I try to deploy the website locally and it has the issue with this error message:

ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux-musl]
Configuration file: /srv/jekyll/_config.yml
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
            Source: /srv/jekyll
       Destination: /srv/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts
         AutoPages: Disabled/Not configured in site.config.
        Pagination: Disabled in site.config.
   GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
jekyll 3.9.2 | Error:  File exists @ dir_s_mkdir - /srv/jekyll/_site/404.html

I tried to trace the root of the issue and it turned out that.

/usr/local/lib/ruby/2.6.0/fileutils.rb:239:in `mkdir': File exists @ dir_s_mkdir - /srv/jekyll/_site/404.html

I did my homework and found some similar cases with ruby and jekyll. The suggestion was to lock the jekyll-paginate-v2 to 2.0.0.
Followed that and it still did fix my issue>

Now I totally lost, don't know if it's ruby or the jekyll newly build issue.

Here is my Gemfile

source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
#     bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# gem install faraday_middleware-request-retry
gem "github-pages", group: :jekyll_plugins

# If you want to use Jekyll native, uncomment the line below.
# To upgrade, run `bundle update`.

# gem "jekyll"

gem "wdm", "~> 0.1.0" if Gem.win_platform?

# If you have any plugins, put them here!
group :jekyll_plugins do
  # gem "jekyll-archives"
  gem "jekyll-feed"
  gem 'jekyll-sitemap'
  gem 'hawkins'
  gem 'jekyll-paginate-v2', '2.0.0'
  # gem 'faraday_middleware-request-retry'
end

Very appreciate any help.

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