#Does it is possible to run pumpkin in pterodactyl?

1 messages · Page 1 of 1 (latest)

supple nacelle
#

Ive tried to run the rust docker image with the pumpking files but it wont work at all.

fallow mesa
#

oh

#

it says "Read only file system"

#

it can't install rust

supple nacelle
#

the image has been downloaded and installed

#

could be something wrong with the image by itself?

fallow mesa
#

From the error i can say that rustup (the program which downloads and manages rust) fails to download rust because it says that the file system is read only

#

the image should be fine

supple nacelle
#

so this problem is not on my end?

fallow mesa
#

or wait

#

i just saw the last message

#

it says "Out of memory"

#

Maybe the problem is that there is not enough Storage or RAM

supple nacelle
#

actually not, im running the instance with 8gb ram

fallow mesa
#

what about Storage ?

supple nacelle
#

unlimited

fallow mesa
#

how much Storage your PC has left?

#

espacilly the drive where the docker container is running

#

also can you may give me the output from docker info

supple nacelle
#

i think it shouldn’t be an issue regarding memory or storage maybe

frank plaza
#

Also, this might be that pterodactyl doesn't allow things to write to /tmp

#

Cause it tries to sandbox things

#

No wait I misread

#

Yeah this is definitely a sandboxing thing

#

Ah

#

Hes

#

Yes

#

The docker script is trying to run rustup

#

And rustup requires permissions to change the rust files

#

Pterodactyl limits permissions, so it can't

#

We'd have to remove rustup from docker config @fallow mesa

supple nacelle
supple nacelle
frank plaza
#

I'll look at fixing this in a second

supple nacelle
paper glade
#

Is there a reason were compiling pumpkin in the image instead of shipping a precompiled binary?

frank plaza
fallow mesa
paper glade
supple nacelle
#

does someone has any idea of what it could be done in this situation?

#

i am not sure if its pterodactyl rust image related or maybe pterodactyl limits

fallow mesa
#

sure, im really not familiar with docker don't think i can help here

paper glade
rose beacon
#

You'd have to cross compile through

prisma gazelle
# supple nacelle does someone has any idea of what it could be done in this situation?

You dont need to build an image or anything. It can all be done through the egg install script (it builds the latest version when you install the server, meaning you can simply reinstall to update to the latest version). I can send you a copy if you want. There is no variables or anything but it works perfectly fine. Once I put variables on it i'll release it 🙂

prisma gazelle
#

Ok give me a moment

prisma gazelle
#

Here is the pterodactyl egg if anyone else wants it. There is no toml parser in pterodactyl so the port is set when you install the server. Maybe ill mess with the file parser soon but its easy enough just to edit the config. All i really cared about was if the port was updated when you first install so you can instantly connect.

Also instead of compiling in the egg when you install, i'm just compiling automatic weekly builds on github (https://github.com/pedrotski/pumpkin-builder/releases) and the egg will pull the latest version if you reinstall. There is something funky that happens if you try and recompile again in docker that I honestly, couldn't be bothered messing with right now. This also means the server installs very fast too.

https://github.com/ghostcap-gaming/pterodactyl-eggs/tree/main/games/minecraft/pumpkin

heavy urchin
supple nacelle
#

sorry for the delay message

#

but now its working since pedro did the image specifically for ptero

#

also @fallow mesa sorry for ping, but this project is insane, running minecraft in less than 1gb is something i thought wouldnt be possible tbh

#

huge project

#

excited for new updates

fallow mesa
#

thanks 😄

supple nacelle
# fallow mesa thanks 😄

just a curious question, when the project gets more and more updates until they got like world generation with bioms/vegetation and stuff like standard minecraft, it should be able to run in even with less than 1gb? or it will increase it i lil bit?

fallow mesa
# supple nacelle just a curious question, when the project gets more and more updates until they ...

its hard to say because on on side more features usally takes more resources. On the other hand pumpkin is currently not that super optimized and im more about getting stuff done then making is super duper optimized (which takes time). Currently we save chunks in RAM which is not that ideal, I predict when for example World Saving is merged that Resource usage will shrink. There are also serverial other optimations which can be done

#

But im confident that it is and will be possible to run Pumpkin below 1GB of RAM

supple nacelle
#

excited to see world generation and stuff going on

fallow mesa
#

me as well 😄

prisma gazelle
supple nacelle
atomic relic
steep abyss
#

what is that ?

fallow mesa
steep abyss
#

i don't know what it is 😅

#

i m sorry i'm new to linux and server and all of that

#

its my first server

fallow mesa
steep abyss
#

its on my local network

fallow mesa
#

