"Upgrading Users..." Failure - 1.4.2
k3vbot
Joined: 2004-02-16
Posts: 11 |
Posted: Mon, 2004-02-16 03:23 |
I just upgraded to Gallery 1.4.2. Follow all of the steps, and config works. I go to continue, to the upgrading users part, and I am getting these errors: Warning: fopen(/home/team/public_html/kevingallery/albums/.users/userdb.dat.lock): failed to open stream: Permission denied in /home/team/public_html/kevingallery/platform/fs_unix.php on line 55 Checking user 1 of 5 . . . . Warning: rename(/home/team/public_html/kevingallery/albums/.users/1065667020:2046740953.lock,/home/team/public_html/kevingallery/albums/.users/1065667020_2046740953.lock): Permission denied in /home/team/public_html/kevingallery/platform/fs_unix.php on line 75 Warning: fopen(/home/team/public_html/kevingallery/albums/.users/1065667020_2046740953.lock): failed to open stream: Permission denied in /home/team/public_html/kevingallery/platform/fs_unix.php on line 55 Warning: rename(/home/team/public_html/kevingallery/albums/.users/1065667977:119528239.lock,/home/team/public_html/kevingallery/albums/.users/1065667977_119528239.lock): Permission denied in /home/team/public_html/kevingallery/platform/fs_unix.php on line 75 Warning: fopen(/home/team/public_html/kevingallery/albums/.users/1065667977_119528239.lock): failed to open stream: Permission denied in /home/team/public_html/kevingallery/platform/fs_unix.php on line 55 Error: There was a problem upgrading users. Please check messages above, and try again ---- |
|
Posts: 660
k3vbot, this sounds like FAQ Gallery:c.15
Posts: 11
Thanks for the response... that looks like it could be it, but when I try to CHMOD albums and the folders inside it to 777, I get an error saying "Operation not permitted." How do I fix this?
Posts: 11
Emailed my support and got this response:
We have enabled some additional security measures which no longer allow the user 'nobody' to write to the /tmp directory (PHP suEXEC Support).
There have been several hacking attempts on our servers recently and we had to implement this measure
CPanel now also runs an automated process nightly, which checks for insecure permissions.
Last night it made the following changes:
Fixing permissions on /home/team/public_html/kevingallery/setup....Done
(chmod 777 means that anyone on the server can read the contents of the
directory)
It should be possible for your scripts to function even with the more secure settings.
Posts: 1
Rerun the config and on the first page near the bottom turn the "Use Flock()" option to no. With this and the 777 chmod you should be o.k.
Posts: 10
Are you using a hostroute or myqth ?
I just started having this problem too. Also did this solve your problem?
Posts: 11
Sorry, I am a bit nubbish and learn as I go... I don't know what either of those are. My problem still has not been resolved. I don't know what I am supposed to do.
Posts: 8194
You may need to ask your host to either 1) chmod your album directory 777 or, if they are still paranoid about 777, 2) chown the album directory and all contents (recursively) to the web server user.
Posts: 11
Thank you, joyoflinux. I will e-mail them and see if they will help me out.