How to synchronize locked subscriptions with their service plans

Follow

Comments

9 comments

  • Avatar
    Bryan Williams

    with not run with the "*" at the end and returns:

    'ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: NO)
    Wrong syntax for command's '-unlock-subscription' parameter
    [\cat]

    Wrong syntax for command's '-unlock-subscription' parameter
    [/etc/psa/.psa.shadow]'

    Without the "*" any thoughts?

    0
    Comment actions Permalink
  • Avatar
    Bulat Tsydenov

    @Bryan Thank you for bringing this to our attention! The article was modified correspondingly, now all commands are valid.

    0
    Comment actions Permalink
  • Avatar
    Paul R

    After running the commands for Linux, does the second command leave the server as it was? i noticed that when i ran the first command it said it was unlocking all the subscriptions (over 200) then when i ran the 2nd command it ran ok and synced all the subscriptions but i was expecting it to say they were locked.Put my mind at rest please.

    0
    Comment actions Permalink
  • Avatar
    Lev Iurev

    Hello Paul,

    Subscription is locked when you modify it's limits/settings directly in subscription. So there is a difference in limits/settings between subscription and service plan.

    First command unlocks subscription and makes them available for synchronization.

    The second command sync them with service plan  - sync limits/parameters between service plan and subscriptions.

    0
    Comment actions Permalink
  • Avatar
    Tech Team (Edited )

    Hello all,
    I changed the second command like this:

    for /f %i in (C:\temp\locked_subscriptions.txt) do plesk bin subscription --unlock-subscription %i & plesk bin subscription --sync-subscription %i

    it works better

    0
    Comment actions Permalink
  • Avatar
    Vojkan Cvijanovic

    Screenshot for Unlocking and syncing is from the old Plesk interface and I can't find that option anywhere now.

    Here is the screenshot of what I see https://share.getcloudapp.com/bLuKDLKx 

    Btw, I've done this many times with the old interface.

    0
    Comment actions Permalink
  • Avatar
    Kelvin Oliveira

    There is the possibility to schedule this synchronization to keep the subscriptions always synchronized with the service plan

    1
    Comment actions Permalink
  • Avatar
    Kuzma Ivanov

    Hi Vojkan Cvijanovic

    On the screenshot you shared, the path is Home > Subscriptions > domain_name > Websites & Domains which is a domain card, not subscription. That's why the Account section is missing.
    You need to open Subscriptions menu in Plesk and click on a locked subscription, then you'll see subscription-related options.

    Anyway, we've updated the article with a new screenshot. Thanks for bringing this to our attention :)

    0
    Comment actions Permalink
  • Avatar
    Adrien Foulon (Edited )

    Why is this button not in the Subscription list view? It's unbelievable that to find it I had to google this.. Why? Because in a single subscription you need to scroll the sidebar to see it, which has a weird scrolling behavior (it scrolls a bit then stops in the middle of the page, then starts scrolling again before the end) so you need to go all the way at the bottom of the page, which takes forever when you have more than 5 websites in a subscription, this is not a good UX

    Given that this makes sense to have this in a bulk edit, please add this button in the subscription list

    1
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request