问题描述:
无法启动flarum,遇到boot错误。猜测是数据库链接问题。
Flarum encountered a boot error. Details have been logged to the Flarum log file.
本来一切正常,因为别的容器的缘故,重启了服务器,随后flarum的docker就无法使用了;
报错内容:
完整日志如下
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
Clearing the cache...
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
Clearing the cache...
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
Clearing the cache...
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
Clearing the cache...
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
Clearing the cache...
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
Clearing the cache...
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
Clearing the cache...
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
thrown in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php on line 18
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
thrown in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php on line 18
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
thrown in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php on line 18
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
thrown in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php on line 18
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
thrown in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php on line 18
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
stop s6
[INFO] Setting folder permissions
[INFO] Flarum already installed, init app...
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Host is unreachable in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /flarum/app/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /flarum/app/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /flarum/app/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /flarum/app/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /flarum/app/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /flarum/app/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /flarum/app/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /flarum/app/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /flarum/app/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /flarum/app/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /flarum/app/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /flarum/app/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /flarum/app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /flarum/app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /flarum/app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /flarum/app/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /flarum/app/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /flarum/app/vendor/flarum/core/src/Console/Server.php(32): Flarum\Foundation\InstalledSite->bootApp()
#28 /flarum/app/flarum(24): Flarum\Console\Server->listen()
#29 {main}
thrown in /flarum/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php on line 18
[INFO] No installed extensions
[INFO] Flarum already installed, init app: DONE
[INFO] End of startup script. Forum is starting.
已尝试的解决办法:
1.重启服务器
2.重启docker服务
3.将mysql的容器和flarum的容器同时关闭,先开启mysql容器,后开启flarum容器
4.使用和创建原有flarum容器完全相同的命令,创建了一个新的flarum容器,依旧无法运行。报错如下
5.mysql容器运行正常,能正常进入容器内部,并进入mysql命令行和flarum的数据库
In Pipeline.php line 85:
Step failed
In Exception.php line 18:
SQLSTATE[HY000] [2002] Host is unreachable
In PDOConnection.php line 40:
SQLSTATE[HY000] [2002] Host is unreachable
install [-f|--file FILE] [-c|--config CONFIG]
[INFO] End of flarum installation
[INFO] End of startup script. Forum is starting.
stop s6
docker命令中环境变量的设置,使用的是docker的本地ip进行连接
-e DB_HOST=172.17.0.1 \
-e DB_PORT=3306 \