Database issue after transfer to new storage

Hi,
I have upgraded my cryosparc server and now have a database problem. Before, the server was connected to a JBOD containing the home directory of the cryosparc user via NFS. I now have a bigger JBOD and copied all home directories via rsync. Now, I have started cryosparc again and everything appeard to be OK:

cryosparcuser@hulk:~/cryosparc/cryosparc_master$ ./bin/cryosparcm status

CryoSPARC System master node installed at
/home/cryosparcuser/cryosparc/cryosparc_master
Current cryoSPARC version: v4.4.0

CryoSPARC is not running.


global config variables:
export CRYOSPARC_LICENSE_ID=“e6a5ed94-2381-11eb-b5b5-3b405fa991b8”
export CRYOSPARC_MASTER_HOSTNAME=“hulk”
export CRYOSPARC_DB_PATH=“/home/cryosparcuser/cryosparc/cryosparc_database”
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_INSECURE=false
export CRYOSPARC_CLICK_WRAP=true

cryosparcuser@hulk:~/cryosparc/cryosparc_master$ ./bin/cryosparcm start
Starting cryoSPARC System master process…
CryoSPARC is not already running.
configuring database
creating cryosparc_admin
cryosparc_admin created
creating cryosparc_user
cryosparc_user created
configuration complete
database: started
checkdb success
command_core: started
command_core connection succeeded
command_core startup successful
command_vis: started
command_rtp: started
command_rtp connection succeeded
command_rtp startup successful
app: started
app_api: started

CryoSPARC master started.
From this machine, access CryoSPARC and CryoSPARC Live at
http://localhost:39000

From other machines on the network, access CryoSPARC and CryoSPARC Live at
http://hulk:39000

Startup can take several minutes. Point your browser to the address
and refresh until you see the cryoSPARC web interface.

Unfortunately, the user information appears to be lost:

cryosparcuser@hulk:~/cryosparc/cryosparc_master$ ./bin/cryosparcm listusers
| Name | Email | Admin | ID |

Is there some hidden file that maybe was not copied by rsync? I do have database backups. Can anybody help me to fix this?

Thank you!

Did you ensure:

  1. you met the conditions for a valid database backup via rsync? I recommend confirming that all mongo processes have been terminated (caveat) before attempting a database backup with rsync.
  2. was the actual destination of your backup. For example, I would expect an empty user database if the original contents of the database directory was rsynced to a subdirectory of cryosparc_database/. If you still have the rsync command’s source directories available, you may want to compare the contents (file names, sizes, modification times) between source and destination.

Thank you! I still do have the original source directories. They are left untouched. I also have the automatic database dumps. I’ll compare the files tomorrow.

I rsynced the database directory again as recommended here:

It works now!
Thanks for your help @wtempel !