Series: CiviCRM Upgrade Oddities
CiviCRM has its own unique and well-documented procedure for applying upgrades. There are good reasons for that, including the fact that CiviCRM is designed to run equally well in WordPress, Drupal, Joomla!, BackdropCMS, and as a standalone site.
Good reasons aside, it can still take some getting used to. And that includes some surprising nuances you might not think about until you run into them.
Below is a collection of emails from my Daily Emails list, covering what I call “Upgrade Oddities”, in which I unpacked a series of those nuances and offer my best guidance on how to handle them.
If you expect to be upgrading CiviCRM yourself, these are worth reviewing first.
2. Backups
One of the first and most important steps in a CiviCRM upgrade is to make sure you have a backup of your entire site. But this can be a fairly technical task for a non-technical site owner to undertake.
1. The sandbox site
CiviCRM's upgrade documentation instructs you to test your upgrade first on a copy of the live site, and only after that to actually upgrade the live site. Your average non-technical site owner will not be able to create a working copy of their live site without professional help.
So is this a step you can skip?
3. File overrides
One of the best things about CiviCRM is that it's customizable — you can modify it in just about any way you want.
But this great and wonderful thing can make your upgrades awful and painful, if your customizations rely on custom file overrides of PHP or Smarty *.tpl files. This is an officially supported but lightly documented way to customize CiviCRM behavior. It’s falling out of favor for all the reasons I mention here, but it still might affect you.
4. Extension compatibility
Are you sure that all of your installed extensions are fully compatible the upgraded CiviCRM version?
5. Message template mods
You’re probably familiar with Message Templates in CiviCRM. They’re CiviCRM’s way of providing you with customizable and re-usable content to place into emails such as contribution receipts, event confirmations, and more.
What you might not know is that customizing these templates — while very useful for your communications strategy — can create a nasty headache when upgrading CiviCRM.
6. Kooky extra steps
Upgrading CiviCRM can sometimes require some unusual and very technical extra steps, such as performing SQL queries directly in MySQL, editing of PHP files, or other tasks typically handled by a developer.
But you probbaly won’t even be aware of them until you're in the middle of an upgrade — which can leave you felling a little "stuck".
Bonus: Joomla wierdness
If you’re running CiviCRM under Joomla, you should be aware of an oddity in CiviCRM upgrades that happens specifically under Joomla:
Sometimes the upgrade should have removed some old files, but it does not. This can lead to serious problems:
An upgrade that can’t complete, requiring you to revert to backups.
Unpredictable errors such as “file not found” and “Call to undefined method”.
Upgrading CiviCRM
A CiviCRM upgrade “should be” straightforward. But too often it's plagued by problems that simply flummox non-technical site owners.
The email series above aims to prepare you, as a non-technical site owner, to handle the surprises that may come up during your next upgrade of CiviCRM.
Depending on your appetite for adventure, these are all things you can master.
But it can help to know ahead of time what you might be getting yourself into.
And if you want some professional help — whether to build your own in-house expertise or just to have someone do it for you — please reach out: allen@joineryhq.com. I read every inbound email personally, and we’ll discuss your needs clearly before any billable work is done.
I'm on a mission to make it easy for non-technical site owners to master and maintain CiviCRM. If you need help with that, I want to hear from you.
“I just wanted to let you know how much I enjoy your emails. You have an amazing knack for explaining tech topics so that non-tech people can easily understand them and make it interesting to read. The personal touch of storytelling shows your ability to connect with people. It is a skill you rarely see anymore in this day and age.”
— Fiona Williams, Sacred Art of Living Center

