Warning (512): /home/ubuntu/www/migrar/tmp/cache/ is not writable [CORE/src/Cache/Engine/FileEngine.php, line 412]
Warning (512): /home/ubuntu/www/migrar/tmp/cache/persistent/ is not writable [CORE/src/Cache/Engine/FileEngine.php, line 412]
Warning (512): /home/ubuntu/www/migrar/tmp/cache/models/ is not writable [CORE/src/Cache/Engine/FileEngine.php, line 412]
Warning (512): Unable to emit headers. Headers sent in file=/home/ubuntu/www/migrar/vendor/cakephp/cakephp/src/Error/Debugger.php line=954 [CORE/src/Http/ResponseEmitter.php, line 71]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/ubuntu/www/migrar/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [CORE/src/Http/ResponseEmitter.php, line 168]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/ubuntu/www/migrar/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [CORE/src/Http/ResponseEmitter.php, line 197]
Error: Missing Database Connection

Missing Database Connection 📋

Cake\Database\Exception\MissingConnectionException
Toggle Vendor Stack Frames

Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

        $retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES5), 4);
        try {
            $retry->run($action);
        } catch (PDOException $e) {
            throw new MissingConnectionException(
                [
                    'driver' => App::shortName(static::class, 'Database/Driver'),
                    'reason' => $e->getMessage(),
                ],

If you want to customize this error message, create templates/Error/missing_connection.php