laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.74k stars 291 forks source link

WARN unable to get instance ID; storage clean stamps will be incomplete, how to solve it? #810

Closed fdjrr closed 7 months ago

fdjrr commented 8 months ago

Octane Version

2.2.7

Laravel Version

10.40.0

PHP Version

8.3.1

What server type are you using?

FrankenPHP

Server Version

1.0.3

Database Driver & Version

No response

Description

I tried to install Laravel Octane from watching videos on the Laravel channel. Then I tried it on WSL2 but I got the error message "WARN unable to get instance ID; storage clean stamps will be incomplete". How to solve it?

Steps To Reproduce

$ laravel new laravel
$ cd laravel
$ composer require laravel/octane
$ php artisan octane:install
$ php artisan octane:start
gazzoy commented 8 months ago

I don't think Octane has octane:serve option. Have you checked the docs? https://laravel.com/docs/10.x/octane

fdjrr commented 7 months ago

I don't think Octane has octane:serve option. Have you checked the docs? https://laravel.com/docs/10.x/octane

Sorry i mean, octane:start

driesvints commented 7 months ago

Hey there,

Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Thanks!

asanikovich commented 6 months ago

The problem is related that caddy need writable access to next paths in your $HOME directory:

.config/caddy
.local
fdjrr commented 6 months ago

The problem is related that caddy need writable access to next paths in your user root:

.config/caddy
.local

Thanks for the answer @asanikovich , where is the folder you mentioned? in the laravel project or in $HOME?

asanikovich commented 6 months ago

@fdjrr $HOME directory