Here’s a look at the common advice regarding extensions during an upgrade, weighing the pros and cons to help you decide what's best for your board:
Option 1: Disable All Non-Core Extensions
- Pros:
- Minimizes Conflicts: This is the safest approach. By disabling all extensions, you ensure that the upgrade process only deals with the core phpBB files and database structure. If the upgrade completes successfully, you know any subsequent issues are likely extension-related, not core-related.
- Easier Troubleshooting: If you encounter errors during or after the upgrade, you've immediately narrowed down the potential causes significantly.
- Quick Re-enablement: Most well-coded extensions, including all dmzx extensions, can simply be re-enabled after the upgrade via ACP → Customise → Manage extensions without needing to reinstall.
- Cons:
- Temporary Feature Loss: Your users will temporarily lose access to extension-provided features (like mChat, Download System, or Ultimate Points) during the upgrade window.
- Manual Steps: It requires you to go through ACP → Customise → Manage extensions and disable each one individually, then re-enable them later.
- Pros:
- Cleaner Database: Removing an extension (rather than just disabling it) typically cleans up its database tables and configuration entries. This keeps your board's database lean and free of clutter from old, unused features. For example, if you're no longer tracking specific user activity, removing Who is Where or Who Visited This Topic would be beneficial.
- Reduced Attack Surface: Every active or even just installed extension is a potential vector for security issues if not maintained. Removing unneeded ones is good security practice.
- Improved Performance: Less code to load and fewer database queries generally lead to a snappier board.
- Cons:
- Data Loss: Removing an extension often means losing any data associated with it. If you remove the Download System, for instance, all your uploaded files and download statistics will be gone. Always back up your database and files before removing anything!
- Irreversible: Once removed, you can't just re-enable it; you'd have to reinstall it from scratch, which might not be possible if you no longer have the extension files or if it's no longer compatible with the new phpBB version.
My strong recommendation is to disable all non-core extensions before a major phpBB upgrade. This gives you the best balance of safety and recoverability. Once the core upgrade is complete and your board is stable, you can then selectively re-enable your dmzx extensions and others, testing each one as you go. This approach isolates potential issues and makes the entire process far less stressful.
When to Remove:
Only consider full removal for extensions you are absolutely certain you will never use again and whose associated data you don't need to retain. If you've been running a board for years, you might find some old, unmaintained extensions lurking in your ACP → Customise → Manage extensions list that are prime candidates for removal.
What's your usual strategy for handling extensions when preparing for a major phpBB upgrade?
