Troubleshooting Common Issues
This guide helps you resolve common problems when building and maintaining your Oral History as Data site. Issues are organized by category for easy reference.
Setup and Configuration Issues
Site Won’t Build
Problem: Your site fails to build after making changes
Possible Causes and Solutions:
- YAML formatting errors in _config.yml or front matter
- Check for proper indentation (use spaces, not tabs)
- Ensure colons have a space after them (
title: My Projectnottitle:My Project) - Put quotes around values containing special characters or colons
- Use a YAML validator to check syntax
- Check the Actions tab on GitHub for specific error messages
- Incorrect metadata filename reference
- In
_config.yml, verifymetadata:matches your CSV filename (without .csv extension) - Example: If file is
my-interviews.csv, usemetadata: my-interviews
- In
- Required fields missing from metadata
- Ensure every row has
objectid,title, anddisplay_templatefields - Check for completely empty rows in your metadata CSV
- Ensure every row has
Content Issues
Transcripts Not Displaying
Problem: Transcript pages are blank or show errors
Common Causes:
- Filename mismatch (most common issue!)
- The transcript CSV filename MUST exactly match the
objectidin your metadata - Example: If metadata has
objectid: smith_john, transcript must be namedsmith_john.csv - Check for typos, extra spaces, or capitalization differences
- Location: Transcript CSVs go in
_data/transcripts/directory
- The transcript CSV filename MUST exactly match the
- Incorrect display_template
- Verify
display_template: transcriptin your metadata for interview items - Check for typos:
transcriptnottranscriptsorTranscript
- Verify
- CSV formatting issues
- Ensure first row contains column headers (
speaker,words,tags,timestamp) - Check that quotes are properly matched in cells with commas
- Verify file is saved as CSV format, not Excel (.xlsx)
- Ensure first row contains column headers (
Visualizations Not Appearing
Problem: Colored visualization bars don’t show up on transcript pages
Solutions:
- Missing or incorrect filters.csv
- Create
_data/filters.csvwith columns:tag,description - Ensure every tag used in transcripts is defined in filters.csv
- Check that tag names match exactly (case-sensitive)
- Create
- Tags not formatted correctly in transcripts
- Multiple tags should be separated by semicolons:
education; career; family - No spaces before/after tag names (unless part of the tag)
- Use only tags defined in your filters.csv
- Multiple tags should be separated by semicolons:
- Transcript files in wrong location
- Transcript CSVs must be in
_data/transcripts/directory - NOT in
objects/or_data/root
- Transcript CSVs must be in
Media Not Playing
Problem: Audio or video files won’t play on transcript pages
Solutions:
- Check object_location format
- YouTube: Use format
https://youtu.be/VIDEO_IDor full URL - SoundCloud: Use full track URL
- Local files: Use
/objects/filename.mp3(must start with/)
- YouTube: Use format
- File format issues
- Supported formats: MP3, MP4, OGG, WebM
- Convert incompatible formats using tools like CloudConvert
- File size too large
- Keep audio files under 50MB for GitHub Pages
- Consider using external hosting (YouTube, SoundCloud) for larger files
Images Not Showing
Problem: Images are broken or don’t display
Solutions:
- Verify image files are in the
objects/directory - Check that paths start with
/objects/for local images - Ensure filenames in metadata match actual filenames exactly (case-sensitive)
- Verify image formats are web-compatible (JPG, PNG, GIF)
- Check file sizes aren’t excessively large (optimize images to under 1MB each)
Publishing Issues
404 Error When Visiting Site
Problem: GitHub Pages URL shows “404 Page Not Found”
Solutions:
- Wait 5-10 minutes after first enabling GitHub Pages (initial build takes longer)
- Check that GitHub Pages is enabled in Settings → Pages
- Verify you’re using the correct URL format:
https://username.github.io/repository-name/ - Check the Actions tab to ensure the build completed successfully
- If you recently changed the repository name, update your URLs accordingly
Getting More Help
Check the CollectionBuilder Docs for additional information.
If you’re still experiencing issues:
- Check the Actions tab on GitHub for detailed build error messages
- Review relevant documentation sections:
- Setup Your Site - Basic configuration
- Prepare Your Content - Metadata and transcripts
- Publishing - GitHub Pages setup
- Search existing issues on the OHD GitHub repository
- Ask the CollectionBuilder community in their Discussion Forum
- Create a new issue if you’ve found a bug or need specific help
Information to Include When Asking for Help
- Link to your repository (if public) or relevant code snippets
- Error messages (full text from terminal or Actions tab)
- What you were trying to do
- What you expected to happen vs. what actually happened
- Steps you’ve already tried
- Your operating system (for local development issues)