Jekyll no longer sees the website

Hello all,

I’m trying to contribute to a project I like, so I’ve installed a docker container version of Jekyll so that I can make changes, see the changes update live, and then submit a PR with the new content.

Everything has been working fabulously. I’ve been super impressed at how easy Jekyll is to write static pages and make a website and plan to use it myself in the future as it’s just so dang easy.

That said, my current install/container has stopped serving the website files. I’ve stopped and removed the container numerous times to try and make it work, delete the _site generated folder. Even when I created a new folder. pulled the projects docs fresh from the repo and pointed the container at it I just get:

The following is my compose snippet:

  jekyll:
    container_name: jekyll
    image: jekyll/jekyll:latest
    command: jekyll serve --baseurl "https://domain.com" --watch --force_polling --verbose --livereload
    profiles:
      - isolation
    security_opt:
       - no-new-privileges:true
    networks:
       - Mars
    restart: always
    volumes:
      - $DOCKER_APPDATA/jekyll/mainsail_original/mainsail/docs:/srv/jekyll
    ports:
      - 5676:4000

(Sorry for multi-post, but new users for some reason can’t embed more than a single item)

The logs:

[2021-09-01 18:17:53] DEBUG accept: 172.19.0.1:38268
[2021-09-01 18:17:53] ERROR `/favicon.ico' not found.
[2021-09-01 18:17:53] DEBUG close: 172.19.0.1:38268
[2021-09-01 19:27:35] DEBUG accept: 172.19.0.1:50412
[2021-09-01 19:27:35] ERROR `/background-info' not found.
[2021-09-01 19:27:35] DEBUG close: 172.19.0.1:50412
[2021-09-01 19:27:43] DEBUG accept: 172.19.0.1:50432
[2021-09-01 19:27:43] ERROR `/background-info' not found.
[2021-09-01 19:27:43] DEBUG close: 172.19.0.1:50432
[2021-09-01 19:27:46] DEBUG accept: 172.19.0.1:50442
[2021-09-01 19:27:46] ERROR `/favicon.ico' not found.
[2021-09-01 19:27:46] DEBUG close: 172.19.0.1:50442
[2021-09-01 19:27:52] DEBUG accept: 172.19.0.1:50460
[2021-09-01 19:27:52] ERROR `/' not found.
[2021-09-01 19:27:52] DEBUG close: 172.19.0.1:50460
[2021-09-02 02:47:03] DEBUG accept: 172.19.0.1:42530
[2021-09-02 02:47:03] ERROR `/assets/img/rtfm.png' not found.
[2021-09-02 02:47:03] DEBUG close: 172.19.0.1:42530
[2021-09-02 02:47:07] DEBUG accept: 172.19.0.1:42542
[2021-09-02 02:47:07] ERROR `/' not found.
[2021-09-02 02:47:07] DEBUG close: 172.19.0.1:42542
[2021-09-02 02:47:08] DEBUG accept: 172.19.0.1:42552
[2021-09-02 02:47:08] ERROR `/favicon.ico' not found.
[2021-09-02 02:47:08] DEBUG close: 172.19.0.1:42552
[2021-09-02 04:26:56] DEBUG accept: 172.19.0.1:59976
[2021-09-02 04:26:56] ERROR `/' not found.
[2021-09-02 04:26:56] DEBUG close: 172.19.0.1:59976
[2021-09-02 04:26:56] DEBUG accept: 172.19.0.1:59980
[2021-09-02 04:26:56] ERROR `/favicon.ico' not found.

I can’t see anywhere in the Gemfile or _config.yml which would set a location or anything? The only editing I’ve been doing is to the docs pages themselves, so I’m confused as to why it’s stopped working.

The container can see the mounted volume just fine at /srv/jykll (and this was working before):

Log after new fresh container created:

