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!

Fileman restoredb() bug

Discussion in 'General Discussion' started by dibarra, Sep 9, 2007.

  1. dibarra

    dibarra Active Member

    Jun 14, 2007
    Likes Received:
    Trophy Points:
    A client recently complained they were no longer able to restore SQL files from cpanel. Upon investigation we found that the directive within dosqlupload.html for:

    <cpanel Fileman="restoredb()">

    Fails entirely.

    It doesn't execute anything. We tried an upcp, checked the perl modules and still it will not function at all. Nothing is outputted to the error logs. It just claims it's restoring but no database is ever created let alone populated.

    Has anyone else encountered this behavior or does anyone have any possible ideas on troubleshooting?
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Apr 7, 2006
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    This is a bug, it's passing the wrong arguments to the MySQL process (Wchih can be seen by performing a strace on the cpsrvd process). Until this is fixed, possible work arounds include:

    1. Have your tech support department do the restores

    2. Have the users upload the backups without the gzip compress (note, they need to uncompress the SQL file before uploading via the Restore function).
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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