Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Same here. Thanks for the solution. It’s a bit strange though that this can only be accomplished by installing another plugin.

    @romkaltu for the record, I confirmed this is working:

    
    add_action('rest_api_init', function () {
      register_rest_route('shapi/v1', '/locations/', array(
        'methods' => 'GET',
        'callback' => 'shapi_get_locations'
      ));
    });
    
    function sh_add_custom_endpoint_caching( $allowed_endpoints ) {
      if ( ! isset( $allowed_endpoints[ 'shapi/v1' ] ) || ! in_array( 'locations', $allowed_endpoints[ 'shapi/v1' ] ) ) {
        $allowed_endpoints[ 'shapi/v1' ][] = 'locations';
      }
      return $allowed_endpoints;
    }
    add_filter( 'wp_rest_cache/allowed_endpoints', 'sh_add_custom_endpoint_caching', 10, 1);
    
    • This reply was modified 4 years, 6 months ago by jos.

    Reinstalled the plug, did not help either :-/
    Anyone from the plugin devteam care to explain exactly what Signal 15 is about?

    Nothing of the above helped. I even decreased the size of the backup by backing up just a few files and the database. There is no timeout. See log below.

    On top of this there’s also an S3 API validation error. But in the job settings for S3 it authenticates just fine.


    [INFO] BackWPup version 3.1.1; A project of Inpsyde GmbH [INFO]
    WordPress version 3.8 [INFO] Blog url:
    https://www.roemeniemaardananders.nl/ [INFO] BackWPup job: totaal;
    DBDUMP+FILE+WPEXP+WPPLUGIN [INFO] BackWPup cron: 30 3 * * *; Next:
    Mon, 30 Dec 2013 @ 03:30 [INFO] BackWPup job started manually
    [INFO] PHP ver.: 5.3.3; cgi-fcgi; Linux [INFO] Maximum PHP script
    execution time is 300 seconds [INFO] MySQL ver.:
    5.0.83-community-log [INFO] curl ver.: 7.15.5; OpenSSL/0.9.8b
    [INFO] Temp folder is:
    /var/www/vhosts/7/152481/webspace/httpdocs/roemeniemaardananders.nl/wp-content/uploads/backwpup-0eec44-temp/
    [INFO] Logfile is:
    /var/www/vhosts/7/152481/webspace/httpdocs/roemeniemaardananders.nl/wp-content/uploads/backwpup-0eec44-logs/backwpup_log_0eec44_2013-12-29_08-52-54.html
    [INFO] Backup type is: archive [INFO] Backup file is:
    /var/www/vhosts/7/152481/webspace/httpdocs/roemeniemaardananders.nl/wp-content/uploads/backwpup-0eec44-temp/backwpup_1bb4b0_2013-12-29_08-52-54.tar.gz

    [29-Dec-2013 08:52:54] 1. Try to backup
    database …
    [29-Dec-2013 08:52:54] Connected to database
    db57513_roemenie2 on mysql18-int.cp.hostnet.nl

    [29-Dec-2013 08:52:54] Backup database table
    “wp_commentmeta” with “9” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_comments” with “3” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_links” with “0” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_options” with “344” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_postmeta” with “231” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_posts” with “167” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_term_relationships” with “50” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_term_taxonomy” with “30” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_terms” with “30” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_usermeta” with “44” records
    [29-Dec-2013 08:52:54] Backup database table
    “wp_users” with “2” records
    [29-Dec-2013 08:52:54] Added database dump
    “db57513_roemenie2.sql” with 1.05 MB to backup file list

    [29-Dec-2013 08:52:54] Database backup done!

    [29-Dec-2013 08:52:54] 1. Trying to make a list of
    folders to back up …
    [29-Dec-2013 08:52:54] 32 folders to backup.

    [29-Dec-2013 08:52:54] 1. Trying to create a WordPress
    export to XML file …
    [29-Dec-2013 08:52:55] Check WP Export
    file …
    [29-Dec-2013 08:52:55] WP Export file is a valid WXR
    file.
    [29-Dec-2013 08:52:55] Added XML export
    “Roemeni?.wordpress.2013-12-29.xml” with 238.58 kB to backup file
    list.
    [29-Dec-2013 08:52:55] 1. Trying to generate a file
    with installed plugin names …
    [29-Dec-2013 08:52:55] Added plugin list file
    “Roemeni?.pluginlist.2013-12-29.txt” with 1.04 kB to backup file
    list.
    [29-Dec-2013 08:52:55] 1. Trying to generate a
    manifest file …
    [29-Dec-2013 08:52:55] Added manifest.json file with
    5.18 kB to backup file list.
    [29-Dec-2013 08:52:55] ERROR: Signal 15 is sent to
    script!
    [29-Dec-2013 08:52:55] Restart will be executed
    now.
    [29-Dec-2013 08:52:55] 2. Trying to create backup
    archive …
    [29-Dec-2013 08:52:55] Compressing files as TarGz.
    Please be patient, this may take a moment.
    [29-Dec-2013 08:52:57] ERROR: Signal 15 is sent to
    script!
    [29-Dec-2013 08:52:57] Restart will be executed
    now.
    [29-Dec-2013 08:52:57] 3. Trying to create backup
    archive …
    [29-Dec-2013 08:52:59] ERROR: Signal 15 is sent to
    script!
    [29-Dec-2013 08:52:59] Restart will be executed
    now.
    [29-Dec-2013 08:53:00] 1. Trying to send backup file
    to S3 Service …
    [29-Dec-2013 08:53:00] WARNING:
    fopen(/var/www/vhosts/7/152481/webspace/httpdocs/roemeniemaardananders.nl/wp-content/uploads/backwpup-0eec44-temp/backwpup_1bb4b0_2013-12-29_08-52-54.tar.gz):
    failed to open stream: No such file or directory

    [29-Dec-2013 08:53:00] WARNING: fseek() expects
    parameter 1 to be resource, boolean given
    [29-Dec-2013 08:53:00] ERROR: S3 Service API: Validation
    errors: [ContentType] must be of type string
    [29-Dec-2013 08:53:00] 2. Trying to send backup file
    to S3 Service …
    [29-Dec-2013 08:53:00] WARNING:
    fopen(/var/www/vhosts/7/152481/webspace/httpdocs/roemeniemaardananders.nl/wp-content/uploads/backwpup-0eec44-temp/backwpup_1bb4b0_2013-12-29_08-52-54.tar.gz):
    failed to open stream: No such file or directory

    [29-Dec-2013 08:53:00] WARNING: fseek() expects
    parameter 1 to be resource, boolean given
    [29-Dec-2013 08:53:00] ERROR: S3 Service API: Validation
    errors: [ContentType] must be of type string
    [29-Dec-2013 08:53:00] 3. Trying to send backup file
    to S3 Service …
    [29-Dec-2013 08:53:00] WARNING:
    fopen(/var/www/vhosts/7/152481/webspace/httpdocs/roemeniemaardananders.nl/wp-content/uploads/backwpup-0eec44-temp/backwpup_1bb4b0_2013-12-29_08-52-54.tar.gz):
    failed to open stream: No such file or directory

    [29-Dec-2013 08:53:00] WARNING: fseek() expects
    parameter 1 to be resource, boolean given
    [29-Dec-2013 08:53:00] ERROR: S3 Service API: Validation
    errors: [ContentType] must be of type string
    [29-Dec-2013 08:53:00] ERROR: Step aborted: too many
    attempts!
    [29-Dec-2013 08:53:00] ERROR: Job has ended with errors
    in 6 seconds. You must resolve the errors for correct
    execution.

    I don’t have the option “Restart on archive creation”?
    Using version 3.1.1.
    The error came right after updating WordPress to 3.8 and BackWPup to 3.1.1

    the ALTERNATE_WP_CRON solution solved my problem (v3.0.13) too.
    Thank you!

    Thread Starter jos

    (@josfaber)

    That worked buzztone. I should have tried that myself before complaining ?? Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)