A
Admincraft•5mo ago
yairarbib

how to setup pterodactyl panel

How?
153 Replies
Admincraft Meta
Admincraft Meta•5mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by yairarbib#0
Discount Milk
Discount Milk•5mo ago
Have you tried reading their docs It isn't a project for beginners
yairarbib
yairarbibOP•5mo ago
I heared its the best So i want to try it out
Discount Milk
Discount Milk•5mo ago
Consult their docs
yairarbib
yairarbibOP•5mo ago
I will check it I am trying to use a pterodactyl installer script its pterodactyl-installer.se Can you help me configure it? @Discount Milk
Discount Milk
Discount Milk•5mo ago
Getting Started | 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.
Discount Milk
Discount Milk•5mo ago
You are expected to understand how to read documentation to use this Panel. We have spent many hours detailing how to install or upgrade our software; take some time and read rather than copy and pasting and then complaining when things do not work. This panel does not exist as a drag-and-drop service to run your servers. It is a highly complex system requiring multiple dependencies and administrators willing to spend some time learning how to use it. If you expect to be able to install this with no understanding of basic linux system administration you should stop and turn around now
You are expected to understand how to read documentation to use this Panel. We have spent many hours detailing how to install or upgrade our software; take some time and read rather than copy and pasting and then complaining when things do not work. This panel does not exist as a drag-and-drop service to run your servers. It is a highly complex system requiring multiple dependencies and administrators willing to spend some time learning how to use it. If you expect to be able to install this with no understanding of basic linux system administration you should stop and turn around now
yairarbib
yairarbibOP•5mo ago
No i am using an installer script
Skullians
Skullians•5mo ago
installer scripts are unsupported especially by the ptero help discord
Discount Milk
Discount Milk•5mo ago
That isn't supported by the developers of pterodactyl.
Skullians
Skullians•5mo ago
and installer scripts break things more often than not especially when it's an unofficial one
Discount Milk
Discount Milk•5mo ago
If you have no experience with Linux administration, just pay for and install AMP.
yairarbib
yairarbibOP•5mo ago
I have a little Ig i will try the original way
Skullians
Skullians•5mo ago
yes that is a good idea
Admincraft Meta
Admincraft Meta•5mo ago
Server panels
A game server management panel that lets you manage your game server just through a website hosting your panel. Most hosting providers will have one but if you're self hosting or setting one up on a VPS you'll need to install one by yourself. Down below I'll list some choices but i encourage you to look into the subject yourself and choose one best for yourself pterodactyl [linux] PufferPanel [linux] Multicraft [linux] [windows] AMP [linux] [windows] crafty [linux] [windows] [mac] (uses python) More found here
Requested by whymortis
yairarbib
yairarbibOP•5mo ago
Its what i am trying to do rn And if i put multiple commands inside a .sh file does it run a command wait and run the next command or runs all of them at the same time?
Skullians
Skullians•5mo ago
!try or google it
Carl-bot
Carl-bot•5mo ago
You should try it and see. :) https://tryitands.ee/
yairarbib
yairarbibOP•5mo ago
mariadb -u root -p command doesn't work and the mysql -u root -p Help
Skullians
Skullians•5mo ago
what do you mean "it doesn't work"
QarthO
QarthO•5mo ago
preto has a discord i'd recommend asking there, you'll get a lot better help (as long as ur not using the script)
yairarbib
yairarbibOP•5mo ago
I am not using a script
QarthO
QarthO•5mo ago
then ask in their discord
yairarbib
yairarbibOP•5mo ago
-bash mariadb: command not found
Skullians
Skullians•5mo ago
did you install mariadb??
yairarbib
yairarbibOP•5mo ago
Yes i followed the documents untill the database configuration part
Skullians
Skullians•5mo ago
what's the output of systemctl status mariadb
yairarbib
yairarbibOP•5mo ago
Unit mariadb.service could not be found
Skullians
Skullians•5mo ago
... you didn't install mariadb
yairarbib
yairarbibOP•5mo ago
I followed the documents
Skullians
Skullians•5mo ago
well you didn't otherwise mariadb would be installed
Skullians
Skullians•5mo ago
did you follow this part?
No description
yairarbib
yairarbibOP•5mo ago
Skullians
Skullians•5mo ago
were you running as root?
yairarbib
yairarbibOP•5mo ago
Its sudo -I for root right?
Discount Milk
Discount Milk•5mo ago
Did you read the output of that command
Skullians
Skullians•5mo ago
^ sudo su
Discount Milk
Discount Milk•5mo ago
A majority of issues people have is because they run commands and don't read what the commands do/did/tried to do
yairarbib
yairarbibOP•5mo ago
I read some of them
Discount Milk
Discount Milk•5mo ago
"some" Yeah that's where it'll get you.. Being lazy will cause issues.
yairarbib
yairarbibOP•5mo ago
I did it again as root and still the mariadb -u root -p doesn't work
Discount Milk
Discount Milk•5mo ago
What is the console telling you You're refusing to read or share what it's saying for other people to do the reading for you. You're not gonna get far with these habits.
yairarbib
yairarbibOP•5mo ago
I said bash: mariadb: command not found
Discount Milk
Discount Milk•5mo ago
.
Skullians
Skullians•5mo ago
what did running the mariadb install script tell you also, if you haven't ran any of the other commands as root, it's likely it's all broken
yairarbib
yairarbibOP•5mo ago
So i really should run everything again as root i will come back when i finish
Skullians
Skullians•5mo ago
I would recommend you reinstall your OS to start from fresh but up to you
yairarbib
yairarbibOP•5mo ago
I think i should do this but i will do it soon if it doesn't work i will backup what i need and try again Finally mariadb works What is egg author email? Do i nees to put my gmail there?
Skullians
Skullians•5mo ago
it's optional if you are making eggs it's just the "contact email" so to say but it doesn't really matter what you put
yairarbib
yairarbibOP•5mo ago
Oh
Skullians
Skullians•5mo ago
if you put a random email, it won't error
yairarbib
yairarbibOP•5mo ago
Skullians
Skullians•5mo ago
yup lol
yairarbib
yairarbibOP•5mo ago
It says in the example [email protected] lol
Skullians
Skullians•5mo ago
yeah
yairarbib
yairarbibOP•5mo ago
What do i put in application url?
Skullians
Skullians•5mo ago
if you don't have a domain, then it would be http://PUBLIC_IP e.g. http://123.123.123.123 without the / on the end discord being annoying
yairarbib
yairarbibOP•5mo ago
So wait 1 sec i am going to my router's panel to check my public ip Now what do i put inside the cache driver? Redis memcached or file
Skullians
Skullians•5mo ago
redis
yairarbib
yairarbibOP•5mo ago
Oh forget about that they said redis
Skullians
Skullians•5mo ago
yeah
yairarbib
yairarbibOP•5mo ago
So session driver? Redis again? Or cookie or mysql database?
Skullians
Skullians•5mo ago
it says redis recommended no?
yairarbib
yairarbibOP•5mo ago
Oh So i will just use redis for everything
Skullians
Skullians•5mo ago
yeah
yairarbib
yairarbibOP•5mo ago
[Note] you've selected the redis driver for one or more options, please provide a valid connection information below What do i do here?
Skullians
Skullians•5mo ago
screenshot but I believe there's a default you can just click enter and it should default to that
yairarbib
yairarbibOP•5mo ago
It worked
Skullians
Skullians•5mo ago
nice
yairarbib
yairarbibOP•5mo ago
Redis password? Why World
Skullians
Skullians•5mo ago
don't put a password
yairarbib
yairarbibOP•5mo ago
Ok Enter
Skullians
Skullians•5mo ago
yep
yairarbib
yairarbibOP•5mo ago
Redis port [6379] Enter?
Skullians
Skullians•5mo ago
yeah that's the default
yairarbib
yairarbibOP•5mo ago
Ok done next command
yairarbib
yairarbibOP•5mo ago
What do i do?
No description
Skullians
Skullians•5mo ago
next part of the docs which is the php artisan migrate part oh hold on you specified the wrong timezone
Skullians
Skullians•5mo ago
rerun it, and specify the correct timezone from https://www.php.net/manual/en/timezones.php
PHP: Hypertext Preprocessor
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
yairarbib
yairarbibOP•5mo ago
? Ok
Skullians
Skullians•5mo ago
-# it literally had this linked
yairarbib
yairarbibOP•5mo ago
Did i break it?
No description
Skullians
Skullians•5mo ago
did you read? !!!!!!!!!!! it should look something like America/Halifax (example) look at the link!!!!!!!!!!!
yairarbib
yairarbibOP•5mo ago
Ok ok So this Etc/GMT+3 ?
Skullians
Skullians•5mo ago
no... if you actually look at the link I sent you open it, and choose your region then choose the timezone that is most suited to you .
yairarbib
yairarbibOP•5mo ago
I looked
Skullians
Skullians•5mo ago
and where did you see Etc/GMT+3 lol ah I see
yairarbib
yairarbibOP•5mo ago
See
No description
Skullians
Skullians•5mo ago
Please do not use any of the timezones listed here (besides UTC), they only exist for backward compatible reasons, and may expose erroneous behavior. Furthermore, these timezones may be removed from the IANA timezone database at any time. Once again, it is strongly recommended that you use the correct time zone for your location, such as Asia/Shanghai or Australia/Perth for the above examples.
yairarbib
yairarbibOP•5mo ago
But its in the list😭
Skullians
Skullians•5mo ago
yes but you aren't reading go look for an actual timezone that won't error
yairarbib
yairarbibOP•5mo ago
Like? Just give me a random one
Skullians
Skullians•5mo ago
just choose whatever region you are in
yairarbib
yairarbibOP•5mo ago
Its quite complicated
Discount Milk
Discount Milk•5mo ago
How is "pick the timezone of where you live" complicated Brother
Skullians
Skullians•5mo ago
just choose a city that's near you if you're that confused
yairarbib
yairarbibOP•5mo ago
Ok i found it do i just put its name? Its only the name in the list
yairarbib
yairarbibOP•5mo ago
It got only 1 timezone
No description
Skullians
Skullians•5mo ago
try it if it's in the "Other" section it likely won't work
yairarbib
yairarbibOP•5mo ago
But how can i change?
Skullians
Skullians•5mo ago
rerun the command with the correct timezone
yairarbib
yairarbibOP•5mo ago
I can't😭
Skullians
Skullians•5mo ago
why?
yairarbib
yairarbibOP•5mo ago
It broke
No description
Skullians
Skullians•5mo ago
yes, run it again with a correct timezone then I assume gmt+3 is in the Other category, which do not work
yairarbib
yairarbibOP•5mo ago
What don't you get when i rerun the command it shows this
Skullians
Skullians•5mo ago
was gmt+3 in the other section on that site
yairarbib
yairarbibOP•5mo ago
Yes
Skullians
Skullians•5mo ago
As I said before, anything in there won't work you need to choose one from another category
Skullians
Skullians•5mo ago
from any of the ones inside these
No description
yairarbib
yairarbibOP•5mo ago
It doesn't let me run any php artisan command now it just shows this Ok i will keep my promise i am backing up everything i need and reinstalling the operating system What operating system should i switch to?
Skullians
Skullians•5mo ago
why should you change operating system? choose your region If you don't see your city, choose one that is near you that you know of There's no need to do this You aren't specifying a correct timezone because you're using one from the Other category You should be using a timezone from one of these categories (whichever is suitable for you)
yairarbib
yairarbibOP•5mo ago
I can't change it!!!!
Skullians
Skullians•5mo ago
choose a timezone that is similar to yours!
yairarbib
yairarbibOP•5mo ago
Ok tell me how to change it!!! I told you it shows me this when i rerun it!!!!!!!
Skullians
Skullians•5mo ago
does it prompt you for a timezone? when you run the command? or does it immediately error
Eternal
Eternal•5mo ago
what a shitshow @yairarbib if you aren't able to install this without someone holding your hand through it, you shouldn't install it pufferpanel is a good alternative and it's very easy to install
yairarbib
yairarbibOP•5mo ago
Instantly errors
Eternal
Eternal•5mo ago
instantly ignored well played lad!
Skullians
Skullians•5mo ago
nano /var/www/pterodactyl/.env see what APP_TIMEZONE says should be near the top
yairarbib
yairarbibOP•5mo ago
Thx Next problem: Connection refused [tcp://127.0.0.1:6379]
Eternal
Eternal•5mo ago
^
Kiai
Kiai•5mo ago
Eternal is level 21 and has 3652 XP. They need a total of 3895 XP to reach level 22. Eternal is #19 on the leaderboard.
Eternal
Eternal•5mo ago
bruh
yairarbib
yairarbibOP•5mo ago
I think i found a solution
Skullians
Skullians•5mo ago
Is redis running?
Deathpacito
Deathpacito•5mo ago
I salute your patience damn
Torrent
Torrent•5mo ago
@yairarbib started a very similar thread in the minehut discord and exhibited the same level of laziness and uncooperative behavior towards the people trying to help him
yairarbib
yairarbibOP•5mo ago
What? No i finished it its working I just don't know the password
Torrent
Torrent•5mo ago
I think you should take a step back and do some reading online on the best ways to ask for help. https://00.wtf/ https://dontasktoask.com Overall: don’t be lazy and read the output of commands you run. Share the output and what you tried to do, where you got stuck, and what specific issues you are having instead of getting others to do all the work for you
Seriously?
Please don't just say hello, ping, complain, ask empty questions or just make a ticket with no content - It doesn't help anyone!
Torrent
Torrent•5mo ago
Stack Overflow
How do I ask a good question? - Help Center
Stack Overflow | The World’s Largest Online Community for Developers
Skullians
Skullians•5mo ago
read the docs, you have to make your own user there's a simple command for it
yairarbib
yairarbibOP•5mo ago
Now i need to configure the wings first and i need the admin password which i forgot oh i did a randomly generated one how do i find it?
Skullians
Skullians•5mo ago
the admin password of what? the pterodactyl account, or the superuser of the OS itself
Amelia
Amelia•5mo ago
I aint even helping and it's getting on my nerves :dead:
yairarbib
yairarbibOP•5mo ago
Is it the APP_KEY?
Skullians
Skullians•5mo ago
you lost the password for superuser?
yairarbib
yairarbibOP•5mo ago
Wait the super user is the machine's password?
Skullians
Skullians•5mo ago
try it
yairarbib
yairarbibOP•5mo ago
Ik the machine's password I will try the app_key for the panel
Skullians
Skullians•5mo ago
why do you need the app_key the app key is for pterodactyl not the OS machine superuser
yairarbib
yairarbibOP•5mo ago
I need this:
No description
Skullians
Skullians•5mo ago
Getting Started | 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.
Skullians
Skullians•5mo ago
even if you've already ran it, you can do it again
yairarbib
yairarbibOP•5mo ago
I think i broke it(i changed the app_key)
Skullians
Skullians•5mo ago
... why this is why you always read the docs
yairarbib
yairarbibOP•5mo ago
It didn't say anything about where the random generated password is Well i better start backing up what i need And reset everything Like its not even that hard to setup the panel
ProGamingDk
ProGamingDk•5mo ago
ptero doesnt do that? the only thing that matters that automatically generates is the app key
Eternal
Eternal•5mo ago
so why don't you.. do it yourself?
Tamz
Tamz•5mo ago
Says the one who was complaining about it

Did you find this page helpful?