- Core structure with README, LICENSE, and .gitignore - Complete vault template with Goals, Daily Notes, Projects, and Templates - Cascading goal system (3-year → yearly → monthly → weekly) - Claude Code integration with custom slash commands - GitHub Actions workflow for mobile integration - Comprehensive documentation (setup, customization, workflows, troubleshooting) - Automation scripts for setup (Unix/Mac and Windows) - Example content showing system usage - Self-documenting templates with inline instructions Ready for users to clone and customize for their personal knowledge management needs.
9.2 KiB
Troubleshooting Guide
Common issues and their solutions. If you can't find your issue here, check the community forums or documentation.
Quick Fixes
Before Anything Else, Try These:
-
Restart Obsidian
- Completely close and reopen
- Many issues resolve with a fresh start
-
Check File Permissions
ls -la ~/YourVault # Should show your user as owner -
Verify Claude Code
claude --version # Should show version number -
Pull Latest Changes
git pull origin main # Get any updates
Common Issues
Obsidian Issues
"Cannot open vault" Error
Problem: Obsidian won't open your vault folder
Solutions:
-
Check folder exists:
cd ~/Documents/YourVault ls -la -
Reset Obsidian settings:
# Backup first mv .obsidian .obsidian.backup # Restart Obsidian -
Check for corrupted files:
# Find files with issues find . -name "*.md" -exec file {} \; | grep -v "ASCII text"
Templates Not Working
Problem: Daily template doesn't create properly
Solutions:
-
Verify template location:
Templates/Daily Template.md should exist -
Check template settings:
- Settings → Templates
- Template folder location: "Templates"
-
Check date format:
{{date}} and {{time}} should work
Links Not Working
Problem: Wiki links don't connect
Solutions:
-
Check link format in settings:
- Settings → Files & Links
- Use Wiki Links: ON
- New link format: Relative path
-
Verify file exists:
- Broken links appear faded
- Click to create missing file
Claude Code Issues
"Command not found: claude"
Problem: Claude Code CLI not installed or not in PATH
Solutions:
-
Install Claude Code:
# Check installation guide # https://docs.anthropic.com/en/docs/claude-code -
Add to PATH:
# Add to ~/.bashrc or ~/.zshrc export PATH="$PATH:/path/to/claude" source ~/.bashrc
Commands Not Recognized
Problem: /daily, /weekly etc. not working
Solutions:
-
Check command files exist:
ls -la .claude/commands/ # Should show daily.md, weekly.md, etc. -
Copy commands if missing:
cp claude-commands/* .claude/commands/ -
Check file permissions:
chmod 644 .claude/commands/*.md
"Context too long" Error
Problem: Too many files loaded with /onboard
Solutions:
-
Load specific context:
claude code /onboard Projects/CurrentProject -
Clean up CLAUDE.md files:
- Remove outdated information
- Keep only essential context
-
Use selective loading:
# Skip old projects claude code /onboard --exclude Archives
Git Issues
"Failed to push" Error
Problem: Can't push to GitHub
Solutions:
-
Pull first:
git pull --rebase origin main git push -
Check remote:
git remote -v # Should show origin URLs -
Fix authentication:
# Use personal access token git remote set-url origin https://TOKEN@github.com/user/repo.git
Merge Conflicts
Problem: Conflicts when pulling/pushing
Solutions:
-
View conflicts:
git status # Shows conflicted files -
Resolve manually:
- Open conflicted files
- Look for <<<<<<< markers
- Choose correct version
- Remove markers
-
Complete merge:
git add . git commit -m "Resolved conflicts" git push
Large File Issues
Problem: Git rejects large files
Solutions:
-
Use Git LFS:
git lfs track "*.pdf" git lfs track "*.png" git add .gitattributes -
Add to .gitignore:
*.pdf *.mov *.zip -
Remove from history:
git filter-branch --tree-filter 'rm -f path/to/large/file' HEAD
Daily Note Issues
Wrong Date Format
Problem: Daily note has incorrect date
Solutions:
-
Check template variables:
{{date:YYYY-MM-DD}} # Standard format {{date:dddd, MMMM DD, YYYY}} # Long format -
Verify system date:
date # Should show correct date/time -
Set timezone:
export TZ='America/New_York'
Duplicate Daily Notes
Problem: Multiple notes for same day
Solutions:
-
Check naming convention:
- Should be YYYY-MM-DD.md
- No spaces or special characters
-
Merge duplicates:
# Copy content from duplicate # Paste into main note # Delete duplicate -
Prevent future duplicates:
- Always use /daily command
- Don't create manually
GitHub Action Issues
Workflow Not Triggering
Problem: GitHub Action doesn't run
Solutions:
-
Check workflow file:
# .github/workflows/claude.yml should exist -
Verify triggers:
on: issues: types: [opened, edited] -
Check Actions enabled:
- Repository → Settings → Actions
- Actions permissions: Allow
OAuth Token Invalid
Problem: CLAUDE_CODE_OAUTH_TOKEN not working
Solutions:
-
Regenerate token:
- Visit Claude Code documentation
- Follow OAuth setup guide
-
Update secret:
- Repository → Settings → Secrets
- Update CLAUDE_CODE_OAUTH_TOKEN
-
Check token permissions:
- Needs repo access
- Needs workflow access
Performance Issues
Obsidian Running Slowly
Problem: Vault takes long to load or respond
Solutions:
-
Reduce vault size:
# Archive old notes mv "Daily Notes/2023*" Archives/2023/ -
Disable unused plugins:
- Settings → Community plugins
- Disable what you don't use
-
Clear cache:
rm -rf .obsidian/cache -
Optimize images:
# Compress images find . -name "*.png" -exec pngquant --ext .png --force {} \;
Search Not Working
Problem: Can't find notes with search
Solutions:
-
Rebuild search index:
- Settings → About → Reindex vault
-
Check search syntax:
"exact phrase" tag:#daily file:2024-01-15 -
Remove special characters from filenames
Platform-Specific Issues
macOS
"Operation not permitted"
# Grant Obsidian full disk access
System Preferences → Security & Privacy → Full Disk Access
iCloud Sync Issues
- Don't put vault in iCloud Drive
- Use Git for synchronization instead
- Or use Obsidian Sync service
Windows
Path Too Long
# Enable long paths
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
Line Ending Issues
# Configure Git
git config --global core.autocrlf true
Linux
Permission Denied
# Fix permissions
chmod -R 755 ~/YourVault
chown -R $USER:$USER ~/YourVault
Missing Dependencies
# Install required packages
sudo apt-get update
sudo apt-get install git curl
Recovery Procedures
Restore from Backup
Using Git
# View history
git log --oneline
# Restore to previous commit
git reset --hard COMMIT_HASH
# Or restore single file
git checkout COMMIT_HASH -- path/to/file.md
Using File System
# If you have Time Machine (macOS)
# Or File History (Windows)
# Or Backups (Linux)
Rebuild Vault
If vault is corrupted:
# 1. Backup current vault
cp -r ~/YourVault ~/YourVault.backup
# 2. Create fresh vault
cp -r vault-template ~/NewVault
# 3. Copy your notes
cp -r ~/YourVault.backup/Daily\ Notes/* ~/NewVault/Daily\ Notes/
cp -r ~/YourVault.backup/Projects/* ~/NewVault/Projects/
# 4. Reinitialize Git
cd ~/NewVault
git init
git add .
git commit -m "Rebuilt vault"
Emergency Access
When locked out:
- Access via GitHub.com
- Edit files in browser
- Download as ZIP if needed
- Use mobile app as backup
Preventive Measures
Regular Maintenance
Weekly
# Clean up
claude code "Archive completed tasks and old notes"
# Backup
git push origin main
Monthly
# Optimize
claude code "Identify and remove duplicate content"
# Update
git pull origin main
Quarterly
# Review system
claude code "Analyze vault structure and suggest improvements"
# Clean dependencies
rm -rf node_modules .obsidian/cache
Backup Strategy
- Version Control: Git commits daily
- Cloud Backup: GitHub private repo
- Local Backup: Time Machine/File History
- Export Backup: Monthly markdown export
Getting Help
Resources
Debug Information
When asking for help, provide:
# System info
uname -a
# Obsidian version
# (Check in Settings → About)
# Claude version
claude --version
# Git status
git status
git remote -v
# Vault structure
ls -la ~/YourVault
Community Support
- Discord channels
- Reddit: r/ObsidianMD
- Twitter: #ObsidianMD
Remember: Most issues have simple solutions. Stay calm, check the basics, and work through systematically.