Ispconfig Patch error 3053_backupdownload

Discussion in 'Installation/Configuration' started by dcurrey, Sep 16, 2013.

  1. dcurrey

    dcurrey Member

    Created a new vps setup with ispconfig 3.0.5.3 using ubuntu 13.04. This is a clean setup I used perfect The Perfect Server - Ubuntu 13.04 (nginx.. for my guide for installing.

    All other functions of ispconfig seem to be working correctly. No install issues with other patches.

    Seems everything works until I apply the patch.3053_backupdownload
    Output gives me
    ---------------------------------------------------------------
    Hunk #1 FAILED at 57.
    1 out of 1 hunk FAILED -- saving rejects to file interface/lib/classes/plugin_ba ckuplist.inc.php.rej
    ---------------------------------------------------------------

    Contents of reject file are
    ---------------------------------------------------------------
    --- interface/lib/classes/plugin_backuplist.inc.php (Revision 4136)
    +++ interface/lib/classes/plugin_backuplist.inc.php (Revision 4139)
    @@ -57,7 +57,12 @@

    //* check if the user is owner of the parent domain
    $domain_backup = $app->db->queryOneRecord("SELECT parent_domain_id FROM web_backup WHERE backup_id = ".$backup_id);
    - if(!$app->tform->checkOwnerPermisssions($this->dataRecord["parent_domain_id"])){
    +
    + $check_perm = 'u';
    + if($_GET['backup_action'] == 'download') $check_perm = 'r'; // only check read permissions on download, not update permissions
    +
    + $get_domain = $app->db->queryOneRecord("SELECT domain_id FROM web_domain WHERE domain_id = ".$app->functions->intval($domain_backup["parent_domain_id"])."
    AND ".$app->tform->getAuthSQL($check_perm));
    + if(empty($get_domain) || !$get_domain) {
    $app->error($app->tform->lng('no_domain_perm'));
    }
    -------------------------------------------------------------

    Any ideas?

    Thanks
     
  2. nicopingu

    nicopingu New Member

    I have the same problem
     
  3. jmelton98

    jmelton98 New Member

    I'm getting the same error. I'm running ubuntu 12.04 on a Digital Ocean VPS
    Code:
    1 out of 1 hunk FAILED -- saving rejects to file interface/lib/classes/plugin_backuplist.inc.php.rej
    
     
  4. PVasileff

    PVasileff Member

    I've same problem on my servers.. ISPConfig running on two Ubuntu Server 12.04.

    Do I need to rename plugin_backuplist.inc.php.orig to plugin_backuplist.inc.php and chown it?
     
  5. labsy

    labsy New Member

    Same problem on Ubuntu 12.04 LTS.
    Any solution?
     

Share This Page