Masterplan Optimiser

Operator Guide

MP-OPT Management Console

Use one guarded SSH interface for deployment, configuration, recovery, logs, and high availability instead of memorising Compose and database commands.

Open the console

VPS SSH

ssh deploy@VPS_ADDRESS
mp-opt

Run it only in an interactive SSH session. The launcher resolves the current repository, opens a full-screen terminal UI and keeps nested operations inside the main menu.

Menu areas

AreaUse it for
System overviewHealth, versions, disk space and recovery readiness.
Deploy and servicesPull/deploy, rebuild, start, stop, restart and service status.
ConfigurationSMTP, runtime limits, recovery recipient, database/application/VAPID rotation and domain changes.
Snapshots and recoveryCreate, verify, export, import, restore and delete encrypted recovery points.
Root administrator recoveryReset root authentication without deleting application data.
DatabaseStatistics, encrypted database snapshots, restore and guarded complete wipe.
High availabilityReplication, peer state, TLS, switchover, automatic failover and certification readiness.
LogsRecent, time-bounded or live backend, database and Caddy logs.
Maintenance and diagnosticsValidation, redacted diagnostics, audit-chain checks, recovery evidence and safe cache cleanup.

Safe operating patterns

  • Use View redacted configuration instead of printing .env.
  • Use the Logs menu; live logs stop cleanly and temporary viewer files are removed.
  • Use Validate Compose, Caddy, health and permissions after host changes.
  • Let destructive actions create and deep-verify their rollback snapshot before confirming.
  • In HA mode, disable automatic failover before restore, wipe, key consolidation or other long maintenance.

Updates in an HA pair

  1. Disable automatic failover from the current holder.
  2. Deploy the non-holder first.
  3. Deploy the holder.
  4. Require matching Git commits, healthy services and a fresh successful replication.
  5. Perform a planned switchover test before re-enabling automatic failover.