Fetching gem metadata from https://rubygems.org/
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.........
Using concurrent-ruby 1.1.9
Fetching minitest 5.14.4
Using thread_safe 0.3.6
Using zeitwerk 2.4.2
Using public_suffix 4.0.6
Using bundler 2.2.24
Fetching coffee-script-source 1.11.1
Installing minitest 5.14.4
Installing coffee-script-source 1.11.1
Using execjs 2.8.1
Using colorator 1.1.0
Fetching unf_ext 0.0.7.7
Using eventmachine 1.2.7
Using http_parser.rb 0.6.0
Using ffi 1.15.3
Fetching faraday-em_http 1.0.0
Installing faraday-em_http 1.0.0
Fetching faraday-em_synchrony 1.0.0
Installing unf_ext 0.0.7.7 with native extensions
Installing faraday-em_synchrony 1.0.0
Fetching faraday-excon 1.1.0
Installing faraday-excon 1.1.0
Fetching faraday-httpclient 1.0.1
Installing faraday-httpclient 1.0.1
Fetching faraday-net_http 1.0.1
Installing faraday-net_http 1.0.1
Fetching faraday-net_http_persistent 1.2.0
Installing faraday-net_http_persistent 1.2.0
Fetching faraday-patron 1.0.0
Installing faraday-patron 1.0.0
Fetching faraday-rack 1.0.0
Installing faraday-rack 1.0.0
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.5
Installing ruby2_keywords 0.0.5
Using forwardable-extended 2.6.0
Using gemoji 3.0.1
Using rb-fsevent 0.11.0
Fetching rexml 3.2.5
Installing rexml 3.2.5
Using liquid 4.0.3
Using mercenary 0.3.6
Using rouge 3.26.0
Using safe_yaml 1.0.5
Fetching mini_portile2 2.6.1
Installing mini_portile2 2.6.1
Fetching racc 1.5.2
Installing racc 1.5.2 with native extensions
Using jekyll-paginate 1.1.0
Fetching rubyzip 2.3.2
Fetching jekyll-swiss 1.0.0
Installing rubyzip 2.3.2
Using unicode-display_width 1.7.0
Using i18n 0.9.5
Using tzinfo 1.2.9
Using addressable 2.8.0
Using coffee-script 2.4.1
Using em-websocket 0.5.2
Using ethon 0.14.0
Using rb-inotify 0.10.1
Fetching faraday 1.7.0
Installing faraday 1.7.0
Installing jekyll-swiss 1.0.0
Using pathutil 0.16.2
Using kramdown 2.3.1
Fetching nokogiri 1.12.3 (x86_64-linux)
Fetching unf 0.1.4
Installing unf 0.1.4
Fetching terminal-table 1.8.0
Installing terminal-table 1.8.0
Fetching ruby-enum 0.9.0
Installing ruby-enum 0.9.0
Installing nokogiri 1.12.3 (x86_64-linux)
Fetching activesupport 6.0.4.1
Installing activesupport 6.0.4.1
Fetching jekyll-coffeescript 1.1.1
Installing jekyll-coffeescript 1.1.1
Using typhoeus 1.4.0
Using sass-listen 4.0.0
Fetching listen 3.7.0
Installing listen 3.7.0
Using kramdown-parser-gfm 1.1.0
Fetching sawyer 0.8.2
Installing sawyer 0.8.2
Fetching simpleidn 0.2.1
Fetching commonmarker 0.17.13
Installing simpleidn 0.2.1
Installing commonmarker 0.17.13 with native extensions
Using sass 3.7.4
Using jekyll-watch 2.2.1
Fetching octokit 4.21.0
Installing octokit 4.21.0
Using html-pipeline 2.14.0
Fetching dnsruby 1.61.7
Installing dnsruby 1.61.7
Using jekyll-sass-converter 1.5.2
Fetching jekyll-gist 1.5.0
Installing jekyll-gist 1.5.0
Fetching github-pages-health-check 1.17.2
Installing github-pages-health-check 1.17.2
Fetching jekyll 3.9.0
Installing jekyll 3.9.0
Fetching jekyll-avatar 0.7.0
Installing jekyll-avatar 0.7.0
Fetching jekyll-default-layout 0.1.4
Installing jekyll-default-layout 0.1.4
Using jekyll-feed 0.15.1
Fetching jekyll-github-metadata 2.13.0
Installing jekyll-github-metadata 2.13.0
Using jekyll-mentions 1.6.0
Fetching jekyll-optional-front-matter 0.3.2
Installing jekyll-optional-front-matter 0.3.2
Fetching jekyll-readme-index 0.3.0
Installing jekyll-readme-index 0.3.0
Using jekyll-redirect-from 0.16.0
Fetching jekyll-relative-links 0.6.1
Installing jekyll-relative-links 0.6.1
Fetching jekyll-remote-theme 0.4.3
Installing jekyll-remote-theme 0.4.3
Using jekyll-seo-tag 2.7.1
Using jekyll-sitemap 1.4.0
Fetching jekyll-titles-from-headings 0.5.3
Installing jekyll-titles-from-headings 0.5.3
Using jemoji 0.12.0
Fetching jekyll-theme-architect 0.2.0
Installing jekyll-theme-architect 0.2.0
Fetching jekyll-theme-cayman 0.2.0
Installing jekyll-theme-cayman 0.2.0
Fetching jekyll-theme-dinky 0.2.0
Installing jekyll-theme-dinky 0.2.0
Fetching jekyll-theme-hacker 0.2.0
Installing jekyll-theme-hacker 0.2.0
Fetching jekyll-theme-leap-day 0.2.0
Installing jekyll-theme-leap-day 0.2.0
Fetching jekyll-theme-merlot 0.2.0
Installing jekyll-theme-merlot 0.2.0
Fetching jekyll-theme-midnight 0.2.0
Installing jekyll-theme-midnight 0.2.0
Fetching jekyll-theme-minimal 0.2.0
Installing jekyll-theme-minimal 0.2.0
Fetching jekyll-theme-modernist 0.2.0
Installing jekyll-theme-modernist 0.2.0
Fetching jekyll-theme-primer 0.6.0
Installing jekyll-theme-primer 0.6.0
Fetching jekyll-theme-slate 0.2.0
Installing jekyll-theme-slate 0.2.0
Fetching jekyll-theme-tactile 0.2.0
Installing jekyll-theme-tactile 0.2.0
Fetching jekyll-theme-time-machine 0.2.0
Installing jekyll-theme-time-machine 0.2.0
Using minima 2.5.1
Using jekyll-commonmark 1.3.1
Fetching jekyll-commonmark-ghpages 0.1.6
Installing jekyll-commonmark-ghpages 0.1.6
Fetching github-pages 218
Installing github-pages 218
Bundle complete! 6 Gemfile dependencies, 100 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux-musl]
  Logging at level: debug
