#Does it is possible to run pumpkin in pterodactyl?
1 messages · Page 1 of 1 (latest)
hey sorry, what does this exactly mean?
the image has been downloaded and installed
could be something wrong with the image by itself?
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
so this problem is not on my end?
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
actually not, im running the instance with 8gb ram
what about Storage ?
unlimited
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
sorry for the delay, im running pterodactyl on my dedicated server, there’s 64gb ram and 2tb ssd
i think it shouldn’t be an issue regarding memory or storage maybe
How much storage have you set for the container for the game?
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
i’ve setup 10 gigs
i think it might be this
Yea, specifically not /tmp tho but the rust install dir
I'll look at fixing this in a second
thanks!
Is there a reason were compiling pumpkin in the image instead of shipping a precompiled binary?
changes too often to have a precompiled binary
i think he may want something like: https://github.com/Snowiiii/Pumpkin/issues/125
I've searched existing issues and couldn't find a duplicate. Is your feature request related to a problem? Please describe. Using a docker image for deployment requires downloading the sour...
What about just publishing it automatically with github CI?
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
sure, im really not familiar with docker don't think i can help here
make a docker image that uses a precompiled binary (compiled on your pc)
You'd have to cross compile through
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 🙂
can you please! 🙏
Ok give me a moment
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
Looks very cool, Good job!
is your image made for pterodactyl?
yep
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
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?
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
insane!
excited to see world generation and stuff going on
me as well 😄
Even if pumpkin doesn't get world generation, we could generate the world in pterodactyl using default java first on the install. Could also be done from a seed and then when its actually running it just uses pumpkin
interesting, but u will have to pre render at least a good amount of chunks to be “playable”
It usually means dont start from android
or like a docker compose
what is that ?
GLIBC is missing
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
ah okay, did you tested Pumpkin localy ?
@tulip stream i found this https://jeonghye-choi.medium.com/how-to-resolve-the-lib-x86-64-linux-gnu-libc-so-6-1a983bcf4721
has this may something to do with https://github.com/Snowiiii/Pumpkin/pull/409/files ?
I tested it on a server that I host
its on my local network
i meant if you tested it without docker
it updated libgcc from 13.2.1_git20240309-r0 to 14.2.0-r4 so mabey.
can you share the pterodactyl files ?
how can i do that ?
idk i nver used pterodactyl, what egg did you use to run it ?
this one
has this egg ever worked ?
i don't know 🤷♂️
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
I don't know what it is but thx
it basically docker for vms
I made a "very" coustomizable egg see #425, that is running on alpine.
thank you so much 🙏
may god bless you my savior
i don't know what i am supposed to do
No offense to whoever made this but this has to be one of the funniest mistakes I've seen
whatever what i enter it say the same thing
Ok I just looked at the script, set it to true or 1
Can you try "0" and "1" (with the quotes)?
default is 1 idk what you did
Do you maybe have a trailing space in the box?
Is that a software?
Its pterodactyl
Pterodactyl is an 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.
Does it have a built in file manager or do I have to use docker’s file manager thing
it has sftp
Mhm, alright thanks
Nice
Yes
And a Web panel
Cool, what software is it?
Oh alright, is there a file management system?
Thanks
I thought you were replying to “is it a software”
Which is why I asked again if it had a file management system
Had to double check
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
idk i don't use that
Ah alright
i think so
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 😂
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.
😂🥲
@prisma gazelle Pumpkin has now an offical egg
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?
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
If you haven't figured it out yet:
- Download the official file (the linux x86-64)
- Create a normal server with a port you want, make sure to set the startup command to:
./server - Once in the server's files, drop in the file you downloaded at step 1 and rename it to:
server - Hover over the file -> permissions and type in
777to change the permissions. - 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.
Hello bro i need Pumpkin software 1.21 jar file because i want to use in minecraft hosting
online
@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
Did you don't say Ram?
i think he left the server