Update manager sometimes can't install modules using FTP due to file ownership issues

Created on 3 May 2016, over 8 years ago
Updated 21 September 2024, 2 months ago

Problem/Motivation

In 2010 #842620: Update manager can't install modules using FTP due broken FileTransferAuthorizeForm β†’ was opened. This issue has changed focus to fix a bug in Drupal 8. The bug report was:

I'm testing the latest HEAD on a Ubuntu server, and I've tried installing Views by pasting the url into the update manager.
After I input my ftp info (which btw, it doesn't ask for in my Windows install?), it downloads the file, but fails in the end with the message:

# Failed: Error installing / updating
# Failed: File Transfer failed, reason: Cannot create directory /home/bojan/public_html/drupal/sites/all/modules/views

The modules/ dir is chmoded 777. The owner is my user, "bojan".

What could be the problem? Might be good to have a note in the documentation...

NOTE: A very similar problem can be caused by a host configuration error on your file permissions and/or ownership. However, in rare circumstances, it can also happen when all the permissions and ownership appear to be correct. The root cause of this bug has not been found.

If you are having this problem, please read through this issue and fix any permission/ownership issues you find. If that doesn't fix the problem, then report any troubleshooting information you have. Don't bother to report that fixing permission problems solved the issue for you.

Proposed resolution

Find the root cause of the bug. After reading all of the comments on the original issue we still don't have a solution.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: cannot reproduce

Version

11.0 πŸ”₯

Component
UpdateΒ  β†’

Last updated 2 days ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @tedbow
  • πŸ‡ΊπŸ‡ΈUnited States @dww
Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    Is this still a problem? There hasn't been any further reports of the problem, that is, that file ownership is correct but file transfer fails in the 7 years this has been open.

    Before investigating we need to know that the problem still exists and the steps to reproduce.

    Since we need more information to move forward with this issue, I am setting the status to Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    There have been no reports that the problem still exists since this was opened, therefore closing.

    If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

    Thanks!

  • Status changed to Closed: cannot reproduce 2 months ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone
Production build 0.71.5 2024