springMVC dispatcher could not be started Edited

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 vote

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

  • 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,043 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you