sVoxelDev / minecraft-server-template

A 30 seconds quickstart template for creating minecraft server networks with docker and git.
MIT License
63 stars 10 forks source link

mc-restic-compose-backup container not usable #11

Open Luctastic opened 1 year ago

Luctastic commented 1 year ago

Hello :) Thanks for this awesome template, but I got some problems regarding your "mc-restic-compose-backup" image in combination with this template.

Pastebin #1 Pastebin #2

1) Cloned template and started via ./dc.sh up -d 2) Attached to backup-container via ./backup.sh attach 3) rcb status

First problem (see pastebin #1):

environment:
      ...
      # used to pass port to backup
      RCON_PORT: ${RCON_PORT}

Second problem (see pastebin #1):


Third problem: (after temp-fixing first and second problem) (see pastebin #2)

Silthus commented 1 year ago

Hey @Luctastic

did you execute the init.sh script after cloning the template? It sounds like a bunch of environment variables are missing which are set during the init phase.

Luctastic commented 1 year ago

Yeah sorry, I did execute the init script, forgot to mention that (double checked now)

1) Cloned template 2) sudo ./init.sh

Empty plugin URL
(Bungeecord) Port [25565]:
Query Port [25566]:
RAM for the Server [4G]:
base url of this environment, e.g.: test.your-server.net? [your-server.net]: dev.testing.eu
environment of this server (e.g.: test, prod)? [test]
Entered restic password

configuration is now all done!

3) sudo ./dc.sh up -d 4) Waited for successful start... 5) Attached to backup-container via sudo ./backup.sh attach 6) rcb status