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

Help needed running from docker #562

Open
RealFX-Code opened this issue Sep 7, 2023 · 3 comments
Open

Help needed running from docker #562

RealFX-Code opened this issue Sep 7, 2023 · 3 comments

Comments

@RealFX-Code
Copy link

Background:

  • OS: (testing under Void, Supposed to run under ubuntu server.) Docker.
  • KSP Version: Latest steam release
  • LMP version (include the build number if you are using a nighly build): Latest as of 2023-09-07 (YYYY-MM-DD). 0.29.0

Mods (remember that mods are not supported):


Expected behaviour:

  • Server would start

Current behaviour:

  • Gets into an infinite loop of restarting the docker image.
    • Return 127 (file not found)

Steps to reproduce:

  1. Get an empty docker compose file
  2. Paste in the following:
version: '3.3'
services:
  ksp-luna:
    image: ghcr.io/lunamultiplayer/lunamultiplayer/server:latest
    restart: unless-stopped
    ports:
      - "8800:8800/udp"
    volumes:
      - /LMPServer:/LMPServer
  1. Run docker compose up
  2. Then watch as it loops saying:
$ docker compose up
[+] Running 5/5
 ✔ ksp-luna 4 layers [⣿⣿⣿⣿]      0B/0B      Pulled                                                                                                                                                         8.4s 
   ✔ f56be85fc22e Already exists                                                                                                                                                                           0.0s 
   ✔ 270d65fc2d63 Pull complete                                                                                                                                                                            2.7s 
   ✔ 72a468971b77 Pull complete                                                                                                                                                                            6.1s 
   ✔ 4f4fb700ef54 Pull complete                                                                                                                                                                            0.4s 
[+] Running 2/2
 ✔ Network alpha_default       Created                                                                                                                                                                     0.0s 
 ✔ Container alpha-ksp-luna-1  Created                                                                                                                                                                     0.0s 
Attaching to alpha-ksp-luna-1
alpha-ksp-luna-1  | /bin/sh: ./Server: not found
alpha-ksp-luna-1 exited with code 127
alpha-ksp-luna-1 exited with code 127
alpha-ksp-luna-1 exited with code 127
alpha-ksp-luna-1 exited with code 127
alpha-ksp-luna-1 exited with code 127
alpha-ksp-luna-1 exited with code 127

Any help is appreaciated, Thanks in advance!

@kcoderhtml
Copy link

Same issue.

@kcoderhtml
Copy link

Logs indicate that the server binary is missing:

compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found
compose-ksp-luna-1  | /bin/sh: ./Server: not found

@laotumsn
Copy link

The step is wrong, after you create the docker image, you need to create the container and start the image to run the server.

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

3 participants