Skamasle / sk-import-cpanel-backup-to-vestacp

Import cPanel backup in vestacp
35 stars 31 forks source link

Stability #9

Closed lukapaunovic closed 6 years ago

lukapaunovic commented 6 years ago

If someone just installed Vesta, and didn't log-out and log-in again, and proceeded to this script (Like I would, cuz why loose time?). To prevent problems and cleaning of leftovers.

Also to prevent partially imported databases because on CentOS max_allowed_packet defaults to 16M, the value will reset when the server or MySQL restarts ;)

lukapaunovic commented 6 years ago

Just to clarify, adding PATH if not set is not related to this script because this script is using the full path to vesta, but the vesta itself isn't, which causes errors if this script is run without defined PATH

Skamasle commented 6 years ago

ok thanks, this happen a lot in ubnuntu, I not use it to much so not fix it yet :/