Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What password should i use #5

Open
ksergk opened this issue Apr 4, 2019 · 1 comment
Open

What password should i use #5

ksergk opened this issue Apr 4, 2019 · 1 comment
Labels

Comments

@ksergk
Copy link

ksergk commented Apr 4, 2019

docker run -v ~/.shadowcloud:/opt/docker/sc -p 1911:1911 -i -t karasiq/shadowcloud:latest

in console:
13:13:27.072 [shadowcloud-akka.actor.default-dispatcher-3] INFO akka.event.slf4j.Slf4jLogger - Slf4jLogger started
Enter password (persistence.h2.password):
What password should i use?
Then follow
13:16:25.326 [main] DEBUG com.zaxxer.hikari.HikariConfig - dataSourceProperties............{user=sa, url=jdbc:h2:file:/opt/docker/sc/shadowcloud;COMPRESS=true;CIPHER=AES;INIT=RUNSCRIPT FROM 'classpath:sc-persistence-h2-init.sql', password=}
and then follow
org.h2.message.DbException: Log file error: "/opt/docker/sc/shadowcloud.trace.db", cause: "java.io.FileNotFoundException: /opt/docker/sc/shadowcloud.trace.db (Permission denied)" [90034-192]
Full stack:
Console.log

@Karasiq
Copy link
Owner

Karasiq commented Apr 4, 2019

At the first run you can select any password to encrypt DB, on subsequent runs you should enter exactly the same password to decrypt it.

@Karasiq Karasiq changed the title Docker run What password should i use Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants