Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I fix the problem with the Storage Directory Permissions reported by the Upgrade Wizard?

0
Posted

How can I fix the problem with the Storage Directory Permissions reported by the Upgrade Wizard?

0

We check the filesystem permissions of your storage folder before we start the actual upgrade process. There are three common reasons that make this system check fail: • There is no versions.dat file in your storage folder. Fix: Create a versions.dat file in the storage folder. • [[Gallery:#How_can_I_fix_the_filesystem_permissions_of_the_Gallery_storage_folder.3F|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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123