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

Unable to get a local copy with Docker instructions #278

Open
dannycolin opened this issue Jan 13, 2025 · 1 comment
Open

Unable to get a local copy with Docker instructions #278

dannycolin opened this issue Jan 13, 2025 · 1 comment

Comments

@dannycolin
Copy link

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.
@johanvdw
Copy link
Member

johanvdw commented Jan 13, 2025

yes, that will not work.
for simple changes, it is best to copy the sample data like we do in our github actions:

https://github.com/FOSDEM/website/blob/master/.github/workflows/website.yml#L22C11-L22C29

Fetching the actual data will need to rsync, but that will only be possible for FOSDEM staff members. If you have an issue with the current schedule, i can provide a dump though.

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

2 participants