Forum Discussion
justanotherdaytt
Jan 05, 2022Copper Contributor
The lease on AnalyticsStateService.SetFeatureState ....expire during azureDevOps on-premises install
keep buming into this error during installation on a window server (Azure DevOps Server 2019.1): [Info 00:15:12.224] [2022-01-05 08:15:11Z][Error] The lease on AnalyticsStateService.SetFeatureState,...
alois-mermaid
Jan 05, 2024Copper Contributor
I had a similar issue ("The lease on [...] expired") when installing Azure DevOps Server on a dual-core VM with a fairly weak CPU.
The issue for me was resolved by increasing the CPU power of the server, e.g. using a quad-core processor instead of a dual-core processor. E.g. if you're using an AWS server, you can pay for a more expensive server for the installation step, then downgrade it to a cheaper and less powerful server afterwards.
I also found temporarily disabling the anti-virus and other background processes seemed to help too, so that the installation step can run as quickly as possible.