springMVC dispatcher could not be started

Atto Lee August 24, 2017

I try move to ubuntu from windows.  

  1. Install bitbucket in ubuntu machine using .bin file.
  2. Copy `bitbucket home directory` to target directory.
  3. `$ pg_dump bitbucket > database.sql` in windows
  4. Edit set-bibucket-home.sh.
  5. restore database from database.sql directly.

Restart machine, the repository data can be viewed in web, but PR data lost.

  1. Delete bibucket database, create new one.
  2. `$ sudo -u postgres psql -U postgres -f database.sql` in ubuntu

Restart machine, the error occur.

---------------------------

Use stop and start script in ubuntu have no effect in my case, instead, I restart machine.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 24, 2017

Hi Atto! We have a couple of articles on our knowledge base regarding that error, have you checked them already? You can find them at Springmvc dispatcher could not be started and Bitbucket server can't be started.

Also, there were some users sharing their solutions in the Community, maybe they'll help you too:

If none of the above solved your problem, please remember to provide some more information so we can help you find the cause of this issue:

- Version of Ubuntu

- Version of Bitbucket Server

- Logs

Best regards,

Ana

Atto Lee August 24, 2017
  • The <bitbucket home directory> permission is ok, I have set all to atlbitbucket. And util step 5, actually the respository data can be viewed in web.
  • Ubuntu 16.04
  • Bitbucket Server 5.3.0 used in Ubuntu
  • Bitbucket Server 5.2.1 used in Windows
  • The machine has 2 cores and 3.8 mb, not a VM

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events