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

Installation fails: No implementation for play.api.db.Database was bound #1436

Open
dschulten opened this issue Mar 16, 2022 · 2 comments
Open

Comments

@dschulten
Copy link

dschulten commented Mar 16, 2022

OS: Windows 10 pro
Docker:

λ docker version
Client:
 Cloud integration: v1.0.22
 Version:           20.10.11
 API version:       1.41
 Go version:        go1.16.10
 Git commit:        dea9396
 Built:             Thu Nov 18 00:42:51 2021
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.11
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       847da18
  Built:            Thu Nov 18 00:35:39 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.12
  GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

I have followed the description at https://thegardener.kelkoogroup.com/app/documentation/navigate/_doc/theGardener/master/_Admin/Install to start with H2 or mysql. In both cases I get 21 times the following error:

21) No implementation for play.api.db.Database was bound.
  while locating play.api.db.Database
    for the 1st parameter of repositories.TagRepository.<init>(TagRepository.scala:8)
  while locating repositories.TagRepository
    for the 2nd parameter of repositories.FeatureRepository.<init>(FeatureRepository.scala:13)
  while locating repositories.FeatureRepository
    for the 2nd parameter of services.FeatureService.<init>(FeatureService.scala:19)
  while locating services.FeatureService
    for the 3rd parameter of services.ProjectService.<init>(ProjectService.scala:18)
  while locating services.ProjectService
    for the 2nd parameter of controllers.ProjectController.<init>(ProjectController.scala:16)
  while locating controllers.ProjectController
    for the 3rd parameter of router.Routes.<init>(Routes.scala:73)
  at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:129):
Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)

The effect is, that the container dies.

If I simply run this command:

docker run --name thegardener -p 9000:9000 -v /current_dir/git-data:/git-data:rw  -v /current_dir/data:/data:rw kelkoogroup/thegardener:latest

I get a running container, but I am unable to configure anything - I have no custom-application.conf to customize.

Expected: thegardener should run with the configuration created by install.sh

@notflorian
Copy link
Member

Hello @dschulten,

Many thanks for your interest in this project.

The guide to start a theGardener instance is here: https://thegardener.kelkoogroup.com/app/documentation/navigate/_doc/theGardener/_/_Admin/Install

Please keep us up to date if the documentation is not clear enough, all feedbacks are welcome. =)

@dschulten
Copy link
Author

Hi @notflorian. As I have written, that is exactly the documentation I have used to install gardener and it fails with the above error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants