Support

UNiTE, Remote CLI, eXtract Wizard

#21255 Unite From Remote Akeeba Invalid archive type or extension in file

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 tampe125 on Saturday, 18 October 2014 02:38 CDT

meldedchaoz
 I'm using Unite to try to restore my site from production to development. This works perfectly if I provide a backup file directly, but when I try to use the "remote" option, it fails to run the backup.
I have a custom .htaccess file that's been generated using Admin Tools. The default exceptions plus more of my own are in there.

I'm using the following unite XML file information (I've only included the remote and site info parts):
<remote>

<host>http://mydomain.com</host>

<secret>mysecretkey</secret>

<profile>5</profile>

<downloadmode>http</downloadmode> <- I've tried using chunk as well

<delete>0</delete>

</remote>



<siteInfo>

<package from="remote"></package>

<deletePackage>0</deletePackage>

<localLog>tbh.log</localLog>

<emailSysop>1</emailSysop>

<name>From this name</name>

<email>[email protected]</email>

<absolutepath>/home/name/public_html</absolutepath>

</siteInfo>



This is the result that I get when I run unite from SSH or a cron job (/usr/local/bin/php /home/user/unite/unite.php) :

Scanning /home/user/unite/engine/step/../../inbox for XML files...

Parsing /home/user/unite/engine/step/../../inbox/unite-mysite.com.xml

Found 1 job(s) to run



### Starting job #1 ###

Running validator

Running remote

Running s3

Running stealth

Writing a stealth .htaccess (direct access)

Running extract

Invalid archive type or extension in file


I don't think it's even running my backup?


When I try to run my backup from SSH using wget, it works just fine:
wget --max-redirect=10000 --no-check-certificate "http://mydomain.com/index.php?option=com_akeeba&view=backup&key=mykey&profile=5"

tampe125
Akeeba Staff
Hello Travis,

most likely there is a third party plugin that corrupts the output e.g. throwing warnings/notices or outputting its own HTML even for format=raw requests.

Please switch to the FTP mode.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!