Support

UNiTE, Remote CLI, eXtract Wizard

#24937 Unite Error

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 on Saturday, 28 May 2016 17:20 CDT

MLaScala
 Hello,

I made my first attempt at using UNiTE to test the software. This was performed on fresh install of Joomla 3.5.1 with no extensions other than Akeeba backup. Please advise, thanks


********************************************
Akeeba UNITE v.2.0.2 (2016-02-08)
Copyright (c)2009-2016 Akeeba Ltd

This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. The full text of the
license can be found in the LICENSE.TXT file in the installation ZIP package.
===============================================================================
Scanning /home/devj351/unite/engine/step/../../inbox for XML files...
Parsing /home/devj351/unite/engine/step/../../inbox/sample.xml
### Starting job #0 ###
Running validator
Running remote
Running s3
Running stealth
Writing a stealth .htaccess (direct access)
Running extract

Fatal error: Class 'AKUnarchiverKUP' not found in /home/devj351/unite/engine/extras/restore.php on line 6729

nicholas
Akeeba Staff
Manager
You are telling UNiTE to extract a file with the extension .kup which is not a valid format for extraction.

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!

MLaScala
Thanks for your reply.

I performed a search on my server, and it didn't return any results for *.kup

This was a fresh joomla install of version 3.5.1 with absolutely nothing added other than the akeeba backup extension.

nicholas
Akeeba Staff
Manager
Something in your XML file is wrong. Considering how the last three letters of the work "backup" is "kup" I suppose that you made a mistake in the filename to extract and have something that ends in the work "backup".

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!

MLaScala
OK, thank you for the reply.

I think my issue is with the <package> option. I am trying to restore a backup file on a local server. This is my code:

<package>public_html/administrator/components/com_akeeba/backup</package>

Is Unite able to extract the most recent backup file in this directory?

nicholas
Akeeba Staff
Manager
As I said, you have misconfigured your XML file. The package tag is there to tell UNiTE which backup archive FILE to extract. It cannot accept a directory. Even the concept of the "latest" backup is not uniquely defined and leads to strange issues and tight coupling. To work around that we offer the possibility of a "remote" backup which is a simple way to say "take a backup of that site, copy it to UNiTE's inbox folder and restore it".

Other than that you could probably use some operating system specific scripting to find the "latest" backup (per your use case's definition of "latest" – don't assume that everybody means, e.g. the .jpa file with the newest creation stamp) and create an XML definition. UNIX-type shells like bash and the standard GNU toolchain come in handy for such automation.

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!

MLaScala
I understand, thank you.

Can I use the <package> option for a "remote" backup locally? In other words, can I use the <remote> option of Unite to connect to a local website on the same server, run the backup, and then extract it?

tampe125
Akeeba Staff
Hello Maryann,

Nicholas is currently out of office so I'm taking over this ticket.
In theory yes, if the connection details are correct, you can download it from your local installation.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!