← 返回
开发者工具 中文

Wiki.js

Deploy and manage Wiki.js documentation sites avoiding common configuration traps.
部署与管理 Wiki.js 文档站点,避免常见配置陷阱。
ivangdavila
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 2
Stars
📥 1,274
下载
💾 18
安装
1
版本
#latest

概述

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.js

Editor 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/page

Permission 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 users

Storage 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 there

Search 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 ranking

Troubleshooting 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 00:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,790
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,696
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727