"Run Chown -R" install problem

MattBergholm

Joined: 2006-07-24
Posts: 5
Posted: Mon, 2007-05-07 22:40

I am trying to install a multi site gallery but I get this error when doing the system checks.

Error: Some files and or directories in your storage directory are not
writeable by the webserver user. Run chown -R webserverUser
/home/preci32/public_html/gallery2/g2data/ OR run chmod -R 777
/home/preci32/public_html/gallery2/g2data/.

Now the permissions on that folder are 777 but it still doesn't work. any ideas?

Thanks,
Matt

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-05-07 23:28
 
physiokinetic

Joined: 2009-02-05
Posts: 1
Posted: Thu, 2009-02-05 06:42

I am experiencing the same problem. I am trying to upgrade gallery, but it fails on the system checks.

"Error: Some files and or directories in your storage directory are not writeable by the webserver user. Run chown -R webserverUser /home/.sublime/physiokinetic/viradical.com/gallery2/g2data/ OR run chmod -R 777 /home/.sublime/physiokinetic/viradical.com/gallery2/g2data/."
I clicked the plus icon and it listed a single directory that is not accessible: /home/.sublime/physiokinetic/viradical.com/gallery2/g2data/

I have gone through the link that Valiant posted, but have not had success. The link goes to documentation that offers 3 suggestions:

"There is no versions.dat file in your storage folder. Fix: Create a versions.dat file in the storage folder."
-I made sure there is a versions.dat file in my viradical.com/gallery2/ folder.

"How can I fix the filesystem permissions of the Gallery storage folder?"
-This sentence links to the following advice:
"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."
-Done, not helping.

"You can also try to change the permissions to 777 (read & writeable for everyone) with your FTP program."
-Done, gallery2/g2data has been changed to 777, not helping.

"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."
-I started with Gallery 2.3, and the path is absolute.

"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)."

I am not very familiar with 'chmod' terminology. What do I need to tell Dreamhost? Do I tell them, 'please change my filesystem permissions recursively to chmod -R 777 g2data?' My site is www.viradical.com. If you can offer me any more suggestions I would greatly appreciate it. Thank you.

Edit: I just found out that Dreamhost transferred my hosting to a more secure server. I assume this isn't the problem, otherwise I wouldn't even see the updater page (right?) but I thought I'd mention it just in case.