frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

Automatically stops the process on any Linux after the service starts (Laravel 12)

Open yeondevelope opened this issue 10 months ago • 2 comments

I'm having an issue while I'm trying to run the frankephp server. I've already installed the dependencies and binaries and validate the .env

composer require laravel/octane
php artisan octane:install --server=frankenphp
OCTANE_SERVER=frankenphp

But once I start the server php artisan octane:start or php artisan octane:frankenphp show this WARNs and simply stops

INFO  Server running….  
Local: http://127.0.0.1:8000 
Press Ctrl+C to stop the server
WARN  HTTP/2 skipped because it requires TLS.  
WARN  HTTP/3 skipped because it requires TLS.  
WARN  unable to get instance ID; storage clean stamps will be incomplete.  

https://github.com/user-attachments/assets/804a8e8b-0aea-4e4f-bc83-c7a1de7b6c06

yeondevelope avatar Mar 28 '25 03:03 yeondevelope

Which user are you starting FrankenPHP as? The problem could be that the user doesn't have access to /data/caddy and /config/caddy, which is required for Caddy to work properly.

You can try if creating or changing ownership to the folders fixes the issue:

sudo mkdir /data/caddy /config/caddy
sudo chown -R laravel /data/caddy /config/caddy

See also this section in the docs

AlliBalliBaba avatar Mar 28 '25 08:03 AlliBalliBaba

I am having same issue. And changing permission don't work for me.

parth391 avatar Apr 07 '25 03:04 parth391