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

[minecraft-java] MC Backup Pause If No Players option is not working #20831

Closed
2 tasks done
craftycorvid opened this issue Apr 16, 2024 · 0 comments · Fixed by #22587
Closed
2 tasks done

[minecraft-java] MC Backup Pause If No Players option is not working #20831

craftycorvid opened this issue Apr 16, 2024 · 0 comments · Fixed by #22587
Assignees
Labels
bug Something isn't working

Comments

@craftycorvid
Copy link

chart Name

minecraft-java

Operating System

TrueNAS SCALE 23.10.2

Deployment Method

TrueNAS SCALE charts

Chart Version

8.8.4

Kubernetes Events

N/A

chartlication Logs

2024-04-14 17:02:05.755159-07:002024-04-14T17:02:05-0700 INFO waiting initial delay of 2m...
2024-04-14 17:04:05.758581-07:002024-04-14T17:04:05-0700 INFO waiting for rcon readiness...
2024-04-14 17:04:05.767073-07:002024-04-14T17:04:05-0700 INFO Command executed successfully rcon-cli save-on
2024-04-14 17:04:05.773742-07:002024-04-14T17:04:05-0700 INFO Command executed successfully rcon-cli save-off
2024-04-14 17:04:06.080839-07:002024-04-14T17:04:06-0700 INFO Command executed successfully rcon-cli save-all flush
2024-04-14 17:04:08.536065-07:002024-04-14T17:04:08-0700 INFO Command executed successfully sync
2024-04-14 17:04:08.539831-07:002024-04-14T17:04:08-0700 INFO Backing up content in /data to /backups/world-20240414-170408.tar.zst
2024-04-14 17:06:46.585412-07:002024-04-14T17:06:46-0700 INFO Command executed successfully rcon-cli save-on
2024-04-14 17:06:46.596883-07:002024-04-14T17:06:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:11:46.598491-07:002024-04-14T17:11:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:16:46.605609-07:002024-04-14T17:16:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:21:46.611803-07:002024-04-14T17:21:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:26:46.618329-07:002024-04-14T17:26:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:31:46.624012-07:002024-04-14T17:31:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:36:46.630425-07:002024-04-14T17:36:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:41:46.636655-07:002024-04-14T17:41:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:46:46.643469-07:002024-04-14T17:46:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:51:46.650681-07:002024-04-14T17:51:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 17:56:46.657467-07:002024-04-14T17:56:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 18:01:46.664715-07:002024-04-14T18:01:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 18:06:46.671183-07:002024-04-14T18:06:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 18:11:46.677366-07:002024-04-14T18:11:46-0700 ERROR Error querying the server, waiting 5m...
2024-04-14 18:16:46.685229-07:002024-04-14T18:16:46-0700 ERROR Error querying the server, waiting 5m...

Chart Configuration

image

Describe the bug

MC Backup fails to make further backups after the first because the player online check fails.

To Reproduce

  1. Create a minecraft-java instance
  2. Enable MC Backup and Pause If No Players
  3. Wait for the first backup to finish and the player check to start

Expected Behavior

Player online check should work, and more backups should be created after initial one if players are detected.

Screenshots

N/A

Additional Context

MC Backup runs this command to check for online players:
mc-monitor status --host "${RCON_HOST}" --port "${SERVER_PORT}" --show-player-count)

The issue is that RCON_HOST is set to minecraft-java-rcon, which makes mc-monitor unable to connect to the minecraft server that is reachable at minecraft-java.

I've read and agree with the following

  • I've checked all open and closed issues and my issue is not there.
  • I've prefixed my issue title with [Chart-Name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants