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

Unable to obtain JDBC Connection (Coding night input from Simon) #184

Closed
fkoehne opened this issue Feb 27, 2019 · 2 comments
Closed

Unable to obtain JDBC Connection (Coding night input from Simon) #184

fkoehne opened this issue Feb 27, 2019 · 2 comments
Assignees
Labels
bug An error that needs to be fixed

Comments

@fkoehne
Copy link
Contributor

fkoehne commented Feb 27, 2019

... and reproduced on the current docker backend image.

@fkoehne
Copy link
Contributor Author

fkoehne commented Feb 27, 2019

From the stacktrace of the docker run...

Flyway 3.2.1 by Boxfuse
org.h2.message.DbException: Log file error: "/target/classes/db/sonarQuest.trace .db", cause: "org.h2.message.DbException: Error while creating file ""/target"" [90062-197]" [90034-197]
org.h2.message.DbException: Log file error: "/target/classes/db/sonarQuest.trace .db", cause: "org.h2.message.DbException: Error while creating file ""/target"" [90062-197]" [90034-197]

@fkoehne fkoehne added 1st Coding Night bug An error that needs to be fixed labels Feb 27, 2019
@fkoehne
Copy link
Contributor Author

fkoehne commented Feb 27, 2019

The default db location is relative. In the container the relative path on init is the root folder, where appuser may not create directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error that needs to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants