11 KiB
Troubleshooting Guide
For: Wiki-GhostGuild Content Contributors
Common issues and solutions.
Obsidian Issues
Obsidian Won't Open Vault
Symptom: "Vault not found" or error when opening folder
Solutions:
-
Check path: Make sure you're opening the exact right folder
# Should be this: /path/to/wiki-ghostguild/content/articles/ # Not this: /path/to/wiki-ghostguild/ # Parent folder /path/to/wiki-ghostguild/content/ # Wrong subfolder -
Full path issues: On Mac, use full path starting with
/Users//Users/yourname/Sites/wiki-ghostguild/content/articles/ -
Permissions: Make sure you have read/write access
ls -ld /path/to/wiki-ghostguild/content/articles/ # Should show: drwxrwxr-x (or similar with r+w) -
Restart Obsidian: Close completely and reopen
Wikilinks Showing as Red (Broken)
Symptom: [[Page Name]] appears in red in Obsidian
Causes & Solutions:
-
Typo in page name
❌ [[Communication Norms]] - Missing full title ✅ [[Communication Norms Document for Game Studios]]→ Links must match article titles exactly
-
Title in frontmatter doesn't match
# In article file: --- title: "Communication Norms Document for Game Studios" --- # Then this works: [[Communication Norms Document for Game Studios]] # But this doesn't: [[Communication Norms]] # Partial match doesn't work -
Cache issue
- Close Obsidian completely
- Wait 10 seconds
- Reopen
- Wikilink should show as blue now
-
Check article exists
- Open Graph view: Left sidebar → "Graph" tab
- Search for the article title
- If not there, article file is missing or title is wrong
Images Not Saving
Symptom: Paste image, nothing appears or goes to wrong location
Solutions:
-
Check attachment folder setting
- Settings → Files & Links
- "Attachment folder path" should be:
../../public/img - If different, change it back
-
Folder doesn't exist
# Check: ls /path/to/wiki-ghostguild/public/img/ # If not there, create: mkdir -p /path/to/wiki-ghostguild/public/img/ -
Try again
- Paste image:
Cmd+V(Mac) orCtrl+V - Should prompt for filename
- Edit if needed and confirm
- Image should appear and be saved to
/public/img/
- Paste image:
-
Check permissions
ls -ld /path/to/wiki-ghostguild/public/img/ # Should be writable (w flag) -
Restart Obsidian
- Close completely
- Reopen vault
- Try pasting again
Obsidian Git Not Working
Symptom: Obsidian Git plugin not appearing or not committing
Solutions:
-
Plugin not enabled
- Settings → Community plugins
- Search "Obsidian Git"
- Toggle ON if disabled
-
Restricted mode
- Settings → Community plugins
- If "Restricted mode ON" shows, click toggle
- Enable plugins
- Refresh
-
Git not installed
# Check if git is available: which git # Should show: /usr/bin/git or similar # If not, install: # Mac: brew install git # Windows: Download from git-scm.com -
Not in git repository
# Check: cd /path/to/wiki-ghostguild git status # Should show branch info, not "fatal: not a git repository" -
Configure git identity
git config user.name "Your Name" git config user.email "your@email.com" -
Reload plugin
- Settings → Community plugins → Obsidian Git → Reload
Git Issues
Can't Push (Remote Rejection)
Symptom: "Permission denied" or "rejected" when pushing
Causes:
- Not authenticated to Forgejo
- Remote URL is wrong
- Branch is wrong
Solutions:
-
Check remote URL
cd wiki-ghostguild git remote -v # Should show: # origin https://your-forgejo.com/org/wiki-ghostguild.git -
Fix if wrong
git remote set-url origin https://your-forgejo.com/org/wiki-ghostguild.git git push -
Authenticate to Forgejo
- Generate personal token (Forgejo settings)
- Use token as password when git prompts
- Or set up SSH key
-
Check branch
git branch # Should be on 'main' (or whatever default branch)
Merge Conflict
Symptom: "CONFLICT" in Obsidian Git or error when pulling
Solutions:
-
See conflict file
- Look for
conflict-files-obsidian-git.md - Or use
git statusto see conflicted files
- Look for
-
Resolve conflict
# Find conflict markers: <<<<<<< HEAD Your version (what you wrote) ======= Their version (what they wrote) >>>>>>> main # Delete one section and keep what's correct # Or merge both if both are needed # Remove the markers: <<<<, ====, >>>> -
After resolving
# Mark as resolved git add file-name.md # Commit the resolution git commit -m "Resolve conflict in file-name.md" # Push git push -
Prevent future conflicts
- Pull before editing: Start work each day with
git pull - Work on different files: If both editing, use different articles
- Push frequently: Don't let changes pile up
- Pull before editing: Start work each day with
Building Issues
Build Fails: "error TS..."
Symptom: npm run generate shows TypeScript errors
Solutions:
-
Check file syntax
# Errors show file path and line number # Fix the TypeScript error mentioned -
Clear cache and try again
rm -rf .nuxt .output npm run generate -
Check dependencies
npm install npm run generate
Build Fails: "Invalid frontmatter"
Symptom: Build error about article YAML
Solutions:
-
Check YAML syntax
# ✅ Correct syntax --- title: "My Article" tags: - tag1 - tag2 --- # ❌ Common errors tags: tag1, tag2 # Wrong - should be array with brackets title: My Article # Missing quotes (usually ok, but can cause issues) author "Name" # Missing colon -
Validate YAML online
- Copy frontmatter to https://www.yamllint.com
- Fix any errors it shows
-
Check required fields
# Minimum required: --- title: "Article Title" --- # All other fields are optional
Build Fails: "No such file"
Symptom: "Cannot find module" or "ENOENT" error
Solutions:
-
Check file exists
ls app/server/plugins/wikilink-transform.ts ls content.config.ts -
Check for typos in imports
- Look at error message for exact path
- Make sure it matches actual file
-
Reinstall dependencies
rm -rf node_modules package-lock.json npm install npm run generate
Dev Server Slow / Hot Reload Not Working
Symptom: Changes take a long time to appear, or don't appear
Solutions:
-
Restart dev server
# Stop: Ctrl+C npm run dev -
Clear cache
rm -rf .nuxt npm run dev -
Port conflict
# If port 3000 taken: npm run dev -- -p 3001 # Then visit: http://localhost:3001 -
File too large
- If a single article is very large (>10,000 lines)
- It may reload slowly
- Consider splitting into multiple articles
Deployment Issues
Website Shows Old Content
Symptom: Changes pushed but don't appear on live site
Causes:
- Build not triggered
- Cache not cleared
- Deployment not complete
Solutions:
-
Force rebuild on server
cd wiki-ghostguild git pull npm run generate # Restart web server -
Clear server cache
- Check hosting provider docs
- Usually: Clear CDN cache or restart server
-
Check deployment status
- Look at CI/CD pipeline status
- Check if build completed successfully
Networking Issues
Can't Clone Repository
Symptom: "Permission denied" or authentication fails
Solutions:
-
Set up SSH key (recommended)
ssh-keygen -t ed25519 -C "your@email.com" # Add public key to Forgejo settings git clone git@your-forgejo.com:org/wiki-ghostguild.git -
Or use HTTPS with token
# Generate personal token in Forgejo git clone https://your-forgejo.com/org/wiki-ghostguild.git # Use token as password when prompted -
Internet connection
- Check you have internet
- Try
ping google.com
Port Already in Use
Symptom: npm run dev fails with "port already in use"
Solutions:
# Find what's using the port
ps aux | grep nuxt
ps aux | grep node
# Kill the process (replace 12345 with PID)
kill -9 12345
# Or use different port
npm run dev -- -p 3001
Article Issues
Frontmatter Missing After Editing
Symptom: Content looks corrupted in Obsidian
Solutions:
-
Check file
head -20 content/articles/article-name.md # Should start with: # --- # title: ... -
Recover from git
git checkout content/articles/article-name.md # Reverts to last committed version -
Check git status
git status # Should show what's changed
Article Not Appearing in List
Symptom: Article is in /content/articles/ but doesn't show up
Solutions:
-
Check frontmatter
--- title: "Article Title" published: true # Must be true or missing (default true) --- -
Check accessibility
# If accessLevel is wrong, won't show: accessLevel: "member" # User must be logged in # Try public for testing: accessLevel: "public" -
Check file saved
git status # If file shows modified, haven't committed yet -
Rebuild
npm run generate npm run preview # Check at http://localhost:3000
Getting More Help
If not in this guide:
-
Check the docs:
OBSIDIAN_SETUP_GUIDE.md- User guideTECHNICAL_ARCHITECTURE.md- How it works
-
Check error message:
- Copy exact error
- Search online
- Try suggestion from error
-
Check logs:
npm run dev 2>&1 | tee build.log # Look for warnings/errors # Look for file paths that don't exist -
Ask team:
- Slack/Discord
- Comment in pull request
- Email team lead
Remember: Most issues are related to:
- ❌ Wrong folder path
- ❌ Missing git configuration
- ❌ Typo in article title
- ❌ Stale cache
99% of the time, one of these fixes it:
rm -rf .nuxt && npm run devgit pullnpm install- Restart Obsidian
- Restart terminal
Last Updated: November 2025