frappe-ops-bench

Generate safe Frappe bench command sequences for site and app lifecycle management.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package --skill frappe-ops-bench-impertio-studio
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: frappe-ops-bench
Source: https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package/tree/main/skills/source/ops/frappe-ops-bench
Command: npx skills add https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package --skill frappe-ops-bench-impertio-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

šŸ’” This Skill includes references (resource) components.

What problem does it solve?

Bench commands often succeed locally but fail in production due to misconfigured environment assumptions, missing version pinning, incorrect site routing, or unsafe operational steps (like updating without backups or migrating at the wrong time).

Core Features & Use Cases

  • Bench CLI correctness for site/app lifecycle: Create benches, create/drop sites, select default sites, and manage apps with the right command sequences.
  • Production-grade operations playbooks: Run updates, migrations, builds, scheduler checks, worker debugging, and scheduled job maintenance in the safe order.
  • Multi-tenancy and domain routing guidance: Configure DNS multi-tenancy, map custom domains, regenerate nginx, and verify routing behavior using common_site_config and site_config patterns.

Use Case: You need to bring up a multi-tenant Frappe environment for multiple customer domains, then safely roll out app updates and database schema changes without downtime surprises.

Quick Start

Ask the AI: "I’m setting up a new Frappe bench for Frappe v15 with two sites using DNS-based multi-tenancy; give me the exact bench command sequence to init the bench, create the sites, configure nginx routing, and then perform a safe bench update with backups and migrations."

Frequently Asked Questions about frappe-ops-bench

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure DNS-based multi-tenancy for multiple Frappe sites?ā–¼

To configure multi-tenancy, map custom domains using common_site_config and site_config keys, regenerate nginx configurations, and verify routing behavior to ensure safe Frappe bench operations for multiple customer sites.

What is the correct bench command sequence to safely update and migrate a Frappe site?ā–¼

Safe Frappe bench updates require backing up before destructive actions, running bench update inside the bench directory, and executing migrate after code changes to prevent production failures from misconfigured environment assumptions.

How do I set up a new Frappe bench with correct site routing and scheduler health validation?ā–¼

Setting up a Frappe bench requires running bench init with a pinned branch, creating sites, configuring domain routing, and validating scheduler health to ensure production-grade operations and correct multi-tenancy behavior.

Why do bench commands succeed locally but fail in production Frappe deployments?ā–¼

Frappe bench commands fail in production due to misconfigured environment assumptions, missing version pinning, incorrect site routing, or unsafe operational steps, requiring step-order guardrails and aligned configuration handling to prevent deployment failures.

Can I run bench restore and backup operations without downtime in a multi-tenant environment?ā–¼

Bench backup and restore in multi-tenant environments require backing up before destructive actions, validating scheduler health, and applying correct site_config patterns to prevent downtime surprises during database schema changes and site lifecycle management.

Do I need to pin the Frappe branch before running bench init and new-site commands?ā–¼

Pinning the Frappe branch before bench init and new-site commands is required to prevent misconfigured environments, ensuring safe operational steps, correct site routing, and proper app lifecycle management in production deployments.