-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New issue on Laravel 10 #161
Comments
I would say that problem is with server setup The package does not use directly You can disable the clean schedule for further "localization" of the problem https://github.com/pionl/laravel-chunk-upload/blob/master/config/chunk-upload.php |
I can confirm this problem |
I want to mention that with this package installed, I cannot even boot up the welcome page. I don't have to be in Nova. In fact I was not even using This was not happening before the latest updates. Something changed with the latest minor Symfony updates. |
@vesper8 can you share the full stacktrace please? I'm interested to understand what's happening as it might affect other users |
Sure thing. Here it is. This error happens just from installing
|
This seems like an upstream issue unrelated to this package. You'd experience the same issue if you registered a random command in your scheduler without having this package installed. Scheduler is registered early in the application lifecycle, if it fails, your whole application fails. Can you share the exact version of your installed symfony/process package? |
Additionally, can you share the output of this? dd($allowedPaths); You can run it in artisan tinker I suspect a host/server misconfiguration. Are you able to reproduce it locally too? |
I noticed it when I do a composer update. Reverting to the previous composer.lock... all works fine.. .upgrading and it breaks very early on in the request cycle |
@yormy can you delta the versions of symfony/process in both locks? I think it's worth opening an issue upstream at Symfony if a minor version caused a breaking change 👍 |
I did run a However, I should note that I have also tried rolling back to a few commits ago, where I do have |
The last working commit that works had this in the lock file:
And now it contains I notice that a whole bunch of symfony dependencies just changed in a similar way I should also mention that I'm not in the habit of running composer update, instead I have an aliased recomposer function that deletes the lock, deletes the vendor folder and reinstalls afresh from composer.json |
This one is difficult to describe so I'm not sure where to start.
I very recently ran composer install on my project which uses Laravel 10 and runs on a server with PHP 8.2. I noticed that a lot of Symfony deps were updated.
And all of a sudden I started getting this really obscure error
is_executable(): open_basedir restriction in effect. File(/usr/bin/php) is not within the allowed path(s): (/home/forge/:/tmp)
After much time wasting and trouble shooting, I was able to narrow it down to this package
pionl/laravel-chunk-upload
which is pulled in because I'm usingoneduo/nova-file-manager
Specifically this is part of my trace
After removing
oneduo/nova-file-manager
then things are back to working.This was working fine before the latest symfony updates.
So something to keep a look out for..
The text was updated successfully, but these errors were encountered: