Hello
I resynced my database and now that it is completed, it simply will not go back online.
I am on Couchbase 8.0 / Sync Gateway 4.0
I am following the process here:
I ran this command:
PUT syncgateway.url/test/_config?offline=true
This worked great, and took the database offline.
I then did
POST syncgateway.url/test/_resync
This started the resync process correctly.
I could then monitor the status of the resync.
GET syncgateway.url/test/_resync
{
“status”: “running”,
“start_time”: “2026-03-06T00:08:09.686035444Z”,
“last_error”: “”,
“resync_id”: “303bd7a4-a4b0-479b-92dc-355d508ad5ad”,
“docs_changed”: 452,
“docs_processed”: 11251,
“collections_processing”: {
“_default”: [
“_default”
]
}
}
Then it finished:
{
“status”: “completed”,
“start_time”: “2026-03-06T00:08:09.686035444Z”,
“last_error”: “”,
“resync_id”: “303bd7a4-a4b0-479b-92dc-355d508ad5ad”,
“docs_changed”: 112118,
“docs_processed”: 155738,
“collections_processing”: {
“_default”: [
“_default”
]
}
}
Everything worked great and the resync finished.
However, when I ran this, nothing happens.
PUT syncgateway.url/test/_config?offline=false
I get a successful “201 Created” response. But nothing happens.
If I execute
GET syncgateway.url/test/_config
{
“bucket”: “test”,
“name”: “test”,
“offline”: true,
“updated_at”: “2026-03-06T00:30:33.419458568Z”,
“created_at”: “2026-01-20T21:17:53.092857467Z”
}
If I go to
syncgateway.url/test
{
“db_name”: “test”,
“update_seq”: 0,
“committed_update_seq”: 0,
“instance_start_time”: 1772757033408178,
“compact_running”: false,
“purge_seq”: 0,
“disk_format_version”: 0,
“state”: “Offline”,
“server_uuid”: “ad2baa518481259d5b3ad03ed7aec763”
}
If I try to acquire a document:
{
“error”: “Service Unavailable”,
“reason”: “DB is currently under maintenance”
}
I have tried shutting the Sync Gateway server off and back on again.
Nothing I do will make it go online.
I have no errors, no connection issues, no failures.
It just “isn’t working”.
Please help, I need to get this back online.
Thank you