Sometimes you may discover that domains suspending for no reason every day !
Or subscriptions get automatically disabled when statistics are recalculated. This happens for several subscriptions.
We faced this! even while subscriptions are assigned to a custom plan where resource over usage is allowed!
Reason:
In Parallels Plesk control panel subscriptions get suspended automatically if their expiration date passes.
Plesk does not renew subscriptions automatically, so it suspends a subscription when the subscription expiration date comes. By default, the expiration date is "Setup date + 1 year".
As I mentioned in my previous post How to Activate Subscription via command line in PLESK for windows
To check the expiry status for your hosted domains:
Open CMD and type the following in one line:
C:\Program Files (x86)\Parallels\Plesk\admin\bin>dbclient --direct-sql --
sql="SELECT domains.name,limits.value,limits.limit_name FROM
limits,subscriptionproperties INNER JOIN subscriptions ON
subscriptionproperties.subscription_id = subscriptions.id INNER JOIN domains
ON subscriptions.object_id = domains.id WHERE subscriptionproperties.name =
'limitsId' AND limits.limit_name = 'expiration' AND
subscriptionproperties.value = limits.id;"
Now, to change subscription expiry to unlimited via command line type the following:
C:\Program Files (x86)\Parallels\Plesk\admin\bin>subscription_settings.exe -u
mydomain.com -expiration -1
and you are done :)
Or subscriptions get automatically disabled when statistics are recalculated. This happens for several subscriptions.
We faced this! even while subscriptions are assigned to a custom plan where resource over usage is allowed!
Reason:
In Parallels Plesk control panel subscriptions get suspended automatically if their expiration date passes.
Plesk does not renew subscriptions automatically, so it suspends a subscription when the subscription expiration date comes. By default, the expiration date is "Setup date + 1 year".
As I mentioned in my previous post How to Activate Subscription via command line in PLESK for windows
in Parallels PLESK - Web Admin Edition you don't have a tap to manage subscriptions, so you will have to do it via command line
Open CMD and type the following in one line:
C:\Program Files (x86)\Parallels\Plesk\admin\bin>dbclient --direct-sql --
sql="SELECT domains.name,limits.value,limits.limit_name FROM
limits,subscriptionproperties INNER JOIN subscriptions ON
subscriptionproperties.subscription_id = subscriptions.id INNER JOIN domains
ON subscriptions.object_id = domains.id WHERE subscriptionproperties.name =
'limitsId' AND limits.limit_name = 'expiration' AND
subscriptionproperties.value = limits.id;"
Now, to change subscription expiry to unlimited via command line type the following:
C:\Program Files (x86)\Parallels\Plesk\admin\bin>subscription_settings.exe -u
mydomain.com -expiration -1
and you are done :)