Skip to content

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

@dschulten

Description

@dschulten

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

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