Project deletion

Hi,

My project is using a template from other project. My project works fine. The first time I ever created this project and ran a test run, I didnt realize i did a server side checkout in the VCS instead of agent side checkout. Since then whenever the company decides to reboot the teamcity, my project gets deleted. No traces left. I am curious could it because of the mistake that i mentioned or could there be some other reason ? Could using a template from other project be the reason ? Or could there be another reason? would you have any pointers to where I can look into ?

0
1 comment

Hi,

It doesn't make any sense that rebooting the server deletes a project. None of the conditions you mention should trigger that.

Projects are stored as XML files in the data directory. Projects might also be stored externally in VCS Roots if Storing projects in version control is enabled, although TeamCity will still persist them locally.

A situation where a server restart triggers this every time is very strange. Some ideas to check:
-Make sure, after you've recreated your project, that the project is persisted into the disk. It should be under config/projects
-Make sure that the files and folders have permissions that allow access to the server.
-Make sure that parent projects aren't regenerated from VCS Roots during startup and they don't contain your subproject. This shouldn't happen, but just in case.
-Make sure that it isn't just the case that the project stops being displayed by default.

If nothing of this helps, you might want to check the Audit in the Administration section, the teamcity-activities.log and teamcity-server.log files upon startup.

0

Please sign in to leave a comment.