Was running an import for a client from a CPanel account and it kept failing on
[B]? MESSAGE: file(/thetempdirectoryhere/cpanelImportABC123/theimportpackage/ssldomain): failed to open stream: No such file or directory[/B]
I just extracted the backup files from the package, found a folder called “ssl,” renamed it to “ssldomain,” then packaged up the files again and then the import worked fine.
I said “possible” bug since I’m not sure if there was something weird in this package or if this is just a new format from CPanel that needs to be taken into account on the IW importer side.
We haven’t had any other reports of issues with cpanel imports, but there could be something new we’re not aware of. What version of Cpanel were you importing from? Would you be able to submit a support ticket and attach the Cpanel backup you were importing so we can attempt to reproduce the issue/investigate? Normally, I would recommend having your hosting company submit the ticket, but easy enough to cut out the middle man in this case.
Hiya,
Sorry to bump in this old thread, but same happened to me today after importing a cPanel account and subdomain in cPanel.
Mentioned solution works: Turns out the secondary domain directories were set as drwxr-s—, changing them to drwxr-sr-x solved the issue.
NOTE: when adding a new subdomain in siteworx the filerights are OK so it is the cPanel import failing to do so.