Upgrading & Uninstalling
ProcessWireConsole operates on top of your existing trk/processwire-console tables (wire_migrations, queue_jobs, failed_jobs) and never drops your application’s migration or queue data when uninstalled.
Upgrading WireConsole
Section titled “Upgrading WireConsole”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-wireconsolephp vendor/bin/wire module:refresh
- Open Setup -> Upgrades (with
ProcessWireUpgrade) or navigate to Modules -> New and use Add Module from Directory (ProcessWireConsole), 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/WireConsole/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 WireConsole
Section titled “Uninstalling WireConsole”-
Uninstall
ProcessWireConsolefrom Modules -> Site -> ProcessWireConsole -> Uninstall or via CLI:Terminal window php vendor/bin/wire module:uninstall ProcessWireConsole -
Remove the Composer package (optional):
Terminal window composer remove trk/processwire-wireconsole
What ProcessWireConsole::___uninstall() Cleans Up Automatically
Section titled “What ProcessWireConsole::___uninstall() Cleans Up Automatically”- Detaches
Reactworkspace ('console'), widget ('console-overview'), and Command Palette ('wire-console') registrations. - Deletes the
wire-console-auditlog channel. - Clears
wire-console*entries fromWireCache. - Removes all 9
wire-console*RBAC permissions. - Leaves your
site/migrations/,site/queue/,site/seeders/,site/schedule/,site/assets/backups/database/, andtrk/processwire-consoleCLI binary completely untouched.