Pterodactyl Panel Install & Configure on Unraid using DOCKER (2021)


Recommended Posts

On 6/1/2022 at 7:37 PM, workermaster said:

I was looking for a way to get Space Engineers running on Unraid, and saw that this should be possible with Pterodactyl. I followed this video: 

and managed to install the database and other containers. I am now stuck at the point where I need to connect to my node. Instead of the green heart in the video, I get the red one and a message in the browser console that it can't connect. I have tried multiple different ports in the config.yml file, but do not know what it wrong. 

 

Could anyone please help me troubleshoot what went wrong and why I can't connect to the node? Please let me know what files/configurations you need a screenshot of. 

I had the similar issue. It didn't work untill i added the custom docker network configuration in the config.yml.

Have you added that part? 

 

https://docs.ibracorp.io/pterodactyl-docker-1/#creating-your-node

Link to comment

And for me. I been running into issues again.

 

Issue 1: For some reason, i cannot find my game servers via LAN browsers. This happens for both Ark and Factorio. Have not tested with others. Direct IP connections work fine. But since i want to use clusters for ARK, it would be very nice to have them see eachother. (dino / item transfers work fine, so its not a config on the server side).

Issue 2: For Atleast ARK, i am not able to download all the mods i'd like. Currently have 7 set in the .ini files, of which 2 fail to download. It doesn't even seem to attempt to do it anymore. The mods in question are Structures+ and Castle & Keeps Remastered. Even when copying them directly via SFTP or filemanager to the server, they do not get loaded. These 2 mods in particular also cannot seem to be extracted via the file manager when i upload them as zip files. While other (largers) mods seem to have no issue.

 

As a test, i've set up a windows VM and used Ark Server Manager to run a test server on it in the same subnet as the dockers should be in. Here i do not experience issue 1 or 2. So it is specific to the pterodactyl install (on unraid).

 

I am aware there are multiple factors at play. I hope i can get some support on this.

 

--- update ---

in regards to issue 1. i've found that changing the config.yml file to use host instead of pterodactyl_nw for network name, driver and network_mode 'solves' the lan browser issue. Hopefully someone can 'fix' this bit.

Edited by Caennanu
Link to comment
On 6/2/2022 at 4:37 AM, Groto said:

Question... I am new to pterodactyl and I realize it will create these bogus looking images that we just need to leave alone... but why does it say apply update to each one? I wouldn't want to do that correct? My panel and daemon containers are up to date. Thanks

 

image.png.ca1e025834ebd7b5637e1e85f00597e3.png

Correct, even if you try to apply the update, it won't update. It will throw you an error in the lines of saying 'was this created thru a plugin'? 

They will update automatically, if set correctly via the panel.

 

On 6/2/2022 at 4:57 AM, Groto said:

Also another question... my cpu/ram usage and other graphs all show zero. Any ideas? Thanks

 

image.thumb.png.19c0c1cc1fba5db291a05632883fdb3d.png

I have the exact same. Also when running 'docker stats' from the unraid commandline, you will see that the containers made by pterodactyl all report '0'.

So long as they report 0 in the commandline from unraid, the deamon will do exactly the same. 

Link to comment
1 hour ago, Caennanu said:

I had the similar issue. It didn't work untill i added the custom docker network configuration in the config.yml.

Have you added that part? 

 

https://docs.ibracorp.io/pterodactyl-docker-1/#creating-your-node

I managed to fix it with the help of the Ibracorp discord. In my case, there were multiple wrong ports. I do not use a custom Docker network. I now have decided to use Cloudflare and Nginx as well. 

 

 

Unfortunately, my pterodactyl install won't install any servers. It just does nothing, and doesn't give an error message. Kind of frustrating to go trough all of this, since the only thing I want from it, is a working Space engineers install. I don't even know if that will work in pterodactyl on Unraid. 

Link to comment
25 minutes ago, workermaster said:

I managed to fix it with the help of the Ibracorp discord. In my case, there were multiple wrong ports. I do not use a custom Docker network. I now have decided to use Cloudflare and Nginx as well. 

 

 

Unfortunately, my pterodactyl install won't install any servers. It just does nothing, and doesn't give an error message. Kind of frustrating to go trough all of this, since the only thing I want from it, is a working Space engineers install. I don't even know if that will work in pterodactyl on Unraid. 

ha! well, i can confirm it works in pterodactyl. But you might be better off hosting it from a VM instead.

If that is the only thing you want to host. Pterodactyl is more aimed at hosting multiple services at once, while keeping a low profile in terms of resources.

Link to comment
1 hour ago, Caennanu said:

ha! well, i can confirm it works in pterodactyl. But you might be better off hosting it from a VM instead.

If that is the only thing you want to host. Pterodactyl is more aimed at hosting multiple services at once, while keeping a low profile in terms of resources.

I am currently hosting it in a VM and it is wreaking havoc on my server. The VM only has 2 cores assigned to it since I can't spare any more, and the game lags and stutters like crazy. My hope was that with Pterodacty, I could give it more cores, since I wouldn't need to reserver a few cores for a VM. My plan is also to add other servers to Pterodactyl. I am currently running Wreckfest, Satisfactory, Terraria, OpenRCT2 and Valheim as Dockers. I know that Wreckfest might be a bit difficult to get working in Pterodactyl, but if that is the only that doesn't work in it, then it won't be a dealbreaker for me. 

Link to comment

Is anyone able to help with this error I am getting from the pterodactyl Daemon.

 

ERROR: [Jun 12 09:49:05.975] failed to complete server re-install process error=Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /mnt/user/pterodactyl-node/data/94163d68-1be6-422a-93be-605aee16c962 server=94163d68-1be6-422a-93be-605aee16c962


Stacktrace:
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /mnt/user/pterodactyl-node/data/94163d68-1be6-422a-93be-605aee16c962

 

The folder and location it is referring to do exist and it does have access as it actually created the 94163d68-1be6-422a-93be-605aee16c962 folder right before spitting out the error, this happens with any server I try to setup using both the Ibracorp docker template and the official one.

 

Thanks in advanced for any suggestions.

Link to comment
5 minutes ago, Joe L said:

Is anyone able to help with this error I am getting from the pterodactyl Daemon.

 

ERROR: [Jun 12 09:49:05.975] failed to complete server re-install process error=Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /mnt/user/pterodactyl-node/data/94163d68-1be6-422a-93be-605aee16c962 server=94163d68-1be6-422a-93be-605aee16c962


Stacktrace:
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /mnt/user/pterodactyl-node/data/94163d68-1be6-422a-93be-605aee16c962

 

The folder and location it is referring to do exist and it does have access as it actually created the 94163d68-1be6-422a-93be-605aee16c962 folder right before spitting out the error, this happens with any server I try to setup using both the Ibracorp docker template and the official one.

 

Thanks in advanced for any suggestions.

What Unraid version are you using? I had that problem in 6.10.2 because of wrong permissions. Also check the paths in your config

Link to comment
46 minutes ago, workermaster said:

What Unraid version are you using? I had that problem in 6.10.2 because of wrong permissions. Also check the paths in your config

I'm using unraid 6.9.2 probably time to update but don't want to break any of the other dockers which are working by updating.

 

My unraid mounts on the docker config page are:

 


0.0.0.0:8080/TCP0.0.0.0:8085	
/etc/pterodactyl    ->   /mnt/user/pterodactyl-node/Etc/
/var/run/docker.sock   ->   /var/run/docker.sock
/mnt/user/pterodactyl-node/data  ->   /mnt/user/pterodactyl-node/Data/
/tmp/pterodactyl  ->  /tmp/pterodactyl

 

My config.yml file paths are

 

  root_directory: /mnt/user/pterodactyl-node/data
  log_directory: /var/log/pterodactyl
  data: /mnt/user/pterodactyl-node/data
  archive_directory: /mnt/user/pterodactyl-node/data/archives
  backup_directory: /mnt/user/pterodactyl-node/data/backups
  tmp_directory: /tmp/pterodactyl
  username: pterodactyl
  timezone: Europe/London

 

I added the additional /mnt/user/pterodactyl-node/data to unraid in an attempt to get rid of the error by adding the exact path it was asking for but this has not made any difference.

 

I know this is almost certainly some little oversight on my part but I cannot see it anywhere.

 

Thanks for any suggestions.

 

 

 

 

Link to comment
27 minutes ago, Joe L said:

I'm using unraid 6.9.2 probably time to update but don't want to break any of the other dockers which are working by updating.

 

My unraid mounts on the docker config page are:

 


