Hi, I am attempting to run a minecraft server using balena by following this guide (https://www.balena.io/blog/how-to-create-a-minecraft-server-for-the-pi-4-with-balena/) but unfortunantly it looks like it keeps on restarting, could I please have some help?!
Welcome to the balena forums! Can you tell us a little about how you deployed? For example, did you use the GitHub repo’s
Deploy with balena button or do a
balena push <app-name> using balenaCLI? Also, this project has a number of different services… Can you tell which one(s) are restarting?
Thank you for the warm welcome, my friend gave me this link (https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/AlexProgrammerDE/balena-minecraft-server) and I think that it directly deployed it into it.
Cool. Yes, using that deploy link should have taken you right to the balenaCloud dashboard, created the Minecraft app, etc. Any issues when you flashed the OS image to the SD card for the Raspberry Pi 4? Sounds like everything deployed on your device, but the app isn’t coming up, correct? Are all the services running?
I just spun up Minecraft using the
Deploy with balena button and found that it started OK, but runs a little hot (~60). I noticed that the repo says it can take quite a bit of horsepower, but otherwise it seems fine. Have you tried connecting to the server using a Minecraft client? Does it connect?
I’m not too sure on how to connect to it.
also note that i’ve changed the server so it runs 1.8.8 instead of the lastest version
There are instructions in the GitHub repo about connecting your Minecraft client to the RPi4 Minecraft server: https://github.com/AlexProgrammerDE/balena-minecraft-server. Generally speaking, you’d open your Minecraft client and use the IP address of your Minecraft server as the Direct Connect server address.
I got the server up and running smoothly and all, great work!
I have searched for hours for where to upgrade the server ram, but cant find it…
I have tried to create new variables “RAM=3G” and “DOUBLE_RAM=true” in the server.properties file, but the server starts with the standard 1GB. Any help?
Also, I want to install a modpack (Valhesia) witch contains around 180 different mod, anyone know if this will fry my Pi44gb?
RAM environment variable look correct looking at the repo here: https://github.com/AlexProgrammerDE/balena-minecraft-server/blob/master/mc-server/start.sh#L11-L13
I am not sure how you would load the modpacks in, but maybe the repo author could assist, if they see this?