Support

UNiTE, Remote CLI, eXtract Wizard

#29094 UNiTE 4.0 Setup: How to...

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 markaerrington on Friday, 02 February 2018 15:35 CST

markaerrington
Hi,

How do you setup and run the new Unite 4.0.

I have Unite 3.x and it has many files, but v4.0 has one main file.

Thanks, Mark

Thanks, Mark

tampe125
Akeeba Staff
Hello,

we changed the package to be one single archive, instead of having several files.
However, this doesn't change UNiTE usage: you can run it with the command php unite.phar settings.xml.

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!

markaerrington
Hi,

I'm sorry but I need more details. I don't understand this command:
php unite.phar settings.xml
Where do I put it?

In my cron jobs; this has not changed below?:
php -q /home/username/public_html/unite/unite.php

How about my directory, same?:
public_html/unite/inbox

What files do I delete?

How about my file, same?:
public_html/unite/inbox/myrestoresite.xml

I NEVER worked with .phar files before.

I need a setup guide or manual for setting up Unite 4.0?

I'm so confused.

Thanks, Mark

Thanks, Mark

tampe125
Akeeba Staff
You simply have to replace unite.php with unite.phar. Think about PHAR files as a kind of EXE files for windows

In my cron jobs; this has not changed below?:

php -q /home/username/public_html/unite/unite.php
It will become php -q /home/username/public_html/unite/unite.phar

How about my directory, same?:

public_html/unite/inbox
It will remain the same (create it if there isn't in UNiTE folder).

What files do I delete?
You can copy all your XML configuration files to a safe location, delete the whole UNiTE folder and then extract the new version.

How about my file, same?:

public_html/unite/inbox/myrestoresite.xml
Yes, it will remain the same.

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!

markaerrington
Hi,

Okay. Thanks! I'll try that.

What about a custom file I made for v3.x? It's here: "/engine/step/custom.php"
and this file where I added the command to "/engine/scripting/02_angie.ini"

Thanks, Mark

Thanks, Mark

tampe125
Akeeba Staff
I'm sorry but we removed the option to add custom steps in version 4 since almost no one was using it.

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!

markaerrington
Hi,

This answer below would of helped me better:
==============================

Cron:
php -q /home/username/public_html/unite/unite.phar settings.xml

in unite dir:
/unite/unite.phar
/unite/settings.xml
/unite/backupfile.jpa

==============================

Putting files in the "/unite/inbox/", dir does not work.

Everything is working correctly, site restored.

I was able to fix the custom file, and its working. I just need to update it.

Thanks, Mark

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!