FriendsOfFlarum / masquerade

User profile builder extension for your Flarum forum.
https://discuss.flarum.org/d/5791
MIT License
18 stars 12 forks source link

type column already exists error when enabling extension #28

Closed Gildas-GH closed 5 years ago

Gildas-GH commented 6 years ago

Hello, I tried to install Masquerade in Flarum. I installed it manually with composer (sudo -u flarum composer require flagrow/masquerade). It downloaded version 0.2.0 and I tried to enable the extension in the admin panel. request : https://flarum.exemple/api/extensions/flagrow-masquerade answer: error code 500 (internal server error)

Flarum infos

Flarum core 0.1.0-beta.7
PHP 5.6.33-0+deb8u1
Loaded extensions: Core, date, ereg, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dba, dom, hash, fileinfo, filter, ftp, gettext, SPL, iconv, mbstring, pcntl, session, posix, Reflection, standard, shmop, SimpleXML, soap, sockets, Phar, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, json, PDO, apcu, curl, gd, geoip, imagick, intl, mongodb, ldap, mcrypt, mysql, mysqli, pdo_mysql, pdo_sqlite, readline, redis, sqlite3, mhash, apc, Zend OPcache
EXT flagrow-analytics 0.6.0
EXT flarum-approval v0.1.0-beta.7
EXT flarum-bbcode v0.1.0-beta.5
EXT wiwatsrt-best-answer v0.1.0-beta.11
EXT flarum-emoji v0.1.0-beta.6
EXT flarum-flags v0.1.0-beta.7
EXT radixi0-sharing 0.1.0-beta.6
EXT milescellar-french v1.1.0
EXT flarum-lock v0.1.0-beta.7
EXT flarum-markdown v0.1.0-beta.5
EXT flarum-mentions v0.1.0-beta.7
EXT sijad-pages 0.1.0-beta.3
EXT reflar-polls 0.1.1
EXT reflar-reactions 0.1.0-beta.5.1
EXT reflar-user-management 0.1.4
EXT terabin-sitemap v1.0.2-beta.2
EXT flarum-sticky v0.1.0-beta.7
EXT flarum-subscriptions v0.1.0-beta.6
EXT flarum-suspend v0.1.0-beta.7
EXT amaurycarrade-syndication v0.1.5
EXT flarum-tags v0.1.0-beta.8
Base URL: https://flarum.exemple
Installation path: /var/www/flarum

Server infos : debian 8 'jessie' server, up-to-date..

Debug mode See the very long error I obtained with the debug mode activated

-- Edit: I tried to enable the extension on a fresh Flarum install : it also failed, same error. I looked at nginx, PHP and flarum (storage/logs/flarum.log) logs, there is not any relevant information

I don't know how to get more precise informations Have a good day, Gildas

luceos commented 6 years ago

Any changes in your recent code that could affect the migrations @clarkwinkelmann ?

clarkwinkelmann commented 6 years ago

There are new migrations, but that's all. I just tested installing it on a fresh install, the migrations run fine.

From the logs it looks like the type column migration is running twice, but I have no idea why this would happen...

I'm not able to test with php 5.6 though. Maybe there's an issue there...

What's your MySQL version ?

Gildas-GH commented 6 years ago

I am running 10.0.32-MariaDB, mysql -v prints : mysql Ver 15.1 Distrib 10.0.32-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 -------- Message d'origine -------- On 23 avr. 2018 16:56, Clark Winkelmann a écrit :

There are new migrations, but that's all. I just tested installing it on a fresh install, the migrations run fine.

From the logs it looks like the type column migration is running twice, but I have no idea why this would happen...

I'm not able to test with php 5.6 though. Maybe there's an issue there...

What's your MySQL version ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

clarkwinkelmann commented 6 years ago

Would you be able to test with a newer PHP or MySQL instead of MariaDB on the same host ?

I don't have the setup to try the extension with PHP 5.6 or MariaDB right now. If it works with a newer version we can confirm one of those is the issue I'll set them up to replicate the issue.

KazeroG commented 6 years ago

same issue here ! PHP 7.0 with MySQL Log

POST https://manslandlife.tk/forum/v2/api/extensions/flagrow-masquerade

