«

»

Feb 27 2013

WordPress Snapshot Backup plugin not working on ISPConfig3

I have the WordPress Snapshot Plugin installed on 3 of my websites. On 2 of them it’s working – transferring the backup to the desired FTP server, but on one it’s not working as it should. It doesn’t create the backup locally nor uploading it via FTP. The plugin’s window looks like this when hitting “Create new snapshot” button :


Preflight Checks
All good - let's Snapshot!
Reading out the Database
This could take a moment...
The size of your Database File is 358.4 kB.
Done!
Archiving your website
This could take another moment...
The size of this Snapshot is 0.01 MB
Done!
Send package to FTP site
Connected to 93.94.95.96.
Logged in as snapsh0t
Uploading package to FTP repository...
File was uploaded successfully

The only relevant error is in the Apache log :

tar: Removing leading `/' from member names
tar: /var/www/clients/client5/web5/web/*: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

The archive contains only one file :

\var\www\clients\client5\web5\web\.htaccess

Note : client5 and web5 are may be different in your case. You can find the corresponding folder of your site (the internal names) used by ISPConfig in : SITES tab, then click on the domain name, OPTIONS tab.

For this domain I am using PHP Fast-CGI in ISPConfig.

Measures taken :

1. Turn DEBUG on for ISPCONFIG :

Login to ISPConfig and go to: System > Server config > Server (name of the server) > Server

and set Logelevel to Debug.

I checked the ISPConfig log, but no useful info there :

tail -f /var/log/ispconfig/ispconfig.log

2. Enable SuEXEC for the domain :

In ISPConfig, go to SITES, click the domain name, and in the DOMAIN column , check SuEXEC option.

Enable SuEXEC on ISPConfig 3

Enabling SuEXEC on ISPConfig 3


Useful info will be seen in the file below, only if SuEXEC is enabled.

/var/log/apache2/suexec.log

[2013-02-20 16:59:20]: uid: (5006/web5) gid: (5008/client5) cmd: .php-fcgi-starter

So the solution is to enable SuEXEC in ISPConfig.

PS : I’ve checked the other 2 domains that are working with the plugin, and SuEXEC was enabled.

Tested with Snapshot Backup 2.1.1 and WordPress 3.5.1 on ISPConfig 3.0.4.6 running on Ubuntu 12.04.2 x64 LTS

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*