Joe Payne
New Pleskian
Plesk 12.5 Windows, Server 2012 R2
I'm desperately trying to import hosting accounts use a .json file built from my WebsitePanel install. But I continue to hit what seem to be hard-coded limits (or flaws) in the CLI migrator tool.
First, there seems to be no way to specify what hosting plan should be used for each customer. Every imported subscription shows as 'Custom' for the hosting plan in Plesk. According to the import file layout, you can specify the plan in the hosting-description file within each subscription. Except it wants a hosting_plan object, which can't be referenced unless you know the GUID of the hosting_plan. Doesn't seem to be a way to identify that anywhere in Plesk.
Next, no matter what hosting plans are defined in the plesk install, each subscription can have no more than 10 websites defined and no more than 1 database. This completely breaks half the hosting accounts being imported, and leaves the plesk database in a damaged state after the migrator tool finishes. The only option is to run the CLI repair --all command to clean it up.
The error I get is:
| | Stderr is
| | Unable to create database: There are no available resources of this typ
e (MS SQL databases) left. Requested: 1; available: 0.
Deleting customers doesn't even delete all the imported objects. I'm left with orphaned smarterstats sites, orphaned smartermail domains, orphaned app pools and websites. Every single time, I have to manually clean up each of these and try the migrator tool again.
So how do you specify the hosting plan with each subscription being imported in the migrator tool?
How to get past the default limit of 10 websites and 1 database?
How do you import database users when you have both a MSSQL and MySQL on the remote sql server?
I'm desperately trying to import hosting accounts use a .json file built from my WebsitePanel install. But I continue to hit what seem to be hard-coded limits (or flaws) in the CLI migrator tool.
First, there seems to be no way to specify what hosting plan should be used for each customer. Every imported subscription shows as 'Custom' for the hosting plan in Plesk. According to the import file layout, you can specify the plan in the hosting-description file within each subscription. Except it wants a hosting_plan object, which can't be referenced unless you know the GUID of the hosting_plan. Doesn't seem to be a way to identify that anywhere in Plesk.
Next, no matter what hosting plans are defined in the plesk install, each subscription can have no more than 10 websites defined and no more than 1 database. This completely breaks half the hosting accounts being imported, and leaves the plesk database in a damaged state after the migrator tool finishes. The only option is to run the CLI repair --all command to clean it up.
The error I get is:
| | Stderr is
| | Unable to create database: There are no available resources of this typ
e (MS SQL databases) left. Requested: 1; available: 0.
Deleting customers doesn't even delete all the imported objects. I'm left with orphaned smarterstats sites, orphaned smartermail domains, orphaned app pools and websites. Every single time, I have to manually clean up each of these and try the migrator tool again.
So how do you specify the hosting plan with each subscription being imported in the migrator tool?
How to get past the default limit of 10 websites and 1 database?
How do you import database users when you have both a MSSQL and MySQL on the remote sql server?