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.

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:
    1
    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
     
    #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:
    1
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator

Share This Page