Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

manually restore crucible from backup


I have setup crucible/fisheye on AWS with EFS, but when I run the restore, the files are being restored in the default installation directory, rather than the FISHEYE_INST:


I have followed


My setup is AWS, EFS with an ALB


the service has been started as the fisheye user


this is my init.d script:

content: |
# RUN_AS: The user to run fisheye as. Its recommended that you create a separate user account for security reasons
# FISHEYE_HOME: The path to the FishEye installation. It's recommended to create a symbolic link to the latest version so
# the process will still work after upgrades. Be sure to update the symlink itself when upgrading.
# Example: ln -s /usr/local/atlassian/applications/fisheye/4.2.0 /usr/local/atlassian/applications/fisheye/latest
# FISHEYE_INST: The path to store Fisheye data.
# The 2 lines below should be uncommented only if you don't have the environment variables set in /etc/environment file.
export FISHEYE_INST="/var/lib/atlassian/application-data/fecru"
#mkdir -p $FISHEYE_INST || sudo mkdir -p $FISHEYE_INST
fisheyectl() {
if [ ! -f "$FISHEYE_HOME/fisheyeboot.jar" ] ; then
echo "Error: Could not find $FISHEYE_HOME/fisheyeboot.jar"
exit 1
"$FISHEYE_HOME/bin/" "$1"
case "$1" in
# Remove lock file before starting program
# Removing lock file before starting is necessary to ensure
# program doesn't refuse to start because of a useless
# lock file from the past
if [ -f $FISHEYE_INST/var/fisheye.lck ] ; then
echo "Warn: Found existing lock file. Removing it and starting Fisheye"
rm $FISHEYE_INST/var/fisheye.lck
fisheyectl start
fisheyectl stop
fisheyectl stop
sleep 10
fisheyectl start
fecru_pid=$(ps -eAf|grep fecru|grep -v grep|sed "s/[ \t][ \t]*/ /g"|cut -d" " -f2|head -1)
if [[ -n "${fecru_pid}" ]];
echo "Process 'fecru' fisheye/crucible is running. PID (${fecru_pid})"
echo "Process 'fecru' fisheye/crucible is NOT running."
echo "Usage: $0 {start|stop|status|restart}"
echo "- Log files are available here:"
if [[ -n "${FISHEYE_INST}" ]];
echo "$(find "${FISHEYE_INST}/var/log" 2>/dev/null | sed "s/^/ /")";
echo "$(find "${FISHEYE_HOME}/var/log" 2>/dev/null | sed "s/^/ /")"
exit 0


When I do a manual restore, it is restoring it in `/opt/fecru-4.8.1` and not in FISHEYE_INST as the config.xml files gets overwritten.


What is the correct way to restore the backup manually into the right place?


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

183 views 0 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you