#I cant access any directory in pterodactyl panel

51 messages · Page 1 of 1 (latest)

restive sedge
#

I have already used the panel before with Cloudflare Tunnel and everything worked fine. However, I decided to install Proxmox and use a VM.
I installed the panel, Wings, and Nginx according to the documentation and configured Cloudflare again, just like I had done before Proxmox.
Everything is working as it should, the node is online, Wings has no errors, etc. but I cannot access any server directory through the panel. When I try to access it, it visually loops into the same folder, but I am still at the home (loop like this: /home/container/mods/mods/mods).
Also, when I try to edit any file, such as server.properties, I get the error:
‘Something went wrong.
The file field is required.’

restive sedge
#

help?

restive sedge
#

Im gettin this error in wings --debug...

#

can someone help me?

wooden marlinBOT
#

Please explain the issue you're experiencing in as much detail as possible. Preferably with error messages in a text format or paste link to logs. Nobody can assist you without information that helps to understand the issue. Help us help you. Messages such as "doesn't work" or "i need help" will most likely be ignored.

restive sedge
#

I have already used the panel before with Cloudflare Tunnel and everything worked fine. However, I decided to install Proxmox and use a VM.
I installed the panel, Wings, and Nginx according to the documentation and configured Cloudflare again, just like I had done before Proxmox.
Everything is working as it should, the node is online, Wings, etc. but I cannot access any server directory through the panel. When I try to access it, it visually loops into the same folder, but I am still at the home (loop like this: /home/container/mods/mods/mods).
Also, when I try to edit any file, such as server.properties, I get the error:
‘Something went wrong.
The file field is required.

maiden galleon
#

Proxmox likely uses a different type of filesystem mapping

restive sedge
#

what i can do?

wooden marlinBOT
#

You'll need to grab the error logs from the Panel. The following command uploads the last 150 lines of this day's log to our pastebin and provides a link you can share.
tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

#

You'll need to grab error logs for Wings and share the link with us. The following command will help you collect the required information for debugging: sudo wings diagnostics

maiden galleon
#

grab these for me

#

It may also be a wings issue

restive sedge
maiden galleon
#

Yikes

#

I had that same issue with my hosting panel

#

Can you ls that logs directory

#

And use that same tail command except put the latest date there

restive sedge
maiden galleon
#

[2026-02-01 05:53:08] production.ERROR: GuzzleHttp\Exception\ServerException: Server error: GET https://nodes.terranovaprods.xyz/api/servers/0d16b000-2f53-4288-835b-37fbf39c1544/files/list-directory?directory=%2F resulted in a 502 Bad Gateway response:
error code: 502
in /var/www/pterodactyl/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:11

wooden marlinBOT
#

You will normally see 502 bad gateway error when php-fpm can't be reached by your web server. This can be due to a wrong path, it not running or wrong permissions. Confirm that it is running and using the correct php-fpm version in the config pterodactyl.conf file. It would be attempting to use PHP 8.3 by default. When using other PHP versions, make sure to change the php-fpm version in your config to match your used PHP version.

Not sure where to find the server block file? Type .webconf and I will respond with more instructions. Web server error logs can provide additional details.

#

Your server block file would be located by default at /etc/nginx/sites-available/pterodactyl.conf OR /etc/apache2/sites-available/pterodactyl.conf depending on what web server you are using.


CentOS paths would be at /etc/nginx/conf.d/pterodactyl.conf OR /etc/apache2/sites-available/pterodactyl.conf.

maiden galleon
#

You might also need to check that you set the web folder perms correctly

restive sedge
#

how? :/

maiden galleon
#

Ahh

#

Let me check pterodactyl docs

restive sedge
#

sry xD

#

ty

maiden galleon
#

Uh

#

Yeah

#

chown -R www-data:www-data /var/www/pterodactyl/*

#

also

#

php -v

restive sedge
#

8.3

maiden galleon
#

Then there shouldn't be a problem with php fpm

restive sedge
#

i have to describe that is .3.30 in the running line?

maiden galleon
#

Nah

#

Do you selfhost this, or is this on a vm

#

Either way, check to see if your public IP changed

#

That was my issue

#

If it changed, just replace your dns with the updated IP

#

You can find your public IP by doing curl -4 icanhazip.com

restive sedge
maiden galleon
#

Hm

#

Idk then

#

Sorry

restive sedge
#

np <3

chilly hollow