WordPress.org

Ready to get started?Download WordPress

Forums

124

BackWPup Free - WordPress Backup Plugin
BacWPup 2.0 and WP 3.2 totally broken (106 posts)

  1. abailey
    Member
    Posted 3 years ago #

    Big mess. On displaying jobs ovetview I get repeated.

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /mnt/vhosts/2012worldend.org/httpdocs/wp-content/plugins/backwpup/pages/func_backwpup.php on line 248

    Run Now just hangs no message in Working

    Clicking See Working from the Amin bar goes to job ovetview.

  2. Navjot Singh
    Member
    Posted 3 years ago #

    Two more errors - both on Dashboard.

    Dasboard widget's name is BackWPup Aktive Jobs whereas it should be BackWPup Active Jobs.

    Secondly the Active Jobs widget is showing the wrong status. All the jobs had ended but it is showing the same status for all the 3 jobs I run:

    . FileBackup: working since 1309923927 sec. View! Abort!
    . BackupDB: working since 1309923927 sec. View! Abort!
    . DBOptimise: working since 1309923927 sec. View! Abort!

    Please look into these errors as well.

  3. cartooncool
    Member
    Posted 3 years ago #

    Yes, it doesn't work on any of my wordpress sites now I get the following errors in the log when trying to run a backup:

    "[ERROR] Step arborted has too many trys!!!
    [ERROR]To many restarts....
    Job done in 0 sec."

    I hope it gets updated soon. I really like the plugin.

  4. me2you
    Member
    Posted 3 years ago #

    Dropbox backup not working...

    [Wed Jul 6 09:44:46 2011] [error] PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in /xxx/www/wp-content/plugins/backwpup/pages/func_backwpup.php on line 248

    work page blank black screen ((

  5. Gabe
    Member
    Posted 3 years ago #

    I get the same error on the jobs overview screen

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/username/public_html/somedomain-com/wp-content/plugins/backwpup/pages/func_backwpup.php on line 248

  6. Larsvb
    Member
    Posted 3 years ago #

    did you guys recreate the job? this worked for me.

    the black screen could be a dispalying problem

    check to see the logs to find out if the backup does get created, I found that using IE9 with compat mode on the jobs overview screens only shows some data and hangs after a couple of lines. WHen not using compat mode it works just fine.

  7. Gabe
    Member
    Posted 3 years ago #

    Just deleted and recreated the job, and it's stopped complaining.

  8. Gabe
    Member
    Posted 3 years ago #

    Even easier:

    1. Open the jobs list in one browser tab
    2. Open the "problem" job for editing in another tab
    3. Delete the problem job from the jobs list
    4. Save the problem job you kept open in the other tab

    I found that this worked a charm - I only had to reauthenticate with Dropbox, which was easier than recreating the whole job.

  9. me2you
    Member
    Posted 3 years ago #

    delete job and create new job again.. not worked for me ((

    again error line 248..
    [Wed Jul 6 10:04:13 2011] [error] PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in /xxx/www/wp-content/plugins/backwpup/pages/func_backwpup.php on line 248

  10. dannygoodall
    Member
    Posted 3 years ago #

    I've upgraded to 3.2 and 2.0 and I see the same error as others on this thread.

    The following message is displayed 29 times times each under the other on the Backup Job screen. I only have defined one job and these 29 messages appear underneath it in the Information column. It's as if by computing the text to display in the Information column it is causing this problem. But why 29 times I don't know as I only have one job.

    I was previously on 1.7.8

    Daniel, if you again want me to test something before you release it let me know.

    Message displayed...Warning: in_array() [function.in-array]: Wrong datatype for second argument in .../wp-content/plugins/backwpup/pages/func_backwpup.php on line 248

  11. daveshine (David Decker)
    Member
    Posted 3 years ago #

    You can try to go to "Settings" and set the two steps settings to "3" and "5".

    Make sure you try it all with "Maintenance" at the job setting disabled.

    These settings worked for me.

  12. wojcieh
    Member
    Posted 3 years ago #

    @daveshine

    About what kind of two steps are you talkin about?

  13. daveshine (David Decker)
    Member
    Posted 3 years ago #

    Just go to backwpup settings page, scroll down to job settings and then the first two settings.

    Also set the "Max. normal script runtime:" normally 30 sec.
    and the "Max. long script runtime:" normally 300 sec.

    Does it help?

  14. wojcieh
    Member
    Posted 3 years ago #

    Yes Dave it helped - job is now running :)

  15. daveshine (David Decker)
    Member
    Posted 3 years ago #

    That is great!

    I will appoint this to Daniel to make this default settings maybe and also to put this in the FAQ or elsewhere...

  16. abailey
    Member
    Posted 3 years ago #

    Can't blame it on IE. Also get no working display in FireFox 5.0. The progress bars at the bottom immediately jump to 100% but the job never ends.

    I've recreated the job, put defaults in blank settings field. Nothing seems to help.

    The only thing that appears in the log after letting it run for a couple of hours was

      one line, [ERROR]Aborted by user!!!

      Totally broke.

  17. buffy4837
    Member
    Posted 3 years ago #

    I'm having problems even after making the recommended changes by Daveshine. It's not creating zip archives. Switched to TAR archives and all seems fine.

  18. daveshine (David Decker)
    Member
    Posted 3 years ago #

    Zip issues might also relate to web server I guess...?

  19. abailey
    Member
    Posted 3 years ago #

    Well most of us have previously been using BackWPup and zipping files just fine. I know he had support for both the pclzip and zlib libraries.

    Final got a log, only in email, never saw anything on the screen. Here's an example:

    Repeated 15 time before it stoped.

    2011-07-06 09:27.50: [INFO]: BackWPup version 2.0.0, Copyright © 2011 Daniel Hüsken
    2011-07-06 09:27.50: [INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
    2011-07-06 09:27.50: [INFO]: BackWPup job: 1. Marine aquarium backup; DB+FILE+OPTIMIZE+CHECK
    2011-07-06 09:27.50: [INFO]: BackWPup cron: 0 3 * * *; Wed, 6 Jul 2011 22:00
    2011-07-06 09:27.50: [INFO]: PHP ver.: 5.2.14; litespeed; Linux
    2011-07-06 09:27.50: [INFO]: MySQL ver.: 5.0.91-community-log
    2011-07-06 09:27.50: [INFO]: curl ver.: 7.21.0; OpenSSL/0.9.8b
    2011-07-06 09:27.50: [INFO]: Temp folder is: /tmp/backwpup_8f00b204e9800998/
    2011-07-06 09:27.50: [INFO]: Backup file is: /home/marineaq/public_html/wp-content/backwpup-29d46/backwpup_0_2011-07-06_10-27-49.zip
    2011-07-06 09:27.50: [ERROR] Step arborted has too many trys!!!
    2011-07-06 09:27.50: [INFO]: BackWPup version 2.0.0, Copyright © 2011 Daniel Hüsken
    2011-07-06 09:27.50: [INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
    2011-07-06 09:27.50: [INFO]: BackWPup job: 1. Marine aquarium backup; DB+FILE+OPTIMIZE+CHECK
    2011-07-06 09:27.50: [INFO]: BackWPup cron: 0 3 * * *; Wed, 6 Jul 2011 22:00
    2011-07-06 09:27.50: [INFO]: PHP ver.: 5.2.14; litespeed; Linux
    2011-07-06 09:27.50: [INFO]: MySQL ver.: 5.0.91-community-log
    2011-07-06 09:27.50: [INFO]: curl ver.: 7.21.0; OpenSSL/0.9.8b
    2011-07-06 09:27.50: [INFO]: Temp folder is: /tmp/backwpup_8f00b204e9800998/
    2011-07-06 09:27.50: [INFO]: Backup file is: /home/marineaq/public_html/wp-content/backwpup-29d46/backwpup_0_2011-07-06_10-27-49.zip
    2011-07-06 09:27.50: [ERROR] Step arborted has too many trys!!!
    2011-07-06 09:27.50: [INFO]: BackWPup version 2.0.0, Copyright © 2011 Daniel Hüsken
    2011-07-06 09:27.50: [INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
    2011-07-06 09:27.50: [INFO]: BackWPup job: 1. Marine aquarium backup; DB+FILE+OPTIMIZE+CHECK
    2011-07-06 09:27.50: [INFO]: BackWPup cron: 0 3 * * *; Wed, 6 Jul 2011 22:00
    2011-07-06 09:27.50: [INFO]: PHP ver.: 5.2.14; litespeed; Linux
    2011-07-06 09:27.50: [INFO]: MySQL ver.: 5.0.91-community-log
    2011-07-06 09:27.50: [INFO]: curl ver.: 7.21.0; OpenSSL/0.9.8b
    2011-07-06 09:27.50: [INFO]: Temp folder is: /tmp/backwpup_8f00b204e9800998/
    2011-07-06 09:27.50: [INFO]: Backup file is: /home/marineaq/public_html/wp-content/backwpup-29d46/backwpup_0_2011-07-06_10-27-49.zip
    2011-07-06 09:27.50: [ERROR] Step arborted has too many trys!!!

  20. luckyduck288
    Member
    Posted 3 years ago #

    I'm having problems creating zip files as well. This used to work on the same server with the old 1.x version. I'm getting an error:

    Fatal error: Class 'ZipArchive' not found in /wp-content/plugins/backwpup/job/backup_create.php on line 18

  21. emkay
    Member
    Posted 3 years ago #

    have the same problem.

    WordPress 3.2
    BackWPup 2.0.0

    The plugin don't create zip-archives.

  22. Daniel Hüsken
    Member
    Plugin Author

    Posted 3 years ago #

    Hello,
    the error on line 248 can solve with a siple job open and save agian.

    The false dashboard messages and the too many retrys fixed hopfuly in next version too.

    i have teste many time but not every time with old job data! sorry for that.

    The trys will only set on plugin activation or on edit settings.

    the zip problem im looking for...

  23. Daniel Hüsken
    Member
    Plugin Author

    Posted 3 years ago #

    hmmm.. on my test zip creation works fine can i have logs or so.

  24. abailey
    Member
    Posted 3 years ago #

    Perhaps your zip libray detection is not working. I note that I finally got a backup to run on one site. When making the zip it reported trying to make a PCLZIP file. This server has ZLIB but not PCLZIP?

    In this case it stalls at the zip amd retries

  25. kpbryce132
    Member
    Posted 3 years ago #

    Like other here I updated to WP 3.2.2 and BackupWP 2.0 - same problems as stated by others posting here. No problems under prior versions.

    The Backup fails after 15 attempts and generates an error log message which I can preview on the WP Dashboard.

    I hope Daniel can come up with a resolve quickly and post it as an update. This is a great plugin and much needed.

  26. abailey
    Member
    Posted 3 years ago #

    Sigh. OK I went into the job to try to change from ZIP to TAR. Went to save changes. Click, nothing. No matter how many times I click the Save Changes button it does nothing.

  27. luckyduck288
    Member
    Posted 3 years ago #

    In the pre-2.0 version of the plugin, this is the log entry when it tried to create a zip file:

    Create Backup Zip (PclZip) file...

    Now, this is what it says:

    1. Try to create backup zip file...
     1. Script stop! Will started again now!

    If I change the backup to tar.gz it works great, so my problem is definitely related to zip creation. What information can I get for you to help you figure out what is going wrong?

  28. kpbryce132
    Member
    Posted 3 years ago #

    I tried changing the archive saving from .ZIP to some variant of .tar and in each case the operation ended in an error just as it did with the .ZIP format.

    So for my site at least I do not think it has anything to do with the type of compressed file it creates.

    Has anyone tried the prior version of BackupWP with the WP 3.2.2?

  29. buffy4837
    Member
    Posted 3 years ago #

    Zip log errors:

    2011-07-06 09:34.50: Add Database Dump to Backup list: BRSguest.sql 3.75 MB
    2011-07-06 09:34.50: 1. Try for make a list of files to Backup ....
    2011-07-06 09:34.50: Files to Backup: 3022
    2011-07-06 09:34.50: Size of all Files: 112.8 MB
    2011-07-06 09:34.50: 1. Try to create backup zip (PclZip) file...
    2011-07-06 09:34.50: 1. Script stop! Will started again now!
    2011-07-06 09:34.50: 2. Try to create backup zip (PclZip) file...
    2011-07-06 09:34.50: 2. Script stop! Will started again now!
    2011-07-06 09:34.50: 3. Try to create backup zip (PclZip) file...
    2011-07-06 09:34.50: 3. Script stop! Will started again now!
    2011-07-06 09:34.50: [ERROR] Step arborted has too many trys!!!
    2011-07-06 09:34.50: 1. Try to sending backup file to a FTP Server...
    2011-07-06 09:34.50: [WARNING] filesize(): stat failed for /tmp/backwpup_8f00b204e9800998/backwpup_1_2011-07-06_09-34-49.zip
    2011-07-06 09:34.50: Connected to FTP Server: <--DELETED FOR SAFETY-->
    2011-07-06 09:34.50: FTP Client command: USER <--DELETED FOR SAFETY-->
    2011-07-06 09:34.51: FTP Server reply: User <--DELETED FOR SAFETY--> logged in.
    2011-07-06 09:34.51: FTP Client command: PASV
    2011-07-06 09:34.51: FTP Server reply: Entering Passive Mode
    2011-07-06 09:34.51: FTP Client command: SYST
    2011-07-06 09:34.51: FTP Server reply: UNIX
    2011-07-06 09:34.51: Upload to FTP now started ...
    2011-07-06 09:34.51: [WARNING] ftp_put(/tmp/backwpup_8f00b204e9800998/backwpup_1_2011-07-06_09-34-49.zip): failed to open stream: No such file or directory
    2011-07-06 09:34.51: [ERROR] Can not transfer backup to FTP server.
    2011-07-06 09:34.51: Job done in 2 sec.

    ///////////////////////////////////

    2011-07-06 09:58.07: [INFO]: BackWPup version 2.0.0, Copyright © 2011 Daniel Hüsken
    2011-07-06 09:58.07: [INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
    2011-07-06 09:58.07: [INFO]: BackWPup job: 1. New; DB+FILE
    2011-07-06 09:58.07: [INFO]: PHP ver.: 5.2.10-2ubuntu6; apache2handler; Linux
    2011-07-06 09:58.07: [INFO]: MySQL ver.: 5.1.41-3ubuntu12.9
    2011-07-06 09:58.07: [INFO]: curl ver.: 7.19.7; OpenSSL/0.9.8k
    2011-07-06 09:58.07: [INFO]: Temp folder is: /tmp/backwpup_8f00b204e9800998/
    2011-07-06 09:58.07: [INFO]: Backup file is: /tmp/backwpup_8f00b204e9800998/backwpup_1_2011-07-06_09-58-07.tar
    2011-07-06 09:58.07: [ERROR] Step arborted has too many trys!!!
    2011-07-06 09:58.07: [ERROR]To many restarts....
    2011-07-06 09:58.07: Job done in 0 sec.

    The second log is before I changed the retrys and runtime settings.

    As of now everything is working fine. TAR or ZIP, doesn't matter to me.

  30. adambjones
    Member
    Posted 3 years ago #

    [INFO]: BackWPup version 2.0.0, Copyright © 2011 Daniel Hüsken
    2011-07-06 12:56.57: [INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
    2011-07-06 12:56.57: [INFO]: BackWPup job: 2. Weekly; DB+FILE
    2011-07-06 12:56.57: [INFO]: BackWPup cron: 0 1 * * 0; Sat, 9 Jul 2011 18:00
    2011-07-06 12:56.57: [INFO]: PHP ver.: 5.2.17; cgi-fcgi; Linux
    2011-07-06 12:56.57: [INFO]: MySQL ver.: 5.0.91-log
    2011-07-06 12:56.57: [INFO]: curl ver.: 7.15.5; OpenSSL/0.9.8b
    2011-07-06 12:56.57: [INFO]: Temp folder is: /tmp/backwpup_8f00b204e9800998/
    2011-07-06 12:56.57: [INFO]: Backup file is: /home/content/v/r/e/vre004/html/backups/weekly/backwpup_2_2011-07-07_05-56-57.zip
    2011-07-06 12:56.57: 1. Try for dump database to file...
    2011-07-06 12:56.57: Dump Database table: wp_commentmeta
    2011-07-06 12:56.57: Dump Database table: wp_comments
    2011-07-06 12:56.57: Dump Database table: wp_links
    2011-07-06 12:56.57: Dump Database table: wp_options
    2011-07-06 12:56.57: Dump Database table: wp_postmeta
    2011-07-06 12:56.57: Dump Database table: wp_posts
    2011-07-06 12:56.57: Dump Database table: wp_ptmembership_products
    2011-07-06 12:56.57: Dump Database table: wp_term_relationships
    2011-07-06 12:56.57: Dump Database table: wp_term_taxonomy
    2011-07-06 12:56.57: Dump Database table: wp_terms
    2011-07-06 12:56.57: Dump Database table: wp_usermeta
    2011-07-06 12:56.57: Dump Database table: wp_users
    2011-07-06 12:56.57: Database Dump done!
    2011-07-06 12:56.57: Add Database Dump to Backup list: swi1115706020595.sql 1.04 MB
    2011-07-06 12:56.57: 1. Try for make a list of files to Backup ....
    2011-07-06 12:56.57: [WARNING] File or folder is not readable: /home/content/v/r/e/vre004/html/stats/logs
    2011-07-06 12:56.57: Files to Backup: 3416
    2011-07-06 12:56.57: Size of all Files: 43.88 MB
    2011-07-06 12:56.57: 1. Try to create backup zip (PclZip) file...

    That's as far as it gets them retry's.

124

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags