Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't install namelessmc, I need your help. #3429

Closed
Huisto opened this issue Aug 6, 2023 · 2 comments
Closed

I can't install namelessmc, I need your help. #3429

Huisto opened this issue Aug 6, 2023 · 2 comments
Labels

Comments

@Huisto
Copy link

Huisto commented Aug 6, 2023

Describe the issue

Phinx by CakePHP - https://phinx.org. using config file core/migrations/phinx.php using config parser php using migration paths - /home/ftp/3/3kenctf27i223/web/core/migrations warning no environment specified, defaulting to: nameless using adapter mysql using database 3kenctf27i223 ordering by creation time == 20220519023748 CreateOauthTable: migrating PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes in /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:193 Stack trace: #0 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php(193): PDO->exec() #1 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/MysqlAdapter.php(350): Phinx\Db\Adapter\PdoAdapter->execute() #2 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/AdapterWrapper.php(356): Phinx\Db\Adapter\MysqlAdapter->createTable() #3 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/TimedOutputAdapter.php(113): Phinx\Db\Adapter\AdapterWrapper->createTable() #4 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Db/Plan/Plan.php(146): Phinx\Db\Adapter\TimedOutputAdapter->createTable() #5 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(715): Phinx\Db\Plan\Plan->execute() #6 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(611): Phinx\Db\Table->executeActions() #7 /home/ftp/3/3kenctf27i223/web/core/migrations/20220519023748_create_oauth_table.php(18): Phinx\Db\Table->create() #8 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Migration/Manager/Environment.php(108): CreateOauthTable->change() #9 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(385): Phinx\Migration\Manager\Environment->executeMigration() #10 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(359): Phinx\Migration\Manager->executeMigration() #11 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Console/Command/Migrate.php(122): Phinx\Migration\Manager->migrate() #12 /home/ftp/3/3kenctf27i223/web/vendor/symfony/console/Command/Command.php(298): Phinx\Console\Command\Migrate->execute() #13 /home/ftp/3/3kenctf27i223/web/vendor/symfony/console/Application.php(1024): Symfony\Component\Console\Command\Command->run() #14 /home/ftp/3/3kenctf27i223/web/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand() #15 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Console/PhinxApplication.php(70): Symfony\Component\Console\Application->doRun() #16 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Wrapper/TextWrapper.php(240): Phinx\Console\PhinxApplication->doRun() #17 /home/ftp/3/3kenctf27i223/web/vendor/robmorgan/phinx/src/Phinx/Wrapper/TextWrapper.php(124): Phinx\Wrapper\TextWrapper->executeRun() #18 /home/ftp/3/3kenctf27i223/web/core/classes/Database/PhinxAdapter.php(42): Phinx\Wrapper\TextWrapper->getMigrate() #19 /home/ftp/3/3kenctf27i223/web/core/installation/steps/ajax_initialise.php(5): PhinxAdapter::migrate() #20 /home/ftp/3/3kenctf27i223/web/core/installation/installer.php(19): require('...') #21 /home/ftp/3/3kenctf27i223/web/install.php(65): require('...') #22 {main}

NamelessMC Version

2.1.0

To Reproduce

No response

Expected Behaviour

No response

Screenshots

image

Additional Information

What makes me unable to install namelessmc, I need your help.

@Huisto Huisto added the bug label Aug 6, 2023
@PadowYT2
Copy link
Contributor

PadowYT2 commented Aug 6, 2023

There's no need to make an issue on GitHub, you could've gotten help on discord.gg/nameless. Anyways:
https://cdn.padow.ru/DT3GL

@supercrafter100
Copy link
Member

Nothing wrong with posting it here. Not everyone has a Discord account. As Padow already posted, the database version you are using is very outdated, causing the error.

@supercrafter100 supercrafter100 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants