Upgrading & Uninstalling
Upgrading Entries
Section titled “Upgrading Entries”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-entriesphp vendor/bin/wire module:refreshphp vendor/bin/wire entries:doctor --json
- Open Setup -> Upgrades (with
ProcessWireUpgrade) or navigate to Modules -> New and use Add Module from Directory (Entries), 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/Entries/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 Entries
Section titled “Uninstalling Entries”-
Export a backup archive
Terminal window php vendor/bin/wire entries:export backups/entries-final-backup.zip --format=zip --include-tables -
Remove
FieldtypeEntriesfields from templatesDelete or reassign any ProcessWire fields that use
FieldtypeEntriesunder Setup -> Fields before uninstalling the module. -
Uninstall dependent modules first
If other
trk/modules that requireEntries(such asBlocks,Forms,Seo, orCampaign) are installed, uninstall them first. -
Uninstall
EntriesOpen Modules -> Entries -> Uninstall, or run:
Terminal window php vendor/bin/wire module:uninstall --name=Entries --json
What stays untouched
Section titled “What stays untouched”Uninstalling never deletes your YAML or PHP blueprint files inside site/entries/. Your schema definitions remain safely in Git if you reinstall later.