Old Server do not start

Vlad Valea May 10, 2023

Hello everyone , 

We used to have a Bitbucket Server installed on our local server and from 2020 we moved to cloud.

The server was install on a VM ESXI/Ubuntu and today i needed to start it again to check something on a repository but the server does not start anymore.

I checked logs and did not find anything suspicious.

running journalctl - u atlbitbucket got me this : 

root@bitbucket: /opt/atlassian/bitbucket/5.7.0/bin
[ + ] whoopste [ - ] x11-common
root@bitbucket:/opt/atlassian/bitbucket/5.7.0/bin# journalctl -u atlbitbucket
- Logs begin at Wed 2023-05-10 15:19:38 EEST, end at Wed 2823-66-16 15:29:21 EEST. --
May 16 15:19:39 bitbucket systemd[1]: Starting LSB: Start Bitbucket daemon at boot time...
May 16 15:19:39 bitbucket atlbitbucket[1093]: Starting Atlassian Bitbucket as dedicated user atlbitbucket
May le 15:19:47 bitbucket atlbitbucket[1093]: runuser: warning: cannot change directory to /home/atlbitbucket: Not a directory
May le 15:19:47 bitbucket atlbitbucket[1093]: Starting bundled Elasticsearch
May 16 15:19:47 bitbucket atlbitbucket[1093]: Hint: Run start-bitbucket.sh --no-search to skip starting Elasticsearch
May 16 15:19:47 bitbucket atlbitbucket[1093]: Bundled Elasticsearch started successfully
May le 15:19:47 bitbucket atlbitbucket[1093]: Bitbucket is being run with a umask that contains potentially unsafe settings.
May le 15:19:47 bitbucket atlbitbucket[1093]: The following issues were found with the mask "u=rwx,g=rx,o=rx" (0022):
May le 15:19:47 bitbucket atlbitbucket[1093]: - Access is allowed to 'others'. It is recommended that 'others' be denied
May le 15:19:47 bitbucket atlbitbucket[1093]: all access for security reasons. ay le 15:19:47 bitbucket atlbitbucket[1093]: The recommended umask for Bitbucket is "u=,g=w,o=rwx" (6827) and can be
May le 15:19:47 bitbucket atlbitbucket[1093]: configured in _start-webapp.sh
May le 15:19:47 bitbucket atlbitbucket[1093]: The current open files limit is set to less than 48968
May le 15:19:47 bitbucket atlbitbucket[1093]: Attempting to increase limit...
May le 15:19:47 bitbucket atlbitbucket[1093]: Limit increased to 48968 open files
May le 15:19:47 bitbucket atlbitbucket[1093]: Starting Bitbucket webapp at http://localhost:7990
May le 15:19:47 bitbucket atlbitbucket[1093]: The Bitbucket webapp has been started. ay le 15:19:47 bitbucket atlbitbucket[1093]: If you cannot access Bitbucket within 3 minutes, or encounter other issues, check the
May le 15:19:47 bitbucket atlbitbucket[1093]: https://confluence.atlassian.com/display/BitbucketServerKB/Troubleshooting+Installati
May le 15:19:47 bitbucket systemd[1]: Started LSB: Start Bitbucket daemon at boot time.
May le 15:19:48 bitbucket atlbitbucket[1093]: [2023-05-10T15:19:48,364][WARN ][o.e.c.l.LogConfigurator ] ignoring unsupported logg
.ines 1-22/22 (END)

1 comment

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2023

Welcome to the Atlassian Community!

I'd recommend fixing the problems that log mentions (giving the atlbitbucket account a home directory and the permissions), but they're not going to stop the service starting.

You need to read the logs in the application's log directories.

Like Vlad Valea likes this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events