In the case of upgrade script fails we have to restore database, fix the error, and re-run the upgrade script. I am wondering if we will also have to restore directory below?
; Complete path to directory to store uploaded files
; (This directory should not be directly web-accessible)
; Windows users should use forward slashes
files_dir = /data/production
Most upgrades do not change the contents of the files_dir files directory, but some do. For example, any upgrade from OJS 3.2.x to 3.3.x will rearrange the contents of the files directory. The safest approach will be to take a complete backup before running an upgrade, and restore it fully before trying again if you encounter a problem.
Regards,
Alec Smecher
Public Knowledge Project Team