I have installed drupal 7 number of times and after installation I got this error on the updates page:

Warning: fileowner() [function.fileowner]: stat failed for temporary://update_IZzBRJ in update_manager_local_transfers_allowed() (line 912 of /var/www/vhosts/mysite.com/httpdocs/modules/update/update.manager.inc).

Does anyone know how to resolve this?

Also cannot upload themes using either the drupal ftp link or downloading the files locally and then uploading.

Warning: fileowner() [function.fileowner]: stat failed for temporary://update_DZ3TZ7 in update_manager_local_transfers_allowed() (line 912 of /var/www/vhosts/mysite.com/httpdocs/modules/update/update.manager.inc).
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access temporary://fourseasons-7.x-1.x-dev.tar.gz in drupal_move_uploaded_file() (line 1599 of /var/www/vhosts/mystie.com/httpdocs/includes/file.inc).
File upload error. Could not move uploaded file.
Warning: fileowner() [function.fileowner]: stat failed for temporary://update_6ahF5N in update_manager_local_transfers_allowed() (line 912 of /var/www/vhosts/mystie.com/httpdocs/modules/update/update.manager.inc).

Comments

vm’s picture

See: http://drupal.org/node/1284886 which the last comment discusses a missing tmp folder. Is there a tmp folder on your server?

cabplan’s picture

what folder does this tmp folder need to be in the drupal files?

vm’s picture

it's not. It's typically one folder up from the root.

If you want to change the path to it, its setting is in administer -> file system

cabplan’s picture

its in the site/default/files the tmp folder needs to go in there

vm’s picture

actually it doesn't NEED to go in there. Drupal's default path shouldn't need to be changed.

You have to make sure perms on the folder are correct.

cabplan’s picture

Yeah I am having trouble still uploading modules, I am getting this error:

http://ftp.drupal.org/files/projects/views-7.x-3.0-rc3.tar.gz could not be saved to temporary://update-cache-08265c12/views-7.x-3.0-rc3.tar.gz.
Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/views-7.x-3.0-rc3.tar.gz.

does anyone know if this is related, I am not understanding where this tmp folder needs to be? I never had to do this in the past.

vm’s picture

what are the server level permissions on the tmp folder?

cabplan’s picture

my tmp folder is in the /sites/default/files folder and the permissions are set to 777 which I figured lets it write to it, is that what I need?

vm’s picture

seems you will need to chime in on http://drupal.org/node/1108870 which is an already created issue against the update.module

However, 7.x-dev should be tested and the issue moved to the 7.x-dev core if confirmed to still exist in -dev and that it hasn't already been fixed.

frazras’s picture

Check your tmp file location to ensure it is writable here (D7) admin/config/media/file-system

"I would rule the world - If only I had the source code"
R.A.Smith -- "ƒrÅzRâ§"
http://www.exterbox.com