Upgrading to PaperCut v20 from (really) old versions
Along with a host of impressive features, any new release of PaperCut MF also brings with it the inevitable influx of emails asking about upgrades…
“My customer is running v14 and wants to move to version 20, it is ok to install over the top?“
“Is it safe to upgrade from v16 to the new version 20.0.2?”
With speed and confidence (the way we roll around these parts) the answer is yes… go for it, just be sure you’ve made a backup first! 🙂
But when you start to look into the finer details, annoyingly it soon gets tricky. This is our little list of things to think about when upgrading PaperCut MF.
Upgrading PaperCut when there’s lots of old data
If we take the example of a customer running v14 wanting to upgrade, they could have six years of data stored in the database. The more data, the more time needed for the upgrade to complete. Now, you can easily remove old data by heading over to the Options/Backups tab within the Admin UI. One suggestion here is to take a backup and then set it so that you only keep the last year’s worth of data. This will make the upgrade process quicker.
Pro Tip: It might be worth running some reports on the old data before you remove it. Save the reports somewhere safe, otherwise you will have to spin up an old version of PaperCut to restore the database to if you need access to the information again.
One worry we might express would be the health of the database. If your database has been running for six years we have no idea what it’s been through in the last 2,000 days, for example, it may have suffered from:
- Power cuts causing the server to suffer from a rude interruption of its normal service.
- Hardware or software faults causing restarts or read/write IO issues.
- Or (and most often) maybe you ran out of disk space and didn’t notice until it was too late. You got any idea how upset a database can get when it tries to add data but finds no more room at the inn?
The above may have impacted the health of the database. Everything might look like it’s running ok (and for the most part it is) but maybe clicking a link in the Admin UI generates an error you don’t know, as you’ve never clicked it before. In short, any database has the chance of being corrupt if it is rudely interrupted while writing to its data store. Don’t lose sleep over this, very few upgrades fail.
It’s wise to remember PaperCut sometimes adds new fields or tables into the database to support new features, that this adds to the time for the upgrade and factor that into any upgrade plans.
EOL
Nope, not the guys that sang Mr. Blue Sky, we mean end-of-life software. That server you are upgrading might have been set up a long time before PaperCut was installed and a lot has changed since then.
So before you upgrade PaperCut, check that the server OS and database are not end-of-life. Your Debian 7 or Windows 2008 server might not be supported anymore by PaperCut (or the vendor). Or perhaps Microsoft stopped supporting that SQL server version you have PaperCut running on. Either way, this might lead to a bunch of extra work for you (sorry!), but it is wise to work out beforehand if this is going to be a blocker.
Upgrading PaperCut when you’re running 32-Bit software
Speaking of old software…
The more bits the better, right? Well, more than likely if you have not touched PaperCut since v14 your customer might have some servers or workstations using 32bit operating systems. PaperCut made the jump to OpenJDK v11 in 2019, and that won’t run on 32bit systems. So before you upgrade check what they have… they might have a 2008 server or some Windows 7 clients they wish to use with PaperCut MF. If that’s the case, get in touch with our friendly support team who can assist you in working around this issue.
Payment Gateways
Check if the customer is using online payments. PaperCut MF version 16.1 and below are not compatible with the current PaperCut Payment Gateway Module. The installer for PaperCut MF will generally warn you during the upgrade about any gateways. You will need to install a new version of the gateway module after you have upgraded to the current release.
Devices
Last of all – are those devices they have still supported? Embedded platforms may have moved on since their last upgrade… PaperCut will end-of-life older (less secure or clunky) models. Chances are the lease is up anyway – time to discuss modernising the fleet? With security being vital, they have a self-interest in remaining compliant with the latest regulations.
TL: DR
Go for it – if it’s super old, take a backup and do it in stages. If it’s going to go wrong, it will. 🙂