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.

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).

Share This Page