i meant if you tested it without docker

tulip stream
tulip stream
steep abyss
#

how can i do that ?

tulip stream
#

idk i nver used pterodactyl, what egg did you use to run it ?

steep abyss
#

this one

tulip stream
#

has this egg ever worked ?

steep abyss
#

i don't know 🤷‍♂️

tulip stream
#

looks like it is building on ubuntu and then running on debian with diffent libgcc versions

#

well i guess i should setup pterodactyl and create a proper egg. (usig alpine and building it properly)

#

ig ill just use Vagrant should be the fastest way to set it up

steep abyss
#

I don't know what it is but thx

tulip stream
#

it basically docker for vms

tulip stream
steep abyss
#

may god bless you my savior

steep abyss
#

i don't know what i am supposed to do

waxen bone
#

No offense to whoever made this but this has to be one of the funniest mistakes I've seen

steep abyss
#

whatever what i enter it say the same thing

waxen bone
#

Ok I just looked at the script, set it to true or 1

steep abyss
#

true and false wasn't working so i put 0

#

and now 1

waxen bone
tulip stream
waxen bone
#

Do you maybe have a trailing space in the box?

steep abyss
#

but 0 and 1 work

waxen bone
#

Wait what

#

Alr then use 0 or 1

#

Probably use jsut 1

steep abyss
hybrid crow
tulip stream
#
hybrid crow
#

Does it have a built in file manager or do I have to use docker’s file manager thing

tulip stream
#

it has sftp

hybrid crow
#

Mhm, alright thanks

tulip stream
#

ah and a web file manager

#

forgot about that

hybrid crow
#

Nice

hybrid crow
#

Cool, what software is it?

steep abyss
#

Pterodactyl

#

Its free

hybrid crow
#

Oh alright, is there a file management system?

steep abyss
#

Yes

#

I will show you

#

Take screenshot

hybrid crow
#

Thanks

hybrid crow
#

Which is why I asked again if it had a file management system

#

Had to double check

steep abyss
#

oh ok

#

its a very good software for managing servers

hybrid crow
#

Btw, do you know of a way to hook a IntelliJ to it? Like if I wanna compile a paper plugin, I have it so it gets sent over to a folder on my pc

steep abyss
#

idk i don't use that

hybrid crow
#

Ah alright

prisma gazelle
# tulip stream has this egg ever worked ?

Yes it works fine.

Now you need to change from ghcr.io/pelican-eggs/yolks:debian to ghcr.io/pelican-eggs/yolks:ubuntu

@steep abyss

If you just tagged me I would have told you straight away 😂

prisma gazelle
#

Here is a version that will compile pumpkin from scratch if thats more your style. But doing reinstalls this way breaks things for some reason.

fallow mesa
#

@prisma gazelle Pumpkin has now an offical egg

tropic rain
#

Has anyone tried running pumpkin in pterodactyl recently? I tried to get it to work yesterday but couldn't, the official egg got stuck during the installation (I'm guessing it timed out or something, I gave it 12 cores and 32gb of ram so that couldn't be the issue), and the other eggs I was able to find either complained about there not being an executable named pumpkin in the current dir, or a couple times I got it to start but it crashed instantly complaining about a read only file system (yes I tried adding mounts and other stuff)

#

Also wouldn't it be possible to use the pumpkin docker image so that the pterodactyl server doesn't have to build it?

tropic rain
#

anyone?

#

it would just be nice to have the egg use the docker image that is built after each commit anyway, so that the server doesn't have to build it itself

#

though this would also probably require some changes to the dockerfile

rotund kiln
# supple nacelle Ive tried to run the rust docker image with the pumpking files but it wont work ...

If you haven't figured it out yet:

  1. Download the official file (the linux x86-64)
  2. Create a normal server with a port you want, make sure to set the startup command to: ./server
  3. Once in the server's files, drop in the file you downloaded at step 1 and rename it to: server
  4. Hover over the file -> permissions and type in 777 to change the permissions.
  5. Now, simply go to the console and start the server. It should start without needing an egg.

Have fun!
-# NOTE: change the port in the config's of pumpkin to the port you're using right now. Otherwise you can't connect.

#

I've got it running right now by the way.

wary onyx
#

Hello bro i need Pumpkin software 1.21 jar file because i want to use in minecraft hosting
online

fallow mesa
#

@wary onyx there is no way to get pumpkin as a jar file, it also should be possible to just run as an native executable

rotund kiln
balmy spoke
#

hell nah

#

ram

#

I need ram

rotund kiln
#

I’ve got 32gb ram

#

Pumpkin runs with 12mb ram