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!

Dump stacktrace from failed custom transport script

Discussion in 'cPanel Developers' started by jgillmanjr, Mar 30, 2015.

  1. jgillmanjr

    jgillmanjr Active Member
    PartnerNOC

    Joined:
    Feb 9, 2012
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Lansing, MI
    cPanel Access Level:
    DataCenter Provider
    Hello!

    I'm working on a custom transport script to facilitate the storage of backups on Liquid Web's Object Storage.

    When backup time comes around, something seems to not like the 13G backup that's generated for one of the accounts.

    Manual execution of the script seems to work with the file in question. Short of me building logging into the script itself, Is there a way to have any of the backup logs snag any stack traces? /usr/local/cpanel/logs/cpbackup_transporter.log and the individual logs in cpbackup_transporter/ don't seem to have any useful information.

    The backup script is in python, and the script itself is on github: github.com/liquidweb/cPanelToObjectStore

    Thanks in advance!

    -Jason
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 jgillmanjr, Mar 30, 2015
    Last edited by a moderator: Apr 1, 2015
  2. jgillmanjr

    jgillmanjr Active Member
    PartnerNOC

    Joined:
    Feb 9, 2012
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Lansing, MI
    cPanel Access Level:
    DataCenter Provider
    Well, ended up just building in logging anyways.

    Looks like the timeout is just getting hit and is restarting the process. So it appears it's just a timeout issue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I am happy to see you were able to determine the cause of the problem. Were you able to address the timeout issue?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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