This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

simi
simi

Hi guys,

I am trying hard to install this cms on my hosting provider's server. I have tried a lot of different providers, but always get same error: https://ctrlv.cz/iMGw

I was able to install it only on localhost.

GinoPane
GinoPane

Basically the error message describes exactly what happened (also there are clickable links there for apache and nginx servers). The problem is that your server's timeout is too low so the install script has no time to finish.

billyZduke
billyZduke

I can't get the current installer to work at all, either on MediaTemple OR on my OSX Sierra localhost (XAMPP). I've put TimeOut directives in my httpd-vhosts.conf file, but even starting from scratch causes the timeout error as soon as the install script gets to "building configuration files." Which makes the error seem like it isn't really a timeout at all...?

billyZduke
billyZduke

I continue to suspect that the errors I'm experiencing while attempting to run the install wizard are not related to the server request timing out, because:

  1. The break consistently occurs as soon as the installation reaches "Building configuration files."
  2. The break occurs in less time than the default server timeout.
  3. The install.log shows that the error seems to be related to a database query... An example from my latest attempt on localhost follows:
.============================ POST REQUEST ==========================.
[2018/07/10 09:29:26] Postback payload: Array
(
    [step] => setupConfig
    [meta] => Array
        (
            [core] => Array
                (
                    [hash] => 66b476faf736422ba1c52e21833a78f4
                    [build] => 437
                    [uhash] => d4a4e1f641e333ff5c26037f86cfe619
                )

        )

    [db_type] => mysql
    [db_host] => localhost
    [db_port] => 
    [db_name] => ocms
    [db_user] => ocmsu
    [db_pass] => *******
    [admin_first_name] => Admini
    [admin_last_name] => Strator
    [admin_email] => *******@*****.com
    [admin_login] => admin
    [admin_password] => *******
    [admin_confirm_password] => *******
    [backend_uri] => /backend
    [encryption_code] => *******
    [file_mask] => 644
    [folder_mask] => 755
    [handler] => onInstallStep
)

