Couchbase Sync Gateway upgrade from 2.6 to 3.1

We are trying to upgrade Couchbase Sync Gateway from 2.6 to 3.1 on Ubuntu 20.04 and
we have created 2 configuration files.
One for sync-gateway-bootstrap.json and the other for sync_gateway.json.

In the sync-gateway-bootstrap.json, we have added

{
   "bootstrap":{
		"use_tls_server": false
   }
}

and the same with server details in sync_gateway.json along with other needed configuration

"bootstrap": {
		"server": "http://qacouchbase-01.com:8091",
		"username": "xxxxxxxxxx",
		"password": "xxxxxxxxxx",
		"use_tls_server": false
	}

Still, we keep getting the error

2024-01-09T18:28:15.535Z [ERR] Couldn't start Sync Gateway: 2 errors:
a server must be provided in the Bootstrap configuration
Must use secure scheme in Couchbase Server URL, or opt out by setting bootstrap.use_tls_server to false. Current URL:  -- rest.ServerMain() at main.go:33

Please let us know why we are still getting the error even after adding use_tls_server=false,. In 3.1 , do we need 2 config file or only one will suffice?

I am adding all the config files and logs for reference.
sync-gateway-error-warning-log.zip (4.3 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.