Need a little help, I cloned our DB server and stash server to test an in-place upgrade of stash 3.6 to Bitbucket 4.8.1. I am able to login to the upgraded version, but have 2 issues I cant seem to resolve.
1) Search feature not working or starting. From the info below you can see that it claims the service started, but if i do a service status, it shows not running
2) The log4j configuration
root@test-stash:/var/stash-home/shared# service atlbitbucket_search startStarting Elasticsearch bundled with Atlassian BitbucketBITBUCKET_HOME set to /var/stash-homeUsing BITBUCKET_HOME: /var/stash-homeStarting Elasticsearch bundled with Atlassian Bitbucket as dedicated user atlbitbucketElasticsearch bundled with Atlassian Bitbucket started successfullyroot@test-stash:/var/stash-home/shared# log4j:WARN No appenders could be found for logger (bootstrap).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
I must admit I am not all that familiar with this suite of software, so If someone could point me in the right direct, or things to look for that would be greatly appreciated.
Mainly what config files are handling the Search feature and do we need the log4j in version 4.8.1? If so what am I missing? I have read lots of KBs on the site but nothing referencing the Bitbucket.
Thanks,
Mark
Hi Mark,
I think you may have hit https://jira.atlassian.com/browse/BSERV-9056
Can you follow the workaround listed there to copy over the configuration files into BITBUCKET_HOME and then restart Elasticsearch?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jeff,
The steps outlined in BSERV-9056 has solved the search issue!
Thank you,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jeff,
Sorry for the delay on getting back to this. I have checked the $BITBUCKET_HOME/log/search/ only to find no file has been created.
Here is the output of ps -ef | grep elasticsearch
As to the buckler.yml file, it is not in $BITBUCKET_HOME/shared/search/buckler/buckler.yml
But i did find a copy in...
/opt/atlassian/bitbucket/4.8.1/elasticsearch/config-template/buckler/buckler.yml
Thanks,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Can you check the $BITBUCKET_HOME/log/search/bitbucket_search.log
to see if there are any errors on startup? After search has started, what is the output of ps -ef | grep elasticsearch
? Also, is the $BITBUCKET_HOME/shared/search/buckler/buckler.yml
present?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.