```Caused by: Failed to pull singularity image ...
# modules
l
Copy code
Caused by:
  Failed to pull singularity image
    command: singularity pull  --name community.wave.seqera.io-library-flye-2.9.5--eb07d7b7094f222c.img.pulling.1734602369886 oras://community.wave.seqera.io/library/flye:2.9.5--eb07d7b7094f222c > /dev/null
    status : 255
    hint   : Try and increase singularity.pullTimeout in the config (current is "20m")
    message:
      [33mWARNING: Authentication token file not found : Only pulls of public images will succeed
      FATAL:   While getting image info: get did not succeed: 400 
        invalid container name:
l
For testing, can you try to pull it manually using
singularity pull oras://community.wave.seqera.io/library/flye:2.9.5--eb07d7b7094f222c
? It might fail due to the
oras
tag of the image as not all version of singularity support that afaik.
l
No, I pull it in my pipeline:
nextflow run main.nf -profile test,singularity --outdir results
p
Yup, but doing the above might help to debug, as a recommended next step
👍 1
However, modules shouldn't be using
oras
really for this reason. We should be using the
https
versions of containers
l
I got the same error:
Copy code
[lili.li@hasta-login:~] [nfcore_latest] $ singularity pull oras://community.wave.seqera.io/library/flye:2.9.5--eb07d7b7094f222c
WARNING: Authentication token file not found : Only pulls of public images will succeed
FATAL:   While getting image info: get did not succeed: 400
	invalid container name:
[lili.li@hasta-login:~] [nfcore_latest] $ singularity pull community.wave.seqera.io/library/flye:2.9.5--eb07d7b7094f222c
WARNING: Authentication token file not found : Only pulls of public images will succeed
FATAL:   While getting image info: get did not succeed: 400
	invalid tag: 2.9.5--eb07d7b7094f222c
p
What version of Singularity are you using?
l
3.1.1-1.el7
p
ok that's very old I think.. (2019?) Any opportunity to update / use docker?
My guess is that this is the reason, that your Singularity version isn't able to handle any images with the
oras
protocol
But we should also update this module to not use
oras
separately
l
I'm setting up a PR
gratitude thank you 1
🎉 1
👍 1
p
Need to get on with the proper adoption, then all these issues will go away 🫠
l
I need to use singularity, and I am not sure if I can update it. If the update fails, I will modify the module to use the galaxy container and include a patch file.
Thank you for your very quick responses!
p
@Leon Hafner is already updating the module to use the HTTPS version of the image from Seqera Containers, which should be compatible with old versions of Singularity
🙌 1
🏃 1
See this thread just further up for some more context.
❤️ 1
l
Merged ✅
❤️ 1
l
It works perfectly now! Thank you!
🎉 2
p
Awesome! Thanks @Leon Hafner!
o
Installing singularity is sometimes not straightforward actually... I recently had to reinstall my whole linux distro after installling singularity (following https://docs.sylabs.io/guides/3.5/user-guide/quick_start.html). But there is a conda package for singularity on conda-forge that is not too old (3.8.6) and that can pull those images hosted on seqera
👌 1