Support

Akeeba Backup for Joomla!

#11530 #11496: Command line indicated failed - but it didn't (2)

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 Saturday, 17 March 2012 13:13 CDT

swingshoes
#11496: Command line indicated failed - but it didn't (continued)

This problem is still occurring. I have reinstalled the component, cleared the cache of Joomla, cleared the clache of the browser, used another browser.

It seems that the backup is working correctly from the log files etc, but it still shows the backup as failed.

The only possibility that I haven't explored is if it has to do with sending the file to Dropbox (and deleting the archive).

I'll keep following your direction on this,
Erik

swingshoes
I think I'm on to something...

I set the Data processing engine to "No post-processing"
however I still got a warning that Akeeba was unable to delete the backup (see attachment). That might indicate that the "Failure" warning might have something to do with the dropbox/delete archive engine.

Hope that helps,
Erik

swingshoes
I think I'm on to something...

I set the Data processing engine to "No post-processing"
however I still got a warning that Akeeba was unable to delete the backup (see attachment). That might indicate that the "Failure" warning might have something to do with the dropbox/delete archive engine.

Hope that helps,
Erik

nicholas
Akeeba Staff
Manager
That last error message is the result of the backup record being displayed as Failed. I honestly have no idea as to what is going on. I can't replicate on any other server :s

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!

swingshoes
More info:
If I set my backup to send to DropBox but NOT delete the archive, then it works.

but if I set my backup to send to DropBox AND delete the archive, it shows as a failed backup.

That's the latest,
Erik

nicholas
Akeeba Staff
Manager
That's strange. What are the permissions of the backup archive on your server?

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!

swingshoes
the file permission is 755

nicholas
Akeeba Staff
Manager
Ugh, it doesn't make any sense :(

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!

swingshoes
Is is possible that this might be an issue because I have two different sites connected to the same dropbox?

It also seems to be something related to the last step of the backup (deleting the archive).

I'm still trying to figure this out even though I seem to have stable backups.

Thanks,
Erik

nicholas
Akeeba Staff
Manager
Yes, it could be. Right now it's not clear if the Dropbox API allows the same application to be linked with the same user account from two different instances. Neither do they prescribe a way to fetch the existing authorisation token, i.e. have all of your copied of Akeeba Backup automatically authorised with Dropbox after you do that once, on just one site. Unfortunately, that's Dropbox' API and they have the final say on what is possible and what is not.

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!

swingshoes
ok - I'm not sure that that's the reason but I thought I'd mention it.

It worked just fine using the dropbox settings prior to the 2-part authorization process.

From my latest trails - it seems that it has to do with the post-processing engine: if the backup is set to "Delete archive after processing" then the backup will be marked as failed even though the archive was sent to dropbox, and also deleted.

I don't get it either, but just wanted to let you know.

nicholas
Akeeba Staff
Manager
I'm not sure why that happens. The same setup and options, when I test it locally, results in a "Remote" backup, which is the expected result. If anyone else reports it, I will consider it a bug and try to fix it. For now, I mark this is a plausible issue I can't replicate.

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!

swingshoes
OK - I think I'm on to something.

Previously, I did not have to split the archives (usually 80mb). Everything worked fine.

Now, I adjusted to split the archive at 20mb (4 parts), and this seems to have worked. I know that this is your recommended setting, but it had worked unsplit with dropbox previously so I tried to keep everything consistent.

I'll keep you posted if this lasts a couple of cycles.

thanks for all your help at this point,
Erik

nicholas
Akeeba Staff
Manager
OK, you are indeed onto something! If you use part size for split archives over 30Mb or so, it is possible that PHP reports a timeout, even though the file gets uploaded. This would, in turn, trigger the Failed status. Try your settings with 20Mb part size for a few times and let me know if that solved the issue.

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!

swingshoes
Yes - I've set it to 20mb and it seems to have worked. I'll let a few cycles go by to confirm.

Thanks you,
Erik

swingshoes
So close, yet so far!

Same issue even with Backup archives split to 20MB.
The only thing that reliably works is if I don't automatically upload to dropbox.

Maybe in the next update, the issue will resolve itself.

E

nicholas
Akeeba Staff
Manager
I'm not sure what is causing it :( If I could replicate it on another server, I would consider it a bug. Why that only happens on your server, that beats me!

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!