How to synchronize all the subscriptions with service plans?

Refers to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Windows
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:09:14 UTC

Modified:

2017-02-09 15:44:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to synchronize all the subscriptions with service plans?

Symptoms

How to synchronize all subscriptions with service plans.

Resolution

Generally you can synchronize one subscription in the following way:

  1. Go to Home=> Subscriptions => domain.tld
  2. Click Unlock & Sync button

If you want to synchronize all the subscriptions you can do it with command line utility:

1) Unlock all subscriptions first:

    for domain in \\`MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -sNe"select name from domains where webspace_id=0"\\`; do /usr/local/psa/bin/subscription --unlock-subscription $domain; done*

2) Then synchronize subscriptions with plan:

    for domain in \\`MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -sNe"select name from domains where webspace_id=0"\\`; do /usr/local/psa/bin/subscription --sync-subscription $domain; done*
Have more questions? Submit a request
Please sign in to leave a comment.