space-engineers-dedicated-docker-linux icon indicating copy to clipboard operation
space-engineers-dedicated-docker-linux copied to clipboard

[v2] Can't get the server to start following the readme (Sandbox.sbc file does not exist)

Open UbioZur opened this issue 2 years ago • 4 comments

Following the readme file (trying the v2 version of the docker).

"If starting from scratch, use the ./setup script to create a default world."

⮊ ./setup 
didn't find an existing world volume
space-engineers-dedicated-docker-linux_world
space-engineers-dedicated-docker-linux_plugins
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
7264a8db6415: Already exists 
Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a
Status: Downloaded newer image for alpine:latest
Archive:  /star-system.zip
  inflating: SpaceEngineers-Dedicated.cfg
  inflating: World/Alien-291759539d120000.vx2
  inflating: World/EarthLike-1779144428d120000.vx2
  inflating: World/Europa-595048092d19000.vx2
  inflating: World/Mars-2044023682d120000.vx2
  inflating: World/Moon-1353915701d19000.vx2
  inflating: World/Sandbox.sbc
  inflating: World/SANDBOX_0_0_0_.sbs
  inflating: World/Sandbox_config.sbc
  inflating: World/thumb.jpg
  inflating: World/Titan-2124704365d19000.vx2
  inflating: World/Triton-12345d80253.vx2

"Then run ./start, and verify you can connect."

⮊ ./start 
Found existing world volume space-engineers-dedicated-docker-linux_world.
[+] Running 12/12
 ✔ se-server 11 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                                                           265.7s 
   ✔ 0ecb575e629c Pull complete                                                                                                                                                        19.0s 
   ✔ 0cc49926b43f Pull complete                                                                                                                                                        19.0s 
   ✔ 494444a9bd31 Pull complete                                                                                                                                                       193.3s 
   ✔ ccd1bfaef186 Pull complete                                                                                                                                                       193.6s 
   ✔ 9a3dc16aa065 Pull complete                                                                                                                                                       195.9s 
   ✔ 4f4fb700ef54 Pull complete                                                                                                                                                       196.9s 
   ✔ 4fca9d9d02e7 Pull complete                                                                                                                                                       253.9s 
   ✔ 9cfdedb5adad Pull complete                                                                                                                                                       255.6s 
   ✔ ad9dd15e8bc2 Pull complete                                                                                                                                                       256.3s 
   ✔ ed522f2a0a8f Pull complete                                                                                                                                                       258.2s 
   ✔ 08c747a5fce1 Pull complete                                                                                                                                                       258.9s 
[+] Running 5/5
 ✔ Volume "se-dedicated_world"                       Created                                                                                                                            0.7s 
 ✔ Volume "se-dedicated_plugins"                     Created                                                                                                                            0.2s 
 ✔ Volume "se-dedicated_bins"                        Created                                                                                                                            0.1s 
 ✔ Volume "se-dedicated_steamcmd"                    Created                                                                                                                            2.1s 
 ✔ Container space-engineers-dedicated-docker-linux  Started                                                                                                                          118.7s 
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux exited with code 0

Checking the volume

⮊ ./unpack 
[+] Running 1/0
 ✔ Container space-engineers-dedicated-docker-linux  Removed                                                                                                                            0.0s 
Creating backup of world config...
  adding: Plugins/ (stored 0%)
  adding: SpaceEngineers-Dedicated.cfg (deflated 70%)
  adding: World/ (stored 0%)
  adding: World/Mars-2044023682d120000.vx2 (stored 0%)
  adding: World/SANDBOX_0_0_0_.sbs (deflated 91%)
  adding: World/Sandbox_config.sbc (deflated 71%)
  adding: World/Sandbox.sbc (deflated 94%)
  adding: World/Alien-291759539d120000.vx2 (stored 0%)
  adding: World/thumb.jpg (deflated 9%)
  adding: World/Moon-1353915701d19000.vx2 (stored 0%)
  adding: World/Triton-12345d80253.vx2 (stored 0%)
  adding: World/Titan-2124704365d19000.vx2 (stored 0%)
  adding: World/Europa-595048092d19000.vx2 (stored 0%)
  adding: World/EarthLike-1779144428d120000.vx2 (stored 0%)
Backup complete

