[Plugin: BackUpWordPress] Backup fails after Update to Version 1.6.2
-
Hi all,
after the newest update I get the following error messages:
zip: sh: /usr/bin/zip: No such file or directory zip: The backup file was not created pclzip: PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open temporary file '/var/www/vhosts/domain/blog/wp-content/backupspclzip-4f04cdb462937.tmp' in binary write modeBefore I used this wonderful Plugin for “years”. Any idea?
Thanks
-
Hi myblog,
Thanks for the error report, looks like this is a bug in the PclZip tmp path.
Could you try adding the following line to your wp-config.php
define( 'PCLZIP_TEMPORARY_DIR', ABSPATH . 'wp-content/backups/' );Hi Tom,
after I inserted the code line into the wp-config.php file. The pclzip message has disappeared.The following error message is still being displayed:
zip: sh: /usr/bin/zip: No such file or directory zip: The backup file was not createdWhen I look into the backup folder during a started backup process, I can see the following temp files:
.backup_running database_name.sql name.backup.2012-01-01-23-03-05.zip (actual date and time during process time) name.backup.2012-01-01-23-03-05.zip.mq23x1after the backup is done, the following files are left in the directory:
.backup_errors .htaccess name.backup.2011-12-31-23-06-35.zip (the old and exiting backups)Excellent thanks for reporting back.
I’ve now know what the issue is and will have a fix out in 1.6.3 asap.
Hi,
I’m not an expert on any of this (i.e. coding), but my recent update is now having problems. Backing up was fine until I updated the other day (I just downloaded the latest patch you released today). This is still not working. I have been getting this statement:BackUpWordPress detected issues with your last backup.
zip: zip warning: No such file or directory zip warning: Permission deniedHelp!
Thanks Tom,
for this quick reaction. Now it’s working fine. Even removing
define( 'PCLZIP_TEMPORARY_DIR', ABSPATH . 'wp-content/backups/' );is ok now.Great and a good New Year to you.
@sidewalkstv has it ever worked on your system? It looks like there is a permission problem! Try setting the directory permission of:
/wp-content/backups
to 777, to see if that solves the problem.myblog@0112
I had the same problem with 1.6.2
After updating to 1.6.3 it became worse. I now get:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/mysqldump) is not within the allowed path(s): (/home/domain/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/domain/domains/domain.com/public_html/main/wp-content/plugins/backupwordpress/hm-backup/hm-backup.php on line 714
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/mysql/bin/mysqldump) is not within the allowed path(s): (/home/domain/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/domain/domains/domain.com/public_html/main/wp-content/plugins/backupwordpress/hm-backup/hm-backup.php on line 714
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/mysql/bin/mysqldump) is not within the allowed path(s): (/home/domain/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/domain/domains/domain.com/public_html/main/wp-content/plugins/backupwordpress/hm-backup/hm-backup.php on line 714
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/mysqldump) is not within the allowed path(s): (/home/domain/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/domain/domains/domain.com/public_html/main/wp-content/plugins/backupwordpress/hm-backup/hm-backup.php on line 714
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/opt/local/lib/mysql6/bin/mysqldump) is not within the allowed path(s): (/home/domain/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/domain/domains/domain.com/public_html/main/wp-content/plugins/backupwordpress/hm-backup/hm-backup.php on line 714
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/opt/local/lib/mysql5/bin/mysqldump) is not within the allowed path(s): (/home/domain/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/domain/domains/domain.com/public_html/main/wp-content/plugins/backupwordpress/hm-backup/hm-backup.php on line 714
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/opt/local/lib/mysql4/bin/mysqldump) is not within the allowed path(s): (/home/domain/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/domain/domains/domain.com/public_html/main/wp-content/plugins/backupwordpress/hm-backup/hm-backup.php on line 714
1
✓ Automatic backups are disabled.Hi myblog, everything was working perfectly until the update. As I said, the latest patch doesn’t fix it either. The only thing I noticed before the update, BackUp wasn’t creating a daily backup…but it looked like it did make a backup after I created a new post.
Another thing myblog, I did change my permission to 777 as you mentioned, and the same thing pops up — zip: zip warning: Permission denied.
@tom,
all seems to work fine now, expect one thing. This message appears in the backend, despite the backup files are being created.
BackUpWordPress detected issues with your last backup.Dismiss zip: The backup file was not createdAny ideas?
myblogTo Tom, I also get the error message that myblog reported 4 days ago.At the end of the routine I get a report in Manage Backups that a backup was done but the backup file is 618B only. Backup runs for several minutes. At first I thought everything was fine until I tried your Restore instructions and realized I had nothing in case of disaster. The sql file seems to be created (1.4MB) but disappears once the process ends. Any thoughts on what might be wrong on my side and steps to correct. Thank You.
Thanks for reporting your issues everyone.
The message
zip: The backup file was not createdDoes not mean your backup didn’t work, just that it failed using the command line zip command, in that case backupwordpress uses either ziparchive or pclzip. The message will be removed in a future version.
@chrjfri could you email me off list so I can debug your issue in more detail [email protected]
@trendyweb could you try the development version of backupwordpress and see if that fixes the issue.
Thanks for the quick reply Tom ! Just wrote as requested.
I’d try the development version if I could find it?
The topic ‘[Plugin: BackUpWordPress] Backup fails after Update to Version 1.6.2’ is closed to new replies.