Hello! I am attempting to enable utility of nf-core pipelines within my EC2 instance on AWS.
To do this, I retrieved the code from GitHub - seqeralabs/nf-tower: Nextflow Tower system, unzipped, and attempted to ‘make build’.
If I run ‘make’, I get the following error:
./gradlew clean
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See Command-Line InterfaceBUILD SUCCESSFUL in 541ms
1 actionable task: 1 up-to-date
rm -rf .db
docker rm nf-tower_db_1 || true
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Delete “http://%2Fvar%2Frun%2Fdocker.sock/v1.44/containers/nf-tower_db_1”: dial unix /var/run/docker.sock: connect: permission denied
If I run ‘sudo make’ I get this error instead:
./gradlew clean
FAILURE: Build failed with an exception.
- What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelperException java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache [in thread “Daemon worker”]
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 461ms
make: *** [Makefile:4: clean] Error 1
What am I doing incorrectly with respect to getting tower up and running in AWS EC2? I suspect something with Docker.
I am not very familiar with Docker, nor am I used to using bioinformatics forums, so please let me know if more information is needed.
I am running openjdk version 1.8.0_442 and do have docker installed.
Thank you for any help you can offer.