Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
hass CreditAttribution: hass commentedComment #2
Scott M. Sanders CreditAttribution: Scott M. Sanders commentedFollowing.
Comment #3
bfroehle CreditAttribution: bfroehle commentedDuplicate of #842620: Update manager can't install modules using FTP due broken FileTransferAuthorizeForm.
Comment #4
xmishka CreditAttribution: xmishka commentedTry 'chown -R apache sites' or 'chown -R www-data sites'. It fixed a lot of issues for me.
Comment #5
Scott M. Sanders CreditAttribution: Scott M. Sanders commentedYou're right -- I did
chown -R www-data:www-data drupal
, now I can update in Drupal. Thanks!Comment #6
jesmarquez CreditAttribution: jesmarquez commentedThanks, i changed owner, i did with chown -R apache:apache /site