I have Bitbucket 5.01 on a Windows 2012 R2 server. Used Atlassian installer so service has a local atlbitbucket account as the service account. I had to add it to the Administrators group or the service will not start. Performance is very slow and saw on web that removing account from administrators group will speed up performance but then service does not start.
Anyone have the recipe for getting the service to work correctly on Windows Server 2012 and not have the account in the admin group?
UPDATE: I followed the instructions here
and set the folder access for atlbitbucket user but the service would still not start once I removed altbitbucket from the Windows admin group. I am clear about where the home directory is, in fact privilege for it was already set correctly. The "install" directory seemed straightforward but I wonder if I got it right. There are version specific directories under a root Atlassian directory. Are these the "install" directories?
UPDATE #2: The error in the event log when starting the service with atlbitbucket user not in the Administrator group
Faulting application name: bserv64.exe, version: 22.214.171.124, time stamp: 0x51543b9d
Faulting module name: jvm.dll, version: 126.96.36.199, time stamp: 0x576af213
Exception code: 0xc0000005
Fault offset: 0x0000000000216aa8
Faulting process id: 0x1354
Faulting application start time: 0x01d32f0e943af960
Faulting application path: C:\Atlassian\Bitbucket\5.0.1\bin\bserv64.exe
Faulting module path: c:\atlassian\bitbucket\4.13.0\jre\bin\server\jvm.dll
I would advise having it run as an unprivileged user and binding to 7990/7999 as the out of the box configuration. This is best from a security perspective. Use Apache, IIS, etc to reverse proxy to it and have that listen on 80/443. This will eliminate the need to run as part of the administrators group.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot