AlexProgrammerDE / balena-minecraft-server

Build a Minecraft Server using a Raspberry Pi 4! Supports common Servers, SCP, RCON and Wifi Connect.
Apache License 2.0
199 stars 67 forks source link

[BUG] #36

Closed ghost closed 4 years ago

ghost commented 4 years ago

Describe the bug There is an error when attempting to start the mc-server service. mc-server logs show: mc-server Starting jar file with: 1G of RAM 20.07.20 16:33:34 (-0500) mc-server Error: Invalid or corrupt jarfile paper.jar 20.07.20 16:38:46 (-0500) mc-server Setting device hostname to: balenaminecraftserver 20.07.20 16:38:46 (-0500) mc-server OKStarting jar file with: 1G of RAM 20.07.20 16:38:46 (-0500) mc-server Error: Invalid or corrupt jarfile paper.jar and continues an infinite loop.

To Reproduce Steps to reproduce:

  1. Follow the tutorial. Once on balena dashboard with Pi running all services after running balena push , the mc-server gives issues on attempting to start with paper.jar

Expected behavior I believe the mc-server service automatically fetches the download for paper.jar from a website, however it seems to fail for mine.

Raspberry Pi (please complete the following information):

Additional context I've attempting to download the paper.jar file directly to the mc-server folder, then using balena push <appName> but it detects it as too large of a file and ignores it from the push.

firefox_aoaADOkXgp

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 1.00. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

SethHering commented 4 years ago

I had this same issue. In order to fix log into SCP and delete the current paper.jar file. Then go into balena cloud and restart the device. This should fix the issue.