Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline setup fails, cannot fetch Singularity images #34

Open
axiao19 opened this issue Nov 22, 2023 · 7 comments
Open

Offline setup fails, cannot fetch Singularity images #34

axiao19 opened this issue Nov 22, 2023 · 7 comments

Comments

@axiao19
Copy link

axiao19 commented Nov 22, 2023

I am downloading MetScale for the first time and am running into issues with the download of the Singularity images when I run python download_offline_files.py --workflow all

Error message
Downloading singularity image fastqc_0.11.7--pl5.22.0_2.sif
FATAL: While making image from oci registry: error fetching image to cache: failed to get checksum for docker://quay.io/biocontainers/fastqc:0.11.7--pl5.22.0_2: not a valid image manifest or image index
OS Error fastqc_0.11.7--pl5.22.0_2.sif
[Errno 2] No such file or directory: 'fastqc_0.11.7--pl5.22.0_2.sif' -> '../container_images/fastqc_0.11.7--pl5.22.0_2.sif'

Additional context
I get this error for all the biocontainers (Trimmomatic, MultiQC, Khmer, MegaHIT, etc), but the database files are downloading properly.

Could you offer some guidance on the correct versions of the containers that I will need? Thanks!

@kternus
Copy link
Member

kternus commented Nov 27, 2023

Hi @axiao19, could you try running this command and share the results?

singularity version

@axiao19
Copy link
Author

axiao19 commented Nov 27, 2023

Thanks for the quick response! Here's the output:
singularity version
4.0.1-jammy

@kternus
Copy link
Member

kternus commented Nov 28, 2023

Great, thanks! Can you try this command next? That is an equivalent command for what the metscale scripts are doing to download the singularity images.

singularity pull docker://quay.io/biocontainers/fastqc:0.11.7--pl5.22.0_2

@axiao19
Copy link
Author

axiao19 commented Nov 28, 2023

Thanks! Here's the output:

singularity pull docker://quay.io/biocontainers/fastqc:0.11.7--pl5.22.0_2
FATAL: While making image from oci registry: error fetching image to cache: failed to get checksum for docker://quay.io/biocontainers/fastqc:0.11.7--pl5.22.0_2: not a valid image manifest or image index

@kternus
Copy link
Member

kternus commented Nov 29, 2023

@axiao19 Thanks for bringing this issue to our attention!

We were able to replicate the error with singularity version 4.0.1 on ubuntu20. It seems to be happening on all the quay.io containers, but earlier versions of singularity (3.4.2-1) don't appear to have this problem. If you're able to use an older version of singularity, that might be a quick fix. Otherwise, we will post here when we find out more!

@axiao19
Copy link
Author

axiao19 commented Nov 30, 2023

Thanks for the quick response! Unfortunately, I don't have an older version on the system, so I will look forward to the updated post. Really appreciate your help and support!

@axiao19
Copy link
Author

axiao19 commented Dec 1, 2023

Thanks for your help on this issue. On a side note, could you share how much disk space and computing power is required for MetScale? I'm not having much luck when searching through the Wiki but I could have missed something!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants