Jorge Gonzalez
10/31/2025, 12:19 PMnf-core/genomeassembler with Apptainer on our SLURM cluster (Leftraru) in Chile, but I keep running into a consistent error during the container pulling phase.
Error message:
Cannot invoke "nextflow.util.Duration.toMillis()" because "this.pullTimeout" is null
I’ve tried setting apptainer.pullTimeout at the user level (e.g., in .config and through environment variables), but the error persists.
1. Has anyone seen this specific pullTimeout is null error before? Was it fixed by having the cluster admin define a default value in the global Nextflow config?
2. Is there a known user-level workaround to force initialization of this variable when the system default is missing?
I’ve already contacted our cluster support team, but I’m hoping to get some quick insights from the community in the meantime.
Thanks a lot for any guidance — still learning my way around Nextflow!mashehu
10/31/2025, 12:21 PMmashehu
10/31/2025, 12:22 PMpontus
10/31/2025, 2:49 PMThomas Danhorn
10/31/2025, 5:22 PMsingularity is preferable to apptainer, because it can just download containers, rather than building/converting them from the Docker repository, so I would use singularity as the container engine (either via -profile or your config). The apptainer binary has a symlink to singularity, and the two are compatible, so you can use apptainer under the hood while pretending to use singularity. The only (very minor) disadvantage is that you'll get some warnings about preferred names of environment variables.
Because containers can just be downloaded, this may help with your problem, but if you have some issue with internet access, it may not (but it's still preferable).pontus
10/31/2025, 5:29 PMThomas Danhorn
10/31/2025, 5:39 PMapptainer.pullTimeout is missing, the singularity equivalent may be as well. Part of what I'm hoping is that if it just downloads, it may not even go through the part of the code that tests that.
Is this issue specific to the dev version, and are you running the pipeline from a local install or downloaded "on the fly"? Actually, I am not convinced this is related to any specific pipeline, but rather a feature of nextflow -- you could pull down a different version of nextflow and try with that ...