Support

UNiTE, Remote CLI, eXtract Wizard

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

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 moomoochoo on Thursday, 08 February 2018 05:20 CST

moomoochoo
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>[email protected]</email>
    <absolutepath>/usr/share/nginx/html</absolutepath>


backup.jpa was created using Akeeba Backup Professional 6.0.0.b1

tampe125
Akeeba Staff
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 • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

moomoochoo
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




tampe125
Akeeba Staff
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 • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

moomoochoo
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!

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!