Page 6 of 10

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Sun Dec 04, 2016 10:09 pm
by fishisntud
I tried putting

Code: Select all

export PATH=$PATH:/usr/local/vesta/bin
in .profile then loading the profile using

Code: Select all

. ~/.profile
I open a new shell and run the importer script and see the same errors where the directory cannot be found.

Code: Select all

/usr/local/vesta/bin/v-list-users: line 93: /data/users/admin/user.conf: No such file or directory
please assist

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Sun Dec 04, 2016 10:49 pm
by skamasle
I cant reproduce that error

But as I say you, script NOT working well in ubuntu 16 because not working in mysql 5.7

I cant do nothing at this time to solve that problem ( mysql 5.7 problem )

I working in new script 0.5beta it will fix some problems, improve code an compatibility whit databases and will work in mysql 5.7+ and old mysql - 5.6

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Thu Jan 19, 2017 8:41 am
by coldplug
Hello,

Just did two account migrations. Everything seemed to go well, except no files are copied from (cpanel tarball) homedir/public_html to /home/account/web/domain/public_html. Then I unpacked tarball manually and copied files myself. Everything works after that.

Thanks for nice script!

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Fri Jan 20, 2017 10:25 pm
by skamasle
coldplug wrote:Hello,

Just did two account migrations. Everything seemed to go well, except no files are copied from (cpanel tarball) homedir/public_html to /home/account/web/domain/public_html. Then I unpacked tarball manually and copied files myself. Everything works after that.

Thanks for nice script!
Hi, script use rsync to sync dirs and not cp, so if you not have rsync installed script wont copy files.

Is lite bug because some servers not have rsync installed by default, it will be fixed and use cp if rsync is not present.

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Fri Jan 20, 2017 11:41 pm
by coldplug
I see, OK thx then everything works fine. It would be best if script checks for all dependencies at start and stop if it found something missing.

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Sat Jan 21, 2017 10:56 am
by skamasle
coldplug wrote:I see, OK thx then everything works fine. It would be best if script checks for all dependencies at start and stop if it found something missing.
Yes check for rsync and file is added in 0.5 whit some bugs fixed and mysql 5.7 support ( not public yet )

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Tue Jan 31, 2017 10:10 pm
by skamasle
Beta 0.5 out whit some fixes and improve some functions.

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Mon Feb 06, 2017 10:27 pm
by skamasle
Fixed bug in 0.5 when restore databases whit default cpanel user, this option was removed, now not restore default user by default.

Need some more testing this version whit changes, and some times not restore SSL propertly but working fine for most "complicated" migration steps in big moves from cpanel to vestacp = User - DataBases - Files - Mails

Maybe is time to start working in Plesk or Direct Admin migration script

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Sat Feb 18, 2017 10:19 am
by skamasle

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta

Posted: Tue Feb 28, 2017 3:09 pm
by mit19t
Hola Skamasle, tengo centos 7 64 bits, pero me sale un error, tengo un servidor dedicado de ovh por cierto, tambien tengo varios vps, pero en los vps trabaja bien el script en su version 5, pero en mi dedicado no, me tira este error:
sk-cpanel-importer-05.sh: línea 7: error sintáctico cerca del elemento inesperado `newline'
sk-cpanel-importer-05.sh: línea 7: `<!DOCTYPE html>'

Que podría hacer amigo?
Saludos cordiales