Hi,
I’m running tests using Couchbase and Docker together (using the official docker image) and after a fresh install and cluster initialisation, I get errors in the Admin log page.
Steps to reproduce:
$ docker run -d --name test -p 8091-8094:8091-8094 -p 11210:11210 couchbase
$ docker exec -it test /bin/bash
$ /opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1:8091 --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-port=8091 --services=data,index,query,fts --cluster-ramsize=650 --cluster-index-ramsize=650 --cluster-fts-ramsize=256
Then I log in the admin console at http://localhost:8091/
and go to Log page and see this (I removed http:// because Couchbase forum doesn’t accept more than 2 links, in the error messages below about localhost):
Client-side error-report for user undefined on node ‘ns_1@127.0.0.1’:
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Got unhandled javascript error:
name: TypeError;
message: Cannot read property ‘clear’ of undefined;
stack: TypeError: Cannot read property ‘clear’ of undefined
at clearOnResponse (http://localhost:8091/ui/app.min.js:1090:54)
at responseError (http://localhost:8091/ui/app.min.js:1092:34)
at localhost:8091/ui/libs/angular.min.js:119:129
at r.$eval (http://localhost:8091/ui/libs/angular.min.js:133:313)
at r.$digest (http://localhost:8091/ui/libs/angular.min.js:130:412)
at r.$apply (http://localhost:8091/ui/libs/angular.min.js:134:78)
at g (http://localhost:8091/ui/libs/angular.min.js:87:444)
at T (http://localhost:8091/ui/libs/angular.min.js:92:50)
at XMLHttpRequest.w.onload (http://localhost:8091/ui/libs/angular.min.js:93:78);
(repeated 1 times) hide menelaus_web 102 ns_1@127.0.0.1 9:49:20 AM Thu Jul 7, 2016
Client-side error-report for user undefined on node ‘ns_1@127.0.0.1’:
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Got unhandled javascript error:
name: TypeError;
message: Cannot read property ‘clear’ of undefined;
stack: TypeError: Cannot read property ‘clear’ of undefined
at clearOnResponse (http://localhost:8091/ui/app.min.js:1090:54)
at responseError (http://localhost:8091/ui/app.min.js:1092:34)
at localhost:8091/ui/libs/angular.min.js:119:129
at r.$eval (http://localhost:8091/ui/libs/angular.min.js:133:313)
at r.$digest (http://localhost:8091/ui/libs/angular.min.js:130:412)
at r.$apply (http://localhost:8091/ui/libs/angular.min.js:134:78)
at g (http://localhost:8091/ui/libs/angular.min.js:87:444)
at T (http://localhost:8091/ui/libs/angular.min.js:92:50)
at XMLHttpRequest.w.onload (http://localhost:8091/ui/libs/angular.min.js:93:78);
menelaus_web 102 ns_1@127.0.0.1 9:48:33 AM Thu Jul 7, 2016
Client-side error-report for user undefined on node ‘ns_1@127.0.0.1’:
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Got unhandled javascript error:
name: SyntaxError;
message: Unexpected token u in JSON at position 0;
stack: SyntaxError: Unexpected token u in JSON at position 0
at Object.parse (native)
at uc (http://localhost:8091/ui/libs/angular.min.js:15:483)
at $b (http://localhost:8091/ui/libs/angular.min.js:82:360)
at localhost:8091/ui/libs/angular.min.js:83:274
at n (http://localhost:8091/ui/libs/angular.min.js:7:333)
at cd (http://localhost:8091/ui/libs/angular.min.js:83:256)
at c (http://localhost:8091/ui/libs/angular.min.js:84:468)
at localhost:8091/ui/libs/angular.min.js:119:129
at r.$eval (http://localhost:8091/ui/libs/angular.min.js:133:313)
at r.$digest (http://localhost:8091/ui/libs/angular.min.js:130:412);
menelaus_web 102 ns_1@127.0.0.1 9:48:33 AM Thu Jul 7, 2016
Changed cluster compat mode from undefined to [4,5] ns_orchestrator 000 ns_1@127.0.0.1 9:48:21 AM Thu Jul 7, 2016
I’m the only node, so I’m the master. mb_master 000 ns_1@127.0.0.1 9:48:21 AM Thu Jul 7, 2016
Couchbase Server has started on web port 8091 on node ‘ns_1@127.0.0.1’. Version: “4.5.0-2601-enterprise”. menelaus_sup 001 ns_1@127.0.0.1 9:48:21 AM Thu Jul 7, 2016
Initial otp cookie generated: xfkisxduinzhjpsm ns_cookie_manager 003 ns_1@127.0.0.1 9:48:21 AM Thu Jul 7, 2016
Couchbase version: 4.5.0-2601-enterprise
Docker version: 1.12.0-rc3, build 91e29e8, experimental (for Mac OS X)