Backup result:
Archive:  backup-data/1692675875-space-engineers.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  2023-08-22 12:44   Plugins/
     7676  2023-08-22 12:44   SpaceEngineers-Dedicated.cfg
        0  2023-08-22 12:44   World/
      401  2023-08-22 12:44   World/Mars-2044023682d120000.vx2
    24993  2023-08-22 12:44   World/SANDBOX_0_0_0_.sbs
     5932  2023-08-22 12:44   World/Sandbox_config.sbc
  4179951  2023-08-22 12:44   World/Sandbox.sbc
      401  2023-08-22 12:44   World/Alien-291759539d120000.vx2
    80491  2023-08-22 12:44   World/thumb.jpg
      402  2023-08-22 12:44   World/Moon-1353915701d19000.vx2
      484  2023-08-22 12:44   World/Triton-12345d80253.vx2
      404  2023-08-22 12:44   World/Titan-2124704365d19000.vx2
      408  2023-08-22 12:44   World/Europa-595048092d19000.vx2
      405  2023-08-22 12:44   World/EarthLike-1779144428d120000.vx2
---------                     -------
  4301948                     14 files

Backup size: 343K

⮊ ll volumes/
Permissions Size User    Date Modified Name
drwxr-sr-x     - quentin 22 Aug 12:44   Plugins
drwxr-sr-x     - quentin 22 Aug 12:44   World
.rw-r--r--  7.7k quentin 22 Aug 12:44   SpaceEngineers-Dedicated.cfg

⮊ ll volumes/World/
Permissions Size User    Date Modified Name
.rw-r--r--   401 quentin 22 Aug 12:44   Alien-291759539d120000.vx2
.rw-r--r--   405 quentin 22 Aug 12:44   EarthLike-1779144428d120000.vx2
.rw-r--r--   408 quentin 22 Aug 12:44   Europa-595048092d19000.vx2
.rw-r--r--   401 quentin 22 Aug 12:44   Mars-2044023682d120000.vx2
.rw-r--r--   402 quentin 22 Aug 12:44   Moon-1353915701d19000.vx2
.rw-r--r--  4.2M quentin 22 Aug 12:44   Sandbox.sbc
.rw-r--r--   24k quentin 22 Aug 12:44   SANDBOX_0_0_0_.sbs
.rw-r--r--  5.9k quentin 22 Aug 12:44   Sandbox_config.sbc
.rw-r--r--   80k quentin 22 Aug 12:44   thumb.jpg
.rw-r--r--   404 quentin 22 Aug 12:44   Titan-2124704365d19000.vx2
.rw-r--r--   484 quentin 22 Aug 12:44   Triton-12345d80253.vx2
⮊ docker-compose version
Docker Compose version v2.20.2

⮊ docker version
Client: Docker Engine - Community
 Version:           24.0.5
 API version:       1.43
 Go version:        go1.20.6
 Git commit:        ced0996
 Built:             Fri Jul 21 20:35:45 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.5
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.6
  Git commit:       a61e2b4
  Built:            Fri Jul 21 20:35:45 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.22
  GitCommit:        8165feabfdfe38c65b599c4993d227328c231fca
 runc:
  Version:          1.1.8
  GitCommit:        v1.1.8-0-g82f18fe
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

UbioZur avatar Aug 22 '23 03:08 UbioZur

Try running ./pack

mmmaxwwwell avatar Aug 22 '23 12:08 mmmaxwwwell

I have tried to put before the ./start and after the ./start ( I pruned the volumes before each test)

Test1: Before the ./start

⮊ ./setup
didn't find an existing world volume
space-engineers-dedicated-docker-linux_world
space-engineers-dedicated-docker-linux_plugins
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
7264a8db6415: Already exists 
Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a
Status: Downloaded newer image for alpine:latest
Archive:  /star-system.zip
  inflating: SpaceEngineers-Dedicated.cfg
  inflating: World/Alien-291759539d120000.vx2
  inflating: World/EarthLike-1779144428d120000.vx2
  inflating: World/Europa-595048092d19000.vx2
  inflating: World/Mars-2044023682d120000.vx2
  inflating: World/Moon-1353915701d19000.vx2
  inflating: World/Sandbox.sbc
  inflating: World/SANDBOX_0_0_0_.sbs
  inflating: World/Sandbox_config.sbc
  inflating: World/thumb.jpg
  inflating: World/Titan-2124704365d19000.vx2
  inflating: World/Triton-12345d80253.vx2
