Accidentally delete the lock.cs file

I accidentally deleted the lock.cs file after attaching the project, causing me to be unable to perform any further operations on the project. This is an error message. How can I resolve this situation? Is there any way to create a new available lock.cs file?
“Unable to import job into P85 W1: ServerError: validation error: lock file for P85 at /mnt7/20250123_BW/CS-20250125-bw/cs.lock absent or otherwise inaccessible.”
“Unable to clone P93 J197: ServerError: validation error: lock file for P93 at /mnt10/20250123_BW/CS-20250125-bw/cs.lock absent or otherwise inaccessible.”

Welcome to the forum @Lalalaaa. The error message may appear for a variety of reasons, including, but not limited to

  • explicit manual removal of the cs.lock file from the project directory
  • the project directory has been detached from some CryoSPARC instance and (yet) been attached to a CryoSPARC instance
  • the project directory is not owned by the Linux account that runs the CryoSPARC instance
  • the project directory is not mounted on the host

Are you sure that

  1. The project directory is attached to the CryoSPARC instance and
  2. You manually removed the project’s cs.lock file and
  3. The project directory is mounted at the expected mount point and owned by the correct Linux account?

Thanks for your reply. I have solve this problem by generating a new cs.lock file. Obviously, this file cannot be deleted casually. I will learn from it and thank you for your careful explanation.
Best wish.