{
  "errors": [
    {
      "code": 500,
      "title": "Internal server error",
      "detail": "PDOException: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'type' in /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Connection.php:390\nStack trace:\n#0 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Connection.php(390): PDOStatement->execute(Array)\n#1 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Connection.php(655): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}(Object(Illuminate\\Database\\MySqlConnection), 'alter table `v2...', Array)\n#2 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Connection.php(618): Illuminate\\Database\\Connection->runQueryCallback('alter table `v2...', Array, Object(Closure))\n#3 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Connection.php(391): Illuminate\\Database\\Connection->run('alter table `v2...', Array, Object(Closure))\n#4 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Schema/Blueprint.php(83): Illuminate\\Database\\Connection->statement('alter table `v2...')\n#5 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Schema/Builder.php(191): Illuminate\\Database\\Schema\\Blueprint->build(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Schema\\Grammars\\MySqlGrammar))\n#6 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Schema/Builder.php(116): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint))\n#7 /home/u857997072/public_html/forum/v2/vendor/flagrow/masquerade/migrations/2017_09_19_flagrow_fields_type.php(10): Illuminate\\Database\\Schema\\Builder->table('flagrow_masquer...', Object(Closure))\n#8 [internal function]: Illuminate\\Filesystem\\Filesystem->{closure}(Object(Illuminate\\Database\\Schema\\MySqlBuilder))\n#9 /home/u857997072/public_html/forum/v2/vendor/illuminate/container/Container.php(507): call_user_func_array(Object(Closure), Array)\n#10 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Database/Migrator.php(202): Illuminate\\Container\\Container->call(Object(Closure))\n#11 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Database/Migrator.php(133): Flarum\\Database\\Migrator->runClosureMigration(Array)\n#12 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Database/Migrator.php(116): Flarum\\Database\\Migrator->runUp('/home/u85799707...', '2017_09_19_flag...', Object(Flarum\\Extension\\Extension))\n#13 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Database/Migrator.php(90): Flarum\\Database\\Migrator->runMigrationList('/home/u85799707...', Array, Object(Flarum\\Extension\\Extension))\n#14 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Extension/ExtensionManager.php(234): Flarum\\Database\\Migrator->run('/home/u85799707...', Object(Flarum\\Extension\\Extension))\n#15 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Extension/ExtensionManager.php(124): Flarum\\Extension\\ExtensionManager->migrate(Object(Flarum\\Extension\\Extension))\n#16 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Api/Controller/UpdateExtensionController.php(47): Flarum\\Extension\\ExtensionManager->enable('flagrow-masquer...')\n#17 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Handler/ControllerRouteHandler.php(53): Flarum\\Api\\Controller\\UpdateExtensionController->handle(Object(Zend\\Stratigility\\Http\\Request))\n#18 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php(69): Flarum\\Http\\Handler\\ControllerRouteHandler->__invoke(Object(Zend\\Stratigility\\Http\\Request), Array)\n#19 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\DispatchRoute->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#20 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\DispatchRoute), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#21 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#22 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#23 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\SetLocale->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#24 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\SetLocale), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#25 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#26 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#27 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\AuthenticateWithHeader->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#28 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\AuthenticateWithHeader), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#29 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#30 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(36): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#31 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\AuthenticateWithSession->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#32 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\AuthenticateWithSession), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#33 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#34 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(39): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#35 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\RememberFromCookie->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#36 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\RememberFromCookie), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#37 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#38 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/StartSession.php(48): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#39 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\StartSession->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#40 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\StartSession), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#41 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#42 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(33): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#43 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Api\\Middleware\\FakeHttpMethods->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#44 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Api\\Middleware\\FakeHttpMethods), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#45 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#46 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(31): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#47 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\ParseJsonBody->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#48 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\ParseJsonBody), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#49 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#50 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Api/Middleware/HandleErrors.php(45): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#51 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Api\\Middleware\\HandleErrors->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#52 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Api\\Middleware\\HandleErrors), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#53 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#54 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(111): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#55 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/AbstractServer.php(55): Zend\\Stratigility\\MiddlewarePipe->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\NoopFinalHandler))\n#56 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-diactoros/src/Server.php(157): Flarum\\Http\\AbstractServer->__invoke(Object(Zend\\Diactoros\\ServerRequest), Object(Zend\\Diactoros\\Response), Object(Zend\\Stratigility\\NoopFinalHandler))\n#57 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/AbstractServer.php(36): Zend\\Diactoros\\Server->listen(Object(Zend\\Stratigility\\NoopFinalHandler))\n#58 /home/u857997072/public_html/forum/v2/api.php(16): Flarum\\Http\\AbstractServer->listen()\n#59 {main}\n\nNext Illuminate\\Database\\QueryException: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'type' (SQL: alter table `v2_flagrow_masquerade_fields` add `type` varchar(255) null) in /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Connection.php:662\nStack trace:\n#0 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Connection.php(618): Illuminate\\Database\\Connection->runQueryCallback('alter table `v2...', Array, Object(Closure))\n#1 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Connection.php(391): Illuminate\\Database\\Connection->run('alter table `v2...', Array, Object(Closure))\n#2 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Schema/Blueprint.php(83): Illuminate\\Database\\Connection->statement('alter table `v2...')\n#3 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Schema/Builder.php(191): Illuminate\\Database\\Schema\\Blueprint->build(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Schema\\Grammars\\MySqlGrammar))\n#4 /home/u857997072/public_html/forum/v2/vendor/illuminate/database/Schema/Builder.php(116): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint))\n#5 /home/u857997072/public_html/forum/v2/vendor/flagrow/masquerade/migrations/2017_09_19_flagrow_fields_type.php(10): Illuminate\\Database\\Schema\\Builder->table('flagrow_masquer...', Object(Closure))\n#6 [internal function]: Illuminate\\Filesystem\\Filesystem->{closure}(Object(Illuminate\\Database\\Schema\\MySqlBuilder))\n#7 /home/u857997072/public_html/forum/v2/vendor/illuminate/container/Container.php(507): call_user_func_array(Object(Closure), Array)\n#8 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Database/Migrator.php(202): Illuminate\\Container\\Container->call(Object(Closure))\n#9 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Database/Migrator.php(133): Flarum\\Database\\Migrator->runClosureMigration(Array)\n#10 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Database/Migrator.php(116): Flarum\\Database\\Migrator->runUp('/home/u85799707...', '2017_09_19_flag...', Object(Flarum\\Extension\\Extension))\n#11 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Database/Migrator.php(90): Flarum\\Database\\Migrator->runMigrationList('/home/u85799707...', Array, Object(Flarum\\Extension\\Extension))\n#12 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Extension/ExtensionManager.php(234): Flarum\\Database\\Migrator->run('/home/u85799707...', Object(Flarum\\Extension\\Extension))\n#13 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Extension/ExtensionManager.php(124): Flarum\\Extension\\ExtensionManager->migrate(Object(Flarum\\Extension\\Extension))\n#14 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Api/Controller/UpdateExtensionController.php(47): Flarum\\Extension\\ExtensionManager->enable('flagrow-masquer...')\n#15 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Handler/ControllerRouteHandler.php(53): Flarum\\Api\\Controller\\UpdateExtensionController->handle(Object(Zend\\Stratigility\\Http\\Request))\n#16 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php(69): Flarum\\Http\\Handler\\ControllerRouteHandler->__invoke(Object(Zend\\Stratigility\\Http\\Request), Array)\n#17 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\DispatchRoute->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#18 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\DispatchRoute), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#19 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#20 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#21 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\SetLocale->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#22 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\SetLocale), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#23 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#24 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#25 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\AuthenticateWithHeader->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#26 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\AuthenticateWithHeader), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#27 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#28 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(36): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#29 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\AuthenticateWithSession->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#30 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\AuthenticateWithSession), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#31 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#32 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(39): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#33 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\RememberFromCookie->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#34 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\RememberFromCookie), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#35 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#36 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/StartSession.php(48): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#37 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\StartSession->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#38 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\StartSession), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#39 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#40 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(33): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#41 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Api\\Middleware\\FakeHttpMethods->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#42 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Api\\Middleware\\FakeHttpMethods), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#43 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#44 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(31): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#45 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Http\\Middleware\\ParseJsonBody->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#46 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Http\\Middleware\\ParseJsonBody), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#47 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#48 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Api/Middleware/HandleErrors.php(45): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#49 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(212): Flarum\\Api\\Middleware\\HandleErrors->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#50 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Dispatch.php(88): Zend\\Stratigility\\Dispatch->dispatchCallableMiddleware(Object(Flarum\\Api\\Middleware\\HandleErrors), Object(Zend\\Stratigility\\Next), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#51 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/Next.php(160): Zend\\Stratigility\\Dispatch->__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#52 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(111): Zend\\Stratigility\\Next->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#53 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/AbstractServer.php(55): Zend\\Stratigility\\MiddlewarePipe->__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\NoopFinalHandler))\n#54 /home/u857997072/public_html/forum/v2/vendor/zendframework/zend-diactoros/src/Server.php(157): Flarum\\Http\\AbstractServer->__invoke(Object(Zend\\Diactoros\\ServerRequest), Object(Zend\\Diactoros\\Response), Object(Zend\\Stratigility\\NoopFinalHandler))\n#55 /home/u857997072/public_html/forum/v2/vendor/flarum/core/src/Http/AbstractServer.php(36): Zend\\Diactoros\\Server->listen(Object(Zend\\Stratigility\\NoopFinalHandler))\n#56 /home/u857997072/public_html/forum/v2/api.php(16): Flarum\\Http\\AbstractServer->listen()\n#57 {main}"
    }
  ]
}
clarkwinkelmann commented 6 years ago

@KazeroG can you confirm MySQL version and post the output of composer show (from your Flarum directory) ?

We're still trying to find out the cause of this, because it didn't happen when I installed the extension on a new install...

KazeroG commented 6 years ago

this is it

amaurycarrade/flarum-ext-syndication        v0.1.5
antoinefr/flarum-ext-bbcode-fa              v0.1.1
antoinefr/flarum-ext-online                 0.3.0
avatar4eg/flarum-ext-users-list             0.1.1
bacon/bacon-qr-code                         1.0.3
beeta-dev/ext-quickquote                    0.2.1
beeta-dev/ext-userinfo                      0.3.3
christian-riesen/base32                     1.3.1
clarkwinkelmann/flarum-ext-circle-groups    0.1.0-beta.2
clarkwinkelmann/flarum-ext-emojionearea     0.1.2
clarkwinkelmann/flarum-ext-high-contrast    0.1.0
components/font-awesome                     4.7.0
composer/ca-bundle                          1.1.1
composer/composer                           1.6.4
composer/semver                             1.4.2
composer/spdx-licenses                      1.3.0
danielstjules/stringy                       1.10.0
datitisev/flarum-ext-dashboard              v0.1.0-beta.7
davis/flarum-ext-customfooter               v0.1.0-beta4
davis/flarum-ext-socialprofile              0.2.3
dflydev/fig-cookies                         v1.0.2
doctrine/annotations                        v1.4.0
doctrine/cache                              v1.6.2
doctrine/collections                        v1.4.0
doctrine/common                             v2.7.3
doctrine/dbal                               v2.5.13
doctrine/inflector                          v1.2.0
doctrine/lexer                              v1.0.1
dsgnr/flarum-ext-customcss                  v0.1.1-beta5
filp/whoops                                 2.1.14
fixer112/flarum-frontpage                   0.1.1
flagrow/ads                                 0.1.0-beta.4
flagrow/auto-confirm-fix                    0.1.0
flagrow/bazaar                              0.2.4
flagrow/byobu                               0.1.2
flagrow/canned-messages                     0.1.0
flagrow/flarum-api-client                   0.1.2
flagrow/flarum-ext-analytics                0.6.0
flagrow/flarum-ext-latex                    0.1.1
flagrow/fonts                               0.1.2
flagrow/impersonate                         0.1.0
flagrow/linguist                            0.1.2
flagrow/masquerade                          0.2.0
flagrow/terms                               0.1.1
flagrow/upload                              0.6.0
flagrow/user-directory                      0.1.0
flarum/core                                 v0.1.0-beta.7.1
flarum/flarum-ext-approval                  v0.1.0-beta.7
flarum/flarum-ext-bbcode                    v0.1.0-beta.5
flarum/flarum-ext-emoji                     v0.1.0-beta.6
flarum/flarum-ext-english                   v0.1.0-beta.7
flarum/flarum-ext-flags                     v0.1.0-beta.7
flarum/flarum-ext-likes                     v0.1.0-beta.6
flarum/flarum-ext-lock                      v0.1.0-beta.7
flarum/flarum-ext-markdown                  v0.1.0-beta.5
flarum/flarum-ext-mentions                  v0.1.0-beta.7
flarum/flarum-ext-pusher                    v0.1.0-beta.6
flarum/flarum-ext-sticky                    v0.1.0-beta.7
flarum/flarum-ext-subscriptions             v0.1.0-beta.6
flarum/flarum-ext-suspend                   v0.1.0-beta.7
flarum/flarum-ext-tags                      v0.1.0-beta.8
flarumchina/flarum-ext-mediaembed-pro       0.3.6
franzl/studio                               0.11.2
franzl/whoops-middleware                    0.4.1
freshman/flarum-ext-bbcode-with-textalign   v1.0.4
ganuonglachanh/flarum-ext-markdown-editor   0.9
ganuonglachanh/flarum-ext-search            0.4
google/recaptcha                            1.1.3
guzzlehttp/guzzle                           6.3.3
guzzlehttp/promises                         v1.3.1
guzzlehttp/psr7                             1.4.2
http-interop/http-middleware                0.2.0
hyn/flarum-default-group                    0.5.0
illuminate/bus                              v5.1.41
illuminate/cache                            v5.1.41
illuminate/config                           v5.1.41
illuminate/container                        v5.1.41
illuminate/contracts                        v5.1.41
illuminate/database                         v5.1.41
illuminate/events                           v5.1.41
illuminate/filesystem                       v5.1.41
illuminate/hashing                          v5.1.41
illuminate/mail                             v5.1.41
illuminate/pipeline                         v5.1.41
illuminate/support                          v5.1.41
illuminate/validation                       v5.1.41
illuminate/view                             v5.1.41
intervention/image                          2.4.1
ircmaxell/random-lib                        v1.2.0
ircmaxell/security-lib                      v1.1.0
isaa/flarum-isaa-opengraph                  0.1
isaced/flarum-ext-email-verification-switch 0.1.0
issyrocks12/flarum-ext-filter               1.2.2
justinrainbow/json-schema                   5.2.7
league/flysystem                            1.0.44
league/oauth2-client                        1.4.2
matpompili/flarum-imgur-upload              v1.0.0
matthiasmullie/minify                       1.3.60
matthiasmullie/path-converter               1.1.1
michaelbelgium/flarum-discussion-views      v0.1.0-beta.7-3.1
michaelbelgium/flarum-profile-views         v0.1.0-beta-7-1
michelf/php-markdown                        1.8.0
milescellar/flarum-ext-french               v1.1.0
monolog/monolog                             1.23.0
nesbot/carbon                               1.27.0
nikic/fast-route                            v0.6.0
oe800/flarum-ext-bbcode-alerts              0.1.6
oe800/flarum-ext-bbcode-bars                0.1.5
oe800/flarum-ext-bbcode-cards               0.1.4
oe800/flarum-ext-bbcode-pastebin            0.1.2
oe800/flarum-ext-bbcode-special             0.1.5
oe800/flarum-ext-bbcode-tables              0.1.0
oyejorge/less.php                           v1.7.0.14
paragonie/random_compat                     v1.4.3
pragmarx/google2fa                          v1.0.1
psr/http-message                            1.0.1
psr/log                                     1.0.2
push-edx/flarum-ext-chat                    0.6.0
push-edx/flarum-ext-restricted-reply        0.1.3
pusher/pusher-php-server                    2.6.4
q7zh/flarum-ext-ratings                     v1.0.1
ramsey/uuid                                 3.7.3
reflar/gamification                         3.0.3
reflar/koseki                               dev-master 2e255c1
reflar/nightmode                            0.1.1
reflar/polls                                1.1.1
reflar/pretty-mail                          0.1.0-beta.2
reflar/reactions                            1.0.0-beta.4
reflar/twofactor                            0.1.0-beta.2
reflar/user-management                      0.1.4
s9e/text-formatter                          0.8.5
samdark/sitemap                             2.2.0
seld/cli-prompt                             1.0.3
seld/jsonlint                               1.7.1
seld/phar-utils                             1.0.1
sides/flarum-ext-autovid                    0.1.0-beta.3
sijad/flarum-ext-auth-steam                 0.1.10
sijad/flarum-ext-details                    0.1.2
sijad/flarum-ext-links                      0.1.0-beta.6
sijad/flarum-ext-pages                      0.1.0-beta.3
sijad/flarum-ext-recaptcha                  0.0.2
sijad/flarum-ext-spoiler-alert              0.1.0
sinamics/flarum-default-preferences         0.1.0-beta.4
swiftmailer/swiftmailer                     v5.4.9
symfony/console                             v2.8.39
symfony/debug                               v2.7.46
symfony/filesystem                          v3.4.9
symfony/finder                              v2.7.46
symfony/http-foundation                     v2.7.46
symfony/polyfill-mbstring                   v1.8.0
symfony/polyfill-php56                      v1.8.0
symfony/polyfill-util                       v1.8.0
symfony/process                             v3.4.9
symfony/translation                         v2.7.46
symfony/yaml                                v2.8.39
terabin/flarum-ext-sitemap                  v1.0.2-beta.2
tobscure/json-api                           v0.3.0
twilio/sdk                                  5.18.0
vingle/flarum-configure-smtp                0.2.0
vingle/flarum-share-social                  0.1.0
zaptech/cookie-consent                      0.1.0-beta3
zendframework/zend-diactoros                1.7.1
zendframework/zend-escaper                  2.6.0
zendframework/zend-stratigility             1.3.3
zeokat/flarum-ext-seoslugs                  v0.1.1
zurtr/flarum-ext-onesignal                  0.0.1-BETA

~~ flagrow/bazaar 0.2.4 ~~ thanks

clarkwinkelmann commented 6 years ago

@KazeroG Thanks. And MySQL version ?

Trying to narrow down the options as it's still not reproductible on my end...

PS: high contrast extension, really ? :joy:

KazeroG commented 6 years ago

hello

im using host so i use mysqli so i think im using 5.0.12 - dev - 20150407

what do you mean by Trying to narrow down the options as it's still not reproductible on my end...

PS: i juste want blow up the users eyes XD

clarkwinkelmann commented 6 years ago

I mean I've still not found the source of this damn issue...

If somebody finds a way to replicate that on DigitalOcean or can give me access to a VPS where it fails I'd love to take a look in person. I just can't reproduce it on my PC.

I'm wondering if there's a possible link with https://discuss.flarum.org/d/11795-base-table-or-view-not-found-table-database-prefix-settings-doesn-t-exist There it's something that doesn't exist in spite of the migrations running correctly.

KazeroG commented 6 years ago

@clarkwinkelmann i can give you access to my host through SSH,FTP and whatever you need and i have a VPS but flarum isn't not installed on !

clarkwinkelmann commented 6 years ago

I'd need to be able to reproduce it on a VPS ideally... I prefer not to mess up with your non-VPS hosting :innocent:

Really not sure what to do... I don't want to spend so much time on this since it doesn't seem many people are affected.

clarkwinkelmann commented 6 years ago

I tried to replicate this again but without success.

@Gildas-GH your setup looks incorrect. The french extension version 1.1 requires PHP 7 and you have PHP 5.6, it shouldn't be possible if you ran Composer on the server. The issue could be due to composer dependencies not matching the server environment. Do you have any way to try again with matching composer dependencies ? nevermind I don't know how I tested that. It's not the case

@KazeroG did you install the extensions (including the other extensions) via Bazaar, composer on the server or composer from another machine and copied the files ? If you used Bazaar or composer on the server, could you send me the composer.json and composer.lock files ? You can contact me via Discord DM (in french if you wish :) )

luceos commented 6 years ago

@clarkwinkelmann what if.. the migration is being ran and web-based process times out right before the Migrator is able to create the migrations entry?

I honestly see no other way this could go wrong.. It would be odd though, because enabling one such an extension re-uses the exact logic of Flarum, not Bazaar 🤷‍♀️

KazeroG commented 6 years ago

@clarkwinkelmann contacted by discord ! thanks

clarkwinkelmann commented 6 years ago

Okay so I definitely can't reproduce by installing the same extensions with the same php version.

As @luceos says I suppose it's due to some system limitations that let the migration run but stops before it has been written to the migrations table, then runs again and fails...

Did you experience that error message right after clicking the checkbox to enable the extension, or did you first had a different error, then refreshed or tried to enable a different extension and got that error ?

I don't understand why the migration would run, fail to mark as run and run again in the same request...

luceos commented 6 years ago

fail to mark as run and run again in the same request...

perhaps that's our assumption, perhaps @KazeroG is attempting to enable the extension multiple times?

clarkwinkelmann commented 5 years ago

Now that we have moved to FriendsOfFlarum, the migrations have been renamed and merged.

If you still experience this issue in the new fof/masquerade, let us know and we'll re-open the issue :wink: