From b5c8f194b3b09ac6384edb3fb68697cbf271adab Mon Sep 17 00:00:00 2001 From: Grigory Tumakov <4266448+vokamut@users.noreply.github.com> Date: Wed, 17 Nov 2021 17:45:29 +0300 Subject: [PATCH 1/3] Fix FileNotFound error (#421) --- src/Commands/StartRoadRunnerCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/StartRoadRunnerCommand.php b/src/Commands/StartRoadRunnerCommand.php index 9d2be6e81..faec8fc53 100644 --- a/src/Commands/StartRoadRunnerCommand.php +++ b/src/Commands/StartRoadRunnerCommand.php @@ -77,12 +77,12 @@ public function handle(ServerProcessInspector $inspector, ServerStateFile $serve $roadRunnerBinary, '-c', $this->configPath(), '-o', 'http.address='.$this->option('host').':'.$this->option('port'), - '-o', 'server.command='.(new PhpExecutableFinder)->find().' ./vendor/bin/roadrunner-worker', + '-o', 'server.command='.(new PhpExecutableFinder)->find().' '.base_path('vendor/bin/roadrunner-worker'), '-o', 'http.pool.num_workers='.$this->workerCount(), '-o', 'http.pool.max_jobs='.$this->option('max-requests'), '-o', 'rpc.listen=tcp://'.$this->option('host').':'.$this->rpcPort(), '-o', 'http.pool.supervisor.exec_ttl='.$this->maxExecutionTime(), - '-o', 'http.static.dir=public', + '-o', 'http.static.dir='.base_path('public'), '-o', 'http.middleware='.config('octane.roadrunner.http_middleware', 'static'), '-o', 'logs.mode=production', '-o', app()->environment('local') ? 'logs.level=debug' : 'logs.level=warning', From 082c82d3a688f3be748345cd57205d4297881607 Mon Sep 17 00:00:00 2001 From: Grigory Tumakov <4266448+vokamut@users.noreply.github.com> Date: Thu, 18 Nov 2021 09:32:31 +0300 Subject: [PATCH 2/3] Remove unuse `use` statement --- bin/roadrunner-worker | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/roadrunner-worker b/bin/roadrunner-worker index c496fee34..cc19226ad 100755 --- a/bin/roadrunner-worker +++ b/bin/roadrunner-worker @@ -1,7 +1,6 @@ #!/usr/bin/env php Date: Tue, 23 Nov 2021 18:33:27 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ced9a443..259d12503 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Release Notes -## [Unreleased](https://github.com/laravel/octane/compare/v1.0.19...1.x) +## [Unreleased](https://github.com/laravel/octane/compare/v1.0.20...1.x) + + +## [v1.0.20 (2021-11-23)](https://github.com/laravel/octane/compare/v1.0.19...v1.0.20) + +### Fixed +- Fix FileNotFound error ([#421](https://github.com/laravel/octane/pull/421)) ## [v1.0.19 (2021-11-16)](https://github.com/laravel/octane/compare/v1.0.18...v1.0.19)