posts/pterodactyl-game-server/ #204
Replies: 28 comments 31 replies
-
Hi Tim Would you be able to share your reverse proxy setting for this. Thank you |
Beta Was this translation helpful? Give feedback.
-
Thank you!
|
Beta Was this translation helpful? Give feedback.
-
I'm currently trying to get both the panel and the wings running on the same server (because...why would I need two servers for that 😅) by combining the two docker-compose files but I somehow can't get it to work (also behind traefik that is). - traefik.http.services.heimdall.loadbalancer.server.port=80 Since the video is a simplified version (not using traefik), are you exposing any ports in your "production" deployment of pterodactyl with traefik? |
Beta Was this translation helpful? Give feedback.
-
Hello Tim, a small error has crept into your documentation. Under 'Create a User' you forgot the last letter in make It should be docker-compose run --rm panel php artisan p:user:make |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, Regards, Rick |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Hey, the docker image for pterodactyl seems to be broken, inside the container netstat showed nothing listening on port 443. |
Beta Was this translation helpful? Give feedback.
-
Hi Tim! Thanks in advance for your reply. |
Beta Was this translation helpful? Give feedback.
-
I am trying to merge the knowledge from both your videos together (about how to install traefik with wildcard certificates and this one), with some other sources sprinkled in. But I am having huge issues though. Would be awesome to have one video setting up a gameserver from start to finish with all necessary VMs, docker, traefik, portainer. Right now I am stuck since the panel uses the same 443 port as the traefik container ("Bind for 0.0.0.0:443 failed: port is already allocated"). -.- |
Beta Was this translation helpful? Give feedback.
-
I am having the following issue with a new install and using the above docker-compose. Has anyone seen this issue? I have not changed anything other than the password. I have tried this on a Fedora server and Ubuntu server and see the same issue |
Beta Was this translation helpful? Give feedback.
-
Running into an issue with this binding the volumes directory. I've tried changing the UID and GUID used in the compose file for the wings but when you install a server it pulls the image and then says that the volume can't be found and throws an error about the bind container@pterodactyl~ Error Event [290f1afb-ec64-48c8-a73b-6485f54ae532]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/lib/pterodactyl/volumes/c2892941-51b9-4910-929b-6bda356ca375 The crazy part is that everything else is working fine and the volume directory is present and the permissions seem to be correct as well but I'm lost as to why this is failing. I've uninstalled and reinstalled docker 4 times now, purged the images and compose scripts and started this process fresh more times than I can count thinking that maybe I missed something along the way but still get the same result here. I initially ran into issues with the default ubuntu firewall and had to remove all of that because the ports wouldn't respond at all. I'll lock that down again once I get things working but otherwise I'm just stuck here at the moment. |
Beta Was this translation helpful? Give feedback.
-
In my case panel and Wings are on the same machine, in two different containers. The way docker-compose is set up both use port 443 and of course the containers don't start because port 443 can't be associated with two containers at the same time. how can I solve this? |
Beta Was this translation helpful? Give feedback.
-
I am having an issue with the deployment of the panel. I added the server to my traefik config in order to connect via a custom domain. When using the domain I designated I get a bad gate way issue. when connecting to to the panel via the IP it will connect and i can sign in. However when I navigate to the setting tab I get a connection refused error. Not really sure what I am doing wrong. |
Beta Was this translation helpful? Give feedback.
-
Hoping I could get some guidance on setup. I'm struggling to get the panel stood up to start and am getting the following in the panel logs. Thanks in advance! -------------------LOG OUTPUT BELOW------------------- ln: /app/storage/logs/logs: File exists SQLSTATE[HY000] [1045] Access denied for user 'pterodactyl'@'172.50.0.5' (u In Connector.php line 70: SQLSTATE[HY000] [1045] Access denied for user 'pterodactyl'@'172.50.0.5' (u Starting cron jobs. |
Beta Was this translation helpful? Give feedback.
-
It doesn't work no matter what I do. I've followed so many different paths just to get absolutely nothing at all. its useless. Tim skips steps and brushes off important things and expects you to figure it out. I've been at this for 3 whole days with nothing to show for it. I've tried everything I could think of and nothing is working at all. |
Beta Was this translation helpful? Give feedback.
-
I really wish I could get this working. I can't get Let's Encrypt to actually validate my domain, even though it works fine for everywhere else, I think that the Let's Encrypt issue is likely causing my connections issues because I can't even load the panel. From what I've seen, the installation of this tool is godawful. I've spent over a day going between different install guides (even using several provided on their website) and searching around their Discord. From what I've seen the devs just refuse to help with any kind of installation problems and immediately close issues without offering any help or advice. When they do deign to reply, it's normally to insult users and tell them to stop trying to install their software. I'm sure this is a tool that works fine, when you can get it working, but nothing surrounding this entire experience, including your advice here, has been helpful or positive. |
Beta Was this translation helpful? Give feedback.
-
i came here to ask/point out, why in your wings compose file do you have the image on a static version of 1.6.1 ? so currently its on,
why not ,
is there a reason for this ? |
Beta Was this translation helpful? Give feedback.
-
Hello, I was searching around the community but i didn't find an answer so im going to ask here to see if someone can explain me what im doing wrong im getting this error after following the tutorial https://technotim.live/posts/pterodactyl-game-server/ and https://www.youtube.com/watch?v=_ypAmCcIlBE https://cdn.junny2233.xyz/mafE3/riZuteLU44.png/raw `This software is made available under the terms of the MIT license. INFO: [Jul 2 22:42:31.868] loading configuration from file config_file=/etc/pterodactyl/config.yml Stacktrace: Network i only have are: i have 1 dedicated server im using cloudflared tunnels (im using CLI mode because docker container cloudflared doesnt really work or is not really compatible with all application/containers.) i only have a nginx, xbackbones and portainer what i just noticed if i run the https://cdn.junny2233.xyz/mafE3/riZuteLU44.png/raw https://junny2233.link/ZkTGnsUP/panel-docker-compose.yml https://junny2233.link/jbWAtTKg/wings-docker-compose.yml thank you. |
Beta Was this translation helpful? Give feedback.
-
So, I, probably like a few of you, was having some issues. I wanted to put this on the same server I was running the reverse proxy from, in the one I created from the guide linked above. Many issues arrived from this due to it needing the same ports. I couldn't open them for it to communicate to the proxy network, and if I manually added the panel, it would need to be readded every update/reboot. You can't even change the network at the bottom of the docker compose to use proxy, as it was ignoring that and creating it's own. What I ended up finding was this: you can add BOTH networks to the docker compose, and specify the panel to connect to the proxy network as well. Here: ...
panel:
image: ghcr.io/pterodactyl/panel:latest
restart: always
# Commenting this out, as is on the same device (and now network) as the reverse proxy -Gin
# ports:
# - "80:80"
# - "443:443"
links:
- database
- cache
volumes:
- "/srv/pterodactyl/var/:/app/var/"
- "/srv/pterodactyl/nginx/:/etc/nginx/http.d/"
- "/srv/pterodactyl/certs/:/etc/letsencrypt/"
- "/srv/pterodactyl/logs/:/app/storage/logs"
environment:
<<: [*panel-environment, *mail-environment]
DB_PASSWORD: *db-password
APP_ENV: "production"
APP_ENVIRONMENT_ONLY: "false"
CACHE_DRIVER: "redis"
SESSION_DRIVER: "redis"
QUEUE_DRIVER: "redis"
REDIS_HOST: "cache"
DB_HOST: "database"
DB_PORT: "3306"
# This specifies Panel to join both the default and proxy network - Gin
networks:
- default
- proxy
networks:
# changing to proxy network here doesn't work - Gin
default:
ipam:
config:
- subnet: 172.20.0.0/16
proxy:
external: true |
Beta Was this translation helpful? Give feedback.
-
hey, after running "sudo docker-compose up -d --force-recreate" i get these mesage |
Beta Was this translation helpful? Give feedback.
-
Hey, awesome post and great video first and foremost! I'd like to know if you've discovered a way to easily put game server containers (deployed by the wing agent) behind traefik. Because everytime I deploy a new game server (minecraft, rust, gmod, etc...), it can only be accessed through the ip address and port, but I'd like to remove the port mapping and instead force it to use the traefik reverse proxy. Thx in advance! |
Beta Was this translation helpful? Give feedback.
-
Hi, i'm using Traefik for load balancing and pterodactyl, wings on the same machine.
I have portainer running in another container and mapped by traefik and it works well (with approximately the same labels config). But Ptero won't work and tells me Bad gateway.. Is it a port mapping issue ? |
Beta Was this translation helpful? Give feedback.
-
I am stuck with a red heart. I have plenty of other things running on my server so 443 was not available. I changed it to 444 on the outside of the container, how would that impact everything that follows? Would the Daemon port need to be 444? What else would be good to double check to make it work? |
Beta Was this translation helpful? Give feedback.
-
How do I do this without a reverse proxy? When I follow the steps I have no web ui running on my network? |
Beta Was this translation helpful? Give feedback.
-
Great documentation! Permission denied. How can this be resolved? |
Beta Was this translation helpful? Give feedback.
-
I finally managed to get this to work.. I had to point my local DNS at Traefik for both Pterodactyl and wings.. Then the green heart showed up. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone. I followed the documentation as described in the guide with the only difference being that I used the HA-Proxy package in pfSense as my reverse proxy. Setting this up initially, I ran into issues getting the panel to connect to the wings agent. I kept getting a CORS errors and warnings about missing packet headers. After some troubleshooting, I turned to google, which led me to a reddit thread that suggested going into my HA-Proxy backend (Services/HAProxy/Backend/Edit) that was handling the wings traffic and simply disabling the Encrypt(SSL) setting in the server list. I did that and sure enough it just started working. Im guessing it has something to do with not needing a certificate for the daemon connection since its not HTTPS traffic. Whatever the reason, it wasnt at all obvious to me at the time, so I wanted to comment here for next time I need to set this up with this guide. (Oh and I guess for anyone else here that this may help...) |
Beta Was this translation helpful? Give feedback.
-
im not sure if youre still responding but i could use some help, after setting up the config and restarting wins i get this error FATAL: [May 10 10:05:08.045] failed to configure docker environment error=Error response from daemon: Pool overlaps with other one on this address space Stacktrace: |
Beta Was this translation helpful? Give feedback.
-
posts/pterodactyl-game-server/
Documentation for Techno Tim YouTube videos for all your copy pasta needs!
https://techno-tim.github.io/posts/pterodactyl-game-server/
Beta Was this translation helpful? Give feedback.
All reactions