Are there any caveats to running something like the following in mongosh to remove the project, workspace, and job documents directly from the database, before removing any cs.lock lockfiles on the filesystem and then re-importing?
There are. To prepare a project directory for import to any (even the same) CryoSPARC instance, one should detach the project.
After detaching the project from a CryoSPARC instance, one may apply the Delete Project from Database data management action.
Please can you describe the motivation for re-importing the project to the same instance?
There is no immediate motivation on my part. This is not an issue that we are facing. One of our users brought this issue to our attention and we were curious about whether removing documents directly from the database would be an option. If we ever face a similar issue, it would be helpful to know what the best course of action would be to resolve it.
@jpellman I created a new topic for this discussion.
For issues of this type, we might recommend tailored approaches depending on “fine” details. The general recommendation would be to follow the appropriate procedures in the Data Management Guide during day-to-day operation and usage of CryoSPARC. If/when a problem related to data management occurs, please create a topic in this forum and describe specific details.