FAQ
How do I pass extra gradle arguments with drogon?
Compilation failed due to stopped/incompatible daemons
drogon compile
_ .-') _ _ .-') .-') _ ,---.
( ( OO) )( \( -O ) ( OO ) )| |
\ .'_ ,------. .-'),-----. ,----. .-'),-----. ,--./ ,--,' | |
,`'--..._)| /`. '( OO' .-. ' ' .-./-') ( OO' .-. '| \ | |\ | |
| | \ '| / | |/ | | | | | |_( O- )/ | | | || \| | )| |
| | ' || |_.' |\_) | |\| | | | .--, \\_) | |\| || . |/ | .'
| | / :| . '.' \ | | | |(| | '. (_/ \ | | | || |\ | `--'
| '--' /| |\ \ `' '-' ' | '--' | `' '-' '| | \ | .--.
`-------' `--' '--' `-----' `------' `-----' `--' `--' '--'
โ pending Compiling contracts
Starting a Gradle Daemon, 1 busy and 1 incompatible and 2 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type FileHasher using GradleUserHomeScopeServices.createCachingFileHasher().
> Timeout waiting to lock file hash cache (/goloop/app/.cache/caches/5.5.1/fileHashes). It is currently in use by another Gradle instance.
Owner PID: 95
Our PID: 82
Owner Operation:
Our operation:
Lock file: /goloop/app/.cache/caches/5.5.1/fileHashes/fileHashes.lock
* 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 1m 35s
โ success Done
You should check the running drogon docker containers and stop the ones which are not necessary.
- How to run drogon on machine where docker needs to be run with sudo
- Error: Connect EACCES /var/run/docker.sock
After that when running drogon install
I get the following error:
The issue is due to docker needed to be run with sudo in this machine, but when I run sudo drogon install
the following error is raised:
- Try:
To fix this issue follow the instructions in the following link to be able to run docker without sudo
https://docs.docker.com/engine/install/linux-postinstall/
Thanks to FidelVe for providing this.