• Since my latest upgrade, my backups are failing:-( But the logs are not very helpful:-(

    I tried TarGz (worked before the upgrade) and TarBz2, but that does not make a difference.

    Any idea?

    Thanks,
    — Marco

    [INFO] BackWPup version 3.1.4; A project of Inpsyde GmbH
    [INFO] WordPress version 4.2.2
    [INFO] BackWPup job: Daily Backup; DBCHECK+DBDUMP+FILE+WPEXP+WPPLUGIN
    [INFO] BackWPup cron: 0 3 * * *; Next: Mon, 11 May 2015 @ 03:00
    [INFO] BackWPup job started manually
    [INFO] PHP ver.: 5.5.17 (64bit); cgi-fcgi; Linux
    [INFO] Maximum PHP script execution time is 120 seconds
    [INFO] MySQL ver.: 5.5.32-31.0-log
    [INFO] Web Server: Apache
    [INFO] curl ver.: 7.30.0; OpenSSL/1.0.1m
    [INFO] Temp folder is: /home/xxxx/wp-content/uploads/backwpup-a677a6-temp/
    [INFO] Logfile is: /home/xxxx/wp-content/backwpup-be9de-logs/backwpup_log_a677a6_2015-05-10_11-12-54.html
    [INFO] Backup type is: archive
    [INFO] Backup file is: /home/xxxx/wp-content/backwpup-be9de/backwpup_1_2015-05-10_11-12-54.tar.bz2
    [10-May-2015 11:12:54] 1. Try to backup database …
    [10-May-2015 11:12:54] Connected to database xx_wordpress on localhost
    [10-May-2015 11:12:54] Backup database table "wp_commentmeta" with "221" records
    [10-May-2015 11:12:54] Backup database table "wp_comments" with "97" records
    [10-May-2015 11:12:54] Backup database table "wp_links" with "7" records
    [10-May-2015 11:12:54] Backup database table "wp_options" with "522" records
    [10-May-2015 11:12:54] Backup database table "wp_postmeta" with "745" records
    [10-May-2015 11:12:54] Backup database table "wp_posts" with "457" records
    [10-May-2015 11:12:54] Backup database table "wp_term_relationships" with "196" records
    [10-May-2015 11:12:54] Backup database table "wp_term_taxonomy" with "23" records
    [10-May-2015 11:12:54] Backup database table "wp_terms" with "23" records
    [10-May-2015 11:12:54] Backup database table "wp_usermeta" with "32" records
    [10-May-2015 11:12:54] Backup database table "wp_users" with "2" records
    [10-May-2015 11:12:54] Added database dump "xx_wordpress.sql" with 1.38 MB to backup file list
    [10-May-2015 11:12:54] Database backup done!
    [10-May-2015 11:12:54] 1. Trying to make a list of folders to back up …
    [10-May-2015 11:12:56] 583 folders to backup.
    [10-May-2015 11:12:56] 1. Trying to create a WordPress export to XML file …
    [10-May-2015 11:12:57] ERROR: Signal 15 is sent to script!
    [10-May-2015 11:12:57] Restart will be executed now.
    [10-May-2015 11:12:58] 2. Trying to create a WordPress export to XML file …
    [10-May-2015 11:12:59] Check WP Export file …
    [10-May-2015 11:12:59] WP Export file is a valid WXR file.
    [10-May-2015 11:12:59] Added XML export "Xx.wordpress.2015-05-10.xml" with 815.59 kB to backup file list.
    [10-May-2015 11:12:59] 1. Trying to generate a file with installed plugin names …
    [10-May-2015 11:12:59] Added plugin list file "Xx.pluginlist.2015-05-10.txt" with 1.52 kB to backup file list.
    [10-May-2015 11:12:59] 1. Trying to generate a manifest file …
    [10-May-2015 11:12:59] Added manifest.json file with 4.97 kB to backup file list.
    [10-May-2015 11:12:59] 1. Trying to create backup archive …
    [10-May-2015 11:12:59] Compressing files as TarBz2. Please be patient, this may take a moment.
    [10-May-2015 11:13:00] ERROR: Signal 15 is sent to script!
    [10-May-2015 11:13:00] Restart will be executed now.
    [10-May-2015 11:13:01] 2. Trying to create backup archive …
    [10-May-2015 11:13:03] ERROR: Signal 15 is sent to script!
    [10-May-2015 11:13:03] Restart will be executed now.
    [10-May-2015 11:13:04] 3. Trying to create backup archive …
    [10-May-2015 11:13:06] ERROR: Signal 15 is sent to script!
    [10-May-2015 11:13:06] Restart will be executed now.
    [10-May-2015 11:13:07] ERROR: Step aborted: too many attempts!
    [10-May-2015 11:13:07] One backup file deleted

    https://wordpress.org/plugins/backwpup/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Daniel Hüsken

    (@danielhuesken)

    ERROR: Signal 15 is sent to script! Means that the backup script have become a request that it schuld be terminated. The backup Script must follow them.
    In next Version the MEssages will be displayed a bit better.

    You can try to setup the maximum script execution time tom 30 secounds in BAckWpup > Settings > Tab: Jobs.

    Thread Starter mw46d

    (@mw46d)

    I had `0′ there before, but the 30 seconds did not improve anything:-(

    Anonymous User 6386592

    (@anonymized-6386592)

    The script ran for 3 seconds before experiencing the first error. So it’s not an issue of a script running too long.

    It’s more likely that you don’t have enough memory for your PHP process available.

    Thread Starter mw46d

    (@mw46d)

    phpinfo reports

    memory_limit 192M 192M

    That did not change as far as I know. It’s a hosted setup, so I can’t change that easily.

    I changed the class-job.php a bit and get the following output:

    [14-May-2015 23:03:37] Added database dump "xx_wordpress.sql" with 1.38 MB to backup file list
    [14-May-2015 23:03:37] Database backup done!
    [14-May-2015 23:03:37] 1. Trying to make a list of folders to back up …
    [14-May-2015 23:03:38] 583 folders to backup.
    [14-May-2015 23:03:38] 1. Trying to create a WordPress export to XML file …
    [14-May-2015 23:03:39] ERROR: memory_get_usage(TRUE) = 29360128 memory_get_peak_usage(TRUE)= 29884416 Signal 15 is sent to script!
    [14-May-2015 23:03:39] Restart will be executed now.
    [14-May-2015 23:03:41] 2. Trying to create a WordPress export to XML file …
    [14-May-2015 23:03:42] Check WP Export file …
    [14-May-2015 23:03:42] WP Export file is a valid WXR file.
    [14-May-2015 23:03:42] ERROR: memory_get_usage(TRUE) = 28049408 memory_get_peak_usage(TRUE)= 29097984 Signal 15 is sent to script!
    [14-May-2015 23:03:42] Restart will be executed now.
    [14-May-2015 23:03:43] 3. Trying to create a WordPress export to XML file …
    [14-May-2015 23:03:44] Check WP Export file …
    [14-May-2015 23:03:44] WP Export file is a valid WXR file.
    [14-May-2015 23:03:44] ERROR: memory_get_usage(TRUE) = 27787264 memory_get_peak_usage(TRUE)= 28835840 Signal 15 is sent to script!
    [14-May-2015 23:03:44] Restart will be executed now.
    [14-May-2015 23:03:45] ERROR: memory_get_usage(TRUE) = 25690112 memory_get_peak_usage(TRUE)= 25690112 Step aborted: too many attempts!
    [14-May-2015 23:03:45] 1. Trying to generate a file with installed plugin names …
    [14-May-2015 23:03:45] Added plugin list file "xx.pluginlist.2015-05-14.txt" with 1.52 kB to backup file list.
    [14-May-2015 23:03:45] 1. Trying to generate a manifest file …
    [14-May-2015 23:03:45] Added manifest.json file with 4.93 kB to backup file list.
    [14-May-2015 23:03:45] 1. Trying to create backup archive …
    [14-May-2015 23:03:45] Compressing files as TarBz2. Please be patient, this may take a moment.
    [14-May-2015 23:03:48] ERROR: memory_get_usage(TRUE) = 26214400 memory_get_peak_usage(TRUE)= 29360128 Signal 15 is sent to script!
    [14-May-2015 23:03:48] Restart will be executed now.
    [14-May-2015 23:03:48] 2. Trying to create backup archive …
    [14-May-2015 23:03:51] ERROR: memory_get_usage(TRUE) = 25952256 memory_get_peak_usage(TRUE)= 26214400 Signal 15 is sent to script!
    [14-May-2015 23:03:51] Restart will be executed now.
    [14-May-2015 23:03:52] 3. Trying to create backup archive …
    [14-May-2015 23:03:53] ERROR: memory_get_usage(TRUE) = 25952256 memory_get_peak_usage(TRUE)= 25952256 Signal 15 is sent to script!
    [14-May-2015 23:03:53] Restart will be executed now.
    [14-May-2015 23:03:54] ERROR: memory_get_usage(TRUE) = 25690112 memory_get_peak_usage(TRUE)= 25690112 Step aborted: too many attempts!

    That looks reasonable?! Any other ideas?

    Plugin Author Daniel Hüsken

    (@danielhuesken)

    That are only 30 MB of memory. With hoster is it ?

    You can try to reduce server load. You can configure that under BackWPup > Settings > Tab: Job the last point.

    Thread Starter mw46d

    (@mw46d)

    The blog is hosted by https://www.siteground.com/ and so far, I did not have problems with them (it has been running there for five+ years).

    They give me the option to switch between different PHP versions but that did not help either:-( So something is really screwed up here:-(

    I tried to set the Reduce Server Load' tomaximum sleep’ but that did not help either:-(

    Thread Starter mw46d

    (@mw46d)

    I tried to run the backup on the command line and after changing the timeout etc, it seems to finish successfully?!

    The only thing is, it’s taking 204 seconds at least where the [web] PHP has a limit of 120 seconds. But the problems started way before the 120 seconds limit:-(

    X@serv01 [~]# ./BackWPup_cmd_start_job_1.sh
    + /usr/local/bin/php55 -c /home/X/Y/php.ini -r '$_SERVER[ "SERVER_ADDR" ] = "X"; $_SERVER[ "REMOTE_ADDR" ] = "Y"; $_SERVER[ "HTTP_HOST" ] = "marcoscorner.walther-family.org"; $_SERVER[ "HTTP_USER_AGENT" ] = "BackWPup"; define( "DOING_CRON", TRUE ); require "/home/X/Y/wp-load.php"; if( class_exists( "BackWPup_Job" ) ) BackWPup_Job::start_cli( 1 );'
    Job started
    ----------------------------------------------------------------------
    BackWPup log for Daily Backup from May 26, 2015 at 11:10
    [INFO] BackWPup version 3.1.4; A project of Inpsyde GmbH
    [INFO] WordPress version 4.2.2
    [INFO] Blog url: http://marcoscorner.walther-family.org/
    [INFO] BackWPup job: Daily Backup; DBCHECK+DBDUMP+FILE+WPEXP+WPPLUGIN
    [INFO] BackWPup cron: 0 3 * * *; Next: Wed, 27 May 2015 @ 03:00
    [INFO] BackWPup job started form commandline interface
    [INFO] PHP ver.: 5.5.17 (64bit); cli; Linux
    [INFO] Maximum PHP script execution time is 0 seconds
    [INFO] MySQL ver.: 5.5.32-31.0-log
    [INFO] Web Server:
    [INFO] curl ver.: 7.30.0; OpenSSL/1.0.1m
    [INFO] Temp folder is: /home/X/Y/wp-content/uploads/backwpup-a677a6-temp/
    [INFO] Logfile is: /home/X/Y/wp-content/backwpup-be9de-logs/backwpup_log_a677a6_2015-05-26_11-10-30.html
    [INFO] Backup type is: archive
    [INFO] Backup file is: /home/X/Y/wp-content/backwpup-be9de/backwpup_1_2015-05-26_11-10-30.tar.bz2
    [26-May-2015 11:10:30] 1. Try to backup database ...
    [26-May-2015 11:10:30] Connected to database X_wordpress on localhost
    [26-May-2015 11:10:30] Backup database table "wp_commentmeta" with "224" records
    [26-May-2015 11:10:30] Backup database table "wp_comments" with "98" records
    [26-May-2015 11:10:30] Backup database table "wp_links" with "7" records
    [26-May-2015 11:10:31] Backup database table "wp_options" with "350" records
    [26-May-2015 11:10:31] Backup database table "wp_postmeta" with "745" records
    [26-May-2015 11:10:31] Backup database table "wp_posts" with "457" records
    [26-May-2015 11:10:31] Backup database table "wp_term_relationships" with "196" records
    [26-May-2015 11:10:31] Backup database table "wp_term_taxonomy" with "23" records
    [26-May-2015 11:10:31] Backup database table "wp_terms" with "23" records
    [26-May-2015 11:10:31] Backup database table "wp_usermeta" with "32" records
    [26-May-2015 11:10:31] Backup database table "wp_users" with "2" records
    [26-May-2015 11:10:31] Added database dump "X_wordpress.sql" with 1.62 MB to backup file list
    [26-May-2015 11:10:31] Database backup done!
    [26-May-2015 11:10:31] 1. Trying to make a list of folders to back up ...
    [26-May-2015 11:10:32] 583 folders to backup.
    [26-May-2015 11:10:32] 1. Trying to create a WordPress export to XML file ...
    [26-May-2015 11:10:32] Check WP Export file ...
    [26-May-2015 11:10:33] WP Export file is a valid WXR file.
    [26-May-2015 11:10:33] Added XML export "Marco039s-Corner.wordpress.2015-05-26.xml" with 815.59 kB to backup file list.
    [26-May-2015 11:10:33] 1. Trying to generate a file with installed plugin names ...
    [26-May-2015 11:10:33] Added plugin list file "Marco039s-Corner.pluginlist.2015-05-26.txt" with 1.52 kB to backup file list.
    [26-May-2015 11:10:33] 1. Trying to generate a manifest file ...
    [26-May-2015 11:10:33] Added manifest.json file with 5.13 kB to backup file list.
    [26-May-2015 11:10:33] 1. Trying to create backup archive ...
    [26-May-2015 11:10:33] Compressing files as TarBz2. Please be patient, this may take a moment.
    [26-May-2015 11:10:33] Adding file /home/X/Y/wp-content/uploads/backwpup-a677a6-temp/X_wordpress.sql
    [26-May-2015 11:10:33] Adding file /home/X/Y/wp-content/uploads/backwpup-a677a6-temp/Marco039s-Corner.wordpress.2015-05-26.xml
    [26-May-2015 11:10:34] Adding file /home/X/Y/wp-content/uploads/backwpup-a677a6-temp/Marco039s-Corner.pluginlist.2015-05-26.txt
    [26-May-2015 11:10:34] Adding file /home/X/Y/wp-content/uploads/backwpup-a677a6-temp/manifest.json
    [26-May-2015 11:10:34] Adding file /home/X/Y/wp-content/uploads/backwpup-a677a6-temp/backwpup_readme.txt
    [26-May-2015 11:13:54] Backup archive created.
    [26-May-2015 11:13:54] Archive size is 158.35 MB.
    [26-May-2015 11:13:54] 4546 Files with 188.89 MB in Archive.
    [26-May-2015 11:13:54] 1. Trying to check database ...
    [26-May-2015 11:13:54] Result of table check for wp_commentmeta is: OK
    [26-May-2015 11:13:54] Result of table check for wp_comments is: OK
    [26-May-2015 11:13:54] Result of table check for wp_links is: OK
    [26-May-2015 11:13:54] Result of table check for wp_options is: OK
    [26-May-2015 11:13:54] Result of table check for wp_postmeta is: OK
    [26-May-2015 11:13:54] Result of table check for wp_posts is: OK
    [26-May-2015 11:13:54] Result of table check for wp_term_relationships is: OK
    [26-May-2015 11:13:54] Result of table check for wp_term_taxonomy is: OK
    [26-May-2015 11:13:54] Result of table check for wp_terms is: OK
    [26-May-2015 11:13:54] Result of table check for wp_usermeta is: OK
    [26-May-2015 11:13:54] Result of table check for wp_users is: OK
    [26-May-2015 11:13:54] Database check done!
    [26-May-2015 11:13:54] One old log deleted
    [26-May-2015 11:13:54] Job done in 204 seconds.
    Plugin Author Daniel Hüsken

    (@danielhuesken)

    Siteground has ask vor contant with us. we will see if we can help.

    Thread Starter mw46d

    (@mw46d)

    I used the little startup script above in a [system] cron job (and somehow left the minutes as *:-() and that worked as expected (for a full hour:-().

    So I’m happy for now but I would prefer to use `just the WP installation again’ if at all possible. Using that little script could potentially break upgrades down the line:-(

    Thanks

    Plugin Author Daniel Hüsken

    (@danielhuesken)

    We have found the inital problem see: https://wordpress.org/support/topic/error-signal-15-is-sent-to-script-4

    if ou use command line backup it is easyer to use wp-cli.org BAckWPup supports it.

    Thread Starter mw46d

    (@mw46d)

    I tried to comment the echo ' '; line as suggested in the other thread. That helped somewhat. But I still see one signal 15 in the log. The script recovers/restarts and seems to finish fine after that. So it looks like there is something else going on.

    Yes another log:

    [INFO] BackWPup version 3.1.4; A project of Inpsyde GmbH
    [INFO] WordPress version 4.2.2
    [INFO] Blog url: http://marcoscorner.walther-family.org/
    [INFO] BackWPup job: Daily Backup; DBCHECK+DBDUMP+FILE+WPEXP+WPPLUGIN
    [INFO] BackWPup no automatic job start configured
    [INFO] BackWPup job started manually
    [INFO] PHP ver.: 5.5.24 (64bit); cgi-fcgi; Linux
    [INFO] Maximum PHP script execution time is 120 seconds
    [INFO] MySQL ver.: 5.5.32-31.0-log
    [INFO] Web Server: Apache
    [INFO] curl ver.: 7.30.0; OpenSSL/1.0.1m
    [INFO] Temp folder is: /home/X/Y/wp-content/uploads/backwpup-a677a6-temp/
    [INFO] Logfile is: /home/X/Y/wp-content/backwpup-be9de-logs/backwpup_log_a677a6_2015-05-28_08-56-00.html
    [INFO] Backup type is: archive
    [INFO] Backup file is: /home/X/Y/wp-content/backwpup-be9de/backwpup_1_2015-05-28_08-56-00.tar.bz2
    [28-May-2015 08:56:00] 1. Try to backup database …
    [28-May-2015 08:56:00] Connected to database X_wordpress on localhost
    [28-May-2015 08:56:00] Backup database table "wp_commentmeta" with "224" records
    [28-May-2015 08:56:00] Backup database table "wp_comments" with "98" records
    [28-May-2015 08:56:00] Backup database table "wp_links" with "7" records
    [28-May-2015 08:56:00] Backup database table "wp_options" with "331" records
    [28-May-2015 08:56:00] Backup database table "wp_postmeta" with "745" records
    [28-May-2015 08:56:00] Backup database table "wp_posts" with "457" records
    [28-May-2015 08:56:00] Backup database table "wp_term_relationships" with "196" records
    [28-May-2015 08:56:00] Backup database table "wp_term_taxonomy" with "23" records
    [28-May-2015 08:56:00] Backup database table "wp_terms" with "23" records
    [28-May-2015 08:56:00] Backup database table "wp_usermeta" with "32" records
    [28-May-2015 08:56:00] Backup database table "wp_users" with "2" records
    [28-May-2015 08:56:00] Added database dump "X_wordpress.sql" with 1.63 MB to backup file list
    [28-May-2015 08:56:00] Database backup done!
    [28-May-2015 08:56:00] 1. Trying to make a list of folders to back up …
    [28-May-2015 08:56:01] 583 folders to backup.
    [28-May-2015 08:56:01] 1. Trying to create a WordPress export to XML file …
    [28-May-2015 08:56:02] Check WP Export file …
    [28-May-2015 08:56:03] WP Export file is a valid WXR file.
    [28-May-2015 08:56:03] Added XML export "Marco039s-Corner.wordpress.2015-05-28.xml" with 815.59 kB to backup file list.
    [28-May-2015 08:56:03] 1. Trying to generate a file with installed plugin names …
    [28-May-2015 08:56:03] Added plugin list file "Marco039s-Corner.pluginlist.2015-05-28.txt" with 1.52 kB to backup file list.
    [28-May-2015 08:56:03] 1. Trying to generate a manifest file …
    [28-May-2015 08:56:03] Added manifest.json file with 5.16 kB to backup file list.
    [28-May-2015 08:56:03] 1. Trying to create backup archive …
    [28-May-2015 08:56:03] Compressing files as TarBz2. Please be patient, this may take a moment.
    [28-May-2015 08:56:59] ERROR: memory_get_usage(TRUE) = 34340864 memory_get_peak_usage(TRUE)= 38797312 Signal 15 is sent to script!
    [28-May-2015 08:56:59] Restart will be executed now.
    [28-May-2015 08:57:00] 2. Trying to create backup archive …
    [28-May-2015 08:57:19] Backup archive created.
    [28-May-2015 08:57:19] Archive size is 169.53 MB.
    [28-May-2015 08:57:19] 4600 Files with 299.95 MB in Archive.
    [28-May-2015 08:57:19] Restart will be executed now.
    [28-May-2015 08:57:19] 1. Trying to check database …
    [28-May-2015 08:57:19] Result of table check for wp_commentmeta is: OK
    [28-May-2015 08:57:19] Result of table check for wp_comments is: OK
    [28-May-2015 08:57:19] Result of table check for wp_links is: OK
    [28-May-2015 08:57:19] Result of table check for wp_options is: OK
    [28-May-2015 08:57:19] Result of table check for wp_postmeta is: OK
    [28-May-2015 08:57:19] Result of table check for wp_posts is: OK
    [28-May-2015 08:57:19] Result of table check for wp_term_relationships is: OK
    [28-May-2015 08:57:19] Result of table check for wp_term_taxonomy is: OK
    [28-May-2015 08:57:19] Result of table check for wp_terms is: OK
    [28-May-2015 08:57:19] Result of table check for wp_usermeta is: OK
    [28-May-2015 08:57:19] Result of table check for wp_users is: OK
    [28-May-2015 08:57:19] Database check done!
    [28-May-2015 08:57:19] One old log deleted
    [28-May-2015 08:57:19] ERROR: memory_get_usage(TRUE) = 25427968 memory_get_peak_usage(TRUE)= 25427968 Job has ended with errors in 79 seconds. You must resolve the errors for correct execution.

    Thread Starter mw46d

    (@mw46d)

    Actually, it looks like the the echo ' '; comment did not help much at all. I also changed the Reduce Server Load to disabled and that seemed to have done the trick:-( After setting that back to medium, I see many signal 15s again and the backup isn’t completely successful.

    So, I guess, I’ll stick with my outside-cron for now.

    Plugin Author Daniel Hüsken

    (@danielhuesken)

    Thanks, and nice to know. The options can help or can do the contrary. I try to set it per default so that it works for the most.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Problem since upgrading to WP 4.2.2:-(’ is closed to new replies.