Skip to content

Error Could Not Fetch The Config #620

Open

Description

This error message appears on a new Jekyll install with gem Jekyll-admin on Mint 19.3 as soon as I go to localhost:4000/admin

jekyll-could-not-fetch-config.mp4

Activity

  1. transferred this issue fromjekyll/jekyllon Dec 30, 2020
  2. ashmaroli commented on Dec 30, 2020

    @ashmaroli
    Member

    @sebawrite Thank you for reporting this issue with an attached demonstration.
    However, we still don't have sufficient information to debug your issue.

    If you check the Console tab in the browser's inspect frame (Right-click on the browser's main window to see options), you'd see additional information.
    Try serving the site with the --trace switch. Then if you check the terminal window after the error flashes, you may also see some additional info there:

    bundle exec jekyll serve --trace
    
  3. ghost closed this as completedon Dec 31, 2020
  4. mmm8955405 commented on Dec 27, 2021

    @mmm8955405

    This error message appears on a new Jekyll install with gem Jekyll-admin on Mint 19.3 as soon as I go to localhost:4000/admin

    jekyll-could-not-fetch-config.mp4

    I have the same problem. I want to ask you how to solve it

  5. gabrielgaraujo commented on Mar 11, 2022

    @gabrielgaraujo

    @ashmaroli I've ran it with --trace and also checked the console and network tabs, no error are displayed whatsoever.

    I've tried running it on docker and also installed ruby 2.7.5 and 3.1.1 locally to check if it had something to do with ruby version. None of my attempts were successful.

    You can use my repo to run it using docker and replicate the issue.

  6. loudorge commented on Jun 13, 2022

    @loudorge

    @ashmaroli Hi! I have the same problem. I'm running the app on docker. --trace shows me nothing, there's also nothing special in the browser console.

    Error appears when I access or refresh "Posts" or "Pages" pages. If I switch between the two by clicking on the links in sidebar, the error doesn't occur. But each time it occurs, following line appears in my terminal (which runs jekyll serve --watch --draft --trace): jekyll-jekyll-1 | Configuration file: /srv/jekyll/_config.yml

    It's funny because there doesn't seem to be anything wrong (so far, but I haven't written any posts from the admin yet), it's just that this notification is annoying.

    image

    Could you please help me in finding where it could come from?

  7. n0kovo commented on Jan 21, 2023

    @n0kovo

    Did anyone figure out he problem here? I'm having the same issue.

  8. y377 commented on Feb 11, 2023

    @y377
    Member

    try your _config.yml

    jekyll_admin:
      hidden_links:
        - pages
        - staticfiles
        - datafiles
        - configuration
      homepage: "posts"
    • [need repair ]

    • [don't repair ]

  9. ADTC commented on May 14, 2023

    @ADTC

    @y377 what did you mean there? I have the same problem. No errors from browser console or trace option @ashmaroli

  10. Snowmansir commented on May 14, 2023

    @Snowmansir

    @y377 what did you mean there? I have the same problem. No errors from browser console or trace option @ashmaroli

    This is optional, and not the reason for this. Sweeping under the rug at best.

  11. fiveRand commented on Aug 14, 2023

    @fiveRand

    try your _config.yml

    jekyll_admin:
      hidden_links:
        - pages
        - staticfiles
        - datafiles
        - configuration
      homepage: "posts"
    • [need repair ]
    • [don't repair ]

    It worked! Thank you!

  12. alistaircom commented on Sep 12, 2023

    @alistaircom

    I have had the same error, as well as a couple of others when trying to use jekyll-admin. Below you can see my bundle install of everything I am using in my site, as well as a trace of everything that happened when I was navigating the jekyll-admin site. In particular, I went to the main page of jekyll-admin, and received:
    image

    Going to the Data Files menu option gives me this error:
    image

    (base) me@mycomputer testsite % bundle install          
    Fetching gem metadata from https://rubygems.org/...........
    Resolving dependencies...
    Fetching tilt 2.2.0
    Fetching mustermann 3.0.0
    Fetching rack-protection 3.1.0
    Fetching multi_json 1.15.0
    Installing rack-protection 3.1.0
    Installing multi_json 1.15.0
    Installing tilt 2.2.0
    Installing mustermann 3.0.0
    Fetching sinatra 3.1.0
    Installing sinatra 3.1.0
    Fetching sinatra-contrib 3.1.0
    Installing sinatra-contrib 3.1.0
    Fetching jekyll-admin 0.11.1
    Installing jekyll-admin 0.11.1
    Bundle complete! 10 Gemfile dependencies, 43 gems now installed.
    Use `bundle info [gemname]` to see where a bundled gem is installed.
    (base) me@mycomputer testsite % bundle exec jekyll serve
    Configuration file: /Users/me/Projects/Jekyll/testsite/_config.yml
                Source: /Users/me/Projects/Jekyll/testsite
           Destination: /Users/me/Projects/Jekyll/testsite/_site
     Incremental build: disabled. Enable with --incremental
          Generating... 
           Jekyll Feed: Generating feed for posts
              Conflict: The following destination is shared by multiple files.
                        The written file may end up with unexpected contents.
                        /Users/me/Projects/Jekyll/testsite/_site/powerful-things-markdown-editor/index.html
                         - /Users/me/Projects/Jekyll/testsite/_posts/2019-01-24-powerful-things-markdown-editor.md
                         - /Users/me/Projects/Jekyll/testsite/_posts/2019-02-03-powerful-things-markdown-editor.md
                        
                        done in 0.718 seconds.
     Auto-regeneration: enabled for '/Users/me/Projects/Jekyll/testsite'
      JekyllAdmin mode: production
        Server address: http://127.0.0.1:4000/
      Server running... press ctrl-c to stop.
    Configuration file: /Users/me/Projects/Jekyll/testsite/_config.yml
           Jekyll Feed: Generating feed for posts
          Regenerating: 1 file(s) changed at 2023-09-12 13:34:01
                        _posts/2023-09-12-making-it-through-another-summer.md
      Liquid Exception: undefined method `[]' for nil:NilClass @stats[filename][:time] += time ^^^^^^^ in /Users/me/Projects/Jekyll/testsite/_layouts/default.html
    2023-09-12 13:34:01 - NoMethodError - undefined method `[]' for nil:NilClass
    
          @stats[filename][:time] += time
                          ^^^^^^^:
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/liquid_renderer.rb:31:in `increment_time'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/liquid_renderer/file.rb:73:in `ensure in measure_time'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/liquid_renderer/file.rb:73:in `measure_time'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:129:in `render_liquid'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:192:in `render_layout'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:161:in `place_in_layouts'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:93:in `render_document'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:63:in `run'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:572:in `render_regenerated'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:557:in `block (2 levels) in render_docs'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:556:in `each'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:556:in `block in render_docs'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:555:in `each_value'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:555:in `render_docs'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:210:in `render'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:80:in `process'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-admin-0.11.1/lib/jekyll-admin/file_helper.rb:25:in `write_file'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-admin-0.11.1/lib/jekyll-admin/server/collections.rb:36:in `block (2 levels) in <class:Server>'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1763:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1763:in `block in compile!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1066:in `block (3 levels) in route!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1084:in `route_eval'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1066:in `block (2 levels) in route!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1115:in `block in process_route'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1113:in `catch'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1113:in `process_route'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1064:in `block in route!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1061:in `each'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1061:in `route!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1185:in `block in dispatch!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1156:in `catch'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1156:in `invoke'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1180:in `dispatch!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:996:in `block in call!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1156:in `catch'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1156:in `invoke'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:996:in `call!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:985:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/xss_header.rb:20:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/path_traversal.rb:18:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/json_csrf.rb:28:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/base.rb:53:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/base.rb:53:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/frame_options.rb:33:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-2.2.8/lib/rack/null_logger.rb:11:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-2.2.8/lib/rack/head.rb:12:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:219:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:2074:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1633:in `block in call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1849:in `synchronize'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1633:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-2.2.8/lib/rack/handler/webrick.rb:95:in `service'
    	/Users/me/.gem/ruby/3.1.4/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in `service'
    	/Users/me/.gem/ruby/3.1.4/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in `run'
    	/Users/me/.gem/ruby/3.1.4/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'
           Jekyll Feed: Generating feed for posts
              Conflict: The following destination is shared by multiple files.
                        The written file may end up with unexpected contents.
                        /Users/me/Projects/Jekyll/testsite/_site/powerful-things-markdown-editor/index.html
                         - /Users/me/Projects/Jekyll/testsite/_posts/2019-01-24-powerful-things-markdown-editor.md
                         - /Users/me/Projects/Jekyll/testsite/_posts/2019-02-03-powerful-things-markdown-editor.md
                        
                        ...done in 0.388789 seconds.
                        
    Configuration file: /Users/me/Projects/Jekyll/testsite/_config.yml
    ^C
    
    %(base) me@mycomputer testsite % bundle exec jekyll serve --trace
    Configuration file: /Users/me/Projects/Jekyll/testsite/_config.yml
                Source: /Users/me/Projects/Jekyll/testsite
           Destination: /Users/me/Projects/Jekyll/testsite/_site
     Incremental build: disabled. Enable with --incremental
          Generating... 
           Jekyll Feed: Generating feed for posts
              Conflict: The following destination is shared by multiple files.
                        The written file may end up with unexpected contents.
                        /Users/me/Projects/Jekyll/testsite/_site/powerful-things-markdown-editor/index.html
                         - /Users/me/Projects/Jekyll/testsite/_posts/2019-01-24-powerful-things-markdown-editor.md
                         - /Users/me/Projects/Jekyll/testsite/_posts/2019-02-03-powerful-things-markdown-editor.md
                        
                        done in 0.748 seconds.
     Auto-regeneration: enabled for '/Users/me/Projects/Jekyll/testsite'
      JekyllAdmin mode: production
        Server address: http://127.0.0.1:4000/
      Server running... press ctrl-c to stop.
    Configuration file: /Users/me/Projects/Jekyll/testsite/_config.yml
           Jekyll Feed: Generating feed for posts
          Regenerating: 1 file(s) changed at 2023-09-12 13:38:04
                        _posts/2023-09-12-making-it-through-another-summer.md
      Liquid Exception: undefined method `[]' for nil:NilClass @stats[filename][:time] += time ^^^^^^^ in /Users/me/Projects/Jekyll/testsite/_layouts/default.html
    2023-09-12 13:38:04 - NoMethodError - undefined method `[]' for nil:NilClass
    
          @stats[filename][:time] += time
                          ^^^^^^^:
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/liquid_renderer.rb:31:in `increment_time'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/liquid_renderer/file.rb:73:in `ensure in measure_time'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/liquid_renderer/file.rb:73:in `measure_time'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:129:in `render_liquid'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:192:in `render_layout'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:161:in `place_in_layouts'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:93:in `render_document'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:63:in `run'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:572:in `render_regenerated'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:557:in `block (2 levels) in render_docs'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:556:in `each'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:556:in `block in render_docs'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:555:in `each_value'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:555:in `render_docs'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:210:in `render'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-4.3.2/lib/jekyll/site.rb:80:in `process'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-admin-0.11.1/lib/jekyll-admin/file_helper.rb:25:in `write_file'
    	/Users/me/.gem/ruby/3.1.4/gems/jekyll-admin-0.11.1/lib/jekyll-admin/server/collections.rb:36:in `block (2 levels) in <class:Server>'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1763:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1763:in `block in compile!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1066:in `block (3 levels) in route!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1084:in `route_eval'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1066:in `block (2 levels) in route!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1115:in `block in process_route'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1113:in `catch'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1113:in `process_route'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1064:in `block in route!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1061:in `each'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1061:in `route!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1185:in `block in dispatch!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1156:in `catch'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1156:in `invoke'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1180:in `dispatch!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:996:in `block in call!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1156:in `catch'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1156:in `invoke'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:996:in `call!'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:985:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/xss_header.rb:20:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/path_traversal.rb:18:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/json_csrf.rb:28:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/base.rb:53:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/base.rb:53:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-protection-3.1.0/lib/rack/protection/frame_options.rb:33:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-2.2.8/lib/rack/null_logger.rb:11:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-2.2.8/lib/rack/head.rb:12:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:219:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:2074:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1633:in `block in call'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1849:in `synchronize'
    	/Users/me/.gem/ruby/3.1.4/gems/sinatra-3.1.0/lib/sinatra/base.rb:1633:in `call'
    	/Users/me/.gem/ruby/3.1.4/gems/rack-2.2.8/lib/rack/handler/webrick.rb:95:in `service'
    	/Users/me/.gem/ruby/3.1.4/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in `service'
    	/Users/me/.gem/ruby/3.1.4/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in `run'
    	/Users/me/.gem/ruby/3.1.4/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'
           Jekyll Feed: Generating feed for posts
              Conflict: The following destination is shared by multiple files.
                        The written file may end up with unexpected contents.
                        /Users/me/Projects/Jekyll/testsite/_site/powerful-things-markdown-editor/index.html
                         - /Users/me/Projects/Jekyll/testsite/_posts/2019-01-24-powerful-things-markdown-editor.md
                         - /Users/me/Projects/Jekyll/testsite/_posts/2019-02-03-powerful-things-markdown-editor.md
                        
                        ...done in 0.375412 seconds.
                        
    ^C%
    (base) me@mycomputer testsite %
    
  13. alistaircom commented on Sep 14, 2023

    @alistaircom

    SOLUTION: The error shows up because there are no files to find. Once I created a new post, and added a data file, I no longer got either error.

  14. y377 commented on Sep 15, 2023

    @y377
    Member

    I’ll follow up on this question later, as I’m currently busy with other things. The author is no longer updating. Guys, we can only rely on ourselves.

  15. edutrul commented on Feb 19, 2024

    @edutrul

    try your _config.yml

    jekyll_admin:
      hidden_links:
        - pages
        - staticfiles
        - datafiles
        - configuration
      homepage: "posts"
    • [need repair ]
    • [don't repair ]

    It worked! Thank you!

    This worked nice 🥳

  16. nanocodex commented on Apr 10, 2024

    @nanocodex

    I'm still running into the

    Error: Could not fetch the config

    problem, and unfortunately

    try your _config.yml

    jekyll_admin:
      hidden_links:
        - pages
        - staticfiles
        - datafiles
        - configuration
      homepage: "posts"
    * [need repair ]
    
    * [don't repair ]
    

    didn't help solve it. Has anyone else found a better workaround or a solution yet?

  17. vcavallo commented on May 30, 2024

    @vcavallo

    This gemfile (snippet) works for me:

    gem 'sinatra-contrib', '~> 2.0'
    gem 'rack-protection', '~> 2.0'
    
    group :jekyll_plugins do
      gem 'jekyll-admin'
    end
    

    using jekyll 4.3.3 and jekyll-admin 0.11.1

  18. willhbr commented on Jan 5, 2026

    @willhbr

    I believe this is because of this destructuring in App.js. It gets compiled to:

    var t = this.props,
    a = t.config.content,
    n = a.jekyll_admin.homepage,
    r = a.collections,
    i = t.router,
    c = i.getCurrentLocation().pathname;

    So if you don't have jekyll_admin.homepage configured in your _config.yml file, this will fail. IIUC, Jekyll Admin will also only read _config.yml and not other config files provided with --config (as per this PR) so if (like me) you have the jekyll_admin block in a different file, it'll still fail.

    It would be nice to include the actual error message in the failure notification which would make reported failures clearer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions