Hello,
I have problem with updating client Subscriptions. Each customer has a one Subscription with corresponding Service Plan. When I change a Service Plan with new parameters eg. disk_space / disk_space_soft or max_traffic / max_traffic_soft on GUI these parameters are updated but in psa.db they isn't.
Next step, when I want to customize clients subscription eg. Change expiration date Plesk return me an freaked error. All on screens below. The problem is with mess in psa.db && GUI update problem.
To confirm the problem, simply selects on psa.db:
gives me a record from clients where I can find a 'limits_id' position.
Next:
gives me a limits for current customer subscription which have a bad unupdated data.
As you can see max_traffic / max_traffic_soft are archived.
Now when I manually set these positions to '-1' as Unlimited in psa.Limits table, GUI will allow me to customize Subscriptions.
Moreover, another corresponded problem - new created clients have an empty 'limits_id' in 'clients' table.
I verify a psa.db schema distributed by Plesk and it is really clear that these field should be coresponded with 'Limits' table like below:
and about some time it isn't.
Dear Plesk Support please help me how to solve these two problems.
Regards,
Alex
I have problem with updating client Subscriptions. Each customer has a one Subscription with corresponding Service Plan. When I change a Service Plan with new parameters eg. disk_space / disk_space_soft or max_traffic / max_traffic_soft on GUI these parameters are updated but in psa.db they isn't.
Next step, when I want to customize clients subscription eg. Change expiration date Plesk return me an freaked error. All on screens below. The problem is with mess in psa.db && GUI update problem.
To confirm the problem, simply selects on psa.db:
Code:
select * from clients where cname like '%customer_name%';
Next:
Code:
select * from Limits where id='limits_id';
As you can see max_traffic / max_traffic_soft are archived.
Now when I manually set these positions to '-1' as Unlimited in psa.Limits table, GUI will allow me to customize Subscriptions.
Moreover, another corresponded problem - new created clients have an empty 'limits_id' in 'clients' table.
I verify a psa.db schema distributed by Plesk and it is really clear that these field should be coresponded with 'Limits' table like below:
Code:
psa.clients table -> clients.limits_id should be equal to psa.Limits table -> Limits.id
Dear Plesk Support please help me how to solve these two problems.
Regards,
Alex