Cannot move database

Hi Cryosparc Developers,
I was trying to move the database directory to a new location. I followed the steps here: https://guide.cryosparc.com/processing-data/tutorials-and-case-studies/tutorial-migrating-your-cryosparc-instance.

When I modified my config.sh and changed the CRYOSPARC_DB_PATH, I couldnot start cryosparc. I kept getting the following error:
CryoSPARC is not already running.
If you would like to restart, use cryosparcm restart
Starting cryoSPARC System master process…
CryoSPARC is not already running.
database: ERROR (spawn error)

However, when I switched back to the old directory of the CRYOSPARC_DB_PATH, everything was just fine.

Do you have an idea what might cause this?

Best,
Pengxin

I wish an admin command would be provided for relocating cryosparc. I also had trouble following the migration guide a while ago, and ended up just reinstalling from scratch. Please post if you get a solution!

Hey @Pengxin, @sbliven,

Check out this post that details how to update to the latest patch and use the new utilities to modify and repair the database.

1 Like