Support

Akeeba Backup for Joomla!

#8393 Frontend backup fails with update 3.0.a5.1

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 01 April 2010 05:21 CDT

user8706
Hi Nicholas,

I am using the frontend-backup. Everything works fine with 3.0.a1.1. 'Today I have installed 3.0.a5.1. Since this moment, the frontend-backup does not work any more. This means, that no backups are created. In my tmp-directory a file named akeeba_storage.php is created - and that's it. Nothing else.

In my cronjob-messages I can see a difference between the two versions.

With 3.0.a5.1 I get a message which contains this string:
Set-Cookie: fc19eb00eab0ed923fdb97149b70db01=16bae7b48179bbffc1cb577fc3576d07;
path=/
Location:

With 3.0.a1.1 I get the same string plus the additional information, that cookies have been deleted:
Set-Cookie: 30404400cb44e45a3c59a688f4fc2df8=6a3df7142c04cda8299e8c4269aff4d0;
path=/
Set-Cookie: lang=deleted; expires=Sun, 29-Mar-2009 11:55:06 GMT; path=/
Set-Cookie: jfcookie=deleted; expires=Sun, 29-Mar-2009 11:55:06 GMT; path=/
Set-Cookie: jfcookie[lang]=deleted; expires=Sun, 29-Mar-2009 11:55:06 GMT;
path=/
Location:

Can you help me or do you have any idea, what to change to get it working again?

Thanks for your support!

Best regards,
Uwe

dlb
I don't have any ideas on this one, I'll flag it for Nicholas.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user8706
Hi Dale,
thanks for flagging this to Nicholas.
Is there any place wherer to download the previous versions? Unfortunately I have not stored 3.0.a1.1.
Regards,
Uwe

dlb
There are several back versions on the JoomlaCode site, but it doesn't go back to 3.0.a1.1. I couldn't find that version. I would have a hard time recommending going that far back on an alpha series release. You are probably better off to wait for Nicholas to figure out why the current release doesn't work for you.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
Uwe,

the cookies are unrelated to Akeeba Backup. They are added by plugins running on your site. I would like to see the command line used to run the front-end backup, the log file and any console messages you get from the command which accesses the front-end backup URL (e.g. wget or curl). Without this info I am just flying in the dark with a bad weather.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user8706
Nicholas,

thanks for you support. The command line is:

http://www.nz.socomso.com/index2.php?option=com_akeeba&view=backup&key=mysecretword&format=raw

The logfile I have attached. The only console message I get, is:

HTTP/1.1 301 Moved Permanently
Date: Thu, 01 Apr 2010 01:47:43 GMT
Server: Apache/1.3 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.8f AuthPG/1.3
FrontPage/5.0.2.2635
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
X-Powered-By: PHP/5.2.11
Set-Cookie: fc19eb00eab0ed923fdb97149b70db01=e38e5d6e820d051a5d96a070cedc2f4f;
path=/
Location:
http://www.nz.socomso.com/index.php?option=com_akeeba&view=backup&task=step&key=mysecretword&profile=1&format=raw
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html

I hope that this helps you to navigate in the bad weather ;-)TEXT

Regards,
Uwe

nicholas
Akeeba Staff
Manager
Uwe,

You should really read the documentation page of this feature first. Your host doesn't follow the redirections issued by Akeeba Backup's front-end feature. As documented:
The front-end backup URL performs a single backup step and sends a redirection (HTTP 302) header to force the client to advance to the next page, which performs the next step and so forth. You will only see a message upon completion, should it be successful or not.

and
If your host only supports entering a URL in their "CRON" feature, this will most likely not work with Akeeba Backup. There is no workaround. It is a hard limitation imposed by your host. We would like to help you, but we can't. As always, the only barrier to the different ways we can help you is server configuration.


Normally, you should be able to use a CRON command line like:
wget --max-redirect=10000 "http://www.yoursite.com/index2.php?option=com_akeeba&view=backup&key=YourSecretKey&format=raw"

or
curl -b /tmp/cookies.txt -c /tmp/cookies.txt -L --max-redirs 1000 -v "http://www.yoursite.com/index2.php?option=com_akeeba&view=backup&key=YourSecretKey&format=raw"

or use the "PHP alternative to wget" discussed on the same documentation page.

In any case, you contact your host and ask them if they support page redirections with their CRON jobs feature.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user8706
Sorry Nicholas - of course I know about these issues. And of course I have read the documentation.

But I have an Akeeba-installation running on another domain (same provider, same server, same host) with exactly the same front-end-backup URL - and it works perfectly well. The only difference is, that I have not updated this installation to 3.0.a5.1 and do still run 3.0.a1.1.

If you cannot see a solution here, it would help me also, if you could provide me with the "old" 3.0.a1.1-files. Unfortunately I cannot find them any more on my Client.

nicholas
Akeeba Staff
Manager
Based on the message you get from the CRON job, you will not be able to use the front-end backup feature on this client. FYI, the front-end backup code hasn't changed since a1. Not even by a single line. This is the reason I immediately asked you for all the information.

If it is of paramount importance for you (seeing is believing, I guess) please tell me so that I can email you the a1 - but note that if you choose to use it you are on your own. I do not support past alpha and beta releases, as they have well-known bugs which have been subsequently fixed.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!