0.0.0.0:8080/TCP0.0.0.0:8085	
/etc/pterodactyl    ->   /mnt/user/pterodactyl-node/Etc/
/var/run/docker.sock   ->   /var/run/docker.sock
/mnt/user/pterodactyl-node/data  ->   /mnt/user/pterodactyl-node/Data/
/tmp/pterodactyl  ->  /tmp/pterodactyl

 

My config.yml file paths are

 

  root_directory: /mnt/user/pterodactyl-node/data
  log_directory: /var/log/pterodactyl
  data: /mnt/user/pterodactyl-node/data
  archive_directory: /mnt/user/pterodactyl-node/data/archives
  backup_directory: /mnt/user/pterodactyl-node/data/backups
  tmp_directory: /tmp/pterodactyl
  username: pterodactyl
  timezone: Europe/London

 

I added the additional /mnt/user/pterodactyl-node/data to unraid in an attempt to get rid of the error by adding the exact path it was asking for but this has not made any difference.

 

I know this is almost certainly some little oversight on my part but I cannot see it anywhere.

 

Thanks for any suggestions.

 

 

 

 

Just tried to install a new server after a restart I have attached a screenshot showing the error & that it has infact made the folder... this has me mind boggled.

 

 

error - 2.png

Link to comment
59 minutes ago, Joe L said:

Just tried to install a new server after a restart I have attached a screenshot showing the error & that it has infact made the folder... this has me mind boggled.

 

 

error - 2.png

I do not know how to troubleshoot this any further. Sorry, but I have very little experience with this. I can recommend to join the Ibracorp Discord server and post your problem in the "Docker" channel. That is the same channel where I posted my problems, and they were very helpfull.

 

In my case I had permission issues on 6.10.2. Tried a testserver with the same Unraid version and had the same problems. Then tried a testserver with 6.9.2 and it worked first try.

Link to comment
On 6/1/2022 at 10:57 PM, Groto said:

Also another question... my cpu/ram usage and other graphs all show zero. Any ideas? Thanks

 

image.thumb.png.19c0c1cc1fba5db291a05632883fdb3d.png

This is due to a bug in docker itself, according to this github issue: https://github.com/pterodactyl/panel/issues/3999
the bug in docker has been patched, but you'll have to wait for the next unraid update where they update the docker version.

If you need it right now, it still works on unraid 6.9.2

Edited by fizzyfrys
Link to comment
  • 1 month later...
11 hours ago, jjbrunton said:

Has anyone managed to get the scheduler working for this? I can't run scheduled backups etc.

I've reported the issue on github but unfortunately it received zero attention. It requires an edit to the unraid template or the addition of a new one. 

Edited by Maelstromeous
Link to comment
2 minutes ago, Maelstromeous said:

I've reported the issue on github but unfortunately it received zero attention. It requires an edit to the unraid template or the addition of a new one. 

We support a lot of documentation. We may not know the solution, so you're welcome to submit a PR that we can easily merge if you know how to resolve the issue

Link to comment
  • 3 months later...

Has anyone using Pterdactyl Panel in Unraid tried install addons?

For example, there are a lot of various add-ons from https://pterodactylmarket.com/.  However, for the one I am trying to install "User Avatar Changer" the install instructions are not based on a Unraid Docker install.

 

Here is the install instructions from the "User Avatar Changer addon":

First you need to upload the content of panelfiles folder to /var/www/pterodactyl.

Now edit panel files

1 - In routes/api-client.php above "Route::put('/email', [Client\AccountController::class, 'updateEmail'])->name('api:client.account.update-email');" add :

    Route::post('/avatar', [Client\AvatarController::class, 'store']);
    Route::get('/avatar', [Client\AvatarController::class, 'get']);
    Route::delete('/avatar', [Client\AvatarController::class, 'remove']);

2.0 - In resources/scripts/components/dashboard/AccountOverviewContainer.tsx above "</Container>" add :

        <ContentBox css={tw`md:ml-8 mt-8 md:mt-0`} title={'Change Account Avatar'} showFlashes={'account:avatar'}>
          <UploadAvatarForm />
        </ContentBox>

2.1 - In same file under all import line add :

import UploadAvatarForm from '@/components/dashboard/forms/UploadAvatarForm';

If you don't have yarn install it :

apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
apt -y install nodejs
cd /var/www/pterodactyl
npm i -g yarn
yarn install

And build the panel assets :

yarn build:production
chown -R www-data:www-data *

Add Laravel storage syslink :

