TeamCity installed successfully, but cannot reboot after shutdown

I managed to install TeamCity successfully when starting BuildAgent.

However, after running runall stop, followed by running runall, I get the following error:

error in script file line: 41 file input/output errorerror java.io.FileNotFoundException: C:\ProgramData\JetBrains\TeamCity\system\buildserver.data (Access is denied) opening file - file C:/ProgramData/JetBrains/TeamCity/system/buildserver.data
SQL exception: error in script file line: 41 file input/output errorerror java.io.FileNotFoundException: C:\ProgramData\JetBrains\TeamCity\system\buildserver.data (Access is denied) opening file - file C:/ProgramData/JetBrains/TeamCity/system/buildserver.data

The file exists in the directory. What could be the problem?

I am using TeamCity 8.1

+4
source share
3 answers

It seems that the problem is one of the access rights to the folders, which is why I suspect that the user who runs the TeamCity Windows service does not have the right to read and write to the folder in which you decided to save TeamCity data.

+3
source

Windows. startup.but script .

0

The answer is the oldest trick in the book.

After the computer restarts, it works.

-1
source