Collaborative Editing is not working
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Users can't create or edit pages. After clicking on the Create or Edit button, the following error is displayed:
Something went wrong after loading the editor. Copy your unsaved changes and refresh the page to keep editing.
Environment
Confluence Server running on Windows.
Diagnosis
Checking the atlassian-confluence.log, we can find the following:
WARN [lifecycle:thread-23] [plugins.synchrony.bootstrap.SynchronyInteropBootstrap] onStart An exception occurred while waiting for Synchrony to start: Unexpected exit value: 1, allowed exit values: [0], executed command [taskkill, /F, /PID, <PID-Number>]
Cause
This error can happen when the Synchrony process is not stopped properly during a Confluence shutdown. Once Confluence starts again, it tries to kill the lingering process but hits the error above.
Solution
- Shutdown Confluence
Check if there is anything still listening to the 8091 port (8091 is the Synchrony default port, so make sure to adjust it if you are using a different port)
netstat -an |find /i "listening"
If there is any process still listening to the Synchrony port, we need to manually kill it (make sure to use the same PID found in the previous step):
taskkill /F /PID pid_number
- Delete the file <confluence-install>/temp/synchrony.pid
- Start Confluence and check if it is able to successfully start the Synchrony process now