yes, i did follow the upgrade guide.
i don't use InertiaJS
I updated to Laravel 11. Since then it can sometimes no longer read the .env file.
This means that he sometimes uses the default values, e.g. for the APP_KEY. I wrote my own blog about it.
Strangely enough, my app works like this under debian/apache, now I thought I would adapt the files more to Laravel 11, for example: the bootstrap/app.php and others. Maybe reading out the config will work. well, and now the route list no longer works. Even if I remove the route with the missing class from the api.php, it doesn't find the class for the next route. I now have the file/folder organization again like it was with Laravel 8 and the route list works again. The incorrect config entries still don't work. In the file "laravel.../encyption/encyrptionserviceprovider.php" in line 82 the $config is set with default values - no idea why - it's definitely annoying!!!!!!!!!
in file Env.php the function protected static function getOption($key) return sometimes null:
$key = "APP_KEY"
$t = static::getRepository()->get($key);
maybe it has something todo with the repository - look at this:
https://laravel.com/docs/11.x/octane#configuration-repository-injection
but i use injection, but not configuration injection,
these are my singleton:
$container = $this->app;
$container->singleton(IBusinessServiceProvider::class, BusinessServiceProvider::class);
$container->singleton(IStorageServiceProvider::class, StorageServiceProvider::class);