NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Question Bug Namelessmc installation - database error
Started by WildSurvive

WildSurvive

WildSurvive

Member
Joined
05 Apr 2024
Last Seen
12 Apr 2024
Topics
1
Posts
4

Hi, I'm trying to install Namelessmc on my server, and on the database configuration page, I got this error. Can someone help me ? Thanks !

 

Phinx by CakePHP - https://phinx.org. using config file core/migrations/phinx.php using config parser php using migration paths - /www/wwwroot/wildsurvive.fr/core/migrations warning no environment specified, defaulting to: nameless using adapter mysql using database sql_wildsurvive_ ordering by creation time == 20220517030607 CreateLanguagesTable: migrating == 20220517030607 CreateLanguagesTable: migrated 0.0142s == 20220517030609 CreateTemplatesTable: migrating == 20220517030609 CreateTemplatesTable: migrated 0.0123s == 20220517030611 CreateUsersTable: migrating == 20220517030611 CreateUsersTable: migrated 0.0370s == 20220517030657 CreateReactionsTable: migrating == 20220517030657 CreateReactionsTable: migrated 0.0216s == 20220518024302 CreatePanelTemplatesTable: migrating == 20220518024302 CreatePanelTemplatesTable: migrated 0.0121s == 20220518024945 CreateBlockedUsersTable: migrating == 20220518024945 CreateBlockedUsersTable: migrated 0.0278s == 20220518025652 CreateGroupsTable: migrating == 20220518025652 CreateGroupsTable: migrated 0.0108s == 20220518025817 CreateUsersGroupsTable: migrating == 20220518025817 CreateUsersGroupsTable: migrated 0.0258s == 20220518031216 CreateAlertsTable: migrating == 20220518031216 CreateAlertsTable: migrated 0.0229s == 20220518032305 CreateCustomAnnouncementsTable: migrating == 20220518032305 CreateCustomAnnouncementsTable: migrated 0.0119s == 20220518032919 CreateCustomPagesTable: migrating == 20220518032919 CreateCustomPagesTable: migrated 0.0107s == 20220518033833 CreateCustomPagesPermissionsTable: migrating == 20220518033833 CreateCustomPagesPermissionsTable: migrated 0.0264s == 20220518034729 CreateEmailErrorsTable: migrating == 20220518034729 CreateEmailErrorsTable: migrated 0.0227s == 20220518035532 CreateGroupsTemplatesTable: migrating == 20220518035532 CreateGroupsTemplatesTable: migrated 0.0231s == 20220518040058 CreateGroupSyncTable: migrating == 20220518040058 CreateGroupSyncTable: migrated 0.0236s == 20220518040456 CreateHooksTable: migrating == 20220518040456 CreateHooksTable: migrated 0.0102s == 20220518040806 CreateIpBansTable: migrating == 20220518040806 CreateIpBansTable: migrated 0.0233s == 20220519020719 CreateInfractionsTable: migrating == 20220519020719 CreateInfractionsTable: migrated 0.0287s == 20220519021237 CreateLogsTable: migrating == 20220519021237 CreateLogsTable: migrated 0.0109s == 20220519021711 CreateMcServersTable: migrating == 20220519021711 CreateMcServersTable: migrated 0.0104s == 20220519022400 CreateModulesTable: migrating == 20220519022400 CreateModulesTable: migrated 0.0107s == 20220519022945 CreateWidgetsTable: migrating == 20220519022945 CreateWidgetsTable: migrated 0.0101s == 20220519023439 CreatePrivacyTermsTable: migrating == 20220519023439 CreatePrivacyTermsTable: migrated 0.0099s == 20220519023748 CreateOauthTable: migrating PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes in /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:193 Stack trace: #0 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php(193): PDO->exec() #1 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/MysqlAdapter.php(350): Phinx\Db\Adapter\PdoAdapter->execute() #2 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/AdapterWrapper.php(356): Phinx\Db\Adapter\MysqlAdapter->createTable() #3 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/TimedOutputAdapter.php(113): Phinx\Db\Adapter\AdapterWrapper->createTable() #4 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Db/Plan/Plan.php(146): Phinx\Db\Adapter\TimedOutputAdapter->createTable() #5 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(715): Phinx\Db\Plan\Plan->execute() #6 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(611): Phinx\Db\Table->executeActions() #7 /www/wwwroot/wildsurvive.fr/core/migrations/20220519023748_create_oauth_table.php(18): Phinx\Db\Table->create() #8 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Migration/Manager/Environment.php(108): CreateOauthTable->change() #9 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(385): Phinx\Migration\Manager\Environment->executeMigration() #10 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(359): Phinx\Migration\Manager->executeMigration() #11 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Console/Command/Migrate.php(124): Phinx\Migration\Manager->migrate() #12 /www/wwwroot/wildsurvive.fr/vendor/symfony/console/Command/Command.php(298): Phinx\Console\Command\Migrate->execute() #13 /www/wwwroot/wildsurvive.fr/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run() #14 /www/wwwroot/wildsurvive.fr/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand() #15 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Console/PhinxApplication.php(70): Symfony\Component\Console\Application->doRun() #16 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Wrapper/TextWrapper.php(240): Phinx\Console\PhinxApplication->doRun() #17 /www/wwwroot/wildsurvive.fr/vendor/robmorgan/phinx/src/Phinx/Wrapper/TextWrapper.php(124): Phinx\Wrapper\TextWrapper->executeRun() #18 /www/wwwroot/wildsurvive.fr/core/classes/Database/PhinxAdapter.php(69): Phinx\Wrapper\TextWrapper->getMigrate() #19 /www/wwwroot/wildsurvive.fr/core/installation/steps/ajax_initialise.php(5): PhinxAdapter::migrate() #20 /www/wwwroot/wildsurvive.fr/core/installation/installer.php(22): require('...') #21 /www/wwwroot/wildsurvive.fr/install.php(66): require('...') #22 {main}

WildSurvive · 24 days ago · Last edited: 24 days ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
29 Apr 2024
Topics
41
Posts
1050

Hi,

This error means that your MySQL database version is too old. Nameless requires MySQL 5.7.22 or higher, or MariaDB 10.2 or higher.

x1
Samerton · 24 days ago
WildSurvive

WildSurvive

Member
Joined
05 Apr 2024
Last Seen
12 Apr 2024
Topics
1
Posts
4

@Samerton I updated MySQL, and now I get this error:

WildSurvive · 23 days ago
WildSurvive

WildSurvive

Member
Joined
05 Apr 2024
Last Seen
12 Apr 2024
Topics
1
Posts
4

Issue created on Discord (easier): https://discord.com/channels/246705793066467328/1226255947102552125

WildSurvive · 23 days ago
WildSurvive

WildSurvive

Member
Joined
05 Apr 2024
Last Seen
12 Apr 2024
Topics
1
Posts
4

No help more needed, the installer was broken, it works.

WildSurvive · 22 days ago