ispconfig_patch error with 3053_dashboard

Discussion in 'General' started by electronico_nc, Aug 28, 2013.

  1. Code:
    /usr/local/ispconfig/server/scripts# ispconfig_patch
    
    
    --------------------------------------------------------------------------------
     _____ ___________   _____              __ _       
    |_   _/  ___| ___ \ /  __ \            / _(_)      
      | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _ 
      | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |
     _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| |
     \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |
                                                  __/ |
                                                 |___/ 
    --------------------------------------------------------------------------------
    
    
    >> Patch tool  
    
    Please enter the patch id that you want to be applied to your ISPConfig installation.
    Please be aware that we take NO responsibility that this will work for you.
    Only use patches if you know what you are doing.
    
    Enter patch id: 3053_dashboard
    
    Patch description:
    --------------------------------------------------------------------------------
    This patch fixes a display issue (overlapping quota tables) on the dashboard.
    --------------------------------------------------------------------------------
    Do you really want to apply this patch now? (y,n) [y]: 
    
    (Stripping trailing CRs from patch.)
    patching file interface/web/dashboard/templates/dashboard.htm
    Hunk #1 FAILED at 41.
    Hunk #2 FAILED at 49.
    2 out of 2 hunks FAILED -- saving rejects to file interface/web/dashboard/templates/dashboard.htm.rej
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    And you had the ispconfig 3.0.5.3 stable tar.gz version installed on your server, not a different version and you did not install it from svn?
     
  3. Hbod

    Hbod Member

    I'm getting the same error. I've got installed 3.0.5.3 and installed the patch-tool excatly like descriped in the news.

    All other patches worked like a charme, only 3053_dashboard failes.
    First, i got:

    Code:
    (Stripping trailing CRs from patch.)
    patching file interface/web/dashboard/templates/dashboard.htm
    Hunk #1 FAILED at 41.
    1 out of 2 hunks FAILED -- saving rejects to file interface/web/dashboard/templates/dashboard.htm.rej
    And after I tried again, I got following error:

    Code:
    patching file interface/web/dashboard/templates/dashboard.htm
    Hunk #1 FAILED at 41.
    Hunk #2 FAILED at 49.
    2 out of 2 hunks FAILED -- saving rejects to file interface/web/dashboard/templates/dashboard.htm.rej
    Do you have a fix for this? I really like to get that ugly dashboard-bug fixed!

    Thanks
    Hbod!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try again, we uploaded a new dashboard patch file.
     
  5. Hbod

    Hbod Member

    Still the same error...
     
  6. Hbod

    Hbod Member

    I've waited till now (I thought I was too fast though)
    But still nothing changed. I get the same errors. Do I need to redownload the patch script? Did you make changes there or only in the patch-file?

    cheers
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The patch content has been changed, not the patch file. But patches can only be applied once, so it might be that it fails now because the first patch already modifed some parts of the file.

    I will have to check that but I dont have a unpatched system here at the moment.
     
  8. Hbod

    Hbod Member

    Hi Till,

    thanks for your reply. The best way would be to revert to the back-up file
    dashboard.html.orig. You should implement this in your script routine, or provide a flag for something like this (revert back to original first)

    Anyway, I fixed the problem by myself.

    Solution: I've deleted

    dashboard.htm
    dashboard.htm.rej
    dashboard.html.orig

    in

    /usr/local/ispconfig/interface/web/dashboard/templates

    After this just grab the original file from http://prdownloads.sourceforge.net/ispconfig/ISPConfig-3.0.5.3.tar.gz (interface/web/dashboard/templates), reupload to your server and apply the patch. This time, everything works like as expected and the dashboard bug seems to be fixed.
     
  9. Hi all,
    Hbod is right removing dashboard files and re-upload original file.
    Then applying the modified 3053_dashboard patch worked OK.
    Thanks
     

Share This Page