REM-DaveBrown:demo davidbrown$ docker-compose up Creating network "demo_default" with the default driver Creating couchbase ... done Creating syncgateway ... done Attaching to couchbase, syncgateway couchbase | Starting Couchbase Server -- Web UI available at http://:8091 couchbase | and logs available in /opt/couchbase/var/lib/couchbase/logs syncgateway | 2020-01-30T23:20:09.355Z ==== Couchbase Sync Gateway/2.7.0(166;a52b9c4) EE ==== syncgateway | 2020-01-30T23:20:09.356Z [INF] Logging: Console to stderr syncgateway | 2020-01-30T23:20:09.356Z [INF] Logging: Files to /var/log/sync_gateway syncgateway | 2020-01-30T23:20:09.356Z [INF] Logging: Console level: info syncgateway | 2020-01-30T23:20:09.356Z [INF] Logging: Console keys: [HTTP] syncgateway | 2020-01-30T23:20:09.357Z [INF] Logging: Redaction level: none syncgateway | 2020-01-30T23:20:09.357Z [INF] requestedSoftFDLimit < currentSoftFdLimit (5000 < 1048576) no action needed syncgateway | 2020-01-30T23:20:09.357Z [INF] Logging stats with frequency: 1m0s syncgateway | 2020-01-30T23:20:09.357Z [INF] Opening db /cbmfd as bucket "cbmfd", pool "default", server syncgateway | 2020-01-30T23:20:09.357Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:09.366Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:09.372Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:09.377Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:09.388Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:09.393Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:09.413Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:09.418Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:09.458Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:09.464Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:09.544Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:09.549Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:09.710Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:09.716Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:10.036Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:10.043Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:10.684Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:10.689Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:11.969Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:11.977Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:14.537Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:14.543Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:19.629Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:19.636Z [INF] Error opening bucket cbmfd: failed to connect to any of the specified hosts syncgateway | 2020-01-30T23:20:29.877Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" syncgateway | 2020-01-30T23:20:29.909Z [INF] Successfully opened bucket cbmfd syncgateway | 2020-01-30T23:20:29.930Z [INF] Set query timeouts for bucket cbmfd to cluster:1m15s, bucket:1m15s syncgateway | 2020-01-30T23:20:29.930Z [INF] Initializing indexes with numReplicas: 0... syncgateway | 2020-01-30T23:20:30.900Z [INF] Verifying index availability for bucket cbmfd... syncgateway | 2020-01-30T23:21:38.309Z [WRN] Error when querying index using statement: [SELECT [op.name, LEAST(meta(`cbmfd`).xattrs._sync.sequence, op.val.seq),IFMISSING(op.val.rev,null), IFMISSING(op.val.del,null)][1] AS sequence FROM `cbmfd` UNNEST OBJECT_PAIRS(meta(`cbmfd`).xattrs._sync.channels) AS op WHERE [op.name, LEAST(meta(`cbmfd`).xattrs._sync.sequence, op.val.seq),IFMISSING(op.val.rev,null), IFMISSING(op.val.del,null)] BETWEEN ['foo', 0] AND ['foo', 1] ORDER BY sequence LIMIT 1] parameters: [] error:[5000] MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] - cause: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] -- base.(*CouchbaseBucketGoCB).Query() at bucket_n1ql.go:76 syncgateway | 2020-01-30T23:21:38.310Z [WRN] Query error for statement [SELECT [op.name, LEAST(meta(`$_bucket`).xattrs._sync.sequence, op.val.seq),IFMISSING(op.val.rev,null), IFMISSING(op.val.del,null)][1] AS sequence FROM `$_bucket` UNNEST OBJECT_PAIRS(meta(`$_bucket`).xattrs._sync.channels) AS op WHERE [op.name, LEAST(meta(`$_bucket`).xattrs._sync.sequence, op.val.seq),IFMISSING(op.val.rev,null), IFMISSING(op.val.del,null)] BETWEEN ['foo', 0] AND ['foo', 1] ORDER BY sequence LIMIT 1], err:[5000] MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] - cause: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] -- db.waitForIndexes.func1() at indexes.go:335 syncgateway | 2020-01-30T23:21:39.020Z [WRN] Error when querying index using statement: [SELECT meta(`cbmfd`).xattrs._sync.role_access.foo as val FROM `cbmfd` WHERE ANY op in OBJECT_PAIRS(meta(`cbmfd`).xattrs._sync.role_access) SATISFIES op.name = 'foo' end LIMIT 1] parameters: [] error:[5000] MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] - cause: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] -- base.(*CouchbaseBucketGoCB).Query() at bucket_n1ql.go:76 syncgateway | 2020-01-30T23:21:39.020Z [WRN] Query error for statement [SELECT meta(`$_bucket`).xattrs._sync.role_access.foo as val FROM `$_bucket` WHERE ANY op in OBJECT_PAIRS(meta(`$_bucket`).xattrs._sync.role_access) SATISFIES op.name = 'foo' end LIMIT 1], err:[5000] MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] - cause: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] -- db.waitForIndexes.func1() at indexes.go:335 syncgateway | 2020-01-30T23:21:39.292Z [WRN] Error when querying index using statement: [SELECT meta(`cbmfd`).xattrs._sync.access.foo as val FROM `cbmfd` WHERE ANY op in OBJECT_PAIRS(meta(`cbmfd`).xattrs._sync.access) SATISFIES op.name = 'foo' end LIMIT 1] parameters: [] error:[5000] MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] - cause: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] -- base.(*CouchbaseBucketGoCB).Query() at bucket_n1ql.go:76 syncgateway | 2020-01-30T23:21:39.292Z [WRN] Query error for statement [SELECT meta(`$_bucket`).xattrs._sync.access.foo as val FROM `$_bucket` WHERE ANY op in OBJECT_PAIRS(meta(`$_bucket`).xattrs._sync.access) SATISFIES op.name = 'foo' end LIMIT 1], err:[5000] MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] - cause: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] -- db.waitForIndexes.func1() at indexes.go:335 syncgateway | 2020-01-30T23:21:39.292Z [ERR] Error opening database cbmfd: [5000] MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] - cause: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: from [127.0.0.1:9101] syncgateway | github.com/couchbase/sync_gateway/base.(*CouchbaseBucketGoCB).Query syncgateway | /home/couchbase/jenkins/workspace/sgw-unix-build/2.7.0/enterprise/godeps/src/github.com/couchbase/sync_gateway/base/bucket_n1ql.go:77 syncgateway | github.com/couchbase/sync_gateway/db.waitForIndex syncgateway | /home/couchbase/jenkins/workspace/sgw-unix-build/2.7.0/enterprise/godeps/src/github.com/couchbase/sync_gateway/db/indexes.go:358 syncgateway | github.com/couchbase/sync_gateway/db.waitForIndexes.func1 syncgateway | /home/couchbase/jenkins/workspace/sgw-unix-build/2.7.0/enterprise/godeps/src/github.com/couchbase/sync_gateway/db/indexes.go:333 syncgateway | runtime.goexit syncgateway | /usr/local/go/1.13.4/go/src/runtime/asm_amd64.s:1357 -- rest.RunServer() at config.go:1028 syncgateway exited with code 1 ^Z [1]+ Stopped docker-compose up REM-DaveBrown:demo davidbrown$ docker-compose up couchbase is up-to-date Starting syncgateway ... done Attaching to couchbase, syncgateway syncgateway | 2020-01-30T23:21:56.135Z ==== Couchbase Sync Gateway/2.7.0(166;a52b9c4) EE ==== syncgateway | 2020-01-30T23:21:56.135Z [INF] Logging: Console to stderr syncgateway | 2020-01-30T23:21:56.136Z [INF] Logging: Files to /var/log/sync_gateway syncgateway | 2020-01-30T23:21:56.136Z [INF] Logging: Console level: info syncgateway | 2020-01-30T23:21:56.136Z [INF] Logging: Console keys: [HTTP] syncgateway | 2020-01-30T23:21:56.136Z [INF] Logging: Redaction level: none syncgateway | 2020-01-30T23:21:56.136Z [INF] requestedSoftFDLimit < currentSoftFdLimit (5000 < 1048576) no action needed syncgateway | 2020-01-30T23:21:56.136Z [INF] Logging stats with frequency: 1m0s syncgateway | 2020-01-30T23:21:56.136Z [INF] Opening db /cbmfd as bucket "cbmfd", pool "default", server syncgateway | 2020-01-30T23:21:56.136Z [INF] GoCBCustomSGTranscoder Opening Couchbase database cbmfd on as user "cbmfdsg" couchbase | Starting Couchbase Server -- Web UI available at http://:8091 couchbase | and logs available in /opt/couchbase/var/lib/couchbase/logs syncgateway | 2020-01-30T23:21:56.155Z [INF] Successfully opened bucket cbmfd syncgateway | 2020-01-30T23:21:56.187Z [INF] Set query timeouts for bucket cbmfd to cluster:1m15s, bucket:1m15s syncgateway | 2020-01-30T23:21:56.187Z [INF] Initializing indexes with numReplicas: 0... syncgateway | 2020-01-30T23:21:56.429Z [INF] Verifying index availability for bucket cbmfd... syncgateway | 2020-01-30T23:21:56.482Z [INF] Indexes ready for bucket cbmfd. syncgateway | 2020-01-30T23:21:56.482Z [INF] delta_sync enabled=false with rev_max_age_seconds=86400 for database cbmfd syncgateway | 2020-01-30T23:21:56.484Z [INF] Created background task: "CleanAgedItems" with interval 1m0s syncgateway | 2020-01-30T23:21:56.484Z [INF] Created background task: "InsertPendingEntries" with interval 2.5s syncgateway | 2020-01-30T23:21:56.484Z [INF] Created background task: "CleanSkippedSequenceQueue" with interval 30m0s syncgateway | 2020-01-30T23:21:56.806Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:56.811Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:56.826Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:56.826Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:56.826Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:56.827Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:56.837Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:56.844Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.324Z [INF] Using metadata purge interval of 3.00 days for tombstone compaction. syncgateway | 2020-01-30T23:21:57.324Z [INF] Created background task: "Compact" with interval 24h0m0s syncgateway | 2020-01-30T23:21:57.331Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.368Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.373Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.381Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.412Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.421Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.428Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.432Z [INF] Reset guest user to config syncgateway | 2020-01-30T23:21:57.432Z [INF] Starting admin server on :4985 syncgateway | 2020-01-30T23:21:57.437Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.446Z [INF] CBGoUtilsLogger: Using plain authentication for user cbmfdsg syncgateway | 2020-01-30T23:21:57.455Z [INF] Starting server on :4984 ...