Unable to restart Synchrony after Confluence was not shut down gracefully
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
Problem
After Confluence crashes or when it is not stopped properly, you are unable to restart Synchrony.
When starting Synchrony, the following appears in the atlassian-confluence.log
2018-08-20 01:12:18,888 ERROR [Long running task: Restart Synchrony Task] [plugins.synchrony.bootstrap.DefaultSynchronyProcessManager] startup Cannot kill the running Synchrony process although the synchrony.pid file exists
-- url: /rest/synchrony-interop/restart | referer: http://company.com:8090/admin/confluence-collaborative-editor-plugin/configure.action | traceId: 54b5b01a783we70 | userName: admin
Diagnosis
Environment
- Confluence 6+
This is related to the following issue with Confluence/Synchrony: - CONFSERVER-54876Getting issue details... STATUS
Cause
There is a synchrony.pid file in the confluence_install/temp/
folder that makes Confluence think that Synchrony is already running.
Resolution
Steps to resolve this:
- Shutdown Confluence
- Clear the plugin cache
Manually delete the following file:
confluence_install/temp/synchrony.pid
- Start Confluence
- Go to Admin → General configuration → Collaborative editing
- Restart Synchrony