php artisan storage:link

 

Hence, I was interested to know if anyone has tried tweaking and tried installing add-ons beyond the base Pterdactyl Panel install/configuration?  If so, I would be interested to know how, based what addon was installed. 

Edited by iserrano
Link to comment

Here is a configuration I wrote for SWAG, based on the one @beep wrote previously.

I will try to submit it to SWAG as a sample so people can use it in the future!

Make sure to edit yourdomain.com and  your-unraid-lan-ip when using this!

 

## Version 2022/11/25

# This is a configuration for IBRACORP’s setup of Pterodactyl

# It assumes you have the panel configured on port 8001

# It assumes you have the node configured on port 8181

# This will enable a proper connection to Cloudflare

# However the SSL security of the connection is not fully granted

# This is likely SSL must be enabled for both the panel and then node

# from the side of pterodactyl to fully support this.

 

#pterodactyl panel

server {

        listen 80;

        server_name panel.*;

        return 301 https://panel.yourdomain.com$request_uri;

        }

server {

        listen 443 ssl http2;

        server_name  panel.*;

        add_header X-Frame-Options "SAMEORIGIN" always;

        include /config/nginx/ssl.conf;

        add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";

 

        location / {

                include /config/nginx/proxy.conf;

                proxy_pass http://your-unraid-lan-ip:8001;

                }

        }

 

#pterodactyl node

server {

        listen 80;

        server_name node.*;

        return 301 https://node.yourdomain.com$request_uri;

        }

server {

        listen 443 ssl http2;

        server_name  node.*;

        add_header X-Frame-Options "SAMEORIGIN" always;

        include /config/nginx/ssl.conf;

        add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";

 

        location / {

                include /config/nginx/proxy.conf;

                proxy_pass http://your-unraid-lan-ip:8181;

                }

        }

  • Like 1
Link to comment
  • 2 weeks later...

I cant get the daemon to connect to the panel.
i use a separate vlan for dockers. 192.168.4.xxx

Panel: 192.168.4.17 Port 80
Daemon: 192.168.4.19 port 8080

I use SWAG and @vast config above, but changed the port-numbers.
 

#pterodactyl panel

server {

        listen 80;

        server_name panel.*;

        return 301 https://panel.XXXXX.se$request_uri;

        }

server {

        listen 443 ssl http2;

        server_name  panel.*;

        add_header X-Frame-Options "SAMEORIGIN" always;

        include /config/nginx/ssl.conf;

        add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";



        location / {

                include /config/nginx/proxy.conf;

                proxy_pass http://192.168.4.17:80;

                }

        }



#pterodactyl node

server {

        listen 80;

        server_name node.*;

        return 301 https://node.XXXXX.se$request_uri;

        }

server {

        listen 443 ssl http2;

        server_name  node.*;

        add_header X-Frame-Options "SAMEORIGIN" always;

        include /config/nginx/ssl.conf;

        add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";



        location / {

                include /config/nginx/proxy.conf;

                proxy_pass http://192.168.4.19:8080;

                }

        }


I have no problems with the panel, i can access panel.xxxx.se but the daemon cant connect to it.
 

FATAL: [Dec  3 23:58:26.662] failed to load server configurations error=http: request creation failed: Get "https://panel.XXXXX.se/api/remote/servers?page=0&per_page=50": context deadline exceeded (Client.Timeout exceeded while awaiting headers)


They can ping each other
 

# docker exec -it pterodactyl-daemon /bin/sh
/var/lib/pterodactyl # ping 192.168.4.17
PING 192.168.4.17 (192.168.4.17): 56 data bytes
64 bytes from 192.168.4.17: seq=0 ttl=64 time=0.385 ms
64 bytes from 192.168.4.17: seq=1 ttl=64 time=0.032 ms
64 bytes from 192.168.4.17: seq=2 ttl=64 time=0.134 ms
--- 192.168.4.17 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.032/0.183/0.385 ms

# docker exec -it pterodactyl-panel /bin/sh
/var/www/html # ping 192.168.4.19
PING 192.168.4.19 (192.168.4.19): 56 data bytes
64 bytes from 192.168.4.19: seq=0 ttl=64 time=0.293 ms
64 bytes from 192.168.4.19: seq=1 ttl=64 time=0.042 ms
64 bytes from 192.168.4.19: seq=2 ttl=64 time=0.130 ms
--- 192.168.4.19 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.042/0.155/0.293 ms

 
This is my config.yml
 

