pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.77k stars 1.72k forks source link

Server stuck on "Finished pulling Docker container image" #3383

Closed MikolajKolek closed 3 years ago

MikolajKolek commented 3 years ago

Background:

Describe the bug: Whenever I create a new Minecraft server, it completes the install and then stops. Turning the server on again results in this getting put in the console: https://hastebin.com/qefusigaxo.md followed by a bunch of newlines that fill the entire console. On subsequent restarts, the same problem appears, but the newlines don't appear anymore. The server.jar file is never run. The issue happens with Forge, Paper and Vanilla, I haven't tried Bungee or Sponge but I assume it would be the same.

Wings uname -a result: Linux pterodactyl-instance 5.4.0-1045-oracle #49-Ubuntu SMP Mon May 3 05:27:18 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Wings docker info result: https://ptero.co/oxakiteneq.js (Note: I turned swap on in /etc/default/grub but it's still showing WARNING: No swap limit support in docker info Here's the line from the file: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash, swapaccount=1" I just moved on because I saw that it wasn't necessary, but I still thought it was strange and might have something to do with the issue) Here's a screenshot of my test server's configuration: image

To Reproduce Steps to reproduce this behaviour:

  1. Set up Pterodactyl and Wings
  2. Create a new Minecraft server
  3. Look at the server's console

Expected behaviour The server.jar file starting and the server booting up

hwalker928 commented 3 years ago

Regarding the swap account, remove the , and that should fix it!

MikolajKolek commented 3 years ago

Sadly, that doesn't seem to fix the issue. On the topic of the actual problem, I managed to figure out that it's probably not working because I'm using the standard docker images instead of ARM docker images. I'm still unsure how I can use ARM images. I've tried changing the image to ghcr.io/matthewpi/images:java8 but the same problems occur.

matthewpi commented 3 years ago

Sadly, that doesn't seem to fix the issue. On the topic of the actual problem, I managed to figure out that it's probably not working because I'm using the standard docker images instead of ARM docker images. I'm still unsure how I can use ARM images. I've tried changing the image to ghcr.io/matthewpi/images:java8 but the same problems occur.

My images are no longer built for arm64 as many of the base images don't support arm.

MikolajKolek commented 3 years ago

Because no images existed, I had to make some myself. To anyone having the same issue, here's the link: https://github.com/MikolajKolek/pterodactyl-images-arm64, they're probably not perfect but they work. This solves the problem