In cryoSPARC Live, an administrator user can set the instance name, but this name is always reset to “Structura Bio” after a restart of cryoSPARC. Is there any way to set this instance name permanently? (We have two installations of cryoSPARC, so it would be helpful to have the instance name set, so we always know which installation we are working on.)
This might be a bug on our part. The instance name is stored in the database and should persist across restarts of the cryoSPARC instance. To confirm, could you please perform the following steps:
Ensure cryoSPARC is running (cryosparcm start)
Log into the cryoSPARC MongoDB shell: cryosparcm mongo
Query the configuration collection for the instance state: > db.config.find({ name: 'instance_state' }).pretty()
If there is a key-value pair named cryosparc_instanceName with a set value, it should persist across restarts. Please let me know if this is not the case after verifying it is stored in the database correctly
That’s correct, there must be an issue on the application side. If you open up the browser console (right click → inspect element → ‘console’ tab) and refresh the page, are there any logs that begin with Error (getInstanceStateVal) on?