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/.
Upgrading ProcessReactExportProfile
Section titled “Upgrading ProcessReactExportProfile”Always take a database backup (php vendor/bin/wire db:backup) before upgrading in production.
-
Update the package and refresh modules so ProcessWire runs
___upgrade()automatically:Terminal window composer update trk/processwire-react-export-profilephp vendor/bin/wire module:refresh
- Open Setup -> Upgrades (with
ProcessWireUpgrade) or navigate to Modules -> New and use Add Module from Directory (ProcessReactExportProfile), Add Module from URL, or Add Module from Upload (ZIP archive) to replace the module files. - Click Modules -> Refresh so ProcessWire detects the new version and executes
___upgrade()automatically.
- Replace
site/modules/ProcessReactExportProfile/with the new release directory. - Open Modules -> Refresh in the ProcessWire Admin (or run
php vendor/bin/wire module:refresh) so___upgrade()executes cleanly.
Uninstalling ProcessReactExportProfile
Section titled “Uninstalling ProcessReactExportProfile”-
Remove any
ProcessReactExportProfile::collectContributorshooks fromsite/ready.phpif you no longer use them. -
Uninstall the module from Modules -> Site -> ProcessReactExportProfile -> Uninstall or via CLI:
Terminal window php vendor/bin/wire module:uninstall ProcessReactExportProfile -
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-auditlog 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).