#Problem installing Pterodactyl panel Debian

13 messages · Page 1 of 1 (latest)

vernal maple
#

For context this is all on debain 12 server console. I am in the begining steps to installing the panel for debian. When I try to enter this command, echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list , I get back this error message "tee: /ect/apt/sources.list.d/redis.list : No Such File or directory" In the line right below this one I get "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb bookworm main" I am not sure if this is a bad message or a good message. If it is a bad one how do I fix it?

I appreciate any help I can get with this 🙂

pliant hound
vernal maple
#

i can't belive i missed that

#

I got back "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb bookworm main" Is this the message I am supposed to get back?

pliant hound
#

Well, if it only returned that, then there's no warnings or errors; I'd move on to the next step.

vernal maple
#

Thank you

pliant hound
#

np

vernal maple
#

Ran into a new problem, when running "COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader" I get this long error "Composer could not detect the root package (pterodactyl/panel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 108 installs, 0 updates, 0 removals

In Filesystem.php line 261:

/var/www/pterodactyl/vendor does not exist and could not be created:

install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
" How do I fix this problem?

gloomy carbonBOT
#

@vernal maple; You do not have enough permissions. Use sudo or alternatively root. Do not worry, you will chown the files to the web server user further in the documentation.

vernal maple
#

thanks support bot

#

how do I find and backup the encription key after doing the last installation step

vernal maple
#

New problem, (i have no clue what im doing) I get this error "php_network_getaddresses: getaddrinfo for y failed: Name or service not known [tcp://y:6379]" when trying to run any command after the "php artisan p:environment:setup" command and the setup guide that I did in terminal after running that command. How do I fix this?

pliant hound
#

Instead of leaving it blank so it would use the default Redis address (127.0.0.1), you entered "y", so it's trying to reach "y".
Manually change it to 127.0.0.1 in your .env file.