Page 2 of 2

Re: Sk-DirectAdmin-Importer | Script to Restore DirectAdmin User Account In VestaCP

Posted: Tue Jan 15, 2019 12:42 pm
by skamasle
DBBJAF wrote:
Wed Nov 28, 2018 9:33 pm
hi
i got this error :

Start Whit Databases
Get local databases
sk_da_importer.sh: line 120: -5: substring expression < 0

just user created with no file or database
hope this script will be update ASAP.
HI sorry for delay, this is not a script issue, can be fixed but, this happen if you use too old bash version, all I think this can happen if you use dash

Old bash version cant interprete ${variable:: -5} not remember now exactly what version you need,

Re: Sk-DirectAdmin-Importer | Script to Restore DirectAdmin User Account In VestaCP

Posted: Sat Nov 02, 2019 2:59 am
by jamesblackvn
Hi,

Thank you so much for script

But i get error when running

Code: Select all

Generate random password for kmface and create Vestacp Account ...
chown: invalid group: ‘root:sftp-only’
chown: invalid group: ‘kmface:sftp-only’
usermod: group 'sftp-only' does not exist
Can you help me to check this error?

Many thanks

Re: Sk-DirectAdmin-Importer | Script to Restore DirectAdmin User Account In VestaCP

Posted: Thu Feb 20, 2020 10:16 pm
by vefeind
This script restores only the domain nothing else.

Re: Sk-DirectAdmin-Importer | Script to Restore DirectAdmin User Account In VestaCP

Posted: Sat Jun 27, 2020 11:39 am
by ozgurerdogan
This is cool but anyone tested recently?