Why is it always so complicated to restore youtrack database?

I set up youtrack (jar) in a new linux environment. The environment I used before was almost the same system, etc.. I did a backup of the youtrack database inside from youtrack.
When I installed youtrack (jar) new it started up fine with an empty database.
Then I followed the guidelines how to restore my old database. I copied the youtrack backup tar.gz file into my /home/youtrack/standalone/teamsysfolder (before I cleaned it). Inside of that folder I extracted the tar file.
Now youtrack is not starting: The bwoser shows this message:

[HTTP/1.1 503 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transientEntityStore' defined in file http://forum.jetbrains.com/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.2.2-8792.jar--any-/webapp/WEB-INF/classes/jetbrains-spring-configuration/jetbrains/charisma/persistent/storeConfigurationDatabase.xml: Cannot resolve reference to bean 'persistentEntityStore' while setting bean property 'persistentStore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentEntityStore' defined in file http://forum.jetbrains.com/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.2.2-8792.jar--any-/webapp/WEB-INF/classes/jetbrains-spring-configuration/jetbrains/charisma/persistent/storeConfigurationDatabase.xml: Cannot resolve reference to bean 'persistentDataEnvironment' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentDataEnvironment' defined in file 41ms


So, what can I do?

My question is: Why cannot be a SMOOTH way to install, upgrade of youtrack can be implemented? Why cannot be a browser menu driven restoring of the database can be done?
Youtrack is great, but installation and restoring always so, excuse me, horrible.

Thanks for your help!
1 comment
Comment actions Permalink
Okay. I solved it on my own... :-)
I edited the file /home/youtrack/standalone/conf/wrapper.conf and changed the following line:
wrapper.java.additional.3=-XX:MaxPermSize=128m

to

wrapper.java.additional.3=-XX:MaxPermSize=512m

That was all... :-)
Heaven knows why.
0

Please sign in to leave a comment.