All issues are lost after windows reboot

I've installed youtrack for windows (.exe) and started to use it. After some time i had to reboot my webserver and... After reboot it lost its database and displayed start page with license agreement and root password. I tried to restore it but no luck here - when I start "YouTrack Web Server" issues again is empty. WTF???

Youtrack version:2.2.1

Here's how I restored database: http://confluence.jetbrains.net/display/YTD2/Restoring+Database+from+a+Backup

9 comments
Comment actions Permalink

Roman, can you name version of Windows you are trying to use with a YouTrack?

There is specific issue with Vista+. YouTrack database is stored in a {USER_HOME}/teamsysdata folder. YouTrack service might previously run under your user account and now it may run under Local Service account. Do you have teamsysdata folder both in your windows installation disk folder and user home folder?

0
Comment actions Permalink

I have Wndows Server 2003. Actually database was erased 2 times. First time I installed it, created a test user and some issues and rebooted PC. Everything was gone but I decided that it is exactly the kind of issue you are talking about. So I continued to use youtrack and verified that it uses teamsysdataunder admin folder. Then we used it for week and a half and I rebooted server again - same thing, everything is wiped.

P.S. Can I speak russian?

0
Comment actions Permalink

The cause of error was indeed different accounts. When system starts up it runs all services as Administrator but when I manually restart service it starts under current account.

0
Comment actions Permalink

Да, конечно.

0
Comment actions Permalink

As far as I understand windows allows manual association of a user with a service.

Also you can copy a database as a folder.

0
Comment actions Permalink

Уже так и сделал.

0
Comment actions Permalink

О, а этот вариант даже лучше.

0
Comment actions Permalink

As a "administrator" of YouTrack, I find it distrubing that you can incorrectly configure YouTrack so that it "wipes out" your current data.

Even though one can say that is it is the administrators fault for not correctly setting up the user on the service and specifying an exact directory for the database [which I didn't find in the setup instructions at the time], the feeling one gets when they see all there issues gone and staring at an empty database merits looking at the config process/docs and seeing if there isn't a better way to make the configuration mistake-proof.

Having a luke-warm feeling that something is correctly configured also gives the user a luke-warm feeling for the quality of the software.

Just my 2 cents. thanks for hearing me out.

0

Please sign in to leave a comment.