Imported project empty

open

#1

Hi,

I am moving a couple of cryopsparc instance from one instance to another one. Both instances see the same storage so I simply imported the project directory into the new instance. The process said complete but sadly I dont see any workspace in the imported project. Does anyone have an idea?

Best,

David


#2

I tried other projects, that worked fine its only this one that seems to have troubles oddly the thumbnails of the results are visible but the workspace is not


#3

I have more issues. I was able to import one other project just fine but when importing a third project the important never really finishes and every time I log in I still see the import status bar. What can I do?

Best,

David


#4

Hi @david.haselbach,

Hmm, we haven’t come across this issue before. Were there any errors in the logs?

cryosparcm log command_core

Because the import didn’t complete successfully, you’ll have to manually clear the notification from showing. You can do this by clicking on the ‘Resource Manager’, then ‘Notification Manager’. There should be a clear button next to the active notification.

image

Regards,
Suhail


#5
[EXPORT_PROJECT] : Exporting project P23...
[EXPORT_PROJECT] : Exported project P23 to /groups/haselbach/181114_Ribo_6hpf/cryosparc/P40/project.json in 0.01s
[JSONRPC ERROR  2020-03-18 12:17:18.112486  at  get_result_download_abs_path ]
-----------------------------------------------------
Traceback (most recent call last):
  File "cryosparc2_command/command_core/__init__.py", line 114, in wrapper
    res = func(*args, **kwargs)
  File "cryosparc2_command/command_core/__init__.py", line 4075, in get_result_download_abs_path
    d = dataset.Dataset().from_file(os.path.join(proj_dir_abs, metafile_rel))
  File "cryosparc2_compute/dataset.py", line 536, in from_file
    with open(path, 'rb') as file:
IOError: [Errno 2] No such file or directory: u'/groups/haselbach/181114_Ribo_6hpf/cryosparc/P40/J24/mask.cs'

The file really doesn’t exist but there is a file P40_J24_imported_mask.csg in the folder.


#6

Hey @david.haselbach,

The traceback you posted doesn’t seem to be related to the issue you initially posted about- I think @sdawood helped you with the notification problem, though can you please let us know what happened with the empty workspaces issue?

Was the instance that originally created the project still running while you did this? Were users actively using the project/were any modifications made to the project in the other instance? Since the instances are not able to sync with each other’s databases, errors may arise when you import a project that is being used by another instance. The best thing to do is to make a copy of the project into another directory and import it from that location.

If this is not the case, can you provide more details about how you did the import itself? Screenshots would be very helpful!


#7

the clear buttons dont have an effect. I am also pretty sure that not two instances work on it as the old instance is not accessible at the moment.

What would be the best step now? If I delete the project in the new instance will it delete the data?

The empty workspace is actually still an issue. However, this is a project that is rather old and was made in early version of cryosparc 2. Intresting the preview looks fine and it looks like the data is there. 40%20PM

But once I click on it, it says no workspaces found.


#8

Yes, the data will be deleted. Please make a backup of your project directory before you do anything else.

This is probably the reason you’re seeing the discrepancy. Only projects that were taken from instances that were on version v2.11+ would have the functionality to export the project properly so that they can be imported into other instances. Is it possible if you can get the old instance back up and running so that you can update it to a more recent version and complete a database migration?

To see some options for reviving your old instance, see this post here: https://cryosparc.com/docs/tutorials/migration/


#9

Sorry this was a misunderstanding. Both versions are the new version. But the project was just made qith a quite early version that has been updated in the meanwhile and I was wondering whether this might be a problem.


#10

I think also the other problem is more problematic as I cant really go on with unstopped progress and the clear button has sadly no effect. Can I do something else to stop the import?


#11

As long as the instance that originally created this project was updated to a newer version, the project would have been properly exported (continuously).

Does this mean the notification is still appearing, even after you go to the Notification Manager and clear the active notification?

As a last-resort option, you can restart your cryoSPARC instance. cryosparcm restart This will stop any running background processes, including the import process.


#12

Does this mean the notification is still appearing, even after you go to the Notification Manager and clear the active notification?

yes indeed

As a last-resort option, you can restart your cryoSPARC instance. cryosparcm restart This will stop any running background processes, including the import process.

I tried this also had no effect


#13

Is it possible if you can send me any screenshots? Can you also send me logs of command_core again, like you did earlier?


#14

Hi, meanwhile I restarted the master once again and got all these problems solved after the third restart. But the missing workspace is still an issue. and I cant really find that.


#15

Hi @david.haselbach,

Is it possible if you can send us a screenshot/copy+paste the output of the “ls” command executed inside the project directory? Just to make sure it has the required documents inside it.


#16

sure

I assume workspaces.json is the required file. This however is pretty much empty: