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

Error Could Not Fetch The Config #620

Open
ghost opened this issue Dec 30, 2020 · 16 comments
Open

Error Could Not Fetch The Config #620

ghost opened this issue Dec 30, 2020 · 16 comments

Comments

@ghost
Copy link

ghost commented Dec 30, 2020

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
@ashmaroli ashmaroli transferred this issue from jekyll/jekyll Dec 30, 2020
@ashmaroli
Copy link
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

@ghost
Copy link
Author

ghost commented Dec 31, 2020

I apologize. I've lost the information. I had to reinstall everything.

@ghost ghost closed this as completed Dec 31, 2020
@mmm8955405
Copy link

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

@gabrielgaraujo
Copy link

@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.

@loudorge
Copy link

@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?

@n0kovo
Copy link

n0kovo commented Jan 21, 2023

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

@ashmaroli ashmaroli reopened this Jan 22, 2023
@y377
Copy link
Member

y377 commented Feb 11, 2023

try your _config.yml

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

  • [don't repair ]

@ADTC
Copy link

ADTC commented May 14, 2023

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

@Snowmansir
Copy link

@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.

@fiveRand
Copy link

try your _config.yml

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

It worked! Thank you!

@alistaircom
Copy link

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 %

@alistaircom
Copy link

alistaircom commented Sep 14, 2023

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.

@y377
Copy link
Member

y377 commented Sep 15, 2023

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.

@edutrul
Copy link

edutrul commented Feb 19, 2024

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 🥳

@nanocodex
Copy link

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?

@vcavallo
Copy link

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

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