Hello,
I reinstall Cryosparc from scratch and I can’t see my old projects (the data was not deleted since I can still see the files in the terminal). I was wondering if there is a way to see them in cryosparc.
Thanks in advance
Eduardo
Hello,
I reinstall Cryosparc from scratch and I can’t see my old projects (the data was not deleted since I can still see the files in the terminal). I was wondering if there is a way to see them in cryosparc.
Thanks in advance
Eduardo
Hi @bruch,
When you reinstalled cryoSPARC, did you specify the same database directory as your previous installation? All metadata that points to projects and their jobs is maintained in the database.
Hello,
Unfortunately I overwrite the database.
There were only two short projects so I think the easiest way will be to recover the data I need directly from the folder and import it back.
Thanks for the answer.
Eduardo
Hi stephan, how can I specify the database directory as my previous one? I wonder if I copy folder cryosparc2_db from the previous installled location to the new installed one it will work?
I understand you want to re-use the database of an old CryoSPARC installation with a new CryoSPARC installation?
If so and :
mongod
processes are running./new/path/to/cryosparc_database
.cryosparc_master/config.sh
to change the CRYOSPARC_DB_PATH
definition:export CRYOSPARC_DB_PATH="/new/path/to/cryosparc_database"
cryosparcm listusers
cryosparcm cli "get_scheduler_targets()"
to confirm that the new CryoSPARC instance replicates the old instance’s user records and worker configuration.Hi, thank you for your answer.
Finally I solve the problem by importing attached project to the new installation. I just wonder (for the next time) if the database directory is the cryosparc_master/cryosparc2_db
? As when I checked my old and new installation, both in the cryosparc_master/config.sh
, CRYOSPARC_DB_PATH
is defined by cryosparc_master/cryosparc2_db
cryosparc_master/cryosparc2_db
is not an absolute path. Do the old and new cryosparc_master/config.sh
have matching absolute path definitions of CRYOSPARC_DB_PATH
?$CRYOSPARC_DB_PATH
is placed inside cryosparc_master/
, and whether this could cause problems during CryoSPARC software maintenance. More typically, $CRYOSPARC_DB_PATH
is defined as outside, for example next to, the cryosparc_master/
directory.$CRYOSPARC_DB_PATH
such that the copy ended up atcryosparc_db2/cryosparc_db2/
?Hi wtempel, you are correct, the problem come from cryosparc2_db
is inside cryosparc_master
folder.
cryosparc2_db
outside next to cryosparc_master
folder while the old one has cryosparc2_db
inside cryosparc_master
folder. But both have the CRYOSPARC_DB_PATH
is defined by cryosparc2_db
.cryosparc2_db
outside and start cryosparcm again and it works perfectly fine now.Many thanks,
Phong