It is wise to update our OpenCart environment to the latest version regularly. It protects our system against security vulnerabilities and allows us to use new features. It is also possible that the new OpenCart version will have several bug fixes.
Moreover, new versions can have new bugs. Because of this, it is a common practice to wait while a version with major changes matures and gets rid of serious bugs with minor release fixes.
In this chapter we shall learn about:
Making a backup of current OpenCart system
Downloading the latest OpenCart version
Uploading the new files to a server
Running the upgrade script
Checking whether everything works as expected or not
Restoring the OpenCart system if an upgrade fails or has serious problems
This chapter is suggested reading even for an experienced user. It will show us any possible problems that might occur while upgrading, so we can avoid them.
Making backups of the current OpenCart system
One thing we should certainly do is backup our files and database before starting any upgrade process. This will allow us to restore the OpenCart system if the upgrade fails and if we cannot solve the reason behind it.