[2018/07/10 09:29:26] Install step: setupConfig
[2018/07/10 07:29:26] Handler error (onInstallStep): SQLSTATE[HY000] [1049] Unknown database 'database' (SQL: select * from `system_settings` where `item` = panakour_backup_settings limit 1)
[2018/07/10 07:29:26] Trace log:
#0 .../html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(624): Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#1 .../html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(333): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure))
#2 .../html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1719): Illuminate\Database\Connection->select('select * from `...', Array, true)
#3 .../html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1704): Illuminate\Database\Query\Builder->runSelect()
#4 .../html/vendor/october/rain/src/Database/QueryBuilder.php(216): Illuminate\Database\Query\Builder->get(Array)
#5 .../html/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(327): October\Rain\Database\QueryBuilder->October\Rain\Database\{closure}()
#6 .../html/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(304): Illuminate\Cache\Repository->remember('system::setting...', 1440, Object(Closure))
#7 .../html/vendor/october/rain/src/Database/QueryBuilder.php(158): Illuminate\Cache\CacheManager->__call('remember', Array)
#8 .../html/vendor/october/rain/src/Database/QueryBuilder.php(121): October\Rain\Database\QueryBuilder->getCached(Array)
#9 .../html/vendor/october/rain/src/Database/QueryBuilder.php(92): October\Rain\Database\QueryBuilder->getDuplicateCached(Array)
#10 .../html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(483): October\Rain\Database\QueryBuilder->get(Array)
#11 .../html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(467): Illuminate\Database\Eloquent\Builder->getModels(Array)
#12 .../html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(77): Illuminate\Database\Eloquent\Builder->get(Array)
#13 .../html/modules/system/Behaviors/SettingsModel.php(115): Illuminate\Database\Eloquent\Builder->first()
#14 .../html/modules/system/Behaviors/SettingsModel.php(77): System\Behaviors\SettingsModel->getSettingsRecord()
#15 .../html/modules/system/Behaviors/SettingsModel.php(136): System\Behaviors\SettingsModel->instance()
#16 [internal function]: System\Behaviors\SettingsModel->get('include_files')
#17 .../html/vendor/october/rain/src/Extension/ExtendableTrait.php(381): call_user_func_array(Array, Array)
#18 .../html/vendor/october/rain/src/Database/Model.php(428): October\Rain\Database\Model->extendableCall('get', Array)
#19 .../html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1482): October\Rain\Database\Model->__call('get', Array)
#20 .../html/plugins/panakour/backup/models/Settings.php(31): Illuminate\Database\Eloquent\Model::__callStatic('get', Array)
#21 .../html/plugins/panakour/backup/config/config.php(23): Panakour\Backup\Models\Settings::getIncludedFiles()
#22 .../html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(84): require('/Users/admini.s...')
#23 .../html/vendor/october/rain/src/Config/FileLoader.php(242): Illuminate\Filesystem\Filesystem->getRequire('/Users/admini.s...')
#24 .../html/vendor/october/rain/src/Config/FileLoader.php(76): October\Rain\Config\FileLoader->getRequire('/Users/admini.s...')
#25 .../html/vendor/october/rain/src/Config/Repository.php(206): October\Rain\Config\FileLoader->load('development', 'config', 'panakour.backup')
#26 .../html/vendor/october/rain/src/Config/Repository.php(107): October\Rain\Config\Repository->load('config', 'panakour.backup', 'panakour.backup...')
#27 .../html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): October\Rain\Config\Repository->get('panakour.backup...')
#28 .../html/plugins/panakour/backup/Plugin.php(61): Illuminate\Support\Facades\Facade::__callStatic('get', Array)
#29 .../html/plugins/panakour/backup/Plugin.php(52): PanaKour\Backup\Plugin->bootPackages()
#30 .../html/modules/system/Classes/PluginManager.php(279): PanaKour\Backup\Plugin->boot()
#31 .../html/modules/system/Classes/PluginManager.php(261): System\Classes\PluginManager->bootPlugin(Object(PanaKour\Backup\Plugin))
#32 .../html/modules/system/ServiceProvider.php(96): System\Classes\PluginManager->bootAll()
#33 [internal function]: System\ServiceProvider->boot()
#34 .../html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#35 .../html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#36 .../html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(October\Rain\Foundation\Application), Array, Object(Closure))
#37 .../html/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\Container\BoundMethod::call(Object(October\Rain\Foundation\Application), Array, Array, NULL)
#38 .../html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(792): Illuminate\Container\Container->call(Array)
#39 .../html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(775): Illuminate\Foundation\Application->bootProvider(Object(System\ServiceProvider))
#40 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(System\ServiceProvider), 22)
#41 .../html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(776): array_walk(Array, Object(Closure))
#42 .../html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#43 .../html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(213): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(October\Rain\Foundation\Application))
#44 .../html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(296): Illuminate\Foundation\Application->bootstrapWith(Array)
#45 .../html/install_files/php/Installer.php(677): Illuminate\Foundation\Console\Kernel->bootstrap()
#46 .../html/install_files/php/Installer.php(408): Installer->bootFramework()
#47 .../html/install_files/php/Installer.php(378): Installer->buildConfigFile()
#48 .../html/install_files/php/Installer.php(48): Installer->onInstallStep()
#49 .../html/install_files/php/boot.php(74): Installer->__construct()
#50 .../html/install.php(1): include('/Users/admini.s...')
#51 {main}

What is going on here, exactly?:

[2018/07/10 07:29:26] Handler error (onInstallStep): SQLSTATE[HY000] [1049] Unknown database 'database' (SQL: select * from `system_settings` where `item` = panakour_backup_settings limit 1)

ola30865
ola30865

Did you ever get this working? I'm having the same problems and it's driving me nuts.

billyZduke
billyZduke

No... I've had to do some very complicated workarounds using combinations of files from October's git repo and my other functional/updated OCMS sites.

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.