Replies: 1 comment
-
sorry it's the wrong place and i found a response in issues |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when i run run config:cache some .env variables are missing `.
for example database settings are missing and APP_KEY is missing
So Winter throws an error "No application encryption key has been specified."
when i check storage/framework/config.php , i can't see any ref to database
cf : the cached config.php
`
return array (
'::app' =>
array (
'debug' => true,
'name' => 'Reduc nc',
'url' => 'http://test',
'asset_url' => NULL,
'tempPath' => NULL,
'trustedHosts' => false,
'trustedProxies' => NULL,
'trustedProxyHeaders' => 'HEADER_X_FORWARDED_ALL',
'timezone' => 'UTC',
'locale' => 'fr',
'fallback_locale' => 'en',
'faker_locale' => 'en_US',
'key' => 'base64:XXX',
'cipher' => 'AES-256-CBC',
'providers' =>
array (
0 => 'Illuminate\Broadcasting\BroadcastServiceProvider',
1 => 'Illuminate\Bus\BusServiceProvider',
2 => 'Illuminate\Cache\CacheServiceProvider',
3 => 'Illuminate\Cookie\CookieServiceProvider',
4 => 'Illuminate\Encryption\EncryptionServiceProvider',
5 => 'Illuminate\Foundation\Providers\FoundationServiceProvider',
6 => 'Illuminate\Hashing\HashServiceProvider',
7 => 'Illuminate\Pagination\PaginationServiceProvider',
8 => 'Illuminate\Pipeline\PipelineServiceProvider',
9 => 'Illuminate\Queue\QueueServiceProvider',
10 => 'Illuminate\Session\SessionServiceProvider',
11 => 'Illuminate\View\ViewServiceProvider',
12 => 'Laravel\Tinker\TinkerServiceProvider',
13 => 'Winter\Storm\Foundation\Providers\ConsoleSupportServiceProvider',
14 => 'Winter\Storm\Database\DatabaseServiceProvider',
15 => 'Winter\Storm\Halcyon\HalcyonServiceProvider',
16 => 'Winter\Storm\Filesystem\FilesystemServiceProvider',
17 => 'Winter\Storm\Parse\ParseServiceProvider',
18 => 'Winter\Storm\Html\HtmlServiceProvider',
19 => 'Winter\Storm\Html\UrlServiceProvider',
20 => 'Winter\Storm\Network\NetworkServiceProvider',
21 => 'Winter\Storm\Flash\FlashServiceProvider',
22 => 'Winter\Storm\Mail\MailServiceProvider',
23 => 'Winter\Storm\Argon\ArgonServiceProvider',
24 => 'Winter\Storm\Redis\RedisServiceProvider',
25 => 'Winter\Storm\Validation\ValidationServiceProvider',
26 => 'System\ServiceProvider',
),
'loadDiscoveredPackages' => false,
'aliases' =>
array (
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
'Broadcast' => 'Illuminate\Support\Facades\Broadcast',
'Bus' => 'Illuminate\Support\Facades\Bus',
'Cache' => 'Illuminate\Support\Facades\Cache',
'Cookie' => 'Illuminate\Support\Facades\Cookie',
'Crypt' => 'Illuminate\Support\Facades\Crypt',
'Date' => 'Illuminate\Support\Facades\Date',
'DB' => 'Illuminate\Support\Facades\DB',
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
'Event' => 'Illuminate\Support\Facades\Event',
'Hash' => 'Illuminate\Support\Facades\Hash',
'Http' => 'Winter\Storm\Support\Facades\Http',
'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log',
'Notification' => 'Illuminate\Support\Facades\Notification',
'Queue' => 'Illuminate\Support\Facades\Queue',
'RateLimiter' => 'Illuminate\Support\Facades\RateLimiter',
'Redirect' => 'Illuminate\Support\Facades\Redirect',
'Request' => 'Illuminate\Support\Facades\Request',
'Response' => 'Illuminate\Support\Facades\Response',
'Route' => 'Illuminate\Support\Facades\Route',
'Session' => 'Illuminate\Support\Facades\Session',
'Storage' => 'Illuminate\Support\Facades\Storage',
'URL' => 'Illuminate\Support\Facades\URL',
'View' => 'Illuminate\Support\Facades\View',
'AjaxException' => 'Winter\Storm\Exception\AjaxException',
'ApplicationException' => 'Winter\Storm\Exception\ApplicationException',
'Arr' => 'Winter\Storm\Support\Arr',
'BackendAuth' => 'Backend\Facades\BackendAuth',
'Backend' => 'Backend\Facades\Backend',
'BackendMenu' => 'Backend\Facades\BackendMenu',
'Block' => 'Winter\Storm\Support\Facades\Block',
'Cms' => 'Cms\Facades\Cms',
'Config' => 'Winter\Storm\Support\Facades\Config',
'DbDongle' => 'Winter\Storm\Support\Facades\DbDongle',
'File' => 'Winter\Storm\Support\Facades\File',
'Flash' => 'Winter\Storm\Support\Facades\Flash',
'Form' => 'Winter\Storm\Support\Facades\Form',
'Html' => 'Winter\Storm\Support\Facades\Html',
'Ini' => 'Winter\Storm\Support\Facades\Ini',
'Input' => 'Winter\Storm\Support\Facades\Input',
'Mail' => 'Winter\Storm\Support\Facades\Mail',
'Markdown' => 'Winter\Storm\Support\Facades\Markdown',
'Model' => 'Winter\Storm\Database\Model',
'Schema' => 'Winter\Storm\Support\Facades\Schema',
'Seeder' => 'Winter\Storm\Database\Updates\Seeder',
'Str' => 'Winter\Storm\Support\Str',
'SystemException' => 'Winter\Storm\Exception\SystemException',
'Twig' => 'Winter\Storm\Support\Facades\Twig',
'ValidationException' => 'Winter\Storm\Exception\ValidationException',
'Validator' => 'Winter\Storm\Support\Facades\Validator',
'Yaml' => 'Winter\Storm\Support\Facades\Yaml',
'Db' => 'Illuminate\Support\Facades\DB',
'Url' => 'Illuminate\Support\Facades\URL',
'TestCase' => 'System\Tests\Bootstrap\TestCase',
'PluginTestCase' => 'System\Tests\Bootstrap\PluginTestCase',
'Illuminate\Support\Facades\Input' => 'Winter\Storm\Support\Facades\Input',
'Illuminate\Support\Debug\HtmlDumper' => 'Symfony\Component\VarDumper\Dumper\HtmlDumper',
'Winter\Storm\Scaffold\Console\CreateCommand' => 'System\Console\CreateCommand',
'Winter\Storm\Scaffold\Console\CreateModel' => 'System\Console\CreateModel',
'Winter\Storm\Scaffold\Console\CreatePlugin' => 'System\Console\CreatePlugin',
'Winter\Storm\Scaffold\Console\CreateSettings' => 'System\Console\CreateSettings',
'Winter\Storm\Scaffold\Console\CreateController' => 'Backend\Console\CreateController',
'Winter\Storm\Scaffold\Console\CreateFormWidget' => 'Backend\Console\CreateFormWidget',
'Winter\Storm\Scaffold\Console\CreateReportWidget' => 'Backend\Console\CreateReportWidget',
'Winter\Storm\Scaffold\Console\CreateTheme' => 'Cms\Console\CreateTheme',
'Winter\Storm\Scaffold\Console\CreateComponent' => 'Cms\Console\CreateComponent',
'October\Rain\Scaffold\Console\CreateCommand' => 'System\Console\CreateCommand',
'October\Rain\Scaffold\Console\CreateModel' => 'System\Console\CreateModel',
'October\Rain\Scaffold\Console\CreatePlugin' => 'System\Console\CreatePlugin',
'October\Rain\Scaffold\Console\CreateSettings' => 'System\Console\CreateSettings',
'October\Rain\Scaffold\Console\CreateController' => 'Backend\Console\CreateController',
'October\Rain\Scaffold\Console\CreateFormWidget' => 'Backend\Console\CreateFormWidget',
'October\Rain\Scaffold\Console\CreateReportWidget' => 'Backend\Console\CreateReportWidget',
'October\Rain\Scaffold\Console\CreateTheme' => 'Cms\Console\CreateTheme',
'October\Rain\Scaffold\Console\CreateComponent' => 'Cms\Console\CreateComponent',
),
),
'::cms' =>
array (
'activeTheme' => 'demo',
'edgeUpdates' => false,
'backendUri' => 'backend',
'backendForceSecure' => false,
'backendForceRemember' => false,
'backendTimezone' => 'Pacific/Noumea',
'backendSkin' => 'Backend\Skins\Standard',
'runMigrationsOnLogin' => NULL,
'loadModules' =>
array (
0 => 'System',
1 => 'Backend',
2 => 'Cms',
),
'disableCoreUpdates' => false,
'disablePlugins' =>
array (
),
'enableRoutesCache' => false,
'urlCacheTtl' => 10,
'parsedPageCacheTTL' => 10,
'enableAssetCache' => false,
'enableAssetMinify' => NULL,
'enableAssetDeepHashing' => NULL,
'databaseTemplates' => false,
'pluginsPath' => '/plugins',
'themesPath' => '/themes',
'storage' =>
array (
'uploads' =>
array (
'disk' => 'local',
'folder' => 'uploads',
'path' => '/storage/app/uploads',
'temporaryUrlTTL' => 3600,
),
'media' =>
array (
'disk' => 'local',
'folder' => 'media',
'path' => '/storage/app/media',
),
'resized' =>
array (
'disk' => 'local',
'folder' => 'resized',
'path' => '/storage/app/resized',
),
),
'convertLineEndings' => false,
'linkPolicy' => 'detect',
'defaultMask' =>
array (
'file' => NULL,
'folder' => NULL,
),
'enableSafeMode' => NULL,
'enableCsrfProtection' => true,
'forceBytecodeInvalidation' => true,
'enableTwigStrictVariables' => false,
'restrictBaseDir' => true,
'enableBackendServiceWorkers' => false,
),
'::view' =>
array (
'paths' =>
array (
),
'compiled' => '/Users/xxx/WWW/TEST/storage/framework/views',
),
'::cache' =>
array (
'default' => 'file',
'stores' =>
array (
'apc' =>
array (
'driver' => 'apc',
),
'array' =>
array (
'driver' => 'array',
'serialize' => false,
),
'database' =>
array (
'connection' => NULL,
'driver' => 'database',
'lock_connection' => NULL,
'table' => 'cache',
),
'file' =>
array (
'driver' => 'file',
'path' => '/Users/xxx/WWW/TEST/storage/framework/cache',
),
'memcached' =>
array (
'driver' => 'memcached',
'options' =>
array (
),
'persistent_id' => NULL,
'sasl' =>
array (
0 => NULL,
1 => NULL,
),
'servers' =>
array (
0 =>
array (
'host' => '127.0.0.1',
'port' => 11211,
'weight' => 100,
),
),
),
'redis' =>
array (
'connection' => 'cache',
'driver' => 'redis',
'lock_connection' => 'default',
),
'dynamodb' =>
array (
'driver' => 'dynamodb',
'endpoint' => NULL,
'key' => '',
'region' => 'us-east-1',
'secret' => '',
'table' => 'cache',
),
'octane' =>
array (
'driver' => 'octane',
),
),
'prefix' => 'test_nc_cache',
'codeParserDataCacheKey' => 'cms-php-file-data',
'disableRequestCache' => NULL,
),
'::auth' =>
array (
'throttle' =>
array (
'enabled' => true,
'attemptLimit' => 5,
'suspensionTime' => 15,
),
),
'::logging' =>
array (
'default' => 'daily',
'deprecations' => NULL,
'channels' =>
array (
'stack' =>
array (
'channels' =>
array (
0 => 'single',
),
'driver' => 'stack',
'ignore_exceptions' => false,
),
'single' =>
array (
'driver' => 'single',
'level' => 'debug',
'path' => '/Users/xxx/WWW/TEST/storage/logs/system.log',
),
'daily' =>
array (
'days' => 14,
'driver' => 'daily',
'level' => 'debug',
'path' => '/Users/xxx/WWW/TEST/storage/logs/system.log',
),
'slack' =>
array (
'driver' => 'slack',
'emoji' => ':boom:',
'level' => 'debug',
'url' => NULL,
'username' => 'Winter Log',
),
'papertrail' =>
array (
'driver' => 'monolog',
'handler' => 'Monolog\Handler\SyslogUdpHandler',
'handler_with' =>
array (
'connectionString' => 'tls://:',
'host' => NULL,
'port' => NULL,
),
'level' => 'debug',
),
'stderr' =>
array (
'driver' => 'monolog',
'formatter' => NULL,
'handler' => 'Monolog\Handler\StreamHandler',
'level' => 'debug',
'with' =>
array (
'stream' => 'php://stderr',
),
),
'syslog' =>
array (
'driver' => 'syslog',
'level' => 'debug',
),
'errorlog' =>
array (
'driver' => 'errorlog',
'level' => 'debug',
),
'null' =>
array (
'driver' => 'monolog',
'handler' => 'Monolog\Handler\NullHandler',
),
'emergency' =>
array (
'path' => '/Users/xxx/WWW/TEST/storage/logs/system.log',
),
),
),
'::filesystems' =>
array (
'default' => 'local',
'disks' =>
array (
'local' =>
array (
'driver' => 'local',
'root' => '/Users/xxx/WWW/TEST/storage/app',
'url' => '/storage/app',
'visibility' => 'public',
),
's3' =>
array (
'bucket' => '',
'driver' => 's3',
'endpoint' => NULL,
'key' => '',
'region' => 'us-east-1',
'secret' => '',
'stream_uploads' => false,
'url' => NULL,
'use_path_style_endpoint' => false,
),
),
),
'::session' =>
array (
'driver' => 'file',
'lifetime' => 120,
'expire_on_close' => false,
'encrypt' => false,
'files' => '/Users/xxx/WWW/TEST/storage/framework/sessions',
'connection' => NULL,
'table' => 'sessions',
'store' => NULL,
'lottery' =>
array (
0 => 2,
1 => 100,
),
'cookie' => 'test_nc_session',
'path' => '/',
'domain' => NULL,
'http_only' => true,
'secure' => false,
'same_site' => 'lax',
),
'winter.translate::config' =>
array (
'forceDefaultLocale' => NULL,
'prefixDefaultLocale' => true,
'cacheTimeout' => 1440,
'disableLocalePrefixRoutes' => false,
),
'*::tinker' =>
array (
'commands' =>
array (
),
'alias' =>
array (
),
'dont_alias' =>
array (
0 => 'App\Nova',
),
),
);
`
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions