Lots and lots of errors!

matthew_ellis24

Joined: 2005-12-03
Posts: 1
Posted: Sat, 2005-12-03 15:03

Things seemed to be going quite well. I upgraded fine, and then tried to migrate my albums, only one to start with, and things started going horribly wrong! It stalled, I went and made some lunch etc etc, came back and it had timed out, so I tried to access my gallery again...

Now for some reason my gallery has gone back to config mode, and is telling me my g2data dir is unaccessable:

Quote:
Error: Some files and or directories in your storage directory are not writeable by the webserver user. Run chown -R webserverUser /export/users/mbe/pages/g2data/ OR run chmod -R 777 /export/users/mbe/pages/g2data/.

Well it's there, and it's chmoded to 777. However I can't delete it, I get an error:

Quote:
Command 'cd "/var/autofs/newusers/mbe/Webdir/pages"'
failed with return code 0 and error message
rm: cannot remove `g2data/albums/Asia/Thailand/Thailand-Ayuthaya/Claire_in_stupa.jpg': Permission denied

and so on and so on and so on. So if I don't have permission to delete my own files...who on earth does? Any help very greatly appreciated.

Cheers
Matt


G2 URL (optional): http://www.tardis.ed.ac.uk/~mbe/gallery/
G2 version:
G1 URL (optional):
G1 version:
G1 character set:
PHP memory limit:
--
PHP version (e.g. 4.3.11):
PHPInfo Link (see FAQ): http://www.tardis.ed.ac.uk/~mbe/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache/1.3.33
Database (e.g. MySql 4.0.11): MySql 4.0.24
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): Linux davros 2.6.8-2-sparc64 #1 Fri Jun 10 00:38:40 UTC 2005 sparc64
Browser (e.g. Firefox 1.0): Firefox 1.0.7

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-12-04 20:00

i assume your g2 is new, nothing to lose.

i'd reinstall g2 and make sure the filesystem permissions are ok afterwards.

if you need to delete g2data:
http://codex.gallery2.org/index.php/Downloads:Cleanup_Script