debug: false
uuid: XXXXXXXXXXXXXX
token_id: XXXXXXXXXXXXX
token: XXXXXXXXXXXXXXXXXX
api:
  host: 0.0.0.0
  port: 8080
  ssl:
    enabled: false
    cert: /mnt/user/appdata/swag/keys/letsencrypt/fullchain.pem
    key: /mnt/user/appdata/swag/keys/letsencrypt/privkey.pem
  upload_limit: 100
system:
  data: /mnt/user/pterodactyl-node/data
  sftp:
    bind_port: 2022
allowed_mounts: []
remote: 'https://panel.XXXX.se'

 

Link to comment
On 12/4/2022 at 12:15 AM, capt.shitface said:

I cant get the daemon to connect to the panel.
i use a separate vlan for dockers. 192.168.4.xxx

Panel: 192.168.4.17 Port 80
Daemon: 192.168.4.19 port 8080

I use SWAG and @vast config above, but changed the port-numbers.
 

#pterodactyl panel

server {

        listen 80;

        server_name panel.*;

        return 301 https://panel.XXXXX.se$request_uri;

        }

server {

        listen 443 ssl http2;

        server_name  panel.*;

        add_header X-Frame-Options "SAMEORIGIN" always;

        include /config/nginx/ssl.conf;

        add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";



        location / {

                include /config/nginx/proxy.conf;

                proxy_pass http://192.168.4.17:80;

                }

        }



#pterodactyl node

server {

        listen 80;

        server_name node.*;

        return 301 https://node.XXXXX.se$request_uri;

        }

server {

        listen 443 ssl http2;

        server_name  node.*;

        add_header X-Frame-Options "SAMEORIGIN" always;

        include /config/nginx/ssl.conf;

        add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";



        location / {

                include /config/nginx/proxy.conf;

                proxy_pass http://192.168.4.19:8080;

                }

        }


I have no problems with the panel, i can access panel.xxxx.se but the daemon cant connect to it.
 

FATAL: [Dec  3 23:58:26.662] failed to load server configurations error=http: request creation failed: Get "https://panel.XXXXX.se/api/remote/servers?page=0&per_page=50": context deadline exceeded (Client.Timeout exceeded while awaiting headers)


They can ping each other
 

# docker exec -it pterodactyl-daemon /bin/sh
/var/lib/pterodactyl # ping 192.168.4.17
PING 192.168.4.17 (192.168.4.17): 56 data bytes
64 bytes from 192.168.4.17: seq=0 ttl=64 time=0.385 ms
64 bytes from 192.168.4.17: seq=1 ttl=64 time=0.032 ms
64 bytes from 192.168.4.17: seq=2 ttl=64 time=0.134 ms
--- 192.168.4.17 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.032/0.183/0.385 ms

# docker exec -it pterodactyl-panel /bin/sh
/var/www/html # ping 192.168.4.19
PING 192.168.4.19 (192.168.4.19): 56 data bytes
64 bytes from 192.168.4.19: seq=0 ttl=64 time=0.293 ms
64 bytes from 192.168.4.19: seq=1 ttl=64 time=0.042 ms
64 bytes from 192.168.4.19: seq=2 ttl=64 time=0.130 ms
--- 192.168.4.19 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.042/0.155/0.293 ms

 
This is my config.yml
 

debug: false
uuid: XXXXXXXXXXXXXX
token_id: XXXXXXXXXXXXX
token: XXXXXXXXXXXXXXXXXX
api:
  host: 0.0.0.0
  port: 8080
  ssl:
    enabled: false
    cert: /mnt/user/appdata/swag/keys/letsencrypt/fullchain.pem
    key: /mnt/user/appdata/swag/keys/letsencrypt/privkey.pem
  upload_limit: 100
system:
  data: /mnt/user/pterodactyl-node/data
  sftp:
    bind_port: 2022
allowed_mounts: []
remote: 'https://panel.XXXX.se'

 


Found a problem!
The dockers have problem talk to each other, they can ping but nog Curl.
 

root@kapten:/mnt/user/pterodactyl-node# docker exec -it pterodactyl-panel /bin/sh
/var/www/html # curl https://panel.XXXX.se
^C
/var/www/html # curl https://XXXX.se
^C

/var/www/html # curl localhost
<!DOCTYPE html>
<html>
    <head>
        <title>Pterodactyl</title>

                    <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
            <meta name="csrf-token" content="RiMGnqk23AWp9psBz5Ip0Mo4ZWcbJ5ZxSsEClfht">
            <meta name="robots" content="noindex">
            <link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
            <link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
            <link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
            <link rel="manifest" href="/favicons/manifest.json">
            <link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#bc6e3c">
            <link rel="shortcut icon" href="/favicons/favicon.ico">
            <meta name="msapplication-config" content="/favicons/browserconfig.xml">
            <meta name="theme-color" content="#0e4688">

                                                <script>
                    window.SiteConfiguration = {"name":"Pterodactyl","locale":"en","recaptcha":{"enabled":true,"siteKey":"6LcJcjwUAAAAAO_Xqjrtj9wWufUpYRnK6BW8lnfn"}};
                </script>
                            <style>
            @import url('//fonts.googleapis.com/css?family=Rubik:300,400,500&display=swap');
            @import url('//fonts.googleapis.com/css?family=IBM+Plex+Mono|IBM+Plex+Sans:500&display=swap');
        </style>


            </head>
    <body class="bg-neutral-800">
                                    <div id="modal-portal"></div>
    <div id="app"></div>
                                        <script src="/assets/bundle.bb74ef08.js" crossorigin="anonymous"></script>
            </body>
</html>

/var/www/html #




Any one know how to get around that? Without custom docker networks.

Edited by capt.shitface
Link to comment
Spoiler
On 12/6/2022 at 11:10 PM, capt.shitface said:


Found a problem!
The dockers have problem talk to each other, they can ping but nog Curl.
 

root@kapten:/mnt/user/pterodactyl-node# docker exec -it pterodactyl-panel /bin/sh
/var/www/html # curl https://panel.XXXX.se
^C
/var/www/html # curl https://XXXX.se
^C

/var/www/html # curl localhost
<!DOCTYPE html>
<html>
    <head>
        <title>Pterodactyl</title>

                    <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
            <meta name="csrf-token" content="RiMGnqk23AWp9psBz5Ip0Mo4ZWcbJ5ZxSsEClfht">
            <meta name="robots" content="noindex">
            <link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
            <link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
            <link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
            <link rel="manifest" href="/favicons/manifest.json">
            <link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#bc6e3c">
            <link rel="shortcut icon" href="/favicons/favicon.ico">
            <meta name="msapplication-config" content="/favicons/browserconfig.xml">
            <meta name="theme-color" content="#0e4688">

                                                <script>
                    window.SiteConfiguration = {"name":"Pterodactyl","locale":"en","recaptcha":{"enabled":true,"siteKey":"6LcJcjwUAAAAAO_Xqjrtj9wWufUpYRnK6BW8lnfn"}};
                </script>
                            <style>
            @import url('//fonts.googleapis.com/css?family=Rubik:300,400,500&display=swap');
            @import url('//fonts.googleapis.com/css?family=IBM+Plex+Mono|IBM+Plex+Sans:500&display=swap');
        </style>


            </head>
    <body class="bg-neutral-800">
                                    <div id="modal-portal"></div>
    <div id="app"></div>
                                        <script src="/assets/bundle.bb74ef08.js" crossorigin="anonymous"></script>
            </body>
</html>

/var/www/html #




Any one know how to get around that? Without custom docker networks.

 


Im gonna keep updating this thread with my progress if some one else have the same issues!

A little progress is made!
if i use https in config.yml (remote: https://192.168.4.17)
FATAL: [Dec  8 23:11:41.640] failed to load server configurations error=http: request creation failed: Get "https://192.168.4.17/api/remote/servers?page=0&per_page=50": dial tcp 192.168.4.17:443: connect: connection refused

If i use http in config.yml (remote: http://192.168.4.17) and "Use HTTP Connection" in the panel i they can find each other!

image.thumb.png.2c9d94f297d5983ed89ecc8a01e766dd.png

Gonna continue tomorrow! 

Edited by capt.shitface
Link to comment
  • 1 month later...

Hello everyone,

I need your help! I have successfully run pterodactyl exactly according to the great instructions of IBRACORP until almost the end. Unfortunately I have problems with the console in the game server (panel). I can access and play Minecraft on this server, but all the time I get the error message "We're having some trouble connecting to your server, please wait...". I also get a 502 error message in the log for the node. Does anyone have an idea how I can solve this problem? I am using the "NginxProxyManager". Thank you already for your help.

 

grafik.thumb.png.4a93ca4e41c7e13ab77b7efd71e440f5.png

Dev-Tools ind FF shows this: Firefox cannot connect to the server at wss://xxxxxxnode.duckdns.org/api/servers/xxxxxxxx-8594-488d-86fb-c935583da9e7/ws.

 

I still have some understanding issues with forwarding ports. Currently I have the following setting:

 

Router:

TCP&UDP: 80 -> 1880 (for Nginx Proxy Manager).

TCP&UDP: 443 -> 18443 (for Nginx Proxy Manager)

 

Nginx Proxy Manager:

XXXXXX_node.duckdns.org -> 8002 (host port in wings to container port 8080)

XXXXXX_panel.duckdns.org -> 8001 (Port in panel to container port 80)

 

panel:

172.19.0.3:80/TCP <-> 192.168.0.100:8001

 

wings:

172.19.0.2:2022/TCP <-> 192.168.0.100:2022

172.19.0.2:8080/TCP <-> 192.168.0.100:8002 Is that correct?

 

XXXXXX_node.duckdns.org/ shows this message in the browser: {"error":"The required authorization heads were not present in the request."} -> So, wings seems to be reachable from the browser

 

I have already invested several hours without success and don't know what to do. Therefore I am glad about any help. Thank you very much!

Link to comment
  • 5 months later...

So... its been a while. but i'm attempting to gain acces to the files and stats of the servers externally, without using an reverse proxy.

Friends are able to connect to the panel, can see the servers. They can see the files, but when it comes to editting or viewing the console page, there is an error.

 

I have tried to open the ports for the deamon externally to no avail.

 

My thinking is that it won't work, because external users cannot use the internal docker network. Could this cause the issues where the deamon bits of the panel are not accesible?

 

If so, how would i go about 'fixing' this?

Link to comment

So to give an extra update.

I have now installed nginx and followed the written guide, aside of the fact i'm feeling like the writeup is missing something (setting up a node reverse proxy without telling the panel where to find it?), it still isn't working externally. i can acces the panel, but cannot interact with the node.

My geuss is that it is because i do not have a router that supports NAT loopback.

 

Any suggestions on how to circumvent this?  (i feel like this is the issue, but since its not in the 'assumptions' part, i cannot say with certainty).

Link to comment
On 1/27/2023 at 11:08 PM, helomen said:

Hello everyone,

I need your help! I have successfully run pterodactyl exactly according to the great instructions of IBRACORP until almost the end. Unfortunately I have problems with the console in the game server (panel). I can access and play Minecraft on this server, but all the time I get the error message "We're having some trouble connecting to your server, please wait...". I also get a 502 error message in the log for the node. Does anyone have an idea how I can solve this problem? I am using the "NginxProxyManager". Thank you already for your help.

 

grafik.thumb.png.4a93ca4e41c7e13ab77b7efd71e440f5.png

Dev-Tools ind FF shows this: Firefox cannot connect to the server at wss://xxxxxxnode.duckdns.org/api/servers/xxxxxxxx-8594-488d-86fb-c935583da9e7/ws.

 

I still have some understanding issues with forwarding ports. Currently I have the following setting:

 

Router:

TCP&UDP: 80 -> 1880 (for Nginx Proxy Manager).

TCP&UDP: 443 -> 18443 (for Nginx Proxy Manager)

 

Nginx Proxy Manager:

XXXXXX_node.duckdns.org -> 8002 (host port in wings to container port 8080)

XXXXXX_panel.duckdns.org -> 8001 (Port in panel to container port 80)

 

panel:

172.19.0.3:80/TCP <-> 192.168.0.100:8001

 

wings:

172.19.0.2:2022/TCP <-> 192.168.0.100:2022

172.19.0.2:8080/TCP <-> 192.168.0.100:8002 Is that correct?

 

XXXXXX_node.duckdns.org/ shows this message in the browser: {"error":"The required authorization heads were not present in the request."} -> So, wings seems to be reachable from the browser

 

I have already invested several hours without success and don't know what to do. Therefore I am glad about any help. Thank you very much!

i think you have the same problem as me. you do not have the option to enable hair-pin nat or nat loopback. I bet if you are on the same LAN as the server, the node elements will work just fine.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.