Troubleshooting
This page covers common issues you may encounter when running nf-core pipelines.
Running pipelines
Pipeline crashes immediately
Problem:
Pipeline fails at the first process.
Cause:
No container or environment profile specified.
Solution:
Add -profile docker, -profile singularity, or -profile conda to your command:
nextflow run nf-core/pipeline -profile dockerCluster job submission fails
Error message:
Failed to submit process to grid scheduler for execution.Solution:
Manually submit the failed job to see the actual error:
-
Navigate to the work directory shown in the error
-
Submit the command file directly to your scheduler:
sbatch .command.run # For Slurm qsub .command.run # For SGE -
The scheduler will show the real error (for example, “job memory limit exceeded”)
-
Adjust your configuration based on the error message
Invalid executor configuration
Error message:
sbatch: error: Invalid account or account/partition combination specified.Cause:
- Missing cluster profile in
-profileparameter - Incorrectly specified executor in your configuration
- Resource requests exceed your cluster limits
Solution:
- Check if your institution has a profile in nf-core/configs
- Verify your executor name matches your scheduler (for example,
slurmnotSLURM) - Confirm your
resourceLimitsmatch your cluster’s capabilities
Singularity bind path errors
Error message:
ERROR: Failed to resolve path to /home/path: No such file or directoryCause:
Singularity cannot access your file system paths.
Solution:
Add bind paths to your Nextflow configuration:
singularity {
enabled = true
autoMounts = true
runOptions = '-B /scratch -B /gpfs -B /work'
}Or update your Singularity system configuration at /etc/singularity/singularity.conf.
Container not updating
Problem:
Pipeline uses old tool versions despite specifying dev branch.
Cause:
Docker does not automatically update local images.
Solution:
Manually pull the latest container:
docker pull nfcore/pipeline:devOr add to your configuration to always pull:
docker {
enabled = true
runOptions = '--pull=always'
}