Support

UNiTE, Remote CLI, eXtract Wizard

#29126 – How to use and debug Unite 4 (in single site restoration mode)?

Posted in ‘UNiTE, Remote CLI, eXtract Wizard’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 07 February 2018 06:11 CST
I am trying to use UNiTE4 in single site restoration mode. I got it to work in Unite 3 with the following command
php /usr/share/nginx/html/unite/restore-site.php /usr/share/nginx/html/unite/inbox/joomla.xml


In UNiTE4 (using the same directory structure and xml file as per UNiTE3) I used the following command
php /usr/share/nginx/html/unite/unite.phar /usr/share/nginx/html/unite/inbox/joomla.xml


I got the following message and then nothing more-
Akeeba UNiTE 4.0.0 (2018-01-25)

Copyright ©2008-2018 Nicholas K. Dionysopoulos / Akeeba Ltd.

--------------------------------------------------------------------------------

This program comes with ABSOLUTELY NO WARRANTY. This is Free Software and you

are welcome to redistribute it under certain conditions. Use command license

for details.

--------------------------------------------------------------------------------


There were no error messages and no log files created.
How can I debug this? Any ideas on what I am doing wrong?

In both instances I was using ubuntu16.04 server with PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS ).

Please note, I've read ticket https://www.akeebabackup.com/support/desktop-utilities/Ticket/29094-unite-4-0-setup-how-to.html
and I've read the documentation.

EDIT: Here is the start of my xml file

<?xml version="1.0" encoding="UTF-8"?>
<unite scripting="02_angie">
  <siteInfo>
    <package>/usr/share/nginx/html/unite/inbox/backup.jpa</package>
    <deletePackage>0</deletePackage>
    <localLog>/usr/share/nginx/html/unite/tmp/test.log</localLog>
    <emailSysop>0</emailSysop>
    <name>sitename</name>
    <email>myemail@address.com</email>
    <absolutepath>/usr/share/nginx/html</absolutepath>


backup.jpa was created using Akeeba Backup Professional 6.0.0.b1
Custom Fields
Which tool do you want support for? Unite
Tool version (in x.y.z format) 4
moomoochoo
Wednesday, 07 February 2018 09:37 CST
Hello,

you can enable the verbose output by adding the parameter --verbose to the command.
If you do that, what's the output of the script?


Davide Tampellini

Developer and Support Staff



Italian: native

English: good



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



tampe125
Wednesday, 07 February 2018 19:00 CST
php /usr/share/nginx/html/unite/unite.phar /usr/share/nginx/html/unite/inbox/joomla.xml --verbose
gave me the following msg.
Parsing /usr/share/nginx/html/unite/inbox/joomla.xml
### Starting job #0 ###
===============================================================================
UNITE finished its run cycle
Total definitions found                : 1
Total definitions executed successfuly : 0
Total definitions failed to run        : 0
Peak memory consumption                : 1.21 MB




moomoochoo
Thursday, 08 February 2018 04:28 CST
Thank you very much for your time.
I was able to find and fix the issue. Can you please download the latest dev version of UNiTE and try again?
If you confirm everything is working fine, I'll release a new version later in the day.


Davide Tampellini

Developer and Support Staff



Italian: native

English: good



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



tampe125
Thursday, 08 February 2018 05:20 CST
I've checked version rev431825B and it allowed me to restore the website using
 php /usr/share/nginx/html/unite/unite.phar /usr/share/nginx/html/unite/inbox/joomla.xml

At first I didn't think it worked as there was no message to say as such, but anyway it worked a treat. Thanks a lot!
moomoochoo
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

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!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.