on restore fisheye-data sub-directory is empty

I'm trying to make a copy of production on our sandbox server.

Using the following command:

/opt/atlassian/fecru-3.6.3/bin/fisheyectl.sh restore -f ../fisheyeandcrucible_backup_2015_01_08.zip -j jdbc:postgresql://localhost:5432/fecru -u fisheye -p <redacted> -t postgresql --force

It seems to be perfectly happy.  But when I start fisheye there are boatloads of errors about "Requested bean is currently in creation: Is there an unresolvable circular reference?" and it shuts down.

The only thing that seems really suspicious is that /opt/atlassian/fisheye-data on the sandbox server is empty.  the sub-dirs that should be there are in the install directory.  But not all the files from prod fisheye-data appear to have made it to staging.  Some, but not all.

Ideas?

2 answers

1 accepted

This widget could not be displayed.

As you figured out the FISHEYE_INST environment variable has to point to the folder where do you want the instance to be restored to.  And later still need to be set to the same location when starting restored instance.

This is the documented way of restoring instance, see https://confluence.atlassian.com/display/FISHEYE/Backing+up+and+restoring+FishEye+data#BackingupandrestoringFishEyedata-RestoringFishEyedata, it should work perfectly fine.

If you still have any issues with some data being not restored please ensure expected data was included in the backup file in the first place.

Hope that helps,
Piotr 

Yep. All was fine after I set the environment variable. Thanks.

This widget could not be displayed.

I think this is because I didn't have FISHEYE_INST defined.  Things seem better now.  Not quite there.  But definitely better.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

50 views 1 0
Join discussion

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