Coder Social home page Coder Social logo

pterodactyl-script's People

Contributors

baerserk avatar

Stargazers

 avatar

Watchers

 avatar

pterodactyl-script's Issues

Table 'mysql.global_priv' doesn't exist

Describe the bug
When using the script under Debian 10 the following error appears:
ERROR 1146 (42S02) at line 1: Table 'mysql.global_priv' doesn't exist

To Reproduce
Steps to reproduce the behavior:

  1. Run the script on Debian 10
  2. See error

Expected behavior
The installation of MariaDB should be secured.

Server (please complete the following information):

  • OS: Debian
  • Version 10

Additional context
Since version 10.4.1 the table mysql.user is replaced with the table mysql.global_priv.
See https://mariadb.com/kb/en/mysqlglobal_priv-table/

Wings Update: curl: (23) Failure writing output to destination

Describe the bug
When updating to a new Wings version with the script, the following error message appears:
curl: (23) Failure writing output to destination

To Reproduce
Steps to reproduce the behavior:

  1. Run the script
  2. Update to new Wings version
  3. See error

Expected behavior
The Wings version should be updated.

Server (please complete the following information):

  • OS: Debian
  • Version 12

Additional context
If the Wings service was previously stopped with e.g. sudo systemctl stop wings, it will be updated correctly. So only this command must be executed in the script before the update.

Problems creating SSL certificate when installing Panel and Node on same server

Describe the bug
When creating the SSL certificate, an error occurs so that the script can no longer be executed and the installation fails.

To Reproduce
Steps to reproduce the behavior:

  1. Run the Script
  2. Install Panel and Wings on the same server
  3. See error when creating the certificate

Expected behavior
The installation should be done correctly without errors.

Server (please complete the following information):

  • OS: Debian
  • Version 12

Additional context
To work around this error you have to comment out the following lines:

if [[ ! "$panel_machine" =~ [Nn] ]]; then
    certbot certonly --webroot -w /var/www/pterodactyl/public --email "$le_email" --agree-tos -d "$host_fqdn" --non-interactive
else
    certbot certonly --standalone --email "$le_email" --agree-tos -d "$host_fqdn" --non-interactive
fi

After that you have to execute the certificate manually with the certbot command and comment out the SSL lines of the NGinx config so that no error occurs.

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.