Steve Cliff
Forum Replies Created
-
Yep, I’ve already dropped a note in the Postman support group – hopefully he/she.they will spot something ??
Update: When I configure Postman for SMTP rather than SendGrid emails it seems to work … so may not be a locking issue after all.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Unable to open info.tgz for readingAnother update (hope this is helping rather than hindering!) – it seems at the minute that if I use SMTP to send emails it works fine but if I use SendGrid it locks on the file …….
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Unable to open info.tgz for readingNB. for reference: https://www.ads-software.com/support/topic/info-tgz-possibly-locked/
- This reply was modified 7 years, 8 months ago by Steve Cliff.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Unable to open info.tgz for readingAha! I may have got a bit further with this – the info.tgz is an attachment that is being sent on the email from the xcloner plugin. I’m wondering whether xcloner hasn’t released a lock on the file before sending the email ….?
Will have a check with xcloner support and let you know …
- This reply was modified 7 years, 8 months ago by Steve Cliff.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Unable to open info.tgz for readingIt’s not happened before to be honest apart from when I use xcloner – so I’m guessing that it’s a combination of the two plugins together causing a screw up somewhere?
I would rather keep the backup term simple as you can actually backup not just WordPress, but an entire site if the Backup Start Path is changed
One of the main reasons I use this plugin is because I can backup “extra” stuff, including custom tables in MySQL that work alongside WordPress ??
(Closing support request)
Absolutely spot on Liuta – everything sorted ??
Thanks so much for your great support on this – I couldn’t have asked for more. And I really love the way your plugin is set out – looks very smart.
It’s not much I’m afraid but will gladly donate to your Paypal account!
Thanks again.
Steve.Excellent catch on the xmlwriter – I didn’t have that installed ??
Installing that has finally got a backup up on Azure so we are almost there! Unfortunately the plugin reports a gateway timeout, even though the file gets uploaded ok (I’ve re-downloaded it and extracted it fine).
Nothing odd in logs:
[2017-03-13 09:18:56] xcloner_remote_storage.INFO: Upload done, disconnecting from remote storage AZURE [] [] [2017-03-13 09:17:47] xcloner_remote_storage.INFO: Transferring backup backup_wptest.familycliff.co.uk-2017-03-13_09-17-sql-892ee.tar to remote storage AZURE [""] [] [2017-03-13 09:17:47] xcloner_remote_storage.INFO: Doing AZURE remote storage cleanup for 7 days limit [] [] [2017-03-13 09:17:47] xcloner_remote_storage.INFO: Creating the AZURE BLOB remote storage connection [""] []
The gateway timeout triggers after around 50 seconds of starting the upload. I’ve reset my max PHP execution time from 30 seconds to 2 minutes as well, just in case – but still no joy.
So close …. !
Nope, still the same timeout error I’m afraid – however, there *is* something in the log this time:
2017-03-12 21:44:33] php_system.INFO: E_ERROR: array ( 'type' => 1, 'message' => 'Class \'XmlWriter\' not found', 'file' => '/var/www/wptest/public/wp-content/plugins/xcloner-backup-and-restore/vendor/microsoft/azure-storage/src/Common/Internal/Serialization/XmlSerializer.php', 'line' => 208, ) [] [] [2017-03-12 21:43:24] xcloner_remote_storage.INFO: Transferring backup
The file is definitely there:
-rw-r--r--. 1 nginx nginx 8094 Mar 5 09:34 XmlSerializer.php
I kind of presumed it would be a permissions error for some reason but my php-fpm https://www.conf has the following lines in it so I think it’s correct?
listen.owner = nginx listen.group = nginx listen.mode = 0666 user = nginx group = nginx
Confused ??
Thanks Liuta – 4.0.2 works better in that I don’t get the immediate error. However, it sits there for a while and reports back with a “Gateway Time-out” error.
I’m not 100% sure what’s going on to be honest as looking at the nginx logs it seems to say that I’m getting a time out while reading response header from upstream (the WordPress site is sitting behind a reverse proxy server).
Just to make sure, I will set it up so that it’s going directly to the internet instead and then run the tests again ….lol! Well, it’s been a “fun” day so far – not had a lot of luck building a PHP7 WordPress VM – for some reason I am getting permission problems. Nothing to do with your plugin though ??
In order to carry on testing I used a PHP5.6 box in the meantime – the Azure connection now verifies correctly and the backup runs. However, when the plugin tries to upload to Azure I get a “File not found at path” error, as per screen shot:
Not a lot in the logs this time though I don’t think:
[2017-03-12 18:36:33] xcloner_remote_storage.INFO: Transferring backup backup_wptest.familycliff.co.uk-2017-03-12_18-36-sql-299a5.tar to remote storage AZURE [""] [] [2017-03-12 18:36:33] xcloner_remote_storage.INFO: Doing AZURE remote storage cleanup for 7 days limit [] [] [2017-03-12 18:36:33] xcloner_remote_storage.INFO: Creating the AZURE BLOB remote storage connection [""] []
Sorry to have to ask for more help but …. ? ??
- This reply was modified 7 years, 8 months ago by Steve Cliff.
- This reply was modified 7 years, 8 months ago by Steve Cliff.
Wow – fast response, much appreciated Liuta!
I’m in the middle of setting up a new template for my VM based on PHP 7 – I will quickly flip to that instead and finish that off then try your plugin under PHP 7 instead, presuming that PHP 7 is ok that is?
Will hopefully let you know how I get on tomorrow (depending on how much coffee keeps me awake tonight ….)
Thanks again for info.
Forum: Plugins
In reply to: [wpDirAuth] Filter query – is it possible?I broke out of training for lunch and tried this – works absolutely perfect – thanks very much !