Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

timsteinhauer's avatar

Forge octane:reload RuntimeException

Hi, I'm testing Laravel Octane today and can't solve this issue...

I tried multible server setups and different settings, nothing worked. The frontend and deamon are still working fine. Restarting the demaon through the forge UI workts too.

The octane deamon starts with the following and used 4 processes, i tried 1 too.

 php8.0 artisan octane:start --port=8001 --no-interaction 

I changed the port, because i need multiple setups, but port 8000 doesn't work either.

  • php 8.1
  • laravel 8.0
  • octane 1.2.9

Error Output:

    INFO  Octane server is running.
 
    INFO  Reloading workers...
 
    RuntimeException 
 
   Cannot reload RoadRunner: 2022/05/09 18:10:20 resetting plugin: [http]
 
   at vendor/laravel/octane/src/RoadRunner/ServerProcessInspector.php:56

 52▕             'reset',

 53▕             '-o', "rpc.listen=tcp://$host:$rpcPort",

 54▕         ], base_path()))->start()->waitUntil(function ($type, $buffer) {

 55▕             if ($type === Process::ERR) {

 56▕                 throw new RuntimeException('Cannot reload RoadRunner: '.$buffer);

 57▕             }

 58▕ 

 59▕             return true;

 60▕         });

Thx for any help :)

0 likes
2 replies
timsteinhauer's avatar

Update. I came across on this problem:

When i tried to list all workers directly with roadrunner...

rr workers -o rpc.listen=tcp://localhost:6001

[FATAL /build/rr-S0CLEN/rr-5.3.0/src/PerfCounters.cc:247:get_cpu_microarch()] AMD CPUs not supported.
For Ryzen, see https://github.com/mozilla/rr/issues/2034.
For post-Ryzen CPUs, please file a Github issue.

Oddly enough, but roadrunner is running fine.

To refresh octane i'll use for now the Forge UI and restart the deamon.

timsteinhauer's avatar
timsteinhauer
OP
Best Answer
Level 5

Update.

I found the error. I have now only performed a composer update once and now everthing works...

				...
				Upgrading laravel/framework (v8.83.11 => v8.83.15)
				...
				Upgrading laravel/octane (v1.2.8 => v1.2.12)
				...
				Upgrading spiral/roadrunner-cli (v2.1.0 => v2.2.0)
				Upgrading spiral/roadrunner (v2.9.4 => v2.10.3)
				...

I really thought to have an composer update in the deployment script...

Please or to participate in this conversation.