⮊ ./pack
cp: can't stat '/input/SpaceEngineers-Dedicated.cfg': No such file or directory
cp: can't stat '/input/World': No such file or directory
/space-engineers-dedicated-docker-linux_world
├── SpaceEngineers-Dedicated.cfg
└── World
    ├── Alien-291759539d120000.vx2
    ├── EarthLike-1779144428d120000.vx2
    ├── Europa-595048092d19000.vx2
    ├── Mars-2044023682d120000.vx2
    ├── Moon-1353915701d19000.vx2
    ├── SANDBOX_0_0_0_.sbs
    ├── Sandbox.sbc
    ├── Sandbox_config.sbc
    ├── Titan-2124704365d19000.vx2
    ├── Triton-12345d80253.vx2
    └── thumb.jpg

1 directories, 12 files
cp: can't stat '/input/Plugins/.': No such file or directory
⮊ ./start
Found existing world volume space-engineers-dedicated-docker-linux_world.
[+] Running 12/12
 ✔ se-server 11 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                                                           413.7s 
   ✔ 0ecb575e629c Pull complete                                                                                                                                                        19.3s 
   ✔ 0cc49926b43f Pull complete                                                                                                                                                        19.4s 
   ✔ 494444a9bd31 Pull complete                                                                                                                                                       303.5s 
   ✔ ccd1bfaef186 Pull complete                                                                                                                                                       304.5s 
   ✔ 9a3dc16aa065 Pull complete                                                                                                                                                       307.8s 
   ✔ 4f4fb700ef54 Pull complete                                                                                                                                                       311.5s 
   ✔ 4fca9d9d02e7 Pull complete                                                                                                                                                       402.2s 
   ✔ 9cfdedb5adad Pull complete                                                                                                                                                       405.5s 
   ✔ ad9dd15e8bc2 Pull complete                                                                                                                                                       406.6s 
   ✔ ed522f2a0a8f Pull complete                                                                                                                                                       407.3s 
   ✔ 08c747a5fce1 Pull complete                                                                                                                                                       409.5s 
WARN[0413] volume "space-engineers-dedicated-docker-linux_world" already exists but was not created by Docker Compose. Use `external: true` to use an existing volume 
WARN[0413] volume "space-engineers-dedicated-docker-linux_plugins" already exists but was not created by Docker Compose. Use `external: true` to use an existing volume 
[+] Running 3/3
 ✔ Volume "space-engineers-dedicated-docker-linux_steamcmd"  Created                                                                                                                    0.0s 
 ✔ Volume "space-engineers-dedicated-docker-linux_bins"      Created                                                                                                                    0.0s 
 ✔ Container space-engineers-dedicated-docker-linux          Started                                                                                                                  189.1s 
space-engineers-dedicated-docker-linux exited with code 0
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.

Same problem

Test2: After the ./start

⮊ ./setup
didn't find an existing world volume
space-engineers-dedicated-docker-linux_world
space-engineers-dedicated-docker-linux_plugins
Archive:  /star-system.zip
  inflating: SpaceEngineers-Dedicated.cfg
  inflating: World/Alien-291759539d120000.vx2
  inflating: World/EarthLike-1779144428d120000.vx2
  inflating: World/Europa-595048092d19000.vx2
  inflating: World/Mars-2044023682d120000.vx2
  inflating: World/Moon-1353915701d19000.vx2
  inflating: World/Sandbox.sbc
  inflating: World/SANDBOX_0_0_0_.sbs
  inflating: World/Sandbox_config.sbc
  inflating: World/thumb.jpg
  inflating: World/Titan-2124704365d19000.vx2
  inflating: World/Triton-12345d80253.vx2
⮊ ./start
Found existing world volume space-engineers-dedicated-docker-linux_world.
WARN[0000] volume "space-engineers-dedicated-docker-linux_world" already exists but was not created by Docker Compose. Use `external: true` to use an existing volume 
WARN[0000] volume "space-engineers-dedicated-docker-linux_plugins" already exists but was not created by Docker Compose. Use `external: true` to use an existing volume 
[+] Running 3/3
 ✔ Volume "space-engineers-dedicated-docker-linux_steamcmd"  Created                                                                                                                    0.0s 
 ✔ Volume "space-engineers-dedicated-docker-linux_bins"      Created                                                                                                                    0.0s 
 ✔ Container space-engineers-dedicated-docker-linux          Started                                                                                                                    0.7s 
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux exited with code 0
⮊ ./pack
cp: can't stat '/input/SpaceEngineers-Dedicated.cfg': No such file or directory
cp: can't stat '/input/World': No such file or directory
/space-engineers-dedicated-docker-linux_world
├── SpaceEngineers-Dedicated.cfg
└── World
    ├── Alien-291759539d120000.vx2
    ├── EarthLike-1779144428d120000.vx2
    ├── Europa-595048092d19000.vx2
    ├── Mars-2044023682d120000.vx2
    ├── Moon-1353915701d19000.vx2
    ├── SANDBOX_0_0_0_.sbs
    ├── Sandbox.sbc
    ├── Sandbox_config.sbc
    ├── Titan-2124704365d19000.vx2
    ├── Triton-12345d80253.vx2
    └── thumb.jpg

1 directories, 12 files
cp: can't stat '/input/Plugins/.': No such file or directory
⮊ ./start
Found existing world volume space-engineers-dedicated-docker-linux_world.
WARN[0000] volume "space-engineers-dedicated-docker-linux_world" already exists but was not created by Docker Compose. Use `external: true` to use an existing volume 
WARN[0000] volume "space-engineers-dedicated-docker-linux_plugins" already exists but was not created by Docker Compose. Use `external: true` to use an existing volume 
[+] Running 1/0
 ✔ Container space-engineers-dedicated-docker-linux  Started                                                                                                                            0.0s 
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.
space-engineers-dedicated-docker-linux  | Sandbox.sbc file does not exist, exiting.

In both case it does not work.

A few more info in case it helps

⮊ docker volume inspect space-engineers-dedicated-docker-linux_world
[
    {
        "CreatedAt": "2023-08-23T12:00:32+09:00",
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/var/lib/docker/volumes/space-engineers-dedicated-docker-linux_world/_data",
        "Name": "space-engineers-dedicated-docker-linux_world",
        "Options": null,
        "Scope": "local"
    }
]

⮊ ll /var/lib/docker/volumes/space-engineers-dedicated-docker-linux_world/_data
Permissions Size  Date Modified Name
drwxr-xr-x     -  23 Aug 12:00   World
.rw-r--r--  7.7k  23 Aug 12:00   SpaceEngineers-Dedicated.cfg
⮊ ll /var/lib/docker/volumes/space-engineers-dedicated-docker-linux_world/_data/World
Permissions Size  Date Modified Name
.rw-r--r--   401  23 Aug 12:00   Alien-291759539d120000.vx2
.rw-r--r--   405  23 Aug 12:00   EarthLike-1779144428d120000.vx2
.rw-r--r--   408  23 Aug 12:00   Europa-595048092d19000.vx2
.rw-r--r--   401  23 Aug 12:00   Mars-2044023682d120000.vx2
.rw-r--r--   402  23 Aug 12:00   Moon-1353915701d19000.vx2
.rw-r--r--  4.2M  23 Aug 12:00   Sandbox.sbc
.rw-r--r--   24k  23 Aug 12:00   SANDBOX_0_0_0_.sbs
.rw-r--r--  5.9k  23 Aug 12:00   Sandbox_config.sbc
.rw-r--r--   80k  23 Aug 12:00   thumb.jpg
.rw-r--r--   404  23 Aug 12:00   Titan-2124704365d19000.vx2
.rw-r--r--   484  23 Aug 12:00   Triton-12345d80253.vx2

It does it every time (100% reproducible for me), I just set it up like that:

⮊ git clone https://github.com/mmmaxwwwell/space-engineers-dedicated-docker-linux.git ⮊ cd space-engineers-dedicated-docker-linux/ ⮊ git checkout v2 ⮊ ./setup

UbioZur avatar Aug 23 '23 03:08 UbioZur

Mine start working when I changed the docker-compose.yml file. Changing :latest to :v2 seemed to kick everything off right after that. I did a bunch of tweaks too trying to get it to work, so I'm not 100% sure that was it.

GWLobo avatar Oct 07 '23 02:10 GWLobo

After reading this thread. I finally got a docker space engineering dedicated server up and running.

I am wondering why those commands areent mentioned elsewere.

⮊ git clone https://github.com/mmmaxwwwell/space-engineers-dedicated-docker-linux.git ⮊ cd space-engineers-dedicated-docker-linux/ ⮊ git checkout v2 ⮊ ./setup

Setup don't exist in the git checkout, unless i checkout v2

also

Mine start working when I changed the docker-compose.yml file. Changing :latest to :v2

Made the server start and running. Else it just kept restarting every 30 or so secund

Zarhn avatar Nov 27 '23 04:11 Zarhn

my apologies, there was a configuration issue in the compose file - it was pulling the wrong image from dockerhub. issue is resolved, please update your repo and try again.

mmmaxwwwell avatar May 18 '24 19:05 mmmaxwwwell