Symptoms
- The queued builds are not getting started.
- The build agents are connected and available. Their status is idle.
- The
teamcity-server.loghas the following entries:
[2025-08-19 12:20:25,356] WARN - jetbrains.buildServer.SERVER - Error occured while trying to create new build log file: <Internal Artifacts Storage Path>\...\.teamcity\logs\buildLog.msg5: java.io.IOException: Access is denied (enable debug to see stacktrace)
[2025-08-19 12:20:25,357] WARN - jetbrains.buildServer.SERVER - Could not start changes collecting for build promotion: Build promotion {id=211870, configuration={id=Products_ArsDriverVisionCamera_VideoProcessingPlatform_Dependencies/bt1308}}: jetbrains.buildServer.serverSide.buildLog.BuildLogCreationException: Error occured while trying to create new build log file: <Internal Artifacts Storage Path>\...\.teamcity\logs\buildLog.msg5 (enable debug to see stacktrace)
Cause
java.io.IOException: Access is denied when starting a new build and creating a build log for it, indicates issues with the TeamCity server's access to the internal artifacts storage.
Resolution
Make sure that:
-
<Internal Artifacts Storage Path>is accessible from the TeamCity server machine, there are no network interruptions, and the user that is used to run the TeamCity Server process (or Windows Service) has read/write access to it. TeamCity assumes reliable and persistent read/write access to the TeamCity Data Directory and internal artifacts storage, and can malfunction if they become inaccessible. - The device where
<Internal Artifacts Storage Path>is located has free space. - No antivirus or firewall is blocking the TeamCity Server process from writing files to
<Internal Artifacts Storage Path>.
Additional information
Comments
0 comments
Please sign in to leave a comment.