Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Server stops without reason #29

@dannykopping

Description

@dannykopping

Thanks for the repo! Trying to get it working, though:

$ docker run \                               
    --mount type=bind,source=/home/danny/Code/open-source/lila,target=/home/lichess/projects/lila \
    --mount type=bind,source=/home/danny/Code/open-source/lila/.ivy2,target=/home/lichess/.ivy2 \
    --mount type=bind,source=/home/danny/Code/open-source/lila/.cache,target=/home/lichess/.cache \
    --mount type=bind,source=/home/danny/Code/open-source/lila-ws,target=/home/lichess/projects/lila-ws \ 
    --publish 9663:9663 \
    --publish 9664:9664 \
    --name lichess \
    --interactive \
    --tty \
    brandone211/lichess

28:C 12 Apr 07:39:14.661 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
28:C 12 Apr 07:39:14.662 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=28, just started
28:C 12 Apr 07:39:14.662 # Configuration loaded
nohup: appending output to 'nohup.out'
about to fork child process, waiting until server is ready for connections.
forked process: 59
child process started successfully, parent exiting
building ui modules with target=dev and mode=build
node: v13.14.0
yarn: 1.22.4
Node version >=12.20 or >=14.13 and <=17 required. Found: v13.14.0
   |\_    _ _      _
   /o \  | (_) ___| |__   ___  ___ ___   ___  _ __ __ _
 (_. ||  | | |/ __| '_ \ / _ \/ __/ __| / _ \| '__/ _` |
   /__\  | | | (__| | | |  __/\__ \__ \| (_) | | | (_| |
  )___(  |_|_|\___|_| |_|\___||___/___(_)___/|_|  \__, |
                                                   |___/
Java 13.0.2
sbt -Dreactivemongo.api.bson.document.strict=false run
[info] welcome to sbt 1.6.2 (AdoptOpenJDK Java 13.0.2)
[info] loading settings for project lila-build from plugins.sbt ...
[info] loading project definition from /home/lichess/projects/lila/project
[info] loading settings for project lila from build.sbt ...
[info] resolving key references (64770 settings) ...
[info] set current project to lila (in build file:/home/lichess/projects/lila/)
[warn] Compile / run / javaOptions will be ignored, Compile / run / fork is set to false
[info] running play.core.server.ProdServerStart 
[info] boot - lila Dev   / java 13.0.2, memory: 2048MB
[info] reactivemongo.api.Driver - [Supervisor-1] Creating connection: main
[info] e.r.StaticListenerBinder - Starting connection listener ...
[info] r.c.actors.MongoDBSystem - [Supervisor-1/main] Starting the MongoDBSystem
[info] r.core.netty.Pack - Instantiated reactivemongo.core.netty.Pack
[info] db.main - MongoDB connected to mongodb://127.0.0.1:27017?appName=lila in 595 ms
[info] boot - <0ms> RoundSocket Done loading 0/0 round games
[info] boot - Loaded lila modules in 4576 ms
[info] play.api.Play - Application started (Dev) (no global state)
[info] p.c.server.AkkaHttpServer - Listening for HTTP on /0.0.0.0:9663
[success] Total time: 22 s, completed Apr 12, 2022, 7:39:57 AM
[info] p.a.i.l.c.CoordinatedShutdownSupport - Starting synchronous coordinated shutdown with ServerStoppedReason reason and 2147508000 milliseconds timeout
[info] shutdown - before-service-unbind Telling lila-ws we're stopping
[info] p.c.server.AkkaHttpServer - Stopping Akka HTTP server...
[info] socket - lila-ws says: See you on the other side
[info] shutdown - <4ms> before-service-unbind Telling lila-ws we're stopping
[info] shutdown - service-unbind Stopping the socket redis pool
[info] shutdown - service-unbind Stopping the fishnet redis pool
[info] shutdown - service-unbind Stop round socket
[info] shutdown - 0 round asyncActors have stopped
[info] shutdown - <0ms> service-unbind Stop round socket
[info] p.c.server.AkkaHttpServer - Terminating server binding for /0.0.0.0:9663
[info] shutdown - <64ms> service-unbind Stopping the fishnet redis pool
[info] shutdown - <68ms> service-unbind Stopping the socket redis pool
[info] shutdown - service-stop Closing mongodb driver
[info] reactivemongo.api.Driver - [Supervisor-1] Closing instance of ReactiveMongo driver
[info] r.c.actors.MongoDBSystem - [Supervisor-1/main] Stopping the MongoDBSystem
[info] reactivemongo.api.Driver - [Supervisor-1] Stopping the monitor...
[warn] a.a.CoordinatedShutdown - Could not addJvmShutdownHook, due to: Shutdown in progress
[info] shutdown - <53ms> service-stop Closing mongodb driver
[info] p.c.server.AkkaHttpServer - Running provided shutdown stop hooks

There's no indication here why this stopped (AFAICS) - admittedly I'm very new to Scala, so I might be missing something obvious here.

Any help appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions