Repository navigation
wikijs: fix missing backend deps on amd64 - #18715
Conversation
upstream stopped shipping backend/node_modules in the release tarball for any arch as of 3.3.1, so amd64 installs crash on boot with ERR_MODULE_NOT_FOUND. run npm ci unconditionally in install and update.
Try this branchThe engine and the scripts resolve independently, so this runs the changed export COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/fix-wikijs-npm-deps
bash -c "$(curl -fsSL "$COMMUNITY_SCRIPTS_URL/ct/wikijs.sh")"Both lines are needed. Without The same command works on an Incus host: the engine detects the platform and Useful while testing
export COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/fix-wikijs-npm-deps
dev_mode=net,keep bash -c "$(curl -fsSL "$COMMUNITY_SCRIPTS_URL/ct/wikijs.sh")" |
Proxmox script test@CrazyWolf13
ARM64 (information only, not counted): 1/1 passed.
📊 Resources
📄 ct/wikijs.sh (pve) — install log (1269 lines)🔄 ct/wikijs.sh (pve) — update log (35 lines)🔁 ct/wikijs.sh (pve) — second update log📄 ct/wikijs.sh (incus) — install log (579 lines)🔄 ct/wikijs.sh (incus) — update log (34 lines)🔁 ct/wikijs.sh (incus) — second update log📄 ct/wikijs.sh (arm64) — install log (562 lines)🔄 ct/wikijs.sh (arm64) — update log (34 lines)🔁 ct/wikijs.sh (arm64) — second update log
|






✍️ Description
npm ci only ran on arm64. wiki.js 3.3.1 dropped backend/node_modules from the release tarball on amd64 too, so the backend never gets its deps and crashes on boot with ERR_MODULE_NOT_FOUND. run npm ci unconditionally in both install and update.
🔗 Related Issue
Fixes #18650
✅ Prerequisites (x in brackets)
Tested on: not tested, no PVE host available here. verified root cause against upstream source and release tarball contents (3.3.0 vs 3.3.1).
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.🤖 AI Assistance (X in brackets)
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.Model: Claude Sonnet 5 (Claude Code), medium reasoning effort.