Configuration file: /srv/jekyll/_config.yml
  Logging at level: debug
      GitHub Pages: github-pages v218
      GitHub Pages: jekyll v3.9.0
             Theme: jekyll-theme-primer
      Theme source: /usr/gem/gems/jekyll-theme-primer-0.6.0
             Theme: pmarsceill/just-the-docs
      Theme source: /tmp/jekyll-remote-theme-20210902-1-1ps2eb6
      Remote Theme: Using theme pmarsceill/just-the-docs
      Remote Theme: Downloading https://codeload.github.com/pmarsceill/just-the-docs/zip/HEAD to /tmp/jekyll-remote-theme-20210902-1-16le89q.zip
      Remote Theme: Unzipping /tmp/jekyll-remote-theme-20210902-1-16le89q.zip to /tmp/jekyll-remote-theme-20210902-1-1ps2eb6
         Requiring: jekyll-seo-tag
         Requiring: jekyll-seo-tag
         Requiring: jekyll-coffeescript
         Requiring: jekyll-commonmark-ghpages
         Requiring: jekyll-gist
         Requiring: jekyll-github-metadata
Dotenv not found. Skipping 
         Requiring: jekyll-paginate
         Requiring: jekyll-relative-links
         Requiring: jekyll-optional-front-matter
         Requiring: jekyll-readme-index
         Requiring: jekyll-default-layout
         Requiring: jekyll-titles-from-headings
         Requiring: jekyll-remote-theme
   GitHub Metadata: Initializing...
            Source: /srv/jekyll
       Destination: /srv/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
             Theme: pmarsceill/just-the-docs
      Theme source: /tmp/jekyll-remote-theme-20210902-1-78u6jt
      Remote Theme: Using theme pmarsceill/just-the-docs
       EntryFilter: excluded /Gemfile.lock
       EntryFilter: excluded /Gemfile
       EntryFilter: excluded /CNAME
        Generating: JekyllOptionalFrontMatter::Generator finished in 0.000208469 seconds.
        Generating: JekyllReadmeIndex::Generator finished in 0.002701472 seconds.
       Jekyll Feed: Generating feed for posts
        Generating: JekyllFeed::Generator finished in 0.001125724 seconds.
        Generating: JekyllRelativeLinks::Generator finished in 0.039980356 seconds.
        Generating: Jekyll::Paginate::Pagination finished in 8.975e-06 seconds.
        Generating: JekyllDefaultLayout::Generator finished in 0.002200367 seconds.
        Generating: JekyllTitlesFromHeadings::Generator finished in 8.5633e-05 seconds.
         Rendering: about.md.draft
  Pre-Render Hooks: about.md.draft
  Rendering Markup: about.md.draft
  Rendering Layout: about.md.draft
     Layout source: theme
         Requiring: kramdown-parser-gfm
         Rendering: quicktips/additional-sensors.md
  Pre-Render Hooks: quicktips/additional-sensors.md
  Rendering Liquid: quicktips/additional-sensors.md
  Rendering Markup: quicktips/additional-sensors.md
  Rendering Layout: quicktips/additional-sensors.md
     Layout source: theme
         Rendering: themes/backgrounds.md
  Pre-Render Hooks: themes/backgrounds.md
  Rendering Liquid: themes/backgrounds.md
  Rendering Markup: themes/backgrounds.md
  Rendering Layout: themes/backgrounds.md
     Layout source: theme
         Rendering: quicktips/console-shortcuts.md
  Pre-Render Hooks: quicktips/console-shortcuts.md
  Rendering Liquid: quicktips/console-shortcuts.md
  Rendering Markup: quicktips/console-shortcuts.md
  Rendering Layout: quicktips/console-shortcuts.md
     Layout source: theme
         Rendering: credits.md
  Pre-Render Hooks: credits.md
  Rendering Liquid: credits.md
  Rendering Markup: credits.md
  Rendering Layout: credits.md
     Layout source: theme
         Rendering: themes/custom-css.md
  Pre-Render Hooks: themes/custom-css.md
  Rendering Markup: themes/custom-css.md
  Rendering Layout: themes/custom-css.md
     Layout source: theme
         Rendering: quicktips/disable-octoprint.md
  Pre-Render Hooks: quicktips/disable-octoprint.md
  Rendering Liquid: quicktips/disable-octoprint.md
  Rendering Markup: quicktips/disable-octoprint.md
  Rendering Layout: quicktips/disable-octoprint.md
     Layout source: theme
         Rendering: development/docker.md
  Pre-Render Hooks: development/docker.md
  Rendering Liquid: development/docker.md
  Rendering Markup: development/docker.md
  Rendering Layout: development/docker.md
     Layout source: theme
         Rendering: quicktips/hide-gcode_macros-by-default.md
  Pre-Render Hooks: quicktips/hide-gcode_macros-by-default.md
  Rendering Liquid: quicktips/hide-gcode_macros-by-default.md
  Rendering Markup: quicktips/hide-gcode_macros-by-default.md
  Rendering Layout: quicktips/hide-gcode_macros-by-default.md
     Layout source: theme
         Rendering: quicktips/history.md
  Pre-Render Hooks: quicktips/history.md
  Rendering Liquid: quicktips/history.md
  Rendering Markup: quicktips/history.md
  Rendering Layout: quicktips/history.md
     Layout source: theme
         Rendering: themes/icons.md
  Pre-Render Hooks: themes/icons.md
  Rendering Liquid: themes/icons.md
  Rendering Markup: themes/icons.md
  Rendering Layout: themes/icons.md
     Layout source: theme
         Rendering: setup-guide/index.md
  Pre-Render Hooks: setup-guide/index.md
  Rendering Markup: setup-guide/index.md
  Rendering Layout: setup-guide/index.md
     Layout source: theme
         Rendering: update-guide/index.md
  Pre-Render Hooks: update-guide/index.md
  Rendering Markup: update-guide/index.md
  Rendering Layout: update-guide/index.md
     Layout source: theme
         Rendering: quicktips/index.md
  Pre-Render Hooks: quicktips/index.md
  Rendering Liquid: quicktips/index.md
  Rendering Markup: quicktips/index.md
  Rendering Layout: quicktips/index.md
     Layout source: theme
         Rendering: setup-guide/manual-setup/index.md
  Pre-Render Hooks: setup-guide/manual-setup/index.md
  Rendering Markup: setup-guide/manual-setup/index.md
  Rendering Layout: setup-guide/manual-setup/index.md
     Layout source: theme
         Rendering: index.md
  Pre-Render Hooks: index.md
  Rendering Markup: index.md
  Rendering Layout: index.md
     Layout source: theme
         Rendering: development/index.md
  Pre-Render Hooks: development/index.md
  Rendering Liquid: development/index.md
  Rendering Markup: development/index.md
  Rendering Layout: development/index.md
     Layout source: theme
         Rendering: themes/index.md
  Pre-Render Hooks: themes/index.md
  Rendering Liquid: themes/index.md
  Rendering Markup: themes/index.md
  Rendering Layout: themes/index.md
     Layout source: theme
         Rendering: setup-guide/kiauh.md
  Pre-Render Hooks: setup-guide/kiauh.md
  Rendering Markup: setup-guide/kiauh.md
  Rendering Layout: setup-guide/kiauh.md
     Layout source: theme
         Rendering: update-guide/klipper.md
  Pre-Render Hooks: update-guide/klipper.md
  Rendering Markup: update-guide/klipper.md
  Rendering Layout: update-guide/klipper.md
     Layout source: theme
         Rendering: setup-guide/manual-setup/klipper.md
  Pre-Render Hooks: setup-guide/manual-setup/klipper.md
  Rendering Markup: setup-guide/manual-setup/klipper.md
  Rendering Layout: setup-guide/manual-setup/klipper.md
     Layout source: theme
         Rendering: development/localization.md
  Pre-Render Hooks: development/localization.md
  Rendering Liquid: development/localization.md
  Rendering Markup: development/localization.md
  Rendering Layout: development/localization.md
     Layout source: theme
         Rendering: setup-guide/mainsail-os.md
  Pre-Render Hooks: setup-guide/mainsail-os.md
  Rendering Markup: setup-guide/mainsail-os.md
  Rendering Layout: setup-guide/mainsail-os.md
     Layout source: theme
         Rendering: setup-guide/manual-setup/mainsail.md
  Pre-Render Hooks: setup-guide/manual-setup/mainsail.md
  Rendering Markup: setup-guide/manual-setup/mainsail.md
  Rendering Layout: setup-guide/manual-setup/mainsail.md
     Layout source: theme
         Rendering: update-guide/mainsail.md
  Pre-Render Hooks: update-guide/mainsail.md
  Rendering Markup: update-guide/mainsail.md
  Rendering Layout: update-guide/mainsail.md
     Layout source: theme
         Rendering: setup-guide/manual-setup/moonraker.md
  Pre-Render Hooks: setup-guide/manual-setup/moonraker.md
  Rendering Markup: setup-guide/manual-setup/moonraker.md
  Rendering Layout: setup-guide/manual-setup/moonraker.md
     Layout source: theme
         Rendering: update-guide/moonraker.md
  Pre-Render Hooks: update-guide/moonraker.md
  Rendering Markup: update-guide/moonraker.md
  Rendering Layout: update-guide/moonraker.md
     Layout source: theme
         Rendering: quicktips/multi-cam.md
  Pre-Render Hooks: quicktips/multi-cam.md
  Rendering Liquid: quicktips/multi-cam.md
  Rendering Markup: quicktips/multi-cam.md
  Rendering Layout: quicktips/multi-cam.md
     Layout source: theme
         Rendering: necessary-cfg.md
  Pre-Render Hooks: necessary-cfg.md
  Rendering Liquid: necessary-cfg.md
  Rendering Markup: necessary-cfg.md
  Rendering Layout: necessary-cfg.md
     Layout source: theme
         Rendering: setup-guide/manual-setup/operating-system.md
  Pre-Render Hooks: setup-guide/manual-setup/operating-system.md
  Rendering Liquid: setup-guide/manual-setup/operating-system.md
  Rendering Markup: setup-guide/manual-setup/operating-system.md
  Rendering Layout: setup-guide/manual-setup/operating-system.md
     Layout source: theme
         Rendering: themes/prepare.md
  Pre-Render Hooks: themes/prepare.md
  Rendering Liquid: themes/prepare.md
  Rendering Markup: themes/prepare.md
  Rendering Layout: themes/prepare.md
     Layout source: theme
         Rendering: quicktips/presets.md
  Pre-Render Hooks: quicktips/presets.md
  Rendering Liquid: quicktips/presets.md
  Rendering Markup: quicktips/presets.md
  Rendering Layout: quicktips/presets.md
     Layout source: theme
         Rendering: preview.md
  Pre-Render Hooks: preview.md
  Rendering Markup: preview.md
  Rendering Layout: preview.md
     Layout source: theme
         Rendering: quicktips/remote-access.md
  Pre-Render Hooks: quicktips/remote-access.md
  Rendering Liquid: quicktips/remote-access.md
  Rendering Markup: quicktips/remote-access.md
  Rendering Layout: quicktips/remote-access.md
     Layout source: theme
         Rendering: remotemode.md
  Pre-Render Hooks: remotemode.md
  Rendering Liquid: remotemode.md
  Rendering Markup: remotemode.md
  Rendering Layout: remotemode.md
     Layout source: theme
         Rendering: additional-support/shares.md.draft
  Pre-Render Hooks: additional-support/shares.md.draft
  Rendering Markup: additional-support/shares.md.draft
  Rendering Layout: additional-support/shares.md.draft
     Layout source: theme
         Rendering: quicktips/slicer-upload.md
  Pre-Render Hooks: quicktips/slicer-upload.md
  Rendering Liquid: quicktips/slicer-upload.md
  Rendering Markup: quicktips/slicer-upload.md
  Rendering Layout: quicktips/slicer-upload.md
     Layout source: theme
         Rendering: development/standalone.md
  Pre-Render Hooks: development/standalone.md
  Rendering Liquid: development/standalone.md
  Rendering Markup: development/standalone.md
  Rendering Layout: development/standalone.md
     Layout source: theme
         Rendering: themes/themes-submit.md
  Pre-Render Hooks: themes/themes-submit.md
  Rendering Liquid: themes/themes-submit.md
  Rendering Markup: themes/themes-submit.md
  Rendering Layout: themes/themes-submit.md
     Layout source: theme
         Rendering: themes/themes.md
  Pre-Render Hooks: themes/themes.md
  Rendering Liquid: themes/themes.md
  Rendering Markup: themes/themes.md
  Rendering Layout: themes/themes.md
     Layout source: site
         Rendering: quicktips/thumbnails.md
  Pre-Render Hooks: quicktips/thumbnails.md
  Rendering Liquid: quicktips/thumbnails.md
  Rendering Markup: quicktips/thumbnails.md
  Rendering Layout: quicktips/thumbnails.md
     Layout source: theme
         Rendering: quicktips/update-manager.md
  Pre-Render Hooks: quicktips/update-manager.md
  Rendering Liquid: quicktips/update-manager.md
  Rendering Markup: quicktips/update-manager.md
  Rendering Layout: quicktips/update-manager.md
     Layout source: theme
         Rendering: additional-support/webcam.md.draft
  Pre-Render Hooks: additional-support/webcam.md.draft
  Rendering Markup: additional-support/webcam.md.draft
  Rendering Layout: additional-support/webcam.md.draft
     Layout source: theme
         Rendering: assets/css/just-the-docs-dark.scss
  Pre-Render Hooks: assets/css/just-the-docs-dark.scss
  Rendering Liquid: assets/css/just-the-docs-dark.scss
  Rendering Markup: assets/css/just-the-docs-dark.scss
         Rendering: assets/css/just-the-docs-default.scss
  Pre-Render Hooks: assets/css/just-the-docs-default.scss
  Rendering Liquid: assets/css/just-the-docs-default.scss
  Rendering Markup: assets/css/just-the-docs-default.scss
         Rendering: assets/css/just-the-docs-light.scss
  Pre-Render Hooks: assets/css/just-the-docs-light.scss
  Rendering Liquid: assets/css/just-the-docs-light.scss
  Rendering Markup: assets/css/just-the-docs-light.scss
         Rendering: assets/js/just-the-docs.js
  Pre-Render Hooks: assets/js/just-the-docs.js
  Rendering Liquid: assets/js/just-the-docs.js
  Rendering Markup: assets/js/just-the-docs.js
  Rendering Layout: assets/js/just-the-docs.js
         Rendering: assets/js/zzzz-search-data.json
  Pre-Render Hooks: assets/js/zzzz-search-data.json
  Rendering Liquid: assets/js/zzzz-search-data.json
  Rendering Markup: assets/js/zzzz-search-data.json
  Rendering Layout: assets/js/zzzz-search-data.json
         Rendering: feed.xml
  Pre-Render Hooks: feed.xml
  Rendering Liquid: feed.xml
  Rendering Markup: feed.xml
  Rendering Layout: feed.xml
           Writing: /srv/jekyll/_site/about.draft
           Writing: /srv/jekyll/_site/quicktips/additional-sensors.html
           Writing: /srv/jekyll/_site/theming/backgrounds.html
           Writing: /srv/jekyll/_site/quicktips/console-shortcuts.html
           Writing: /srv/jekyll/_site/credits.html
           Writing: /srv/jekyll/_site/theming/custom-css.html
           Writing: /srv/jekyll/_site/quicktips/disable-octoprint-lcd-menu.html
           Writing: /srv/jekyll/_site/development/docker.html
           Writing: /srv/jekyll/_site/quicktips/hide-gcode_macros.html
           Writing: /srv/jekyll/_site/quicktips/history.html
           Writing: /srv/jekyll/_site/theming/favicons.html
           Writing: /srv/jekyll/_site/setup/index.html
           Writing: /srv/jekyll/_site/update/index.html
           Writing: /srv/jekyll/_site/quicktips.html
           Writing: /srv/jekyll/_site/setup/manual-setup.html
           Writing: /srv/jekyll/_site/index.html
           Writing: /srv/jekyll/_site/development.html
           Writing: /srv/jekyll/_site/theming.html
           Writing: /srv/jekyll/_site/setup/kiauh.html
           Writing: /srv/jekyll/_site/update/klipper.html
           Writing: /srv/jekyll/_site/setup/manual-setup/klipper.html
           Writing: /srv/jekyll/_site/development/localization.html
           Writing: /srv/jekyll/_site/setup/mainsail-os.html
           Writing: /srv/jekyll/_site/setup/manual-setup/mainsail.html
           Writing: /srv/jekyll/_site/update/mainsail.html
           Writing: /srv/jekyll/_site/setup/manual-setup/moonraker.html
           Writing: /srv/jekyll/_site/update/moonraker.html
           Writing: /srv/jekyll/_site/quicktips/multicam.html
           Writing: /srv/jekyll/_site/necessary-configuration.html
           Writing: /srv/jekyll/_site/setup/manual-setup/operating-systen.html
           Writing: /srv/jekyll/_site/theming/prepare.html
           Writing: /srv/jekyll/_site/quicktips/presets.html
           Writing: /srv/jekyll/_site/preview.html
           Writing: /srv/jekyll/_site/quicktips/remote-access.html
           Writing: /srv/jekyll/_site/remotemode.html
           Writing: /srv/jekyll/_site/additional/shares.draft
           Writing: /srv/jekyll/_site/quicktips/slicer-upload.html
           Writing: /srv/jekyll/_site/development/standalone.html
           Writing: /srv/jekyll/_site/theming/themes/submit.html
           Writing: /srv/jekyll/_site/theming/themes.html
           Writing: /srv/jekyll/_site/quicktips/thumbnails.html
           Writing: /srv/jekyll/_site/quicktips/update-manager.html
           Writing: /srv/jekyll/_site/additional/webcam.draft
           Writing: /srv/jekyll/_site/assets/css/just-the-docs-dark.css
           Writing: /srv/jekyll/_site/assets/css/just-the-docs-default.css
           Writing: /srv/jekyll/_site/assets/css/just-the-docs-light.css
           Writing: /srv/jekyll/_site/assets/js/just-the-docs.js
           Writing: /srv/jekyll/_site/assets/js/search-data.json
           Writing: /srv/jekyll/_site/feed.xml
                    done in 10.589 seconds.
         Requiring: jekyll-watch
           Watcher: Ignoring (?-mix:^_config\.yml)
           Watcher: Ignoring (?-mix:^_site\/)
           Watcher: Ignoring (?-mix:^Gemfile)
           Watcher: Ignoring (?-mix:^Gemfile\.lock)
           Watcher: Ignoring (?-mix:^CNAME)
 Auto-regeneration: enabled for '/srv/jekyll'
