I am unable to install modules to Drupal 7-rc3 via the the install feature. I get this message: "Unable to create directory 'temporary://update-extraction/module-name-here'" Any ideas on what's causing this?

Comments

traceelements’s picture

I changed the file path in Configuration > File System > Temporary Directory to home/MYUSERNAME/tmp and now the it works.

vallab444’s picture

Thanks, traceelements !

However, the module installation ended on an error page that said ' authorise filesystem changes'. When I went one page up, it showed that the module was installed successfully.

not sure if this happens the first time after the filesystem change..

cheers
-vallab

-Vallab

bruba’s picture

For hoster strato the simple addition of a tmp directory on the top level, where includes, misc, modules etc resides was sufficient.

betoguitars’s picture

I already made the tmp folder where you say but still I still get

Warning: curl_setopt_array(): Unable to create temporary file. in GuzzleHttp\Handler\CurlFactory->create() (line 59 of C:\Laragon\www\drupal-site\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php).

DanteMM’s picture

SiteGround is my host and I used Fantastico to install Drupal. I ran into this issue and this reply solved my problem.

allisonc’s picture

This worked for me. I'm using Dreamhost, so my path was /home/<username>/tmp/

overnxt’s picture

You need to know where TMP folder is or create it.

On Drupal 7 it is configure to /tmp, if you are using an web hosting service (like me, 1and1) you need to configure it to you local folder and change the path.(example for 1and1: /homepages/32/YOUR1AND1ACCOUT/htdocs/ANDHEREISYOURROOTFOLDER)

traceelements’s picture

Okay, thanks, overnxt, that worked!

fnikola’s picture

One needs to change the default tmp directory if using a shared hosting plan. I have altered for Blue Host.

NickWebman’s picture

You can find what your HOME path is by looking at cpanel in the left hand column near the bottom (not sure where it is in Plesk).

pardalman’s picture

I got the error when changing the user in Dreamhost for the domain.

I changed it to "./tmp" instead of "/tmp" and it worked for:
Drupal 7
Dreamhost

ericardez’s picture

worked for me too (greengeeks hosting)

crispin’s picture

Worked for me too

dularion’s picture

worked for me, too, thanks :)

kcegalis’s picture

Works on BlueHost as well.

julia woodman’s picture

Hi I am a complete novice and am struggling to understand what I need to do- I am trying to load the wysiwyg module in Drupal 7 and have received this message:

Cannot extract temporary://update-cache-d091481e/wysiwyg, not a valid archive.

But I do no know where to go to amend this

I look forward to your assistance with this - thanks

scott.browne’s picture

Same worked, with GreenGeeks too.