Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8588

Drupal auto-installation confused by sourceforge mirroring

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 3.4.5
    • Component/s: None
    • Labels:
      None

      Description

      I've just tried the instructions at http://wiki.civicrm.org/confluence/display/CRMDOC40/Drupal+Installation+Guide+for+CiviCRM+4.0 and got an error in step 3:

      Cannot extract temporary://update-cache-b0d4a476/download, not a valid archive.

      if I do a wget on the command line using the same url in the documentation, I see that there is some redirection going on that seems to confuse Drupal:

      1. wget http://sourceforge.net/projects/civicrm/files/civicrm-stable/4.0.4/civicrm-4.0.4-drupal.tar.gz/download
        -2011-07-29 10:26:59- http://sourceforge.net/projects/civicrm/files/civicrm-stable/4.0.4/civicrm-4.0.4-drupal.tar.gz/download
        Resolving sourceforge.net... 216.34.181.60
        Connecting to sourceforge.net|216.34.181.60|:80... connected.
        HTTP request sent, awaiting response... 302 Found
        Location: http://downloads.sourceforge.net/project/civicrm/civicrm-stable/4.0.4/civicrm-4.0.4-drupal.tar.gz?r=&ts=1311953272&use_mirror=surfnet [following]
        -2011-07-29 10:26:59- http://downloads.sourceforge.net/project/civicrm/civicrm-stable/4.0.4/civicrm-4.0.4-drupal.tar.gz?r=&ts=1311953272&use_mirror=surfnet
        Resolving downloads.sourceforge.net... 216.34.181.59
        Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
        HTTP request sent, awaiting response... 302 Found
        Location: http://surfnet.dl.sourceforge.net/project/civicrm/civicrm-stable/4.0.4/civicrm-4.0.4-drupal.tar.gz [following]
        -2011-07-29 10:26:59- http://surfnet.dl.sourceforge.net/project/civicrm/civicrm-stable/4.0.4/civicrm-4.0.4-drupal.tar.gz
        Resolving surfnet.dl.sourceforge.net... 130.59.138.21, 2001:620:0:1b::21
        Connecting to surfnet.dl.sourceforge.net|130.59.138.21|:80... connected.
        HTTP request sent, awaiting response... 200 OK
        Length: 10432935 (9.9M) [application/x-gzip]
        Saving to: `civicrm-4.0.4-drupal.tar.gz'

      100%[====================================================================>] 10,432,935 2.84M/s in 3.5s

      2011-07-29 10:27:03 (2.84 MB/s) - `civicrm-4.0.4-drupal.tar.gz' saved [10432935/10432935]

      #

      If I use the resolved url in drupal - http://downloads.sourceforge.net/project/civicrm/civicrm-stable/4.0.4/civicrm-4.0.4-drupal.tar.gz?r=&ts=1311953272&use_mirror=surfnet - then Drupal can figure it out fine.

      I'm not sure if there is a way for folks to get the correct url, or if the documentation should be changed to having people download to local drive and then installing from there using the other Drupal option.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              joemurray Joe Murray
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: