how to remove standalone synchrony service?
Asked by Dylan Kao:

Hi,

I follow the tip as below to create a standalone synchrony service on CentOS. but i don't wanna use it anymore. is there any best way to remove it or disable it? thanks.

<https://confluence.atlassian.com/confkb/run-synchrony-standalone-as-a-service-on-linux-933081078.html>


Answers:
author: Stephen Sifers
body: Hello Dylan,

To disable synchrony from your Confluence instance you have two options, first is a REST API call and second is a Python script. Here are both the options for you:

*
  > Open a terminal and run the following:
  *
    > curl -X POST --user admin:password --header "X-Atlassian-Token: no-check" <https://your.confluence.url/rest/synchrony-interop/disableMake> sure to replace **admin** and **password** with the actual credentials for your Confluence system admin user. Also make sure [https://your.confluence.url](https://your.confluence.url/) is replaced by your base URL.
*
  > **Or**, you can do this through a python script:

> ```
> import requests
>
> def main():
> ???session = requests.session()
>
> ???session.auth = ('admin', 'password')
>
> ???headers = {'X-Atlassian-Token': 'no-check'}
>
> ???resp = session.post('https://your.confluence.url/rest/synchrony-interop/disable',
> ???????????headers=headers)
> ???print(resp)
> ???print(resp.content)
>
> main()
> ```

Source documentation: [How to disable Collaborative Editing in Confluence if it cannot be disabled through the UI](https://confluence.atlassian.com/confkb/how-to-disable-collaborative-editing-in-confluence-if-it-cannot-be-disabled-through-the-ui-947856031.html)

These options should allow you to disable this service within Confluence.

I hope this helps you accomplish the goal you have.

Regards,  
Stephen Sifers

comments: author: Dylan Kao
body: Hi Stephen,

sorry for mistake,

Actually, we have two synchrony process in the same instance. I need disable which I manually set by the kb as below link. I need the collaborative editing works with bundle service. thank you!

<https://confluence.atlassian.com/confkb/run-synchrony-standalone-as-a-service-on-linux-933081078.html>


author: Stephen Sifers
body: Hello Dylan,

Thank you for the clarification on what is deployed within your environment. The best method to remove this would be to reverse any changes made within the listed procedure. You will need to revert or remote any edits made from steps 4 through 11. Majority of the changes will take place within step 7 when you remove any mention of your Confluence instance you have it configured for. Along with ensuring the service is disable and/or removed.

To better assist with this, there is a guide with will help when migrating from the standalone to a managed service. This guide may be found at [Migrate from a standalone Synchrony cluster to managed Synchrony](https://confluence.atlassian.com/doc/migrate-from-a-standalone-synchrony-cluster-to-managed-synchrony-958779077.html). The steps within this guide are as follows:
> To switch from managing your own Synchrony cluster to letting Confluence manage Synchrony:
>
> 1. Configure your load balancer to direct traffic away from all Confluence and Synchrony nodes.
> 2. Stop Confluence and Synchrony on all nodes.
> 3. Start Confluence on one node **without** the synchrony.service.url system property. This property tells Confluence where to find your external Synchrony cluster.[Show me how to do this...](https://confluence.atlassian.com/doc/migrate-from-a-standalone-synchrony-cluster-to-managed-synchrony-958779077.html#)
> 4. In Confluence, edit a page and check that you can successfully make changes.
> 5. Repeat this process on each Confluence node, starting each node **one at a time** .

Additional items will be listed within the document as well.

I hope this proves helpful in removing your standalone service for Synchrony.

Regards,  
Stephen Sifers


Tags: atl-adm

synchrony