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

Roadrunner 2.8.0 requires version 2.7+ in .rr.yaml file #479

Closed
Baiquette opened this issue Feb 20, 2022 · 4 comments · Fixed by #482
Closed

Roadrunner 2.8.0 requires version 2.7+ in .rr.yaml file #479

Baiquette opened this issue Feb 20, 2022 · 4 comments · Fixed by #482
Assignees
Labels

Comments

@Baiquette
Copy link

  • Octane Version: 1.2.2
  • Laravel Version: 9.0.1
  • PHP Version: 8.0.15
  • Server & Version: RoadRunner 2.8.0

Description:

Hello,

Since the publication of Roadrunner 2.8.0 the following error appears on the startup:
image

It seems to be because the default .rr.yaml file generated by Octane does not contain at least the version 2.7:

# RR configuration version
version: "2.7"

Explanation : https://github.com/roadrunner-server/roadrunner/releases/tag/v2.8.0
Example : https://github.com/spiral/roadrunner-binary/blob/master/.rr.yaml

Thank you

@bekee
Copy link

bekee commented Feb 20, 2022

I've been faced with this issue for the past 5 hours.
Has anyone been able to solve this issue or a workaround

@Baiquette
Copy link
Author

I've been faced with this issue for the past 5 hours. Has anyone been able to solve this issue or a workaround

@bekee Just create a .rr.yaml file to the root directory of your app with this content:

# RR configuration version
version: "2.7"

Then execute php artisan octane:start.

And the result should be:

$ cat .rr.yaml
# RR configuration version
version: "2.7"
$ php artisan octane:start

   INFO  Server running…

  Local: http://127.0.0.1:8000 

  Press Ctrl+C to stop the server

@bekee
Copy link

bekee commented Feb 20, 2022

Thanks this worked

@nunomaduro
Copy link
Member

We are looking for a clean solution for this.

Meanwhile, as mentioned by @Baiquette, please add version: "2.7" to your .rr.yaml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants