DIY backup fails with Unsupported protocol version: POST /mvc/maintenance/lock HTTP/1.1
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
Problem
DIY backup fails with following error appearing in the console
Unsupported protocol version: POST /mvc/maintenance/lock HTTP/1.1 SSH-2.0-SSHD-UNKNOWN
Cause
This is an error when trying to do a POST on SSH port.
Resolution
Please make sure you have correct URL and CURL_OPTIONS set in bitbucket.diy-backup.vars.sh.