theGardener icon indicating copy to clipboard operation
theGardener copied to clipboard

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

Open dschulten opened this issue 2 years ago • 2 comments

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

dschulten avatar Mar 16 '22 17:03 dschulten

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. =)

notflorian avatar Mar 17 '22 10:03 notflorian

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

dschulten avatar Mar 26 '22 07:03 dschulten