Skip to content
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

Set version=3 for RoadRunner's reload #1008

Merged
merged 3 commits into from
Mar 12, 2025
Merged

Conversation

apih
Copy link
Contributor

@apih apih commented Mar 8, 2025

Since RoadRunner v2024.3.0 and above, running octane:reload command will result in an error, where the error message is Cannot reload RoadRunner: rr configuration file should contain a version e.g: version: 3. Setting the version when calling RoadRunner binary in src/RoadRunner/ServerProcessInspector.php file seems to fix it.

image

apih added 2 commits March 8, 2025 13:15

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@apih apih changed the title Set version=3 for roadrunner's reload Set version=3 for RoadRunner's reload Mar 8, 2025
@taylorotwell
Copy link
Member

It seems like this might break people not using that version?

@taylorotwell
Copy link
Member

Tests failing.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@apih
Copy link
Contributor Author

apih commented Mar 10, 2025

It seems like this might break people not using that version?

But currently, the version is already set to 3 in src/Commands/StartRoadRunnerCommand.php#84. So the RoadRunner process will be started in version 3.

@taylorotwell taylorotwell merged commit 74fef27 into laravel:2.x Mar 12, 2025
2 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants