The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Case 76993] Backup destination verification - Couldn't setstat remote file: No such file

Discussion in 'Data Protection' started by nacholibrev, Feb 20, 2014.

  1. nacholibrev

    nacholibrev Registered

    Joined:
    Feb 20, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm having some troubles adding additional destination for cPanel backups. This error pops when I try to validate:

    Code:
    Error: Validation for transport “*” failed: Could not upload test file: Couldn't setstat remote file: No such file
    When I log into the server I can see the actual validate file validate.tmp-24936-1392903255.txt

    Any suggestions?

    Regards
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    The error seems to imply that the remote destination ppath you provided simply doesn't exist.
     
  3. nacholibrev

    nacholibrev Registered

    Joined:
    Feb 20, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    But it does exist, cPanel successfully creates temp files there, see my post above.

    But there is some kind of problem with the reading of these files.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Are you using SFTP for the "Destination Type"? The reason I ask is because we do have an internal case open (#76993) where SFTP transport validation fails with the same error message that you reported.

    Thank you.
     
  5. nacholibrev

    nacholibrev Registered

    Joined:
    Feb 20, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes, I'm using SFTP.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Internal case number 76993 is open with our development team to address this issue. There is currently no specific time frame available on when a resolution might be pushed out. The current workaround is to use an alternative destination type such as FTP.

    Thank you.
     
  7. samheather

    samheather Registered

    Joined:
    Apr 11, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Is this fixed yet? It's extremely annoying have to go to these extra lengths to ensure the transmission of our backups are secure.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The case is still open and under testing at this time. I have no new information to report as far as a time frame is concerned, but I do see active discussion of this case as recently as last week.

    Thank you.
     
  9. jpswade

    jpswade Member

    Joined:
    Jun 8, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I too am seeing a similar problem to this, was this ever resolved? Thanks.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There is currently no specific time frame available on the release date, but the resolution itself has now been marked for inclusion in a future public build.

    Thank you.
     
  11. mbressman

    mbressman Active Member

    Joined:
    Jan 31, 2006
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, the resolution was included in cPanel version 11.46:

    Fixed case 76993: Don't fail backup validation with broken SFTP servers.

    Thank you.
     
  13. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    Today SEPTEMBER 26 I have identic problem.

    bug no is fixed
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  15. Kevin Andrews

    Kevin Andrews Registered

    Joined:
    Mar 18, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    California
    cPanel Access Level:
    Root Administrator
    It's
    I'm using WHM version 54 and still having this identical problem. I notice you reference cPanel version 11.46. This problem occurs within the WHM backup module. Adrive support says it is a cPanel problem. Yes, FTP works but we are not excited about doing insecure file transfers of our backup files.
     
  16. Kevin Andrews

    Kevin Andrews Registered

    Joined:
    Mar 18, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    California
    cPanel Access Level:
    Root Administrator
    My issue is identical to the one reported by the OP. Specifically, I am using the WHM backup (not legacy) to create backups, with the idea to transfer them securely to a remote location for safekeeping, as required to have a reasonably safe backup protocol in place.

    When attempting to "validate" the remote location using the WHM backup configuration, the cPanel server successfully connects with the remote server, but is unable to complete the validation, returning an error message:

    Error: Validation for transport “Adrive SFTP” failed: Could not upload test file: Couldn't open remote file '/validate.tmp-13869-1458784036.txt': Permission denied

    I am attempting to transfer to my account at Adrive.com, which is configured for SFTP, and to which I have been able to successfully transfer backups from WHM cPanel using regular FTP. I had trouble connecting using password authentication, but as Adrive supports key authentication, I used that and connected successfully, but unable to "validate" so that WHM would begin to use the Adrive for backup storage.

    I've consulted with Adrive support about this, and after investigating, they referred me to this thread, indicating that it is a cPanel bug.
     
  17. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you tried manually connecting to the remote backup server via SFTP from your server's command line and then uploading/downloading a test file? This will help determine if the issue is with how cPanel makes the connection or the server connection itself.

    Thank you.
     
  18. kiti

    kiti Member

    Joined:
    Sep 16, 2015
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    france
    cPanel Access Level:
    Root Administrator
    For the folder field of the backup configuration:

    • /yourdirectory => WRONG
    • /yourdirectory => WRONG
    • yourdirectory/ => GOOD!

    Try in your terminal:

    sftp 'youremail@yourdomain.ext'@ftp.adrive.com:yourdirectory/

    to see whether it works or not
     
Loading...

Share This Page