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

bigbanks8022270
bigbanks8022270

I just ran <code>php artisan october:install</code> after upgrading to the latest version of the repo. There seems to be a problem in the ConfigWriter.php vendor file. Here is the stack trace:

[2017-09-02 21:56:08] dev.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected ',', expecting ';' in /var/www/internal/pro$
Stack trace:
#0 releases/20170902213903/vendor/october/rain/src/Config/ConfigWriter.php(31): October\Rain\Config\ConfigWriter->toContent('<?php\n\nre$
#1 releases/20170902213903/modules/system/console/OctoberInstall.php(354): October\Rain\Config\ConfigWriter->toFile('/var/www/intern...'$
#2 releases/20170902213903/modules/system/console/OctoberInstall.php(207): System\Console\OctoberInstall->writeToConfig('database', Arra$
#3 releases/20170902213903/modules/system/console/OctoberInstall.php(74): System\Console\OctoberInstall->setupDatabaseConfig()
#4 [internal function]: System\Console\OctoberInstall->fire()
#5 releases/20170902213903/vendor/laravel/framework/src/Illuminate/Container/Container.php(507): call_user_func_array(Array, Array)
#6 releases/20170902213903/vendor/laravel/framework/src/Illuminate/Console/Command.php(150): Illuminate\Container\Container->call(Array)
#7 releases/20170902213903/vendor/symfony/console/Command/Command.php(263): Illuminate\Console\Command->execute(Object(Symfony\Component$
#8 releases/20170902213903/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Symfony\Component\Console\Command\Command->$
#9 releases/20170902213903/vendor/symfony/console/Application.php(872): Illuminate\Console\Command->run(Object(Symfony\Component\Console$
#10 releases/20170902213903/vendor/symfony/console/Application.php(201): Symfony\Component\Console\Application->doRunCommand(Object(Syst$
#11 releases/20170902213903/vendor/symfony/console/Application.php(119): Symfony\Component\Console\Application->doRun(Object(Symfony\Com$
#12 releases/20170902213903/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Symfony\Component\Console\Applic$
#13 releases/20170902213903/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput),$
#14 {main}

Last updated

mbryson.co.uk
mbryson.co.uk

This is a few years old now, but incase anyone else comes across this issue, it always happens for me when you run php artisan october:env before running php artisan october:install

If you run into this issue, try running php artisan october:up instead, making sure the DB details in your .env file are correct first.

Hope this helps the next person who stumbles across this page :)

1-2 of 2

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