V-import-cpanel PHP Issue, PHP version not being detected correctly

Rebuilding the mail domain will work only if:

1.- You can see the missing domain in that file:
$HESTIA/data/users/$username/mail.conf

2.- You can see the mail accounts in this file:
$HESTIA/data/users/$username/mail/$missing_domain.conf

If you can’t see the data there then rebuilding the mail domain won’t work.

I’ve no idea what is the structure of CPanel backup so I can’t help to solve the issue but if it didn’t work the first time… but well, you can try it.

I can’t see the data there, so looks like I will try to figure out why the script is not working correctly and try to do a proper import. Who maintains the script? Maybe I could get in contact with them to try debug the issue

Github’s user vipxr did the last modifications, one of them was the PHP check.

If anyone else runs into similar issues… my issue the sub/addon domain not being added by the import script. I manually created an user with the same name as cpanel user and details and added the missing subdomain and allowed mail/dns on it, I then modified the script to not add the user and ignore there is an existing user. The script added my main domain and all files/sites and database and emails etc I now have my site up and running, I would like to thank @sahsanu for all the help.

2 Likes

Hi

I test this and found a bug when restore add-ons domain, so actual script just restore main domain and reject restore add-ons :confused:

I do a pull request for this.

1 Like