Skip to content

Upgrading & Uninstalling

Charter stores all fleet, pricing, inquiry, and booking data inside its 26 Entries blueprints (zero custom SQL tables).

Always take a database backup (php vendor/bin/wire db:backup) before upgrading in production.

  1. Update the package and refresh modules so ProcessWire runs ___upgrade() automatically:

    Terminal window
    composer update trk/processwire-charter
    php vendor/bin/wire module:refresh
    php vendor/bin/wire charter:doctor --json
  1. Remove $wire->charter / Charter::requireInstance() calls from your site/templates/ and any Charter::resolveBlueprint hooks from site/ready.php.

  2. Uninstall ProcessCharter and Charter:

    Terminal window
    php vendor/bin/wire module:uninstall ProcessCharter
    php vendor/bin/wire module:uninstall Charter
  3. Remove the Composer package (optional):

    Terminal window
    composer remove trk/processwire-charter

What Charter::___uninstall() Cleans Up Automatically

Section titled “What Charter::___uninstall() Cleans Up Automatically”
  • Detaches optional sibling integrations (including Integration\Ai\Integration::detach() and URL prefix registrations).
  • Purges Charter blueprint schemas and clears Charter.HoldNotice / Charter.AiInquiry caches.
  • Removes the 3 RBAC permissions (charter-admin, charter-manage, charter-view).
  • Preserves shared Contacts records and Currency exchange rates used by other modules.

Next steps