Menu

Error trying to run backup

Help
Anonymous
2009-10-30
2013-05-30
  • Anonymous

    Anonymous - 2009-10-30

    Have never tried the feature before but thought, "Why not?".

    I launched the Backup and it sat there for awhile, and then it popped up an error and from a different URL than when launched.

    http://www.wurdemann.org/phpgedview/usermigrate.php

    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE: General error: 2006 MySQL server has gone away' in /home/wurdeman/public_html/phpgedview/includes/classes/class_pgv_db.php:838 Stack trace: #0 /home/wurdeman/public_html/phpgedview/includes/classes/class_pgv_db.php(838): PDOStatement->execute(Array) #1 : PGV_DBStatement->__call(Array, Array) #2 /home/wurdeman/public_html/phpgedview/includes/functions/functions_export.php(297): PGV_DBStatement->execute('execute', Array) #3 /home/wurdeman/public_html/phpgedview/includes/controllers/usermigrate_ctrl.php(185): export_gedcom() #4 /home/wurdeman/public_html/phpgedview/includes/controllers/usermigrate_ctrl.php(86): UserMigrateControllerRoot->backup(Array) #5 /home/wurdeman/public_html/phpgedview/usermigrate.php(34): UserMigrateControllerRoot->init('wurdemann.ged', Resource id #84, Array) #6 {main} thrown in /home/wurdeman/public_html/phpgedview/includes/classes/class_pgv_db.php on line 838

     
  • Stephen Arnold

    Stephen Arnold - 2009-10-30

    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE: General error: 2006 MySQL server has gone away' 

    This describes exactly what happened. Your SQL server timed out or quit while running the backup. There is no bug in the program. 
    -Stephen

     
  • Anonymous

    Anonymous - 2009-10-30

    thanks…  I don't know how to interpret the backup to have come to that conclusion…  I just FTP'd the GED file which was all I wanted..

    thanks..

     
  • Anonymous

    Anonymous - 2009-10-31

    Lew, you should still investigate with your web host why it happened, as FTP'ing your GEDCOM file is only a partial backup. It leaves lots of key files not backed-up (mainly your configuration settings).

    If you only want the GEDCOM file, the option "Download" on the GEDCOM config page (asd against the Admin page) will do that for you as well, without resorting to a separate FTP programme.

     
  • Anonymous

    Anonymous - 2009-11-02

    Found the answer to this….cPanel surmised that the process was timing out.  They commented out several timeout variables as follows:

    edited the /etc/my.cnf and commented out these three lines:

    wait_timeout=15
    connect_timeout=10
    interactive_timeout=15

    One or more of those values was preventing the backup process to complete.  By removing those values in the my.cnf file the process can run to completion.

    thanks..

     

Log in to post a comment.