I get the following error when I try to update.

• Error installing / updating
• File Transfer failed, reason: Cannot remove directory /webpages/urbanfarms/drupal/sites/all/modules/ctools\plugins\content_types.

Something is locking the file and directories to read only. I can stop and start MySql and the web server and the files and directories are released, but when I try to update Chaos Tools the error recurs. I can repeat the error.

Tony

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

Unfortunately, modules have no control over the process of update manager. You'll have to file this against core.

One tip: You might try chmod -R 777 sites/all/modules/ctools -- that should give permission to remove and recreate the directory.

tonyr64786’s picture

Status: Closed (won't fix) » Active

I have reset all the permissions on the directory and files. I can and have updated several modules before and after the problem with the ctools update. It seems odd the problem would only occur with the ctools module and the problem would be isolated and repeatable. Do you still recommend filing against core?

tonyr64786’s picture

I was able to uninstall the previous version of ctools, delete the directory and files, then re-Install the newer version of ctools successfully.

merlinofchaos’s picture

Status: Active » Fixed

I'm glad you got it sorted.

If this had continued, yes I would've filed it against core. As I said, CTools has no control over file permissions of itself, and update manager module is a little flaky. :(

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

symphonia’s picture

Hi tonyr64786!
I have the same problem with ctools and views module too... I was wondering, it's ok to disable the module and then uploading the new one via ftp...? I mean, I won't have issue with the data in the db?

Thank you