LiveReload address: http://0.0.0.0:35729
[2021-09-02 04:36:35] INFO  WEBrick 1.6.0
[2021-09-02 04:36:35] INFO  ruby 2.7.1 (2020-03-31) [x86_64-linux-musl]
[2021-09-02 04:36:35] DEBUG WEBrick::HTTPServlet::FileHandler is mounted on /.
[2021-09-02 04:36:35] DEBUG unmount .
[2021-09-02 04:36:35] DEBUG Jekyll::Commands::Serve::Servlet is mounted on https://jekyll.tomlawson.io.
    Server address: http://0.0.0.0:4000https://jekyll.tomlawson.io/
[2021-09-02 04:36:35] INFO  WEBrick::HTTPServer#start: pid=1 port=4000
  Server running... press ctrl-c to stop.

What is the value of baseurl in your config file?
If it is not nil or "", then prepend that to your page-url.

For example, with baseurl: "/blog", your index file will be served at
http://localhost:<custom_port or 4000>/blog/.

1 Like

In the Composer snippet, the setting of the base URL with full protocol and host is definitely problematic (i.e. --baseurl "https://domain.com"). Jekyll’s base_url parameter should be a site-relative-absolute URL, like /blog.

1 Like

Thanks for the replies. I have clearly misunderstood that.

The reason I changed baseurl to the URL was because I am hosting in a docker container and I do not want all the links to be 0.0.0.0/baseurl/

Is there a correct way I can set it so that all the links in the site (once loaded) go to the correct https://domain.com/<whatever the page link is

If you’re building for production (rather then just locally testing), then you’ll want to set the url parameter in _config.yml. Something like:

url: https://sub.example.com

Thanks Chuck.

I’ve set the url now in _config.yml but it doesn’t seem to have any effect on the links in the site? The main page loads again, but every link points to 0.0.0.0:4000/whatever/page?

One possibility: Changes to _config.yml require that Jekyll be restarted, so the changes won’t take effect until the jekyll container restarts.