Support

UNiTE, Remote CLI, eXtract Wizard

#3796 REmote CLI "Communications error; please check the host name and your network status?"

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 user48370 on Thursday, 20 October 2011 09:08 CDT

user48370
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the forum before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba eXtract Wizard / Remote Control / SiteDiff version: (unknown)

EXTREMELY IMPORTANT: Please attach the Remote Control and Akeeba Backup log files if you are reporting an Akeeba Remote Control issue, othrewise we can not help you

Description of my issue:
I am using remote CLI via a batch file successfully now since you helped me a few days ago. However, I have a site now that is creating an error yet appears to be configured correctly; exactly (or so it seems) in the same way as other sites on the same server -- both add-on domains of a shared hosting server -- yet creates an error. I am attaching the batch file; the command line output, and the JSON log fromthe server. Can you help me iddentify the problem? Remote CLI connects to the site OK, appears to run a backup OK (the backup is saved on the site) but is having a problem downloading it to my windows client.

rkendallc
It looks like the files you attached did not make it into the forum. it could be the extensions were stripped based on security rules. You can try to reattach them again to this forum post.

If that does not work, you may want to try to zip them all together and attach them that way.

When you test your access to your windows client, can you get to it from the server you are running this on? If you are running this command line, I would verify that you can manual get into your server based on settings from the one that is broken. It sounds like they are on the same server. I'd still check to make sure the commands you are calling work manually from the server to your client.

user48370
The problem appears to be that the server cannot save the backup to my windows client where the remote cli is initiated; the backup runs fine and the communication from the windows client to the apache server is working. But when I run the (apparently) identical batch file for a different account that is also an add-on domain of the same parent hosting account, it is able to download the completed backup to the windows client just fine. the directories appear to be named correctly. The error does not make it clear to me what the problem is; that is how I need your help.

nicholas
Akeeba Staff
Manager
OK, the problem is not in the Remote CLI part, it is coming from the server-side Akeeba Backup component. When it tries to send an email to the administrators, right after the generation of the backup archive is finished, it fails. Please go to your site's back-end, Components, Akeeba Backup, click on Component Parameters, find "Email on backup completion" and set it to No. This should allow you to proceed past this step.

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!

user48370
Actually, I had the setting to 'Yes' but email address/ subject/ text was not populated. I included address and subject and the problem disappeared. Perhaps at some point you might consider changing the diagnostic message to be more informative.
Thanks as always for the quick response.
- Ted

nicholas
Akeeba Staff
Manager
When you leave the field empty, Akeeba Backup is trying to fetch the email addresses from all Super Administrators in your site. Obviously, that was failing on your site, hence the backup issues. When you put an email address in that box, only that email address is used and AB won't bother looking up Super Administrators' email addresses. That's why putting an address in there worked around the problem :)

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!

user48370
That does not seem quite correct; the site had only one user (obviously Super Administrator) which DID have email populated; however -- perhaps this makes a difference -- the user had username populated (obviously) but NOT Name. In fact, I believe email is required for a User, so since there must be Super Administrator and he must have email populated, the explanation doesn't seem right? Or perhaps I am wrong in some of my thing.

nicholas
Akeeba Staff
Manager
Without a detailed PHP error log file from the exact point in time the backup failed, I can not guess what went wrong with the default behaviour (fetching SA users' emails). Your guess is as good as mine :)

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!

user48370
I'm sure your guess is far better than mine but since this is now working for me I will put in the "computer mysteries" file which is quite full. :)

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!