Perch runway backup
I moved a site into production and i now can not create a backup, i can see the backups created by the staging domain when i choose restore.
what happens is i click backup now and i get a blank page with the last piece of the url being - perch/core/settings/backup/?id=4
I have the latest version of dropbox and perch installed.
Have you seen this before?
regards,
Brett
If you are getting a blank page then you have a PHP error, take a look in the error log and see what it is. If that doesn't help then post the error back here.
Hi
I have bee back and forward with our hosts, can you tell me what script runs to do the dropbox backup, we think it is being blocked.
regards,
brett
It's not as simple as one script. Can you show us your diagnostics report?
Hi Drew
I set up a cron job to run the Secret, it fails every time with No secret found. See https://docs.grabaperch.com/docs/scheduled-tasks/ for configuration instructions.
that takes me to the perch secret documentation which states that you need to add the define('PERCH_SCHEDULE_SECRET', 'mysecret'); to the perch/config/config.php
In the Runway doco is has define('PERCH_SCHEDULE_SECRET', 'mysecret'); in the perch/config/config.local.php file. I have added it to both and it does not make any difference, even if i run the https://yoursite.com/perch/core/scheduled/run.php?secret=mysecret I get a blank page.
when i enter the backup page i get this
but when i run the backup all i get is a blank page with perch/core/settings/backup/?id=6 in the url
Regards,
Brett
Did you look in the PHP error log? A blank page is indicative of a PHP error and the message will more than likely allow us to help you.
Hi Rachel
There is nothing in th PHP logs because our provider is stopping whatever outbound scripts are running, also i am confused as to why the secret can not be seen, they are obviously stopping that as well, they are quite happy to open any programs/ports that we need.
Regards,
Brett
Can you show us the line from your crontab?
Hi php /home/dada1515/public_html/perch/core/scheduled/run.php c8otmj6urhcz8lrs
Regards
Brett
If you request the scheduled task script using the URL provided in the control panel - does that work?
Hi
No, I get the same blank screen.
Regards
Brett
I'd expect a blank screen. Does the backup run?
No, it doesn't
Does the 'backup now' option work?
No, same blank screen, there are no errors so my provider is probably blocking some scripts, Where should i ask them to decrease the security
Also i can see the backed up files that i created from my other accounts, when i choose restore they are retrieved.
I haven't tried to restore them as the are out of date.
Regards,
Brett
Are you able to test this on a reliable platform? If the host is blocking software from running, then it's going to be really difficult for us to help.
I have run perch on this platform for 2 years, this is the only issue i have ever had, no issues with twitter feeds, only the backup, what files do i need to unbloock, is it the run.php?
What are they doing technically when something is 'blocked' ?
I dont know, I am stuck in the middle, all I know is that the backup to Dropbox is not being executed and there are no errors, so whatever happens to run the Dropbox backup is being blocked.
Does it work on your dev copy of the site?
Yes and locally.