You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config file doesn't have bucket but I try to set it as param
cat gateway_config_template_nobucket.json
{
"adminInterface": ":4985",
"databases": {
"db": {
"server": "http://127.0.0.1:8091/",
"users": {
"GUEST": {"disabled": false, "admin_channels": ["*"] }
}
}
}
}
Andreis-MacBook-Pro:sync_gateway andrei$ ./bin/sync_gateway -bucket default gateway_config_template_nobucket.json
2015-05-25T23:48:38.840+03:00 ==== Couchbase Sync Gateway/master(8546803+CHANGES) ====
2015-05-25T23:48:38.840+03:00 Configured Go to use all 8 CPUs; setenv GOMAXPROCS to override this
2015-05-25T23:48:38.840+03:00 Opening db /db as bucket "db", pool "default", server <http://127.0.0.1:8091/>
2015-05-25T23:48:38.841+03:00 Opening Couchbase database db on <http://127.0.0.1:8091/>
2015-05-25T23:48:38.850+03:00 FATAL: Error opening database: 502 Unable to connect to server: No bucket named db -- rest.RunServer() at config.go:479
The text was updated successfully, but these errors were encountered:
I close this bug since scenario is not entirely valid. because when we point bucket in parameters it does not have to override the bucket name in the config file. I fixed the test created by Li. more detailed inspection of all behaviors for config files will be made according to #826
config file doesn't have bucket but I try to set it as param
The text was updated successfully, but these errors were encountered: