I get the following warning and can't upgrade the module to 7.x.1.2 from 7.x.1.1.

google_analytics
•Error installing / updating
•File Transfer failed, reason: Cannot create directory /public_html/sites/all/modules/google_analytics

Has anyone else had this issue? How do I fix this so I can upgrade?

Comments

hass’s picture

Title: unable to upgrade to 7.x.1.2 » Error installing / updating: Cannot create directory
Project: Google Analytics » Drupal core
Version: 7.x-1.1 » 7.x-dev
Component: Code » update.module
Category: bug » support
Scott M. Sanders’s picture

Version: 7.x-dev » 7.0
Issue tags: +install

Following.

bfroehle’s picture

xmishka’s picture

Try 'chown -R apache sites' or 'chown -R www-data sites'. It fixed a lot of issues for me.

Scott M. Sanders’s picture

Issue tags: +update

You're right -- I did chown -R www-data:www-data drupal, now I can update in Drupal. Thanks!

jesmarquez’s picture

Thanks, i changed owner, i did with chown -R apache:apache /site