Forums

BackWPup
Nasty crash in version 2.0.2 (7 posts)

  1. clifgriffin
    Member
    Posted 10 months ago #

    Came in this morning to find our server crashed over the weekend.

    In the Apache logs, this error was repeated ad infinitum:

    [Sat Jul 09 06:54:55 2011] [error] [client 72.10.38.215] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/vhosts/site.com/httpdocs/wp-con
    tent/plugins/backwpup/job/job_functions.php on line 298
    [Sat Jul 09 06:54:55 2011] [error] [client 72.10.38.215] PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/site.com/httpdocs/wp-cont
    ent/plugins/backwpup/job/job_functions.php on line 297
    [Sat Jul 09 06:54:55 2011] [error] [client 72.10.38.215] PHP Warning: ftell() expects parameter 1 to be resource, boolean given in /var/www/vhosts/site.com/httpdocs/wp-con
    tent/plugins/backwpup/job/job_functions.php on line 311

    In WordPress, I had 6 empty BackWPUp job attempts that all said 0%.

    I have had problems with backup jobs running more than once before, but usually only twice, and usually both succeeded and I just cleaned up after it. No big deal.

    In this case, nothing was actually backed up and the error log became so large the whole system crashed.

    Any ideas on what could cause this? I really don't want to start searching for an alternative.
    Clif

    http://wordpress.org/extend/plugins/backwpup/

  2. clifgriffin
    Member
    Posted 10 months ago #

    This happened again.

    I have 2.0.3.

    Please advise!

  3. Daniel Huesken
    Member
    Posted 10 months ago #

    plase test the development version i have made many changes because i have see many problems with sessions.

  4. clifgriffin
    Member
    Posted 10 months ago #

    I installed it and ran the backup job. It seemed to run ok with a few unexpected messages. The biggest problem: it never uploaded to Amazon S3.

    From Apache logs:

    [Mon Jul 18 10:30:17 2011] [error] [client 72.10.38.215] PHP Notice:  date_default_timezone_set(): Timezone ID 'UTC-7' is invalid in /var/www/vhosts/site.com/httpdocs/wp-co
    ntent/plugins/backwpup/job/job_run.php on line 39
    [Mon Jul 18 10:29:14 2011] [error] [client 72.10.38.215] PHP Notice:  date_default_timezone_set(): Timezone ID 'UTC-7' is invalid in /var/www/vhosts/site.com/httpdocs/wp-co
    ntent/plugins/backwpup/job/job_run.php on line 39
    [Mon Jul 18 10:29:08 2011] [error] [client 209.145.83.155] PHP Notice:  Undefined variable: steppersent in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/backwpup/job
    /show_working.php on line 95, referer: http://www.site.com/wp-admin/admin.php?page=backwpupworking&action=runnow&jobid=1&_wpnonce=01c0f5c80f
    [Mon Jul 18 10:29:08 2011] [error] [client 209.145.83.155] PHP Notice:  Undefined variable: stepspersent in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/backwpup/jo
    b/show_working.php on line 95, referer: http://www.site.com/wp-admin/admin.php?page=backwpupworking&action=runnow&jobid=1&_wpnonce=01c0f5c80f
    [Mon Jul 18 10:29:08 2011] [error] [client 209.145.83.155] PHP Notice:  Undefined variable: errors in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/backwpup/job/show
    _working.php on line 95, referer: http://www.site.com/wp-admin/admin.php?page=backwpupworking&action=runnow&jobid=1&_wpnonce=01c0f5c80f
    [Mon Jul 18 10:29:08 2011] [error] [client 209.145.83.155] PHP Notice:  Undefined variable: warnings in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/backwpup/job/sh
    ow_working.php on line 95, referer: http://www.site.com/wp-admin/admin.php?page=backwpupworking&action=runnow&jobid=1&_wpnonce=01c0f5c80f
    [Mon Jul 18 10:28:12 2011] [error] [client 72.10.38.215] PHP Notice:  date_default_timezone_set(): Timezone ID 'UTC-7' is invalid in /var/www/vhosts/site.com/httpdocs/wp-co
    ntent/plugins/backwpup/job/job_run.php on line 39
    [Mon Jul 18 10:26:30 2011] [error] [client 209.145.83.155] PHP Notice:  Undefined variable: steppersent in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/backwpup/job
    /show_working.php on line 95, referer: http://www.site.com/wp-admin/admin.php?page=backwpupworking&action=runnow&jobid=1&_wpnonce=01c0f5c80f
    [Mon Jul 18 10:26:30 2011] [error] [client 209.145.83.155] PHP Notice:  Undefined variable: stepspersent in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/backwpup/jo
    b/show_working.php on line 95, referer: http://www.site.com/wp-admin/admin.php?page=backwpupworking&action=runnow&jobid=1&_wpnonce=01c0f5c80f
    [Mon Jul 18 10:26:30 2011] [error] [client 209.145.83.155] PHP Notice:  Undefined variable: errors in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/backwpup/job/show
    _working.php on line 95, referer: http://www.site.com/wp-admin/admin.php?page=backwpupworking&action=runnow&jobid=1&_wpnonce=01c0f5c80f
    [Mon Jul 18 10:26:30 2011] [error] [client 209.145.83.155] PHP Notice:  Undefined variable: warnings in /var/www/vhosts/site.com/httpdocs/wp-content/plugins/backwpup/job/sh
    ow_working.php on line 95, referer: http://www.site.com/wp-admin/admin.php?page=backwpupworking&action=runnow&jobid=1&_wpnonce=01c0f5c80f
    [Mon Jul 18 10:26:15 2011] [error] [client 72.10.38.215] PHP Notice:  date_default_timezone_set(): Timezone ID 'UTC-7' is invalid in /var/www/vhosts/site.com/httpdocs/wp-co
    ntent/plugins/backwpup/job/job_run.php on line 39
    [Mon Jul 18 10:25:49 2011] [error] [client 72.10.38.215] PHP Notice:  date_default_timezone_set(): Timezone ID 'UTC-7' is invalid in /var/www/vhosts/site.com/httpdocs/wp-co
    ntent/plugins/backwpup/job/job_run.php on line 39

    From Backwpup Logs:

    2011-07-18 10:25.49: [INFO]: BackWPup version 2.0.5, Copyright © 2011 Daniel Hüsken
    2011-07-18 10:25.49: [INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
    2011-07-18 10:25.49: [INFO]: BackWPup job: 1. New; DB+FILE+OPTIMIZE
    2011-07-18 10:25.49: [INFO]: BackWPup cron: 30 3 * * 6; Fri, 22 Jul 2011 23:30
    2011-07-18 10:25.49: [INFO]: PHP ver.: 5.3.5; apache2handler; Linux
    2011-07-18 10:25.49: [INFO]: MySQL ver.: 5.1.54
    2011-07-18 10:25.49: [INFO]: curl ver.: 7.15.5; OpenSSL/0.9.8b
    2011-07-18 10:25.49: [INFO]: Temp folder is: /tmp/.backwpup_1219804725/
    2011-07-18 10:25.49: [INFO]: Backup file is: /var/www/vhosts/site.com/httpdocs/wp-content/backwpup-b3b85/backwpup_0_2011-07-18_07-25-48.tar.gz
    2011-07-18 10:25.49: 1. Try for dump database to file...
    2011-07-18 10:25.49: Dump Database table: wp_commentmeta
    2011-07-18 10:25.49: Dump Database table: wp_comments
    2011-07-18 10:25.49: Dump Database table: wp_contact_form_7
    2011-07-18 10:25.49: Dump Database table: wp_image_properties
    2011-07-18 10:25.49: Dump Database table: wp_links
    2011-07-18 10:25.49: Dump Database table: wp_ngg_album
    2011-07-18 10:25.49: Dump Database table: wp_ngg_gallery
    2011-07-18 10:25.49: Dump Database table: wp_ngg_pictures
    2011-07-18 10:25.49: Dump Database table: wp_nggcf_field_values
    2011-07-18 10:25.49: Dump Database table: wp_nggcf_fields
    2011-07-18 10:25.49: Dump Database table: wp_nggcf_fields_link
    2011-07-18 10:25.49: Dump Database table: wp_options
    2011-07-18 10:25.49: Dump Database table: wp_postmeta
    2011-07-18 10:25.49: Dump Database table: wp_posts
    2011-07-18 10:25.49: Dump Database table: wp_redirection_groups
    2011-07-18 10:25.49: Dump Database table: wp_redirection_items
    2011-07-18 10:25.49: Dump Database table: wp_redirection_logs
    2011-07-18 10:25.49: Dump Database table: wp_redirection_modules
    2011-07-18 10:25.49: Dump Database table: wp_retailers_and_reps
    2011-07-18 10:25.49: Dump Database table: wp_search_history
    2011-07-18 10:25.49: Dump Database table: wp_shopp_asset
    2011-07-18 10:25.49: Dump Database table: wp_shopp_billing
    2011-07-18 10:25.49: Dump Database table: wp_shopp_cart
    2011-07-18 10:25.49: Dump Database table: wp_shopp_catalog
    2011-07-18 10:25.50: Dump Database table: wp_shopp_category
    2011-07-18 10:25.50: Dump Database table: wp_shopp_customer
    2011-07-18 10:25.50: Dump Database table: wp_shopp_discount
    2011-07-18 10:25.50: Dump Database table: wp_shopp_index
    2011-07-18 10:25.50: Dump Database table: wp_shopp_meta
    2011-07-18 10:25.50: Dump Database table: wp_shopp_price
    2011-07-18 10:25.50: Dump Database table: wp_shopp_product
    2011-07-18 10:25.50: Dump Database table: wp_shopp_promo
    2011-07-18 10:25.50: Dump Database table: wp_shopp_purchase
    2011-07-18 10:25.51: Dump Database table: wp_shopp_purchased
    2011-07-18 10:25.51: Dump Database table: wp_shopp_setting
    2011-07-18 10:25.51: Dump Database table: wp_shopp_shipping
    2011-07-18 10:25.51: Dump Database table: wp_shopp_shopping
    2011-07-18 10:25.51: Dump Database table: wp_shopp_spec
    2011-07-18 10:25.51: Dump Database table: wp_shopp_tag
    2011-07-18 10:25.51: Dump Database table: wp_tax_cache
    2011-07-18 10:25.51: Dump Database table: wp_term_relationships
    2011-07-18 10:25.52: Dump Database table: wp_term_taxonomy
    2011-07-18 10:25.52: Dump Database table: wp_terms
    2011-07-18 10:25.52: Dump Database table: wp_usermeta
    2011-07-18 10:25.52: Dump Database table: wp_users
    2011-07-18 10:25.52: Database Dump done!
    2011-07-18 10:25.52: Add Database Dump to Backup list: mg_wordpress.sql 18.18 MB
    2011-07-18 10:25.52: 1. Try for make a list of files to Backup ....
    2011-07-18 10:26.15: 2. Try for make a list of files to Backup ....
    2011-07-18 10:26.20: Files to Backup: 11847
    2011-07-18 10:26.20: Size of all Files: 976.68 MB
    2011-07-18 10:26.20: 1. Try to create backup archive file...
    2011-07-18 10:26.44: Files to Backup: 23693
    2011-07-18 10:26.44: Size of all Files: 976.68 MB
    2011-07-18 10:26.45: 1. Try to create backup archive file...
    2011-07-18 10:28.12: 2. Try to create backup archive file...
    2011-07-18 10:29.15: 2. Try to create backup archive file...
    2011-07-18 10:29.45: Backup Archive file create done!
    2011-07-18 10:29.45: Backup archive file size is 915.17 MB
    2011-07-18 10:29.46: 1 old backup files deleted!
    2011-07-18 10:29.46: 1. Try to sending backup file to Amazon S3...
    2011-07-18 10:29.46: Connected to S3 Bucket: MGWP
    2011-07-18 10:29.46: Upload to Amazon S3 now started ...
    2011-07-18 10:30.18: 3. Try to create backup archive file...
    2011-07-18 10:30.38: Backup File transferred to S3://MGWP/backwpup_0_2011-07-18_07-25-48.tar.gz
    2011-07-18 10:30.38: 1. Try to run database optimize...
    2011-07-18 10:30.38: Result of table optimize for wp_commentmeta is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_comments is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_contact_form_7 is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_image_properties is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_links is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_ngg_album is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_ngg_gallery is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_ngg_pictures is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_nggcf_field_values is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_nggcf_fields is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_nggcf_fields_link is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_options is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_postmeta is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_posts is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_redirection_groups is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_redirection_items is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_redirection_logs is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_redirection_modules is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_retailers_and_reps is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_search_history is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_asset is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_billing is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_cart is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_catalog is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_category is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_customer is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_discount is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_index is: OK
    2011-07-18 10:30.38: Result of table optimize for wp_shopp_meta is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_price is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_product is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_promo is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_purchase is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_purchased is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_setting is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_shipping is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_shopping is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_spec is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_shopp_tag is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_tax_cache is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_term_relationships is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_term_taxonomy is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_terms is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_usermeta is: OK
    2011-07-18 10:30.39: Result of table optimize for wp_users is: OK
    2011-07-18 10:30.39: Database optimize done!
    2011-07-18 10:30.39: 32 old Log files deleted!!!
    2011-07-18 10:30.39: Job done in 291 sec.
    2011-07-18 10:30.40: Job done in 292 sec.
    2011-07-18 10:30.40: [WARNING] opendir(/tmp/.backwpup_1219804725/): failed to open dir: No such file or directory
    2011-07-18 10:30.40: Job done in 292 sec.
    2011-07-18 10:30.40: [WARNING] opendir(/tmp/.backwpup_1219804725/): failed to open dir: No such file or directory
    2011-07-18 10:30.40: Job done in 292 sec.
    2011-07-18 10:30.40: [WARNING] opendir(/tmp/.backwpup_1219804725/): failed to open dir: No such file or directory
    2011-07-18 10:30.40: Job done in 292 sec.
    2011-07-18 10:30.40: [WARNING] opendir(/tmp/.backwpup_1219804725/): failed to open dir: No such file or directory

    Any ideas?

  5. Daniel Huesken
    Member
    Posted 10 months ago #

    reset the timezone on your blog, but i will look for that.

  6. Daniel Huesken
    Member
    Posted 10 months ago #

    for s3 upload i can't find problems ist working on my tests.

    i have add thome extra output in the development version that i upload in the net time and a new s3 lib can you test it again than,

  7. clifgriffin
    Member
    Posted 10 months ago #

    Hmm, latest version worked with no warnings or errors.

    Very weird. I'll leave it enabled and watch it closely and let you know if I have more problems.

    One note: I did notice that when you run a job manually, it doesn't update the last run information. Intentional?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags