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
Tool version

 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):




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




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




<name>From this name</name>




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/

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 ""

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: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.