FTP error while updating a module

Posted on 2012-08-26
Last Modified: 2012-09-11
Hi, i am new to drupal. I managed to get drupal7 up and running and updated to 7.15 but having problems with a module. apparently the sites were installed to /etc/drupal/7/ by default on my ubuntu box. i don't recall being asked about that. seems like a weird spot. anyway,even though I set the user for that folder and subfolders to the same user as I did for /usr/share/drupa7/ and that ftp user acount can write to it when I do a test with an ftp client logged in as that user, the Drupal update page won't let me update.


Error message:
Update failed! See the log below for more information. Your site is still in maintenance mode.


Error installing / updating
File Transfer failed, reason: /etc/drupal/7/sites/all/modules/views/D7UPGRADE.txt is outside of the /usr/share/drupal7

Question by:StellerSystems
    LVL 17

    Expert Comment

    You have more than one site? And are these sites already up and running or are you still in development? Can you move the files to the correct path? Is there something in the .htaccess file that points the files to etc/drupal7?
    LVL 1

    Author Comment

    I just have one drupal site. The site is in development. Currently no actual content other than the drupal modules. when you say correct path you mean /usr/share/drupal7/ ? what is incorrect about /etc/drupal/7/ ? that is where drupal7 wanted the sites folder. I am unsure what the .htaccess file has to do with ftp?
    LVL 5

    Accepted Solution

    FTP user path is  /usr/share/drupal7 but the site content is under "/etc/drupal/7/sites".
    Ftp user not having permission to write in directory /etc/drupal/7/.
    Either you should manually move files from FTP directory to /etc folder, or by having root access on the server.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now