Support

UNiTE, Remote CLI, eXtract Wizard

#3725 Akeeba Remote Control error message

Posted in ‘UNiTE and Remote CLI’
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

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Tuesday, 08 February 2011 16:43 CST

user29182
Hello - I'm trying Remote Control and receive the following message when trying to backup. I know there is enough space on my hard drive, so I assume this is referring to the host files. Where should I look to correct this error?

Thank You

2011-01-31 15:21:48 | Backup failed (hard error): A backup error had occurred: Couldn't write to the archive file; check the output directory permissions and make sure you have enough disk space available.[len=816589 / 1048576]

nicholas
Akeeba Staff
Manager
It's referring to the server side. Try taking a backup from the back-end. If it fails, please follow the following procedure.

First try upgrading to the latest version of Akeeba Backup (you can check the latest version from here.

Then try clicking the Configuration Wizard button in Akeeba Backup's Control Panel page. If the wizard hangs after the database step, try reloading the page. Try taking a new backup.

If that fails, please follow all the self-help troubleshooting steps outlined in the Backup Now documentation page. Please do not skip any steps, they are what is actually required in 99% of trouble cases.

If that still doesn't work out, please ZIP and attach the back-end backup log file with your next post so that I can see what is going on.

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!

user29182
Thank you. ARC is now remotely initiating backups. But, it won't download them because of a "Non-JSON" error.

Should I start a different thread for that error?

nicholas
Akeeba Staff
Manager
Your server is not compatible with the method used to download the backup archives. I am going to add an alternate way to download backup archives is a later version. For now, you can backup but not download your archives using ARC.

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!

user29182
Okay. So my solution is to use Akeeba Backup Pro to store my files in an Amazon S3 bucket. (I'm just trying to keep a backup somewhere other than the server). So, my question is, would that JSON error prevent the Pro version from being able to send my files to Amazon? I hope not, but want to confirm that with you to prevent purchasing an incompatible product.

Thanks!

nicholas
Akeeba Staff
Manager
Executive summary: No, it wouldn't. Actually, sending the files to Amazon S3 would prevent that error from happening.

The long version (warning! tech talk ahead!): Downloading the backup archive happens in 1Mb chunks. On a very big archive (in the several dozens of Megabytes range) ARC has to do a lot of download operations. The server sees that activity (many requests coming in per second) and thinks it is being attacked, shutting off access to the "attacker". When uploading to Amazon S3, Akeeba Backup -on your server- handles the upload. This means that on a single request, Akeeba Backup will try to take its sweet time uploading as much data as it can to S3. This makes individual backup calls to last 10-30 seconds (sometimes even more). Thus, the server "sees" a very low activity coming from ARC and won't consider it an attack, therefore it won't shut down access and you shall never see a "JSON error".

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!