Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

[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:
    834
    Likes Received:
    29
    Trophy Points:
    178
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,407
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,407
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,407
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. jpswade

    jpswade Active Member

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

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,407
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mbressman

    mbressman Active Member

    Joined:
    Jan 31, 2006
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Has this been resolved?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,407
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, the resolution was included in cPanel version 11.46:

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. 000

    000 Well-Known Member

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

    bug no is fixed
     
  14. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,407
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Kevin Andrews

    Kevin Andrews Registered

    Joined:
    Mar 18, 2016
    Messages:
    4
    Likes Received:
    2
    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:
    2
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,407
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. kiti

    kiti Member

    Joined:
    Sep 16, 2015
    Messages:
    17
    Likes Received:
    2
    Trophy Points:
    3
    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
     
    WizardOfYonder likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice