Stash fails to start when the current locale is Turkish
Symptoms
Stash fails to start when the current locale is Turkish, with the following (abbreviated) error in the log:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdUserDao' defined in class path resource [crowd-spi-context.xml]:
...
nested exception is org.hibernate.HibernateException: Missing column: id in PUBLIC.PUBLIC.CHANGESET
Cause
This is a bug in a third-party library that Stash uses: HHH-8765 - Column not found in Turkish locale.
Workaround
Configure Stash to start with a English locale:
- in the directory where Stash is installed, open the configuration file
setenv.sh
, located in thebin
subfolder; in the line setting the JVM_REQUIRED_ARGS variable, append the text "
-Duser.language=en -D
" at the end, like:user.country=gb
# # The following are the required arguments needed for Atlassian Stash. # JVM_REQUIRED_ARGS="-Djava.awt.headless=true -Dfile.encoding=${JVM_FILE_ENCODING} -Datlassian.standalone=STASH -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.apache.catalina.connector.Response.ENFORCE_ENCODING_IN_GET_WRITER=false -Duser.language=en -Duser.country=gb"
- restart Stash.
Similar resolution for JIRA: Change Locale for Jira server.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.