I upgraded my couchbase cluster from version 4.5.1 to version 6.0
My script is wrriten on nodejs used couch SDK
I tried to connect to old bucket that migrated and it works ,
but - when I tried to connect to new bucket that created in version 5.5.2 it failed , I tried with admin credentials .
How did you upgrade? If it was a rebalance upgrade, a user with the same name as the bucket should have been automatically created on upgrade. If it was an offline upgrade, this isn’t done for you and you’ll need to create users, etc. This should be covered in the documentation and please hit the “Feedback” button on the docs if you find it unclear and offer suggestions.
In any case, it’s better to create proper application users, give them the right permissions on the buckets they have access to, etc. It is not recommended to use admin credentials.
I am using for the tests on admin user , new user that created after the upgrade and it;s not working . BUT - After an investigation we understood the problem -
We are working on ‘couchbase-promises’ module, this is wrapper of ‘couchbase’ module that implement async-await pattern .
this module (promises) is not up to date for last changes in couch module , the last update for it was 1 year ago , I found open issue with in project: https://github.com/dsfields/couchbase-promises/issues/22