Skip to content

Upgrading & Uninstalling

ProcessReactExportProfile creates zero custom database tables and zero templates or fields. Exported profiles and metadata live in its dedicated backup storage directory alongside reusable JSON presets in site/profiles/.

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-react-export-profile
    php vendor/bin/wire module:refresh
  1. Remove any ProcessReactExportProfile::collectContributors hooks from site/ready.php if you no longer use them.

  2. Uninstall the module from Modules -> Site -> ProcessReactExportProfile -> Uninstall or via CLI:

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

    Terminal window
    composer remove trk/processwire-react-export-profile

What ___uninstall() Cleans Up Automatically

Section titled “What ___uninstall() Cleans Up Automatically”
  • Deletes the module’s exported profile backup storage directory.
  • Deletes the react-export-profile-audit log channel.
  • Clears cached pre-flight audit entries in WireCache.
  • Removes all 4 RBAC permissions (react-export-profile, react-export-profile-run, react-export-profile-download, react-export-profile-delete).

Next steps