-
Notifications
You must be signed in to change notification settings - Fork 297
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
Restarting the php process via supervisorctl triggers a deprecation warning in symfony/console #718
Comments
Does the process halt all together or is the deprecation just something annoying that's popping up? |
It restarts correctly, so it's more of an annoyance until Symfony decides to enforce that return value. |
Hi @borys-p. I'm sorry but afaik the StartCommand always returns an exit code so I cannot see how this error could occur... Right now we only have one report of this so I'm going to close this one as it's only a deprecation and not an error. If we get more reports we could dig deeper into it. Of course if you can pinpoint where things might go wrong that could help. |
Hey @driesvints, according to the error message the issue is located in
Probably a simple |
There's no such method in that class: https://github.com/laravel/octane/blob/2.x/src/Commands/StartCommand.php |
This method exists in |
@saulens22 thanks for pointing that out! Seems @sy-records already sent in a PR so that should be solved soon. |
Put two new parameters into config belongs to your process with <your_process> name
|
Octane Version
2.0.1
Laravel Version
10.14.1
PHP Version
8.2.7
What server type are you using?
Open Swoole
Server Version
22.0.0
Database Driver & Version
No response
Description
I set up
supervisorctl
in the local Docker environment to have an easy way to restart PHP after making some changes to the modules configuration. However, each attempt to restart php with:results in the following deprecation error being thrown in the console:
Steps To Reproduce
Use the following supervisord.conf file (some paths might need to be adjusted depending on the environment):
Then run
supervisorctl
and executerestart php
. Make sure you have deprecations logger set up. You should see an error in the console.The text was updated successfully, but these errors were encountered: