Giter Club home page Giter Club logo

pterodactyl-installer's Introduction

🐦 pterodactyl-installer

Test Panel Test Wings Shellcheck License: GPL v3 Discord made-with-bash

Unofficial scripts for installing Pterodactyl Panel & Wings. Works with the latest version of Pterodactyl!

Read more about Pterodactyl here. This script is not associated with the official Pterodactyl Project.

Features

  • Automatic installation of the Pterodactyl Panel (dependencies, database, cronjob, nginx).
  • Automatic installation of the Pterodactyl Wings (Docker, systemd).
  • Panel: (optional) automatic configuration of Let's Encrypt.
  • Panel: (optional) automatic configuration of firewall.
  • Uninstallation support for both panel and wings.

Help and support

For help and support regarding the script itself and not the official Pterodactyl project, you can join the Discord Chat.

Supported installations

List of supported installation setups for panel and Wings (installations supported by this installation script).

Supported panel and wings operating systems

Operating System Version Supported PHP Version
Ubuntu 14.04 πŸ”΄
16.04 πŸ”΄ *
18.04 πŸ”΄ * 8.1
20.04 βœ… 8.1
22.04 βœ… 8.1
Debian 8 πŸ”΄ *
9 πŸ”΄ *
10 βœ… 8.1
11 βœ… 8.1
12 βœ… 8.1
CentOS 6 πŸ”΄
7 πŸ”΄ *
8 πŸ”΄ *
Rocky Linux 8 βœ… 8.1
9 βœ… 8.1
AlmaLinux 8 βœ… 8.1
9 βœ… 8.1

* Indicates an operating system and release that previously was supported by this script.

Using the installation scripts

To use the installation scripts, simply run this command as root. The script will ask you whether you would like to install just the panel, just Wings or both.

bash <(curl -s https://pterodactyl-installer.se)

Note: On some systems, it's required to be already logged in as root before executing the one-line command (where sudo is in front of the command does not work).

Here is a YouTube video that illustrates the installation process.

Firewall setup

The installation scripts can install and configure a firewall for you. The script will ask whether you want this or not. It is highly recommended to opt-in for the automatic firewall setup.

Development & Ops

Testing the script locally

To test the script, we use Vagrant. With Vagrant, you can quickly get a fresh machine up and running to test the script.

If you want to test the script on all supported installations in one go, just run the following.

vagrant up

If you only want to test a specific distribution, you can run the following.

vagrant up <name>

Replace name with one of the following (supported installations).

  • ubuntu_jammy
  • ubuntu_focal
  • debian_bullseye
  • debian_buster
  • debian_bookworm
  • almalinux_8
  • almalinux_9
  • rockylinux_8
  • rockylinux_9

Then you can use vagrant ssh <name of machine> to SSH into the box. The project directory will be mounted in /vagrant so you can quickly modify the script locally and then test the changes by running the script from /vagrant/installers/panel.sh and /vagrant/installers/wings.sh respectively.

Creating a release

In install.sh github source and script release variables should change every release. Firstly, update the CHANGELOG.md so that the release date and release tag are both displayed. No changes should be made to the changelog points themselves. Secondly, update GITHUB_SOURCE and SCRIPT_RELEASE in install.sh. Finally, you can now push a commit with the message Release vX.Y.Z. Create a release on GitHub. See this commit for reference.

Contributors ✨

Copyright (C) 2018 - 2024, Vilhelm Prytz, [email protected], and contributors!

Thanks to the Discord moderators sam1370, Linux123123 and sinjs for helping on the Discord server! contributors

pterodactyl-installer's People

Contributors

aalberrty avatar beastgamer81 avatar drylian avatar hey avatar iomega0318 avatar itsnicecraft avatar jobhh avatar linux123123 avatar michelbaie avatar mrflacko avatar noahvdaa avatar puiemonta1234 avatar sinjs avatar theraw avatar vilhelmprytz avatar wirtaxyt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pterodactyl-installer's Issues

Bash Error (LN 510) - Syntax Error

Describe the bug
Note: Ran with Sudo // Same result as root

  • Retrieving release information..
    /dev/fd/63: line 510: syntax error near unexpected token `else'

To Reproduce
Bash the provided source

Expected behavior
Installation

Screenshots
N/A

OS (please complete the following information):

  • OS: Ubuntu
  • Installation: Daemon

Additional context
Add any other context about the problem here.

Autoload.php error

Describe the bug
Most files / configurations doesn't go through since there's a missing file/directory error.

To Reproduce
Steps to reproduce the behaviour:

  1. Simply install it

Expected behaviour
Should go well

Screenshots
If applicable, add screenshots to help explain your problem.
image

OS (please complete the following information):

  • OS: Ubuntu [Cosmic]
  • Installation: [panel]

Additional context
Add any other context about the problem here.

Make sure redis-server systemd service is enabled

Describe the bug
The redis-server systemd service is sometimes not enabled by default.

To Reproduce
Steps to reproduce the behaviour:

  1. Run the script.
  2. Restart server.
  3. Service not running, systemctl status redis-server

Expected behaviour
Service to be enabled by default.

Screenshots
None.

OS (please complete the following information):

  • OS: Ubuntu, Debian (possibly centos also)
  • Installation: panel

Additional context
None.

Unsupported version of Debian

Describe the bug
Unsupported Version of Debian

To Reproduce

  1. clean install
  2. install curl over apt install -y curl
  3. run script
  4. print error that my debian gnu/linux version 9 is unsupported

Expected behaviour
I run the script on a fresh isntalled kvm debian 9 server with installed of curl

OS (please complete the following information):

  • OS: Debian 9
  • Installation: daemon

User created not an admin

Im on Ubuntu 18

When I ran the setup it didnt set the user as admin so i have no control over anything.
Any Idea of a way to elevate my user permissions?

Install MariaDB on daemon installations

Is your feature request related to a problem? Please describe.
Missing database server on the daemon.

Describe the solution you'd like
Add an option to install a database, such as MariaDB.

Let's Encrypt setup is never called on Debian (causing install to fail)

Daemon shows "installation aborted" after completion

Describe the bug
When the installation finishes, the daemon shows "Installation aborted" error.

To Reproduce
Run the script.

Expected behaviour
The installation summary to be shown.

OS (please complete the following information):

  • OS: should be all
  • Installation: daemon

Additional context
None.

Unable to install panel on CentOS 8

Describe the bug
The nginx work perfectly until i installed the panel,
After the installer has finished i get that error.

To Reproduce

  1. Run installer
  2. Finish the install
  3. See error

Expected behaviour
The nginx work perfectly until i installed the panel.

Screenshots
https://cdn.discordapp.com/attachments/682356044898500634/682602923683086435/unknown.png

OS:

  • OS: Centos 8
  • Installation: Panel

Additional context
I get this error only on Centos 8, on ubuntu 18.04 is working corectly.

help

schermata da 2019-01-27 15-15-59
can u help me?

Firewall is closed during the certbot acme challenge verification

Describe the bug
The script automatically runs certbot before opening the firewall, if the firewall is closed the acme challenge will fail.

To Reproduce
Steps to reproduce the behaviour:

  1. Close port 80 on your firewall
  2. Run the script
  3. You'll see the certbot error

Expected behaviour
The firewall script should run before the cerbot.

Btw you should run on the following order:
Open port 80 on firewall -> run certbot -> run nginx
(nginx also fails bcz theres no certificate installed)

Screenshots
https://prnt.sc/rin2ps

OS (please complete the following information):

  • OS: Ubuntu 18.04
  • Installation: panel

Automatic firewall for CentOS (firewall-cmd)

Is your feature request related to a problem? Please describe.
A firewall is automatically configured for Ubuntu/Debian panel. It should be for CentOS as well.

Describe the solution you'd like
Implement the option to configure firewall-cmd as per the instructions in the README.

Describe alternatives you've considered
None.

Additional context
Not applicable.

Automatic 500

Ubuntu 18.04
After running both scripts i get a automatic 500 any way i can fix this?

panel: CentOS 8 fails due to wrong path (sudo -i / sudo su)

Hello,

The panel install might fail on some basic/custom CentOS images because of PATH environment variables and Nginx not creating conf.d (for some reason).

1st issue is composer not working because it does not get linked into the environment, so I get command not found. It works if, before calling composer, i create the symlink :

ln -s /usr/local/bin/composer /usr/bin/composer

Else you get this:

/dev/fd/63: ligne 204: composer : commande introuvable
PHP Warning:  require(/var/www/pterodactyl/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/pterodactyl/artisan on line 18

This is caused by path not updating (depends how you get into root, it works via root login but not with user login then sudo -i to transfer env vars)

2nd issue is, for some reason, Nginx does not create conf.d upon install, which leads to the curl line pulling config into pterodactyl.conf to fail because folder does not exists :

* Configuring nginx ..
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file /etc/nginx/conf.d/pterodactyl.conf: no file or folder of this type

a fix would ensure that conf.d folder exists beforehand.

Thank you.

Unclear whether options have a default value or not

Hi,

Installed Fresh Ubuntu 18.04.2 LTS Server edition
sudo apt full-upgrade
sudo apt install python
sudo reboot
sudo su
bash <(curl -s https://raw.githubusercontent.com/MrKaKisen/pterodactyl-installer/master/install-panel.sh)

then straight forward with a very simple password to avoid mistakes
got some error / warning stating access denied to DB. Then got a successfull message.

Tried to access this computer with another one pointing to his ip to check if a web server is running = Nothing
Then tried to install the daemon
bash <(curl -s https://raw.githubusercontent.com/MrKaKisen/pterodactyl-installer/master/install-daemon.sh)

Still nothing when trying to open the page on a my browser
reboot
Tried again => still nothing

Let me know what you prefer, logs files, screen captures of messages, etc... I can reinstall ubuntu server several times if needed.

Thank you

panel: Add option to enable mobile app support

There is a mobile app for Pterodactyl, available on iOS and Android. However, for it to work, a few commands need to be run from the panel directory:

composer config repositories.cloud composer https://packages.pterodactyl.cloud

composer require pterodactyl/mobile-addon --update-no-dev --optimize-autoloader

php artisan migrate

(taken from https://pterodactyl.cloud/home).
This is the official app -- no third-party software, so I think it would be nice to have a prompt during the installation that asked users if they would like to add support for the mobile app.

Panel: Unknown distributions are marked as supported

Describe the bug
All unknown distributions are automatically marked as supported by the script (only unknown distributions, not unknown versions of supported distributions).

To Reproduce
Steps to reproduce the behaviour:

Run the script on a distribution that is not Debian, Ubuntu or CentOS.

Expected behaviour
Should raise error, unsupported distribution.

OS (please complete the following information):

  • OS: all distributions that are unknown to the script
  • Installation: panel

"software-properties-common" installed after it's required

Describe the bug
Package software-properties-common installed after it's required.

To Reproduce
Run script.

Expected behaviour
Installed before it's required.

OS (please complete the following information):

  • OS: Ubuntu
  • Installation: panel

Improve Linux distribution detection

Is your feature request related to a problem? Please describe.
Replace Linux distribution detection, avoid using dependencies (currently python is used).

Describe the solution you'd like
Perhaps use the /etc/os-release or similar.

Describe alternatives you've considered
lsb_release

Improve UX

Describe the feature you'd like
Improve user experience by color coding messages, indicating progress using animations and generally rewriting messages printed to the user.

Unsupported version of Ubuntu

Describe the bug
Using the install script provided, it completes the first configuration step, then sends the error "Unsupported version of Ubuntu"
To Reproduce
Steps to reproduce the behaviour:

  1. Run script
  2. Complete Initial Configuration
  3. Answer yes to continue installation
  4. See error

Expected behaviour
Expected behavior is for the installation to continue and finish.. not give an error

OS (please complete the following information):

  • OS: Ubuntu 18.04
  • Installation: panel

Additional context
this is after a fresh install, only updating and installing curl onto the server.

Use PHP 7.3 instead of PHP 7.2

Is your feature request related to a problem? Please describe.
PHP 7.2 will reach end of "active support" on November 30, 2019 (see supported versions).

Describe the solution you'd like
Replace all dependencies with PHP 7.3 instead.

Additional context
Official documentation, Getting Started, still lists PHP 7.2 as as required dependency.

Debian installation fails due to missing sudo package

Most of debians come without sudo installed, so your script fails,

I suggest to add on your script apt-get install sudo -y or else script fails.

normally when you say "you must execute this script as root" there is no reason why you should include "sudo" on script.

Default FQDN is "pterodactyl.panel" while UI shows "panel.example.com"

Describe the bug
The default FQDN is set to "pterodactyl.panel" while the UI shows "panel.example.com" as the default one.

To Reproduce
Steps to reproduce the behaviour:

  1. Run the script to see the default value.
  2. Open the script and see variable definition FQDN="pterodactyl.panel.

Expected behaviour
FQDN should not have a preset value (as with MySQL password).

OS (please complete the following information):

  • OS: all
  • Installation: panel

Additional context
None.

Deamon - "mmmagic" installation failed due to permission error

Open again (reason #7 (comment))
Currently the installation of Deamon on Debian 10 / Ubuntu 19.X does not work.
"npm install --only=production always" runs into several errors.
nodejs -v -> v13.9.0
npm -v -> 6.13.7

Debian 9 with nodejs 10.X however works.
The installation script works perfectly, the problem is clearly due to pterodactyl.

Describe the bug
Here the Error-Log:

10186 verbose stack Error: [email protected] install: `node-gyp rebuild`
10186 verbose stack Exit status 1
10186 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
10186 verbose stack     at EventEmitter.emit (events.js:321:20)
10186 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
10186 verbose stack     at ChildProcess.emit (events.js:321:20)
10186 verbose stack     at maybeClose (internal/child_process.js:1026:16)
10186 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
10187 verbose pkgid [email protected]
10188 verbose cwd /srv/daemon
10189 verbose Linux 4.19.0-8-amd64
10190 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--only=production"
10191 verbose node v13.9.0
10192 verbose npm  v6.13.7
10193 error code ELIFECYCLE
10194 error errno 1
10195 error [email protected] install: `node-gyp rebuild`
10195 error Exit status 1
10196 error Failed at the [email protected] install script.
10196 error This is probably not a problem with npm. There is likely additional logging output above.
10197 verbose exit [ 1, true ]`

And the log of the open ssh-session:
`make: *** [magic.target.mk:122: Release/obj.target/magic/src/binding.o] Fehler 1
make: Verzeichnis β€ž/srv/daemon/node_modules/mmmagic/buildβ€œ wird verlassen
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:321:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.19.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /srv/daemon/node_modules/mmmagic
gyp ERR! node -v v13.9.0
gyp ERR! node-gyp -v v5.0.7
gyp ERR! not ok`
...
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-02-19T19_53_34_839Z-debug.log`

Tested with:

  • Debian 9
    => NodeJS 10: Working
    => NodeJS 12 and 13: Not Working
  • Debian 10
    => Every NodeJS-version not working
  • Ubuntu 19.04
    => Every NodeJS-version not working
  • Ubuntu 19.10
    => Every NodeJS-version not working

Do not display passwords in plain text

Describe the bug
Hide the MySQL password when the user enters it.

To Reproduce

Run the script.

Expected behaviour

Password not to be shown in plain text.

panel: Warn users about using SSL with IP addresses

The panel script allows you to automatically configure SSL. However, some users may not be aware that Let’s Encrypt does not work with IP addresses. A short note should be added near the option to install SSL informing users of this fact.

Deamon doesn't start on startup

Describe the bug
After installing panel and deamon wings doesnt start normally. It doesnt start the deamon fully (or something like that) and the only solution is to kill wings and start it again

To Reproduce
Steps to reproduce the behaviour:
Install panel and deamon on same computer.
Reboot pc.

Expected behaviour
It should start on startup normally.

OS (please complete the following information):

  • OS: Ubuntu server 18.04.4
  • Installation: panel and deamon

Additional context
I see that on github that wings.service file is untested.

Script stops when certbot cannon issue a certificate.

Describe the bug
When installing the panel, almost at the end of the script, if for some reason certbot fails to create the ssl the script just exit.

To Reproduce
Steps to reproduce the behaviour:

  1. Run the script
  2. Make certbot fails the cert
  3. See error.

Expected behaviour
If certbot fails, the script should ask if the user still wants to continue the installation with ssl enabled or if he want it to fall back to http.

(I would love the option to continue assuming ssl, because for me certbot will always fail - not a bug, that's my server configuration)

OS (please complete the following information):

  • OS: Ubuntu 20.04
  • Installation: panel

wings: Add link to configuration guide (official documentation)

At the end of the installation, you have to look around online for the steps in order to configure the daemon. I think it would be much easier if, at the end of the script, we added these lines (perhaps tweaking a little for coherence):

The guide to configuring your daemon can be found here: https://pterodactyl.io/daemon/0.6/installing.html#configure-daemon
Please run 'systemctl start wings' after the configuration.

panel: Insert theme selector

TheFonix has some pretty good themes for the Pterodactyl panel available on his GitHub repository. Below is a function that prompts the user which theme they want to install (if any), and performs the installation. It would be convenient for this function to be called somewhere in the installation script, eliminating the need for the themes to be installed separately from the panel.

pick_themes() {
	echo "Here, you can choose to install one of TheFonix's Pterodactyl themes."
	echo "Access previews and read more here: https://github.com/TheFonix/Pterodactyl-Themes"
	echo "These themes are not affiliated in any way with this installation script. Use at your own risk."
	echo "[0] Do not install any themes"
	echo "[1] Pink and Fluffy"
	echo "[2] Tango Twist"
	echo "[3] Blue Brick"
	echo "[4] Minecraft Madness"
	echo "[5] Lime Stitch"
	echo "[6] Red Ape"
	echo "[7] Black and the End of Space"
	echo "[8] Nothing but Graphite"
	cd /var/www/pterodactyl/
	while :
	do
		printf "Choose your theme: "
		read option
		case $option in
			0 ) echo "Keeping the vanilla Pterodactyl theme"
				break
				;;
			1 ) echo "Installing Pink and Fluffy"
				curl https://raw.githubusercontent.com/TheFonix/Pterodactyl-Themes/master/MasterThemes/PinkAnFluffy/build.sh | sh
				echo "Installed theme."
				break
				;;
			2 ) echo "Installing Tango Twist"
				invalid=false
				curl https://raw.githubusercontent.com/TheFonix/Pterodactyl-Themes/master/MasterThemes/TangoTwist/build.sh | sh
				echo "Installed theme."
				break
				;;
			3 ) echo "Installing Blue Brick"
				invalid=false
				curl https://raw.githubusercontent.com/TheFonix/Pterodactyl-Themes/master/MasterThemes/BlueBrick/build.sh | sh
				echo "Installed theme."
				break
				;;
			4 ) echo "Installing Minecraft Madness"
				invalid=false
				curl https://raw.githubusercontent.com/TheFonix/Pterodactyl-Themes/master/MasterThemes/MinecraftMadness/build.sh | sh
				echo "Installed theme."
				break
				;;
			5 ) echo "Installing Lime Stitch"
				invalid=false
				curl https://raw.githubusercontent.com/TheFonix/Pterodactyl-Themes/master/MasterThemes/LimeStitch/build.sh | sh
				echo "Installed theme."
				break
				;;
			6 ) echo "Installing Red Ape"
				invalid=false
				curl https://raw.githubusercontent.com/TheFonix/Pterodactyl-Themes/master/MasterThemes/RedApe/build.sh | sh
				echo "Installed theme."
				break
				;;
			7 ) echo "Installing Black and the End of Space"
				invalid=false
				curl https://raw.githubusercontent.com/TheFonix/Pterodactyl-Themes/master/MasterThemes/BlackEndSpace/build.sh | sh
				echo "Installed theme."
				break
				;;
			8 ) echo "Installing Nothing But Graphite"
				invalid=false
				curl https://raw.githubusercontent.com/TheFonix/Pterodactyl-Themes/master/MasterThemes/NothingButGraphite/build.sh | sh
				echo "Installed theme."
				break
				;;
			* ) echo "Invalid selection"
				;;
		esac
	done
}

apt-transport-https

I would suggest looking into the download of apt-transport-https since I'm almost confident that Ubuntu versions higher then Xenial Xerus or identical to it have https support for aptitude by default, same for Debian higher then stretch, though not identical.

If what I said made sense :P

This website probably explains it better lol https://whydoesaptnotusehttps.com/

I would have opened a pr for this but I'm way too lazy, sorry.

Possible solution:

Checking if aptitude version is lower then 1.5, if so, install the package. If not, don't :)

Daniel

redis and redis-server packages fail to install

Describe the bug
When I use the script I get this:

Errors ere encountered while processing:
redis-server
redis
E: Sub-process /usr/bin/dpkg returned an error code (1)

To Reproduce
Steps to reproduce the behavior:

  1. Go to execute the bash command in
  2. Use NGINX
  3. Use the default Database name
  4. Use the default Database user name
  5. Use a domain
  6. Don't use UFW
  7. Use Lets Encrypt
  8. Wait until you see this
    image
  9. Wait until the database has to be migrated
  10. Errors

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

OS:

  • OS: Ubuntu 18.04
  • Installation: 0.1.17

No SSL certificate for Daemon-Script

Describe the bug
The installation script of the daemon does not create an SSL certificate.
There is still a query missing, which domain should be used incl. installing the certbot and issuing a certificate.
If you install everything on one system, it works without problems. If you separate panel and daemon, it will not work.

To Reproduce
Steps to reproduce the behaviour:

  1. Install the Panel on server A
  2. Install the Daemon on server B
  3. Start the Daemon with the config of the panel
  4. Try to connect with ssl

OS (please complete the following information):

  • OS: Tested with Debian 9 + 10
  • Installation: daemon

Additional context
If i install certbot and create my own ssl-certificate all works fine :)

Add options to skip compatibility check and override Linux distribution detection

Is your feature request related to a problem? Please describe.
Due to recent updates within the Linux distribution detection there has been several issues where the script has been unable to detect which distribution the user is using.

Describe the solution you'd like
Add debug flags which would allow the user to specify which Linux distribution to assume (script still usable while any issues are being solved).

Add β€œmaster” script (entrypoint for the other scripts)

Currently, you have to run different commands for each script: panel, daemon, both, the 1.0 versions, etc. With the addition of a β€œmaster” script, one script can be ran that will allow you to choose what thing you want installed.

One thing that may have to be removed to eliminate confusion: the option to install the daemon at the end of the panel script.

500 - Whoops, something went wrong on our servers.

Hi,

I have ran both scripts now, both as root but i don't seem to be able to get past this error, have you seen this before or know what i can do it fix it please?

image

Any help with this would be great

Many Thanks

Error: OS not supported

Every time I try and use the script (with everything installed that it required to use this) it says "ERROR: OS not supported" after it says "Initial configuration completed. Continue with the installation? (y/n):". This is on Ubuntu 18.04.

To Reproduce

  1. Install required dependancies.
  2. Start install script and get to the initial configuration setup.
  3. Type y to continue install
  4. See error "ERROR: OS not supported"

Expected behaviour
A fresh install.

OS (please complete the following information):

  • OS: Fresh Ubuntu 18.04 install
  • Installation: Panel and domain

Minor typos in script and in README

Describe the bug
A clear and concise description of what the bug is.
When finishing the SSL question (assume SSL or not),
"Inital configuration done. Do you wan't to continue with the installation?"
Issues: "Inital" should Initial and "wan't" want
also here on github, "steps to reproduce the behavior", behaviour.

To Reproduce
Steps to reproduce the behavior:

  1. Start the panel script
  2. Complete the steps and finish the SSL assumption.

Expected behavior
A clear and concise description of what you expected to happen.
Nothing changed. Just spelling.

Screenshots
If applicable, add screenshots to help explain your problem.
image

OS (please complete the following information):

  • OS: Ubuntu 18.04
  • Installation: panel

Additional context
I recommend the use of Grammarly to fix typos and stuff :) It's free and cool.

bash: /dev/fd/63: No such file or directory

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

OS (please complete the following information):

  • OS: [e.g. Ubuntu, Debian, CentOS]
  • Installation: [panel or daemon]

Additional context
Add any other context about the problem here.

Automatic Let's Encrypt configuration for daemon

Is your feature request related to a problem? Please describe.
The installation script of the daemon does not create an SSL certificate.
There is still a query missing, which domain should be used incl. installing the certbot and issuing a certificate.
If you install everything on one system, it works without problems. If you separate panel and daemon, it will not work.

Describe alternatives you've considered
If i install certbot and create my own ssl-certificate all works fine :)

When running the scripts the database uses a blank password

Describe the bug
When running the panel install script and getting to the database setup part it says that the script should have already asked you to set the database password which it has not, for the password I just hit enter, if I enter a password set for the pterodactyl user it shows an error

To Reproduce
Steps to reproduce the behaviour:

  1. Run the panel script
    bash <(curl -s https://raw.githubusercontent.com/VilhelmPrytz/pterodactyl-installer/master/install-panel.sh)

Expected behaviour
Asked to set the database root access password from blank to a password

Screenshots
N/A

OS (please complete the following information):

  • OS: Ubuntu 18.04 x64
  • Installation: [panel]

Additional context
I have run the scripts on two separate machines to test.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.