Closed georgy closed 5 years ago
Check the type of license you have please. Is it DC license or a regular one?
@georgy I didn't specify any license explicitly, just running it through atlas-run
(without any arguments specified), I also cleaned up target
directory in order to have clean setup.
Although, this is what I found in admin panel:
This is weird, but the bitbucket really thinks I have a cluster?
And no specific licenses in plugin specified:
Thanks for assisting in the issue.
What matters the license for your bitbucket. Looks like you have DC version (Clustering: Available). The problem with isClustered() would be that I can get DC with one node, put my script outside of the shared home folder, add the second node and have fun time figuring out why my who works only for some people :).
Hi. Just installed the plugin from master and ran![screenshot](https://dead.archi/3mVDam6E6V)
altas-run
locally, tried to install pre-receive hook and got following:I've checked the code and I see that this message appears when the clustering is available:
I'm not sure that it's correct, because I don't have a cluster locally, it's just a single instance (I don't know why ClusterService is available actually in this case).
How do you think, should we replace it with
isClustered()
method?https://docs.atlassian.com/bitbucket-server/javadoc/4.1.6/api/reference/com/atlassian/bitbucket/cluster/ClusterService.html