Window hangs when running Managed Backups

When I enter the code and chose "RUN BACKUP" window hangs and nothing happens.

How to fix ?

  • Axel Axelsson

    I get this error message in my error.log:

    2017/03/05 09:47:16 [error] 1371#1371: *12376 access forbidden by rule, client: 45.76.86.9, server: eistnaflug.is, request: "GET /wp-content/uploads/snapshots/ HTTP/1.1", host: "eistnaflug.is"

    And this one in wp debug.log:

    [05-Mar-2017 09:47:05 UTC] PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPHP/lib/requestcore/requestcore.class.php:615
    Stack trace:
    #0 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPHP/lib/requestcore/requestcore.class.php(837): RequestCore->prep_request()
    #1 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPHP/services/s3.class.php(923): RequestCore->send_request()
    #2 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPHP/services/s3.class.php(1672): AmazonS3->authenticate('wpmudev.snapsho...', Array)
    #3 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Full/Remote/Storage.php(637): AmazonS3->list_objects('wpmudev.snapsho...', Array)
    #4 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Full/Remote/Storage.php(695): Snapshot_Model_Full_Remote_Storage->get in /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPHP/lib/requestcore/requestcore.class.php on line 615

  • Axel Axelsson

    Hello,

    Here are some informations:

    My latest phpCurl:
    curl 7.50.1 (x86_64-pc-linux-gnu) libcurl/7.50.1 GnuTLS/3.5.3 zlib/1.2.8 libidn/1.33 librtmp/2.3
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets

    Firewall:
    accept TCP 22 x.x.x.x/32
    accept TCP 80 0.0.0.0/0
    accept TCP 443 0.0.0.0/0

    wp-debug.log:
    [07-Mar-2017 16:23:09 UTC] PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPH P/lib/requestcore/requestcore.class.php:615
    Stack trace:
    #0 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPH P/lib/requestcore/requestcore.class.php(837): RequestCore->prep_request()
    #1 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPH P/services/s3.class.php(923): RequestCore->send_request()
    #2 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/aws/AWSSDKforPH P/services/s3.class.php(1672): AmazonS3->authenticate('wpmudev.snapsho...', Array)
    #3 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Full/Remote/Storage.php(637 ): AmazonS3->list_objects('wpmudev.snapsho...', Array)
    #4 /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib/Snapshot/Model/Full/Remote/Storage.php(695 ): Snapshot_Model_Full_Remote_Storage->get in /var/www/eistnaflug.is/wp-content/plugins/snapshot/lib /Snapshot/Model/Destination/aws/AWSSDKforPHP/lib/requestcore/requestcore.class.php on line 615

    apt-cache search curl
    curl - command line tool for transferring data with URL syntax
    devscripts - scripts to make the life of a Debian Package maintainer easier
    libcurl3 - easy-to-use client-side URL transfer library (OpenSSL flavour)
    libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours)
    libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavour)
    libcurl3-nss - easy-to-use client-side URL transfer library (NSS flavour)
    libcurl4-doc - documentation for libcurl
    libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS flavour)
    libcurl4-nss-dev - development files and documentation for libcurl (NSS flavour)
    libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour)
    libhttp-cookies-perl - HTTP cookie jars
    libstrongswan-extra-plugins - strongSwan utility and crypto library (extra plugins)
    php7.0-curl - CURL module for PHP
    python-pycurl - Python bindings to libcurl
    python-pycurl-dbg - Python bindings to libcurl (debug extension)
    python-pycurl-doc - Python bindings to libcurl (documentation)
    python3-pycurl - Python bindings to libcurl (Python 3)
    python3-pycurl-dbg - Python bindings to libcurl (debug extension, Python 3)
    ario - GTK+ client for the Music Player Daemon (MPD)
    ario-common - GTK+ client for the Music Player Daemon (MPD) (Common files)
    cl-curry-compose-reader-macros - Reader macros for function partial application and composition.
    collectd-core - statistics collection and monitoring daemon (core system)
    cupt - flexible package manager -- console interface
    curlftpfs - filesystem to access FTP hosts based on FUSE and cURL
    etcd - highly-available key value store -- daemon
    filetea - Web-based file sharing system
    flickcurl-doc - utilities to call the Flickr API from command line - documentation
    flickcurl-utils - utilities to call the Flickr API from command line
    fp-units-net - Free Pascal - networking units dependency package
    fp-units-net-3.0.0 - Free Pascal - networking units
    gambas3-gb-net-curl - Gambas advanced networking component
    geany-plugin-autoclose - auto-closing plugin for Geany
    gnupg1 - GNU privacy guard - a free PGP replacement ("classic" version)
    gnupg1-curl - GNU privacy guard - a free PGP replacement (cURL helpers for "classic" version)
    golang-etcd-server-dev - highly-available key value store -- source
    httpie - CLI, cURL-like tool for humans
    letsencrypt.sh - ACME client implemented in Bash
    libcupt4-1-downloadmethod-curl - flexible package manager -- libcurl download method
    libcurl-ocaml - OCaml curl bindings (Runtime Library)
    libcurl-ocaml-dev - OCaml libcurl bindings (Development package)
    libcurlpp-dev - c++ wrapper for libcurl (development files)
    libcurlpp0 - c++ wrapper for libcurl
    libflickcurl-dev - C library for accessing the Flickr API - development files
    libflickcurl0 - C library for accessing the Flickr API
    libflickcurl0-dbg - C library for accessing the Flickr API - debugging symbols
    libghc-curl-dev - GHC libraries for the libcurl Haskell bindings
    libghc-curl-doc - Documentation for the libcurl Haskell bindings; documentation
    libghc-curl-prof - Profiling libraries for the libcurl Haskell bindings; profiling libraries
    libghc-hxt-curl-dev - LibCurl interface for HXT
    libghc-hxt-curl-doc - LibCurl interface for HXT; documentation
    libghc-hxt-curl-prof - LibCurl interface for HXT; profiling libraries
    libghc-hxt-http-dev - Interface to native Haskell HTTP package HTTP
    libghc-hxt-http-doc - Interface to native Haskell HTTP package HTTP; documentation
    libghc-hxt-http-prof - Interface to native Haskell HTTP package HTTP; profiling libraries
    libjs-jquery-metadata - jQuery plugin for parsing metadata from elements
    libjsonrpccpp-client0 - library implementing json-rpc C++ clients
    libjsonrpccpp-client0-dbg - debugging symbols for libjsonrpccpp-client0
    libotbcurladapters-5.6-1 - ORFEO Toolbox library - OTBCurlAdapters
    libresource-retriever-dev - Robot OS resource_retriever library - development files
    libresource-retriever0d - Robot OS resource_retriever library
    libstd-rust-1.10 - Rust standard libraries
    libstd-rust-dev - Rust standard libraries - development files
    libwsman-curl-client-transport1 - Open Web Services Manager run-time libraries
    libwww-curl-perl - Perl bindings to libcurl
    lua-curl - libcURL bindings for the Lua language
    lua-curl-dev - libcURL development files for the Lua language
    mpdcron - add scrobbler, rating, play counts and other functionalities to MPD
    openssh-known-hosts - download, filter and merge known_hosts for OpenSSH
    php-http-request2 - Provides an easy way to perform HTTP requests
    pmccabe - McCabe-style function complexity and line counting for C and C++
    pybit-svn - Subversion post commit hook for pybit
    python-resource-retriever - Robot OS resource_retriever library - Python
    python-smartypants - smart-quotes plugin for pyblosxom
    python3-smartypants - smart-quotes plugin for pyblosxom (Python 3 version)
    r-cran-curl - GNU R modern and flexible web client for R
    r-cran-rcurl - GNU R General network (HTTP/FTP/...) client interface
    ruby-curb - Ruby libcurl bindings
    ruby-ethon - libcurl wrapper using ffi
    ruby-typhoeus - parallel HTTP library on top of ethon
    rust-doc - Rust systems programming language - Documentation
    rust-gdb - Rust debugger (gdb)
    rust-lldb - Rust debugger (lldb)
    rustc - Rust systems programming language
    s3curl - Easily interact with AWS S3 HTTP services
    sbackup-plugins-fuse - Simple Backup Suite FUSE plugins
    slang-curl - transfer files using HTTP and FTP from S-Lang
    strongswan-plugin-curl - strongSwan plugin for the libcurl based HTTP/FTP fetcher
    tclcurl - Tcl bindings to libcurl
    twittering-mode - Twitter client for Emacs
    uwsgi-infrastructure-plugins - infrastructure plugins for uWSGI
    uwsgi-plugin-alarm-curl - cURL alarm plugin for uWSGI
    uwsgi-plugin-curl-cron - cron cURL plugin for uWSGI
    wmget - Background download manager in a Window Maker dock app
    xmms2-plugin-curl - XMMS2 - curl transport for HTTP
    php-curl - CURL module for PHP [default]
    php5.6-curl - CURL module for PHP
    php7.1-curl - CURL module for PHP

  • Ash

    Hello Axel Axelsson

    2017/03/05 09:47:16 [error] 1371#1371: *12376 access forbidden by rule, client: 45.76.86.9, server: eistnaflug.is, request: "GET /wp-content/uploads/snapshots/ HTTP/1.1", host: "eistnaflug.is"

    This seems a permission issue. Would you please make sure you have correct permission for www-data user group?

    PHP Fatal error: Uncaught Error: Call to undefined function curl_init()

    This seems you don't have curl installed. But as you are seeing curl enabled, would you please try reinstalling?

    sudo apt-get install php-curl
    sudo service apache2 restart

    Make sure you restart your apache server after reinstalling curl.

    Let us know if that works.

    Have a good day!

    Cheers
    Ash

  • Axel Axelsson

    Hello,

    sudo apt-get install php-curl
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    php-curl is already the newest version (1:7.1+50+deb.sury.org~yakkety+1).
    0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

    I fallowed this to the teeth: https://www.vultr.com/docs/how-to-install-wordpress-on-a-lemp-configuration

    Still not working.

  • Ash

    Hello Axel Axelsson

    Would you please send me admin login and ssh access details? If needed we will escalate to a developer.

    To send me details, please use our contact form: https://premium.wpmudev.org/contact/

    Select: I have a different question
    Subject: Attn-Ash (this ensures that it will be assigned to me)
    Details:
    1. Send all requested details
    2. Send a link of this thread so that I can track
    3. Send any other relevant link

    I will be happy to take a look :slight_smile:

    Cheers
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.