Custombuild does not recognize ./build cpanel_to_da cPanel migration tool

Meiji

Verified User
Joined
Jul 2, 2019
Messages
72
Hi!

I am trying to restore cPanel backups on my DA server. But I got an error:

Code:
Cannot find /usr/local/directadmin/scripts/cpanel_to_da/cpanel_to_da.sh to convert /home/admin/admin_backups/cpmove-user.tar.gz

So I tried to install cpanel_to_da:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build cpanel_to_da

And Custombuild cannot recognize ./build cpanel_to_da. It gives me the default help screen:

Code:
# ./build cpanel_to_da
 +-----------------------------------------------------------+
 | DirectAdmin WebServices Installer                         |
 | Written by Martynas Bendorius and DirectAdmin             |
 | Version: 2.0.0 (rev: 2939)                                |
 +-----------------------------------------------------------+
 | To build everything run:                                  |
 |    ./build all                                            |
 |                                                           |
 |  NOTE: Command all will compile everything as it is set   |
 |    in the options.conf file, please take a look at        |
 |    "./build options"!                                     |
 +-----------------------------------------------------------+
 | Install/update server components:                         |
 |    ./build apache                                         |
 |    ./build awstats                                        |
 |    ./build awstats_process                                |
 |    ./build bubblewrap                                     |
 |    ./build csf                                            |
[...]


Code:
Version: DirectAdmin v.1.63.9
Channel: Stable


Did DA discontinue the script?

If not, why does custombuild not recognize the command?
 
It is bundled together with DirectAdmin now, installation is not needed.
 
It is bundled together with DirectAdmin now, installation is not needed.

I was under the same impression.

But the first error indicates that it is not included, hence I tried to install it.

The file does not exist on my server. Installed three times.
 
I was under the same impression.

But the first error indicates that it is not included, hence I tried to install it.

The file does not exist on my server. Installed three times.
I'd suggest updating DA first. 1.63.9 is quite an old release :) New ones with Pro Pack even include importer in GUI.
 
I'd suggest updating DA first. 1.63.9 is quite an old release :) New ones with Pro Pack even include importer in GUI.

Ah! Thanks for the tip. Updating did solve the issue.

I was under the impression that the stable channel is the most stable and working version of DA with all the features working.

Did that change, or is it due to you rapidly developing new features, restructuring DA, etc.?

Besides, all official docs still contain

Code:
./build cpanel_to_da
 
Besides, all official docs still contain

Code:
./build cpanel_to_da

On the subject of the official docs... I often run across inaccuracies in the docs but have wondered what's the best way to report them? Opening a ticket each time I saw something felt overkill. A forum topic perhaps? Not sure if it would be worth a sticky thread where people can report such things in one big thread. Seems like something that would be worthwhile to help reduce tickets.

@smtalk
 
i have 1.64.2 but /usr/local/directadmin/scripts/cpanel_to_da/ dir is missing on my server ... how can i fix?
 
It is in GUI and /usr/local/directadmin/shared/cpanel_to_da/cpanel_to_da.sh.
 
Back
Top