Skip to content

Unable to get a local copy with Docker instructions #278

Open
@dannycolin

Description

I tried to run a local copy of the website with the Docker instructions. However, I'm unable to get an export of pentabarf since it asks for a username:

docker run --rm -it -v $(pwd):/usr/src/app fosdem/website kinit <username>@FOSDEM.ORG && nanoc update -y

# OUTPUT
kinit: Client '[email protected]' not found in Kerberos database while getting initial credentials

I also tried to generate the static pages without data but it doesn't work:

docker run --rm -v $(pwd):/usr/src/app fosdem/website nanoc

# OUTPUT
Loading site data…
Captain! We’ve been hit!

Message:

KeyError: key not found: "tracks"

Compilation stack:

  (empty)

Stack trace:

  0. lib/data_sources/schedule.rb:62:in `fetch'
  1. lib/data_sources/schedule.rb:62:in `load_items!'
  2. lib/data_sources/schedule.rb:9:in `items'
  3. /usr/local/bundle/gems/nanoc-3.8.0/lib/nanoc/base/source_data/site.rb:342:in `block in load_items'
  4. /usr/local/bundle/gems/nanoc-3.8.0/lib/nanoc/base/source_data/site.rb:341:in `each'
  5. /usr/local/bundle/gems/nanoc-3.8.0/lib/nanoc/base/source_data/site.rb:341:in `load_items'
  6. /usr/local/bundle/gems/nanoc-3.8.0/lib/nanoc/base/source_data/site.rb:243:in `block in load'
  7. /usr/local/bundle/gems/nanoc-3.8.0/lib/nanoc/base/source_data/site.rb:305:in `with_datasources'
  8. /usr/local/bundle/gems/nanoc-3.8.0/lib/nanoc/base/source_data/site.rb:242:in `load'
  9. /usr/local/bundle/gems/nanoc-3.8.0/lib/nanoc/base/source_data/site.rb:127:in `layouts'
  ... 41 more lines omitted. See full crash log for details.

If you believe this is a bug in nanoc, please do report it at
-> https://github.com/nanoc/nanoc/issues/new <-

A detailed crash log has been written to ./crash.log.

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