Wiki.js
by @ivangdavila
Deploy and manage Wiki.js documentation sites avoiding common configuration traps.
clawhub install wiki-js
π About This Skill
name: Wiki.js
description: Deploy and manage Wiki.js documentation sites avoiding common configuration traps.
metadata: {"clawdbot":{"emoji":"π","os":["linux","darwin","win32"]}}
Critical Initial Config
Site URL must be correct from first setup β changing later breaks all internal links, no easy fix
PostgreSQL over SQLite for any multi-user setup β SQLite locks under concurrent writes
HTTPS terminates at reverse proxy β Wiki.js runs HTTP internally, don't configure SSL in Wiki.jsEditor Traps
Visual Editor uses HTML underneath β switching from Markdown loses formatting, can't switch back cleanly
Markdown editor is the safe default β WYSIWYG has rendering quirks and sync issues
Internal links require locale prefix β Link not just /path/to/pagePermission Pitfalls
Deny rules take precedence over allow β overlapping patterns cause unexpected lockouts
Page rules use path patterns β /engineering/* covers subpages, /engineering is exact match only
Default "Users" group applies to all new accounts β configure before inviting usersStorage and Sync
Git sync is one-way by default β Wiki.js to Git only, external edits don't sync back
Asset storage in database bloats backups β use S3/GCS for images on larger wikis
Database backup IS the complete backup β all content, users, permissions stored thereSearch Behavior
Search respects permissions β users don't find pages they can't access (can cause confusion)
Search index rebuilds automatically β large imports need patience, no manual trigger helps
Elasticsearch optional β built-in DB search works but lacks relevance rankingTroubleshooting Specifics
Login redirect loops β almost always HTTPS/HTTP mismatch in Site URL config
Assets not loading β Site URL doesn't match actual access URL
Page shows 404 after creation β special characters in path, use lowercase alphanumeric
Slow after import β search reindexing in progress, wait or check Admin > Utilities