Skip to content

keystore issue #48

@han-so1omon

Description

@han-so1omon

I created a project following the instructions here. I did not create a keystore on project creation, but made it after with drogon keystore from here

I got to the deploy step, and tried a local deploy

drogon deploy --local -k passwordHere --uri http://localhost:9080/api/v3

I get the following error:

drogon deploy --local --uri http://localhost:9080/api/v3 -k test
 _ .-') _  _  .-')                                             .-') _ ,---. 
( (  OO) )( \( -O )                                           ( OO ) )|   | 
 \     .'_ ,------.  .-'),-----.   ,----.     .-'),-----. ,--./ ,--,' |   | 
 ,`'--..._)|   /`. '( OO'  .-.  ' '  .-./-') ( OO'  .-.  '|   \ |  |\ |   | 
 |  |  \  '|  /  | |/   |  | |  | |  |_( O- )/   |  | |  ||    \|  | )|   | 
 |  |   ' ||  |_.' |\_) |  |\|  | |  | .--, \\_) |  |\|  ||  .     |/ |  .' 
 |  |   / :|  .  '.'  \ |  | |  |(|  | '. (_/  \ |  | |  ||  |\    |  `--'  
 |  '--'  /|  |\  \    `'  '-'  ' |  '--'  |    `'  '-'  '|  | \   |  .--.  
 `-------' `--' '--'     `-----'   `------'       `-----' `--'  `--'  '--'  
Loaded wallet hxde936976cde011e23b26b882d92adc99866b7932
☐  pending   Deploying contracts
Discovered DIVE container: cf80880e85966a88c0e4736f26343d3a214b47a9bb88c0553c8f80de48d958a5
Deploying optimized contract: hello-world-0.1.0-optimized.jar
☐  pending   Copying optimized contract src/hello-world/build/libs/hello-world-0.1.0-optimized.jar to container
Copying file hello-world-0.1.0-optimized.jar to /goloop/app/hello-world-0.1.0-optimized.jar
Creating directory src/hello-world/build/libs

> Task :src:hello-world:deployToLocal FAILED
>>> deploy to http://localhost:9082/api/v3
>>> optimizedJar = /goloop/app/src/hello-world/build/libs/hello-world-0.1.0-optimized.jar
>>> keystore = /goloop/app/.keystore.json

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':src:hello-world:deployToLocal'.
> java.io.FileNotFoundException: /goloop/app/.keystore.json (No such file or directory)

* 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 4s
1 actionable task: 1 executed
✖  fatal     Failed to deploy contracts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions