Deleted project still attached to instance

Hello,
I am brand new to CryoSPARC. A project from a previous lab member was shared with me. When I went to upload the project to CryoSPARC, I thought that I had done it incorrectly and decided to delete it from CryoSPARC to try again. However, after deleting the project from CryoSPARC, it still won’t let me attach the directory to a new project because it is “already attached to the instance”. However, I cannot find it anywhere. I am not sure how to access the project now.

Welcome to the forum @jbc .
Caution! The Delete Project function will also remove the project’s output files from disk (guide).

Please can describe the CryoSPARC function(s) that you used for this purpose.

Which CryoSPARC GUI or CLI function(s) did you use for this purpose? Certain functions would not only erase the project from CryoSPARC (from the CryoSPARC database), but also from disk. After erasure from disk, you would not be able

I’ve been using mostly the GUI so far. To upload the project. The I tried to load the project in using “Attach Project”. I don’t remember exactly what occurred that made me think it had gone wrong. I think that it was the fact that I had an empty workspace and no indicators of a project being loaded in. I first thought that I would try detaching the project to see if I could try again. But after getting the error message that I could not try again with attaching the project because of the “already attached to the instance” issue, I found in the detached tab the project listed. When I clicked delete, I recollect it saying it would not impact folders. I think the delete function I chose was listed at the bottom of the options I had on the drop down menu but I am not remembering exactly what it said. When I go back through the disk, it seems to me that all of the folders and files appear to still be intact. Nothing seems to be missing.

Thanks @jbc for these details. Could you have selected Delete Project from Database?
Given your recollection of events, I am still unsure why, at this time, you would observe

already attached to the instance

Did you install this CryoSPARC instance yourself, or could it have originally been installed before the release of CryoSPARC v4?
If you have access to the cryosparcm icli command, you can run in a shell on the CryoSPARC master host:

cryosparcm icli # from shell to CryoSPARC icli

# if the instance only has few projects, show  project dirs
list(db.projects.find({'archived': False, 'detached': False, 'deleted': False}, {'uid': 1, 'project_dir': 1, '_id': False}))

# if there are many projects, to find project with given dir
# replace /path/to/project_dir
list(db.projects.find({'project_dir': '/path/to/project_dir'}, {'_id': False, 'uid': 1, 'archived': 1, 'deleted': 1, 'detached': 1}))

exit() # back to shell

Hello,
I think that the issue I have been running into is that a previous user on the same instance had the projects uploaded already.

Have you and that previous user agreed to share the project for collaborative ongoing processing?

The previous user has moved on to a different position and left the project files with me. I don’t think that we realized that me trying to access the same instance as his previous account was going to be problematic. After working with the IT Administrator who created the instance, I think we have succeeded in moving ownership of the projects over to me. Thanks for the help!

1 Like