Webmastersite.net
Register Log In

Errors in Autoupgrade

Comments on Errors in Autoupgrade

emmeten
Member

Usergroup: Customer
Joined: Nov 17, 2008

Total Topics: 14
Total Comments: 35
emmeten
Posted May 20, 2009 - 12:08 AM:

Hello!

Since upgrading to 5.0.46, and then 5.0.47, I'm getting the following errors:

_____
An error occoured at www.photographydirectory.or....org/admin/autoupgrade.php on 2009-05-20 06:56:11. Please relay this data to support. Error #2: 'ftp_chmod() [function.ftp-chmod]: CHMOD 777 temp: Operation not permitted' in /var/www/vhosts/photographydirectory.org/httpdocs/includes/f ilefunctions.php on line 162.

Step 1 of backtrace:
File: /var/www/vhosts/photographydirectory.org/httpdocs/includes/f ilefunctions.php
Line: 162
Function: ftp_chmod
Arguments: Resource id #30 511 temp

Step 2 of backtrace:
File: /var/www/vhosts/photographydirectory.org/httpdocs/includes/f ilefunctions.php
Line: 553
Function: ftpchmod
Arguments: ../temp 777

Step 3 of backtrace:
File: /var/www/vhosts/photographydirectory.org/httpdocs/includes/f ilefunctions.php
Line: 540
Function: chmoddirectoryfor
Arguments: ../temp/current.tar.gz
____

Even though I didn't test the whole site, it anyway seems to work correctly.
Could you please check?

Thanks
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 20, 2009 - 9:27 AM:

Who's the owner of your /temp/ subdirectory of where you've installed WSN (is it your ftp user, or 99/apache), and what's the chmod value on it?
emmeten
Member

Usergroup: Customer
Joined: Nov 17, 2008

Total Topics: 14
Total Comments: 35
emmeten
Posted May 20, 2009 - 11:39 PM:

The owner is apache and the chmod is 777
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 23, 2009 - 10:29 AM:

Well, it says the FTP user you've supplied doesn't have permission to chmod the directory to 777.
emmeten
Member

Usergroup: Customer
Joined: Nov 17, 2008

Total Topics: 14
Total Comments: 35
emmeten
Posted May 23, 2009 - 11:54 PM:

Ok, but I'm not an expert, what can I do in this case? Can I continue to use and update the directory without problems or sooner or later the site will not work?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 25, 2009 - 12:05 PM:

If it really hadn't been able to write to the temp directory, it wouldn't be able to start the upgrade process and would still show you as being on the previous version number. So I guess it must be some sort of situation where it tried to chmod the directory via FTP even though it was already owned by apache and so didn't need chmoding. In that case, there's no problem. I just don't see how the situation arises.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.