How can I fix the filesystem permissions of the Gallery storage folder?
• When installing Gallery, you maybe specified a relative instead of an absolute filesystem path for the storage directory. e.g. ‘data’, ‘./data’ or ‘../data/’ when you should actually have entered ‘/some/path/to/data/’ (Linux) or ‘c:\some\data’ (Windows). Since G2.1 we ensure that the path is stored as an absolute path, but if you are upgrading from an older versions you might have this issue. Fix: open config.php and change the data.gallery.base path to be an absolute path. Then run the system checks step again.
Usually you get either an ERROR_PLATFORM_FAILURE or the upgrade wizard reports that the filesystem permissions are wrong for your storage folder, i.e. it can’t write to all files and subfolders in that folder anymore. To fix the problem, you can try the Fix the storage folder (make it writeable) tool in http://example.com/gallery2/lib/support/ on the Filesystem Permissions page. (This tool was added in G2.1.1), older versions don’t have it. You can also try to change the permissions to 777 (read & writeable for everyone) with your FTP program. If all fails, please ask in the forum for help such that we can verify that it is indeed a filesystem permissions problem. If it actually is one, you’ll have to ask your webhost to change the filesystem permissions recursively for you (e.g. chmod -R 777 g2data).