Results 1 to 8 of 8

Thread: problems using upgrate wizzard

  1. #1
    janislanka is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Lithuania
    Posts
    32

    Thumbs down problems using upgrate wizzard

    This issue is a an old issue. WHen I first installed Sugar and now after few months when I want to do some upgdates. Anyhow, I can't upgrade it!! When i go with the wizzard it shows:
    HTML Code:
    Warning: copy(/home/emotion/domains/emotion.lt/public_html/crm/./image.php): failed to open stream: Permission denied in /home/emotion/domains/emotion.lt/public_html/crm/modules/Administration/UpgradeWizard_commit.php on line 140
    Could not copy file cache/upload/upgrades/temp/dXVA79/SugarSuite-Patch-4.0.0/image.php to /home/emotion/domains/emotion.lt/public_html/crm/./image.php
    What should I do?

  2. #2
    Superman's Avatar
    Superman is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Kazakhstan
    Posts
    852

    Default Re: problems using upgrate wizzard

    Show manifest.php

  3. #3
    janislanka is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Lithuania
    Posts
    32

    Default Re: problems using upgrate wizzard

    Code:
    <?php
    // created: 2005-10-09 02:31:43
    $manifest = array (
      'acceptable_sugar_flavors' => 
      array (
        0 => 'OS',
      ),
      'acceptable_sugar_versions' => 
      array (
        'exact_matches' => 
        array (
        ),
        'regex_matches' => 
        array (
        ),
      ),
      'author' => 'SugarCRM, Inc.',
      'copy_files' => 
      array (
        'from_dir' => 'SugarSuite-Full-3.5.1a',
        'to_dir' => '',
        'force_copy' => 
        array (
        ),
      ),
      'description' => '',
      'icon' => '',
      'is_uninstallable' => false,
      'name' => 'SugarSuite',
      'published_date' => '2005-10-09 02:31:43',
      'type' => 'full',
      'version' => '3.5.1a',
    );
    ?>

  4. #4
    Superman's Avatar
    Superman is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Kazakhstan
    Posts
    852

    Default Re: problems using upgrate wizzard

    Let's clarify the situation.
    You go to Admin->Upgrade Wizard. Correct?

    As I used, the zip file which was uploaded contained manifest file that doesnt indicate 'copy_files' index.

  5. #5
    janislanka is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Lithuania
    Posts
    32

    Default Re: problems using upgrate wizzard

    Correct. I go to Admin -> Upgrade Wizard then click on Install (b/c I have uploaded zip file already) and it shows bunch of checkboxes to files that will be upgraded. The frist file with checkbox is alreayd what shows error. This is true to any patch. Liek this one :

    HTML Code:
    Warning: copy(/home/emotion/domains/emotion.lt/public_html/crm/./README.txt): failed to open stream: Permission denied in /home/emotion/domains/emotion.lt/public_html/crm/modules/Administration/UpgradeWizard_commit.php on line 140
    Could not copy file cache/upload/upgrades/temp/ImWiSu/SugarSuite-Patch-3.5.1c/README.txt to /home/emotion/domains/emotion.lt/public_html/crm/./README.txt

  6. #6
    janislanka is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Lithuania
    Posts
    32

    Default Re: problems using upgrate wizzard

    I just found that if I chmod 777 to the specific file, it will be replaced then. but shoudl I do it to ALL files?! I mean, if that is the way it works, I have to chmod 777 ALL files! Is that what I should do?

    Later note: However, it seems even if i have made some files 777 it still shows error like:
    HTML Code:
    Warning: copy(/home/emotion/domains/emotion.lt/public_html/crm/./include/database/PearDatabase.php): failed to open stream: Permission denied in /home/emotion/domains/emotion.lt/public_html/crm/modules/Administration/UpgradeWizard_commit.php on line 140
    Could not copy file cache/upload/upgrades/temp/TraBbi/SugarSuite-Patch-3.5.1c/include/database/PearDatabase.php to /home/emotion/domains/emotion.lt/public_html/crm/./include/database/PearDatabase.php
    Last edited by janislanka; 2006-01-09 at 01:35 PM.

  7. #7
    andrewb is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    15

    Default Re: problems using upgrate wizzard

    Looks like a problem with filesystem permissions. When you install sugar it only requires to have write permissions to certain dirs. But as long as Upgrade Wizard needs to overwrite files that are protected by read only permissions by default - this needs to be changed at least for the time of upgrade.
    ****************************************
    Andrew Babkin
    CTO
    Cloud is now as easy as child’s play

  8. #8
    janislanka is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Lithuania
    Posts
    32

    Default Re: problems using upgrate wizzard

    the upgrade went not smooth: some files didn't have correct permissions so i set them. The next and last thing: it asks about the time change and never get's anywhere.

    What shoudl i do with this message? Shoudl I replace some files?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •